Class BatchUpdateIngressRulesRequest.Builder (2.42.0)

public static final class BatchUpdateIngressRulesRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateIngressRulesRequest.Builder> implements BatchUpdateIngressRulesRequestOrBuilder

Request message for Firewall.BatchUpdateIngressRules.

Protobuf type google.appengine.v1.BatchUpdateIngressRulesRequest

Static Methods

getDescriptor()

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

Methods

addAllIngressRules(Iterable<? extends FirewallRule> values)

public BatchUpdateIngressRulesRequest.Builder addAllIngressRules(Iterable<? extends FirewallRule> values)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
values Iterable<? extends com.google.appengine.v1.firewall.FirewallRule>
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

addIngressRules(FirewallRule value)

public BatchUpdateIngressRulesRequest.Builder addIngressRules(FirewallRule value)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
value FirewallRule
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

addIngressRules(FirewallRule.Builder builderForValue)

public BatchUpdateIngressRulesRequest.Builder addIngressRules(FirewallRule.Builder builderForValue)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
builderForValue FirewallRule.Builder
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

addIngressRules(int index, FirewallRule value)

public BatchUpdateIngressRulesRequest.Builder addIngressRules(int index, FirewallRule value)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameters
Name Description
index int
value FirewallRule
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

addIngressRules(int index, FirewallRule.Builder builderForValue)

public BatchUpdateIngressRulesRequest.Builder addIngressRules(int index, FirewallRule.Builder builderForValue)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameters
Name Description
index int
builderForValue FirewallRule.Builder
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

addIngressRulesBuilder()

public FirewallRule.Builder addIngressRulesBuilder()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
FirewallRule.Builder

addIngressRulesBuilder(int index)

public FirewallRule.Builder addIngressRulesBuilder(int index)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
FirewallRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateIngressRulesRequest build()
Returns
Type Description
BatchUpdateIngressRulesRequest

buildPartial()

public BatchUpdateIngressRulesRequest buildPartial()
Returns
Type Description
BatchUpdateIngressRulesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIngressRules()

public BatchUpdateIngressRulesRequest.Builder clearIngressRules()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

clearName()

public BatchUpdateIngressRulesRequest.Builder clearName()

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

string name = 1;

Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchUpdateIngressRulesRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateIngressRulesRequest

getDescriptorForType()

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

getIngressRules(int index)

public FirewallRule getIngressRules(int index)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
FirewallRule

getIngressRulesBuilder(int index)

public FirewallRule.Builder getIngressRulesBuilder(int index)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
FirewallRule.Builder

getIngressRulesBuilderList()

public List<FirewallRule.Builder> getIngressRulesBuilderList()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
List<Builder>

getIngressRulesCount()

public int getIngressRulesCount()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
int

getIngressRulesList()

public List<FirewallRule> getIngressRulesList()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
List<FirewallRule>

getIngressRulesOrBuilder(int index)

public FirewallRuleOrBuilder getIngressRulesOrBuilder(int index)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
FirewallRuleOrBuilder

getIngressRulesOrBuilderList()

public List<? extends FirewallRuleOrBuilder> getIngressRulesOrBuilderList()

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Returns
Type Description
List<? extends com.google.appengine.v1.firewall.FirewallRuleOrBuilder>

getName()

public String getName()

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateIngressRulesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIngressRules(int index)

public BatchUpdateIngressRulesRequest.Builder removeIngressRules(int index)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIngressRules(int index, FirewallRule value)

public BatchUpdateIngressRulesRequest.Builder setIngressRules(int index, FirewallRule value)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameters
Name Description
index int
value FirewallRule
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

setIngressRules(int index, FirewallRule.Builder builderForValue)

public BatchUpdateIngressRulesRequest.Builder setIngressRules(int index, FirewallRule.Builder builderForValue)

A list of FirewallRules to replace the existing set.

repeated .google.appengine.v1.FirewallRule ingress_rules = 2;

Parameters
Name Description
index int
builderForValue FirewallRule.Builder
Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

setName(String value)

public BatchUpdateIngressRulesRequest.Builder setName(String value)

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BatchUpdateIngressRulesRequest.Builder setNameBytes(ByteString value)

Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
BatchUpdateIngressRulesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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