Send feedback
Class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption (1.66.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.66.0keyboard_arrow_down
public final class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption extends GeneratedMessageV3 implements SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Inherited Members
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.emptyList(java.lang.Class)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int HEADER_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int HEADER_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption . Builder newBuilder ()
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption . Builder newBuilder ( SecurityPolicyRuleHttpHeaderActionHttpHeaderOption prototype )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseDelimitedFrom ( InputStream input )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( ByteString data )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( CodedInputStream input )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( InputStream input )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( ByteBuffer data )
public static SecurityPolicyRuleHttpHeaderActionHttpHeaderOption parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstanceForType ()
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 getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
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
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption . Builder newBuilderForType ()
protected SecurityPolicyRuleHttpHeaderActionHttpHeaderOption . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[]]