Class SecurityPolicyRuleHttpHeaderAction.Builder (1.58.0)

public static final class SecurityPolicyRuleHttpHeaderAction.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleHttpHeaderAction.Builder> implements SecurityPolicyRuleHttpHeaderActionOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequestHeadersToAdds(Iterable<? extends SecurityPolicyRuleHttpHeaderActionHttpHeaderOption> values)

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
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleHttpHeaderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

addRequestHeadersToAdds(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)

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
Name Description
value SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

addRequestHeadersToAdds(SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)

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
Name Description
builderForValue SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

addRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)

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
Name Description
index int
value SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

addRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)

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
Name Description
index int
builderForValue SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

addRequestHeadersToAddsBuilder()

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
Type Description
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

addRequestHeadersToAddsBuilder(int index)

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
Name Description
index int
Returns
Type Description
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

build()

public SecurityPolicyRuleHttpHeaderAction build()
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction

buildPartial()

public SecurityPolicyRuleHttpHeaderAction buildPartial()
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction

clear()

public SecurityPolicyRuleHttpHeaderAction.Builder clear()
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyRuleHttpHeaderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleHttpHeaderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

clearRequestHeadersToAdds()

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
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

clone()

public SecurityPolicyRuleHttpHeaderAction.Builder clone()
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleHttpHeaderAction getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRequestHeadersToAdds(int index)

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
Name Description
index int
Returns
Type Description
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

getRequestHeadersToAddsBuilder(int index)

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
Name Description
index int
Returns
Type Description
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

getRequestHeadersToAddsBuilderList()

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
Type Description
List<Builder>

getRequestHeadersToAddsCount()

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
Type Description
int

getRequestHeadersToAddsList()

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
Type Description
List<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>

getRequestHeadersToAddsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder

getRequestHeadersToAddsOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyRuleHttpHeaderAction other)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(SecurityPolicyRuleHttpHeaderAction other)
Parameter
Name Description
other SecurityPolicyRuleHttpHeaderAction
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleHttpHeaderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

removeRequestHeadersToAdds(int index)

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
Name Description
index int
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleHttpHeaderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityPolicyRuleHttpHeaderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

setRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption value)

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
Name Description
index int
value SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

setRequestHeadersToAdds(int index, SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder builderForValue)

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
Name Description
index int
builderForValue SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleHttpHeaderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides