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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public RemoveIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RemoveIamPolicyRequest build()
Returns
public RemoveIamPolicyRequest buildPartial()
Returns
public RemoveIamPolicyRequest.Builder clear()
Returns
Overrides
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
public RemoveIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RemoveIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public RemoveIamPolicyRequest.Builder clone()
Returns
Overrides
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.
|
public RemoveIamPolicyRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RemoveIamPolicyRequest.Builder mergeFrom(RemoveIamPolicyRequest other)
Parameter
Returns
public RemoveIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RemoveIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final RemoveIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public RemoveIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RemoveIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
public final RemoveIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides