Class UpdateIngressRuleRequest.Builder (2.45.0)

public static final class UpdateIngressRuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateIngressRuleRequest.Builder> implements UpdateIngressRuleRequestOrBuilder

Request message for Firewall.UpdateIngressRule.

Protobuf type google.appengine.v1.UpdateIngressRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIngressRuleRequest build()
Returns
Type Description
UpdateIngressRuleRequest

buildPartial()

public UpdateIngressRuleRequest buildPartial()
Returns
Type Description
UpdateIngressRuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateIngressRuleRequest.Builder clearName()

Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string name = 1;

Returns
Type Description
UpdateIngressRuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRule()

public UpdateIngressRuleRequest.Builder clearRule()

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
UpdateIngressRuleRequest.Builder

clearUpdateMask()

public UpdateIngressRuleRequest.Builder clearUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateIngressRuleRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIngressRuleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateIngressRuleRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRule()

public FirewallRule getRule()

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
FirewallRule

The rule.

getRuleBuilder()

public FirewallRule.Builder getRuleBuilder()

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
FirewallRule.Builder

getRuleOrBuilder()

public FirewallRuleOrBuilder getRuleOrBuilder()

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
FirewallRuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasRule()

public boolean hasRule()

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
boolean

Whether the rule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateIngressRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRule(FirewallRule value)

public UpdateIngressRuleRequest.Builder mergeRule(FirewallRule value)

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Parameter
Name Description
value FirewallRule
Returns
Type Description
UpdateIngressRuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateIngressRuleRequest.Builder mergeUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateIngressRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateIngressRuleRequest.Builder setName(String value)

Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateIngressRuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateIngressRuleRequest.Builder setNameBytes(ByteString value)

Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateIngressRuleRequest.Builder

This builder for chaining.

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

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

setRule(FirewallRule value)

public UpdateIngressRuleRequest.Builder setRule(FirewallRule value)

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

Parameter
Name Description
value FirewallRule
Returns
Type Description
UpdateIngressRuleRequest.Builder

setRule(FirewallRule.Builder builderForValue)

public UpdateIngressRuleRequest.Builder setRule(FirewallRule.Builder builderForValue)

A FirewallRule containing the updated resource

.google.appengine.v1.FirewallRule rule = 2;

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateIngressRuleRequest.Builder setUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateIngressRuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateIngressRuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateIngressRuleRequest.Builder