public final class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig extends GeneratedMessageV3 implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Static Fields
CONTENT_TYPES_FIELD_NUMBER
public static final int CONTENT_TYPES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder()
Returns
newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)
Parameter
Returns
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContentTypes(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The contentTypes at the given index.
|
getContentTypesBytes(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the contentTypes at the given index.
|
getContentTypesCount()
public 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
Type | Description |
int | The count of contentTypes.
|
getContentTypesList()
public ProtocolStringList 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
getDefaultInstanceForType()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions