Class SecurityPolicyRuleHttpHeaderAction.Builder (1.25.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleHttpHeaderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

build()

public SecurityPolicyRuleHttpHeaderAction build()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction

buildPartial()

public SecurityPolicyRuleHttpHeaderAction buildPartial()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction

clear()

public SecurityPolicyRuleHttpHeaderAction.Builder clear()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyRuleHttpHeaderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleHttpHeaderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder

clone()

public SecurityPolicyRuleHttpHeaderAction.Builder clone()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleHttpHeaderAction getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyRuleHttpHeaderAction other)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(SecurityPolicyRuleHttpHeaderAction other)
Parameter
NameDescription
otherSecurityPolicyRuleHttpHeaderAction
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecurityPolicyRuleHttpHeaderAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleHttpHeaderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleHttpHeaderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides

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

public SecurityPolicyRuleHttpHeaderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleHttpHeaderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityPolicyRuleHttpHeaderAction.Builder
Overrides