Class RemoveIamPolicyRequest.Builder (2.55.0)

public static final class RemoveIamPolicyRequest.Builder extends GeneratedMessageV3.Builder<RemoveIamPolicyRequest.Builder> implements RemoveIamPolicyRequestOrBuilder

Request message for DataprocMetastore.RemoveIamPolicy.

Protobuf type google.cloud.metastore.v1alpha.RemoveIamPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveIamPolicyRequest build()
Returns
Type Description
RemoveIamPolicyRequest

buildPartial()

public RemoveIamPolicyRequest buildPartial()
Returns
Type Description
RemoveIamPolicyRequest

clear()

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

clearAsynchronous()

public RemoveIamPolicyRequest.Builder clearAsynchronous()

Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.

bool asynchronous = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoveIamPolicyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public RemoveIamPolicyRequest.Builder clearResource()

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

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

Returns
Type Description
RemoveIamPolicyRequest.Builder

This builder for chaining.

clone()

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

getAsynchronous()

public boolean getAsynchronous()

Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.

bool asynchronous = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The asynchronous.

getDefaultInstanceForType()

public RemoveIamPolicyRequest getDefaultInstanceForType()
Returns
Type Description
RemoveIamPolicyRequest

getDescriptorForType()

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

getResource()

public String getResource()

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

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

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

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

Returns
Type Description
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveIamPolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAsynchronous(boolean value)

public RemoveIamPolicyRequest.Builder setAsynchronous(boolean value)

Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.

bool asynchronous = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The asynchronous to set.

Returns
Type Description
RemoveIamPolicyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResource(String value)

public RemoveIamPolicyRequest.Builder setResource(String value)

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

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

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
RemoveIamPolicyRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public RemoveIamPolicyRequest.Builder setResourceBytes(ByteString value)

Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.

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

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
RemoveIamPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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