Class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig (1.62.0)

public final class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig extends GeneratedMessageV3 implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

Static Fields

CONTENT_TYPES_FIELD_NUMBER

public static final int CONTENT_TYPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstance()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)
Parameter
Name Description
prototype SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> parser()
Returns
Type Description
Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
ProtocolStringList

A list containing the contentTypes.

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

getParserForType()

public Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> getParserForType()
Returns
Type Description
Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder toBuilder()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException