Class CreateMetadataStoreRequest (3.24.0)

public final class CreateMetadataStoreRequest extends GeneratedMessageV3 implements CreateMetadataStoreRequestOrBuilder

Request message for MetadataService.CreateMetadataStore.

Protobuf type google.cloud.aiplatform.v1beta1.CreateMetadataStoreRequest

Static Fields

METADATA_STORE_FIELD_NUMBER

public static final int METADATA_STORE_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_STORE_ID_FIELD_NUMBER

public static final int METADATA_STORE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateMetadataStoreRequest getDefaultInstance()
Returns
TypeDescription
CreateMetadataStoreRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateMetadataStoreRequest prototype)

public static CreateMetadataStoreRequest.Builder newBuilder(CreateMetadataStoreRequest prototype)
Parameter
NameDescription
prototypeCreateMetadataStoreRequest
Returns
TypeDescription
CreateMetadataStoreRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateMetadataStoreRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateMetadataStoreRequest

getMetadataStore()

public MetadataStore getMetadataStore()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MetadataStore

The metadataStore.

getMetadataStoreId()

public String getMetadataStoreId()

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Returns
TypeDescription
String

The metadataStoreId.

getMetadataStoreIdBytes()

public ByteString getMetadataStoreIdBytes()

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Returns
TypeDescription
ByteString

The bytes for metadataStoreId.

getMetadataStoreOrBuilder()

public MetadataStoreOrBuilder getMetadataStoreOrBuilder()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MetadataStoreOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMetadataStore()

public boolean hasMetadataStore()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the metadataStore field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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