Package com.google.cloud.compute.v1
Interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
,SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
public interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContentTypes(int index)
A list of custom Content-Type header values to apply the JSON parsing.com.google.protobuf.ByteString
getContentTypesBytes(int index)
A list of custom Content-Type header values to apply the JSON parsing.int
getContentTypesCount()
A list of custom Content-Type header values to apply the JSON parsing.List<String>
getContentTypesList()
A list of custom Content-Type header values to apply the JSON parsing.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContentTypesList
List<String> getContentTypesList()
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.
repeated string content_types = 17428787;
- Returns:
- A list containing the contentTypes.
-
getContentTypesCount
int getContentTypesCount()
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.
repeated string content_types = 17428787;
- Returns:
- The count of contentTypes.
-
getContentTypes
String getContentTypes(int index)
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.
repeated string content_types = 17428787;
- Parameters:
index
- The index of the element to return.- Returns:
- The contentTypes at the given index.
-
getContentTypesBytes
com.google.protobuf.ByteString getContentTypesBytes(int index)
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.
repeated string content_types = 17428787;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the contentTypes at the given index.
-
-