Class UpdateGcpUserAccessBindingRequest.Builder (1.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGcpUserAccessBindingRequest build()
Returns
TypeDescription
UpdateGcpUserAccessBindingRequest

buildPartial()

public UpdateGcpUserAccessBindingRequest buildPartial()
Returns
TypeDescription
UpdateGcpUserAccessBindingRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateGcpUserAccessBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateGcpUserAccessBindingRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateGcpUserAccessBindingRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateGcpUserAccessBindingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(UpdateGcpUserAccessBindingRequest other)

public UpdateGcpUserAccessBindingRequest.Builder mergeFrom(UpdateGcpUserAccessBindingRequest other)
Parameter
NameDescription
otherUpdateGcpUserAccessBindingRequest
Returns
TypeDescription
UpdateGcpUserAccessBindingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateGcpUserAccessBindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateGcpUserAccessBindingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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