Class RemoveIamPolicyRequest (2.48.0)

public final class RemoveIamPolicyRequest extends GeneratedMessageV3 implements RemoveIamPolicyRequestOrBuilder

Request message for DataprocMetastore.RemoveIamPolicy.

Protobuf type google.cloud.metastore.v1alpha.RemoveIamPolicyRequest

Static Fields

ASYNCHRONOUS_FIELD_NUMBER

public static final int ASYNCHRONOUS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoveIamPolicyRequest getDefaultInstance()
Returns
Type Description
RemoveIamPolicyRequest

getDescriptor()

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

newBuilder()

public static RemoveIamPolicyRequest.Builder newBuilder()
Returns
Type Description
RemoveIamPolicyRequest.Builder

newBuilder(RemoveIamPolicyRequest prototype)

public static RemoveIamPolicyRequest.Builder newBuilder(RemoveIamPolicyRequest prototype)
Parameter
Name Description
prototype RemoveIamPolicyRequest
Returns
Type Description
RemoveIamPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static RemoveIamPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoveIamPolicyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoveIamPolicyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoveIamPolicyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoveIamPolicyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoveIamPolicyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveIamPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoveIamPolicyRequest> parser()
Returns
Type Description
Parser<RemoveIamPolicyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<RemoveIamPolicyRequest> getParserForType()
Returns
Type Description
Parser<RemoveIamPolicyRequest>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RemoveIamPolicyRequest.Builder newBuilderForType()
Returns
Type Description
RemoveIamPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoveIamPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoveIamPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RemoveIamPolicyRequest.Builder toBuilder()
Returns
Type Description
RemoveIamPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException