public static final class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder> implements SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption build()
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption buildPartial()
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clear()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clearHeaderName()
The name of the header to set.
optional string header_name = 110223613;
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clearHeaderValue()
The value to set the named header to.
optional string header_value = 203094335;
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder clone()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder mergeFrom(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption other)
Parameter
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setHeaderName(String value)
The name of the header to set.
optional string header_name = 110223613;
Parameter
Name | Description |
value | String
The headerName to set.
|
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setHeaderNameBytes(ByteString value)
The name of the header to set.
optional string header_name = 110223613;
Parameter
Name | Description |
value | ByteString
The bytes for headerName to set.
|
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setHeaderValue(String value)
The value to set the named header to.
optional string header_value = 203094335;
Parameter
Name | Description |
value | String
The headerValue to set.
|
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setHeaderValueBytes(ByteString value)
The value to set the named header to.
optional string header_value = 203094335;
Parameter
Name | Description |
value | ByteString
The bytes for headerValue to set.
|
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides