public final class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption extends GeneratedMessageV3 implements SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Static Fields
public static final int HEADER_NAME_FIELD_NUMBER
Field Value
public static final int HEADER_VALUE_FIELD_NUMBER
Field Value
Static Methods
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilder()
Returns
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilder(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption prototype)
Parameter
Returns
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstanceForType()
Returns
public String getHeaderName()
The name of the header to set.
optional string header_name = 110223613;
Returns
Type | Description |
String | The headerName.
|
public ByteString getHeaderNameBytes()
The name of the header to set.
optional string header_name = 110223613;
Returns
Type | Description |
ByteString | The bytes for headerName.
|
public String getHeaderValue()
The value to set the named header to.
optional string header_value = 203094335;
Returns
Type | Description |
String | The headerValue.
|
public ByteString getHeaderValueBytes()
The value to set the named header to.
optional string header_value = 203094335;
Returns
Type | Description |
ByteString | The bytes for headerValue.
|
public Parser<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasHeaderName()
The name of the header to set.
optional string header_name = 110223613;
Returns
Type | Description |
boolean | Whether the headerName field is set.
|
public boolean hasHeaderValue()
The value to set the named header to.
optional string header_value = 203094335;
Returns
Type | Description |
boolean | Whether the headerValue field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilderForType()
Returns
protected SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions