Class BatchUpdateIngressRulesRequest.Builder (2.23.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.appengine.v1.firewall.FirewallRule>
Returns
TypeDescription
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
NameDescription
valueFirewallRule
Returns
TypeDescription
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
NameDescription
builderForValueFirewallRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFirewallRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewallRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FirewallRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateIngressRulesRequest build()
Returns
TypeDescription
BatchUpdateIngressRulesRequest

buildPartial()

public BatchUpdateIngressRulesRequest buildPartial()
Returns
TypeDescription
BatchUpdateIngressRulesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateIngressRulesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchUpdateIngressRulesRequest.Builder

clearName()

public BatchUpdateIngressRulesRequest.Builder clearName()

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

string name = 1;

Returns
TypeDescription
BatchUpdateIngressRulesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateIngressRulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchUpdateIngressRulesRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public BatchUpdateIngressRulesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateIngressRulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getIngressRulesCount()

public int getIngressRulesCount()

A list of FirewallRules to replace the existing set.

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

Returns
TypeDescription
int

getIngressRulesList()

public List<FirewallRule> getIngressRulesList()

A list of FirewallRules to replace the existing set.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateIngressRulesRequest other)

public BatchUpdateIngressRulesRequest.Builder mergeFrom(BatchUpdateIngressRulesRequest other)
Parameter
NameDescription
otherBatchUpdateIngressRulesRequest
Returns
TypeDescription
BatchUpdateIngressRulesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIngressRulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueFirewallRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewallRule.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateIngressRulesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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