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()
Methods
public RemoveIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoveIamPolicyRequest build()
public RemoveIamPolicyRequest buildPartial()
public RemoveIamPolicyRequest.Builder clear()
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];
public RemoveIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RemoveIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public RemoveIamPolicyRequest.Builder clone()
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()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for resource.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RemoveIamPolicyRequest.Builder mergeFrom(RemoveIamPolicyRequest other)
public RemoveIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RemoveIamPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final RemoveIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
public RemoveIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoveIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
public final RemoveIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides