Interface CreateArtifactRequestOrBuilder (3.37.0)

public interface CreateArtifactRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifact()

public abstract Artifact getArtifact()

Required. The Artifact to create.

.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Artifact

The artifact.

getArtifactId()

public abstract String getArtifactId()

The {artifact} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact} If not provided, the Artifact'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 Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.)

string artifact_id = 3;

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

The {artifact} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact} If not provided, the Artifact'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 Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.)

string artifact_id = 3;

Returns
TypeDescription
ByteString

The bytes for artifactId.

getArtifactOrBuilder()

public abstract ArtifactOrBuilder getArtifactOrBuilder()

Required. The Artifact to create.

.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ArtifactOrBuilder

getParent()

public abstract String getParent()

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

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasArtifact()

public abstract boolean hasArtifact()

Required. The Artifact to create.

.google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the artifact field is set.