• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
31    * </pre>
32    *
33    * <code>repeated string content_types = 17428787;</code>
34    *
35    * @return A list containing the contentTypes.
36    */
getContentTypesList()37   java.util.List<java.lang.String> getContentTypesList();
38   /**
39    *
40    *
41    * <pre>
42    * A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
43    * </pre>
44    *
45    * <code>repeated string content_types = 17428787;</code>
46    *
47    * @return The count of contentTypes.
48    */
getContentTypesCount()49   int getContentTypesCount();
50   /**
51    *
52    *
53    * <pre>
54    * A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
55    * </pre>
56    *
57    * <code>repeated string content_types = 17428787;</code>
58    *
59    * @param index The index of the element to return.
60    * @return The contentTypes at the given index.
61    */
getContentTypes(int index)62   java.lang.String getContentTypes(int index);
63   /**
64    *
65    *
66    * <pre>
67    * A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
68    * </pre>
69    *
70    * <code>repeated string content_types = 17428787;</code>
71    *
72    * @param index The index of the value to return.
73    * @return The bytes of the contentTypes at the given index.
74    */
getContentTypesBytes(int index)75   com.google.protobuf.ByteString getContentTypesBytes(int index);
76 }
77