Class RemoveIamPolicyRequest.Builder (2.29.0)

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

Request message for DataprocMetastore.RemoveIamPolicy.

Protobuf type google.cloud.metastore.v1beta.RemoveIamPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveIamPolicyRequest build()
Returns
TypeDescription
RemoveIamPolicyRequest

buildPartial()

public RemoveIamPolicyRequest buildPartial()
Returns
TypeDescription
RemoveIamPolicyRequest

clear()

public RemoveIamPolicyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
RemoveIamPolicyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RemoveIamPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public RemoveIamPolicyRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The asynchronous.

getDefaultInstanceForType()

public RemoveIamPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveIamPolicyRequest

getDescriptorForType()

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

The bytes for resource.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoveIamPolicyRequest other)

public RemoveIamPolicyRequest.Builder mergeFrom(RemoveIamPolicyRequest other)
Parameter
NameDescription
otherRemoveIamPolicyRequest
Returns
TypeDescription
RemoveIamPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RemoveIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RemoveIamPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The asynchronous to set.

Returns
TypeDescription
RemoveIamPolicyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RemoveIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resource to set.

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

The bytes for resource to set.

Returns
TypeDescription
RemoveIamPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoveIamPolicyRequest.Builder
Overrides