Class UpdateGcpUserAccessBindingRequest.Builder (1.45.0)

public static final class UpdateGcpUserAccessBindingRequest.Builder extends GeneratedMessageV3.Builder<UpdateGcpUserAccessBindingRequest.Builder> implements UpdateGcpUserAccessBindingRequestOrBuilder

Request of [UpdateGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.UpdateGcpUserAccessBinding].

Protobuf type google.identity.accesscontextmanager.v1.UpdateGcpUserAccessBindingRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGcpUserAccessBindingRequest build()
Returns
Type Description
UpdateGcpUserAccessBindingRequest

buildPartial()

public UpdateGcpUserAccessBindingRequest buildPartial()
Returns
Type Description
UpdateGcpUserAccessBindingRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcpUserAccessBinding()

public UpdateGcpUserAccessBindingRequest.Builder clearGcpUserAccessBinding()

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateGcpUserAccessBindingRequest.Builder clearUpdateMask()

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateGcpUserAccessBindingRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGcpUserAccessBindingRequest

getDescriptorForType()

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

getGcpUserAccessBinding()

public GcpUserAccessBinding getGcpUserAccessBinding()

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcpUserAccessBinding

The gcpUserAccessBinding.

getGcpUserAccessBindingBuilder()

public GcpUserAccessBinding.Builder getGcpUserAccessBindingBuilder()

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcpUserAccessBinding.Builder

getGcpUserAccessBindingOrBuilder()

public GcpUserAccessBindingOrBuilder getGcpUserAccessBindingOrBuilder()

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcpUserAccessBindingOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasGcpUserAccessBinding()

public boolean hasGcpUserAccessBinding()

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gcpUserAccessBinding field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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(UpdateGcpUserAccessBindingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcpUserAccessBinding(GcpUserAccessBinding value)

public UpdateGcpUserAccessBindingRequest.Builder mergeGcpUserAccessBinding(GcpUserAccessBinding value)

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcpUserAccessBinding
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateGcpUserAccessBindingRequest.Builder mergeUpdateMask(FieldMask value)

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcpUserAccessBinding(GcpUserAccessBinding value)

public UpdateGcpUserAccessBindingRequest.Builder setGcpUserAccessBinding(GcpUserAccessBinding value)

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcpUserAccessBinding
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

setGcpUserAccessBinding(GcpUserAccessBinding.Builder builderForValue)

public UpdateGcpUserAccessBindingRequest.Builder setGcpUserAccessBinding(GcpUserAccessBinding.Builder builderForValue)

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

.google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GcpUserAccessBinding.Builder
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateGcpUserAccessBindingRequest.Builder setUpdateMask(FieldMask value)

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGcpUserAccessBindingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:

update_mask { paths: "access_levels" }

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGcpUserAccessBindingRequest.Builder