Class CreateGcpUserAccessBindingRequest.Builder (1.49.0)

public static final class CreateGcpUserAccessBindingRequest.Builder extends GeneratedMessageV3.Builder<CreateGcpUserAccessBindingRequest.Builder> implements CreateGcpUserAccessBindingRequestOrBuilder

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

Protobuf type google.identity.accesscontextmanager.v1.CreateGcpUserAccessBindingRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateGcpUserAccessBindingRequest build()
Returns
Type Description
CreateGcpUserAccessBindingRequest

buildPartial()

public CreateGcpUserAccessBindingRequest buildPartial()
Returns
Type Description
CreateGcpUserAccessBindingRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcpUserAccessBinding()

public CreateGcpUserAccessBindingRequest.Builder clearGcpUserAccessBinding()

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

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

Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateGcpUserAccessBindingRequest.Builder clearParent()

Required. Example: "organizations/256"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateGcpUserAccessBindingRequest getDefaultInstanceForType()
Returns
Type Description
CreateGcpUserAccessBindingRequest

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 = 2 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcpUserAccessBindingOrBuilder

getParent()

public String getParent()

Required. Example: "organizations/256"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Example: "organizations/256"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasGcpUserAccessBinding()

public boolean hasGcpUserAccessBinding()

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

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

Returns
Type Description
boolean

Whether the gcpUserAccessBinding field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateGcpUserAccessBindingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcpUserAccessBinding(GcpUserAccessBinding value)

public CreateGcpUserAccessBindingRequest.Builder mergeGcpUserAccessBinding(GcpUserAccessBinding value)

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

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

Parameter
Name Description
value GcpUserAccessBinding
Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcpUserAccessBinding(GcpUserAccessBinding value)

public CreateGcpUserAccessBindingRequest.Builder setGcpUserAccessBinding(GcpUserAccessBinding value)

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

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

Parameter
Name Description
value GcpUserAccessBinding
Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

setGcpUserAccessBinding(GcpUserAccessBinding.Builder builderForValue)

public CreateGcpUserAccessBindingRequest.Builder setGcpUserAccessBinding(GcpUserAccessBinding.Builder builderForValue)

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

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

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

setParent(String value)

public CreateGcpUserAccessBindingRequest.Builder setParent(String value)

Required. Example: "organizations/256"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateGcpUserAccessBindingRequest.Builder setParentBytes(ByteString value)

Required. Example: "organizations/256"

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateGcpUserAccessBindingRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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