Class UpdateIngressRuleRequest.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIngressRuleRequest build()
Returns
TypeDescription
UpdateIngressRuleRequest

buildPartial()

public UpdateIngressRuleRequest buildPartial()
Returns
TypeDescription
UpdateIngressRuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRule()

public UpdateIngressRuleRequest.Builder clearRule()

A FirewallRule containing the updated resource

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

Returns
TypeDescription
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
TypeDescription
UpdateIngressRuleRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIngressRuleRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateIngressRuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRule()

public FirewallRule getRule()

A FirewallRule containing the updated resource

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

Returns
TypeDescription
FirewallRule

The rule.

getRuleBuilder()

public FirewallRule.Builder getRuleBuilder()

A FirewallRule containing the updated resource

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

Returns
TypeDescription
FirewallRule.Builder

getRuleOrBuilder()

public FirewallRuleOrBuilder getRuleOrBuilder()

A FirewallRule containing the updated resource

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

Returns
TypeDescription
FirewallRuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasRule()

public boolean hasRule()

A FirewallRule containing the updated resource

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateIngressRuleRequest other)

public UpdateIngressRuleRequest.Builder mergeFrom(UpdateIngressRuleRequest other)
Parameter
NameDescription
otherUpdateIngressRuleRequest
Returns
TypeDescription
UpdateIngressRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateIngressRuleRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFirewallRule
Returns
TypeDescription
UpdateIngressRuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueFirewallRule
Returns
TypeDescription
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
NameDescription
builderForValueFirewallRule.Builder
Returns
TypeDescription
UpdateIngressRuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateIngressRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateIngressRuleRequest.Builder