Class RemoveIamPolicyRequest (2.13.0)

public final class RemoveIamPolicyRequest extends GeneratedMessageV3 implements RemoveIamPolicyRequestOrBuilder

Request message for DataprocMetastore.RemoveIamPolicy.

Protobuf type google.cloud.metastore.v1beta.RemoveIamPolicyRequest

Static Fields

ASYNCHRONOUS_FIELD_NUMBER

public static final int ASYNCHRONOUS_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoveIamPolicyRequest getDefaultInstance()
Returns
TypeDescription
RemoveIamPolicyRequest

getDescriptor()

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

newBuilder()

public static RemoveIamPolicyRequest.Builder newBuilder()
Returns
TypeDescription
RemoveIamPolicyRequest.Builder

newBuilder(RemoveIamPolicyRequest prototype)

public static RemoveIamPolicyRequest.Builder newBuilder(RemoveIamPolicyRequest prototype)
Parameter
NameDescription
prototypeRemoveIamPolicyRequest
Returns
TypeDescription
RemoveIamPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static RemoveIamPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemoveIamPolicyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoveIamPolicyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoveIamPolicyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemoveIamPolicyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemoveIamPolicyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoveIamPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveIamPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RemoveIamPolicyRequest> parser()
Returns
TypeDescription
Parser<RemoveIamPolicyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
boolean

The asynchronous.

getDefaultInstanceForType()

public RemoveIamPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveIamPolicyRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemoveIamPolicyRequest.Builder newBuilderForType()
Returns
TypeDescription
RemoveIamPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoveIamPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemoveIamPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemoveIamPolicyRequest.Builder toBuilder()
Returns
TypeDescription
RemoveIamPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException