Class AlterMetadataResourceLocationRequest (2.10.0)

public final class AlterMetadataResourceLocationRequest extends GeneratedMessageV3 implements AlterMetadataResourceLocationRequestOrBuilder

Request message for DataprocMetastore.AlterMetadataResourceLocation.

Protobuf type google.cloud.metastore.v1beta.AlterMetadataResourceLocationRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AlterMetadataResourceLocationRequest

Static Fields

LOCATION_URI_FIELD_NUMBER

public static final int LOCATION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AlterMetadataResourceLocationRequest getDefaultInstance()
Returns
TypeDescription
AlterMetadataResourceLocationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(AlterMetadataResourceLocationRequest prototype)

public static AlterMetadataResourceLocationRequest.Builder newBuilder(AlterMetadataResourceLocationRequest prototype)
Parameter
NameDescription
prototypeAlterMetadataResourceLocationRequest
Returns
TypeDescription
AlterMetadataResourceLocationRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AlterMetadataResourceLocationRequest getDefaultInstanceForType()
Returns
TypeDescription
AlterMetadataResourceLocationRequest

getLocationUri()

public String getLocationUri()

Required. The new location URI for the metadata resource.

string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The locationUri.

getLocationUriBytes()

public ByteString getLocationUriBytes()

Required. The new location URI for the metadata resource.

string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for locationUri.

getParserForType()

public Parser<AlterMetadataResourceLocationRequest> getParserForType()
Returns
TypeDescription
Parser<AlterMetadataResourceLocationRequest>
Overrides

getResourceName()

public String getResourceName()

Required. The relative metadata resource name in the following format. databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}

string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

Required. The relative metadata resource name in the following format. databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}

string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for resourceName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public String getService()

Required. The relative resource name of the metastore service to mutate metadata, in the following format: projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. The relative resource name of the metastore service to mutate metadata, in the following format: projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for service.

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 AlterMetadataResourceLocationRequest.Builder newBuilderForType()
Returns
TypeDescription
AlterMetadataResourceLocationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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