Class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig (1.15.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstance()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilder(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig prototype)
Parameter
NameDescription
prototypeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdvancedOptionsConfigJsonCustomConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> parser()
Returns
TypeDescription
Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the contentTypes.

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

getParserForType()

public Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig> getParserForType()
Returns
TypeDescription
Parser<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder toBuilder()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException