public static final class SecurityPolicyRuleHttpHeaderAction.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleHttpHeaderAction.Builder> implements SecurityPolicyRuleHttpHeaderActionOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public SecurityPolicyRuleHttpHeaderAction.Builder addAllRequestHeadersToAdds(Iterable<? extends SecurityPolicyRuleHttpHeaderActionHttpHeaderOption> values)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>
|
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder addRequestHeadersToAdds(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder addRequestHeadersToAdds(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder addRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameters
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder addRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameters
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder addRequestHeadersToAddsBuilder()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder addRequestHeadersToAddsBuilder(int index)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public SecurityPolicyRuleHttpHeaderAction build()
Returns
public SecurityPolicyRuleHttpHeaderAction buildPartial()
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder clear()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder clearRequestHeadersToAdds()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder clone()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption getRequestHeadersToAdds(int index)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder getRequestHeadersToAddsBuilder(int index)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public List<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder> getRequestHeadersToAddsBuilderList()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
public int getRequestHeadersToAddsCount()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
public List<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption> getRequestHeadersToAddsList()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
public SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder getRequestHeadersToAddsOrBuilder(int index)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public List<? extends SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder> getRequestHeadersToAddsOrBuilderList()
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(SecurityPolicyRuleHttpHeaderAction other)
Parameter
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final SecurityPolicyRuleHttpHeaderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder removeRequestHeadersToAdds(int index)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameter
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public SecurityPolicyRuleHttpHeaderAction.Builder setRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameters
Returns
public SecurityPolicyRuleHttpHeaderAction.Builder setRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)
The list of request headers to add or overwrite if they're already present.
repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;
Parameters
Returns
public final SecurityPolicyRuleHttpHeaderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides