public static final class RemoveIamPolicyRequest.Builder extends GeneratedMessage.Builder<RemoveIamPolicyRequest.Builder> implements RemoveIamPolicyRequestOrBuilderRequest message for DataprocMetastore.RemoveIamPolicy.
Protobuf type google.cloud.metastore.v1beta.RemoveIamPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RemoveIamPolicyRequest.BuilderImplements
RemoveIamPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemoveIamPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemoveIamPolicyRequest.Builder |
|
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 |
booleanThe asynchronous to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveIamPolicyRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for resource to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveIamPolicyRequest.Builder |
This builder for chaining. |