Class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption (1.26.0)

public final class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption extends GeneratedMessageV3 implements SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

Inheritance

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

Static Fields

HEADER_NAME_FIELD_NUMBER

public static final int HEADER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

HEADER_VALUE_FIELD_NUMBER

public static final int HEADER_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstance()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption prototype)

public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilder(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption prototype)
Parameter
NameDescription
prototypeSecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

getHeaderName()

public String getHeaderName()

The name of the header to set.

optional string header_name = 110223613;

Returns
TypeDescription
String

The headerName.

getHeaderNameBytes()

public ByteString getHeaderNameBytes()

The name of the header to set.

optional string header_name = 110223613;

Returns
TypeDescription
ByteString

The bytes for headerName.

getHeaderValue()

public String getHeaderValue()

The value to set the named header to.

optional string header_value = 203094335;

Returns
TypeDescription
String

The headerValue.

getHeaderValueBytes()

public ByteString getHeaderValueBytes()

The value to set the named header to.

optional string header_value = 203094335;

Returns
TypeDescription
ByteString

The bytes for headerValue.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasHeaderName()

public boolean hasHeaderName()

The name of the header to set.

optional string header_name = 110223613;

Returns
TypeDescription
boolean

Whether the headerName field is set.

hasHeaderValue()

public boolean hasHeaderValue()

The value to set the named header to.

optional string header_value = 203094335;

Returns
TypeDescription
boolean

Whether the headerValue field is set.

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 SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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