Class ArtifactTypeSchema (3.56.0)

public final class ArtifactTypeSchema extends GeneratedMessageV3 implements ArtifactTypeSchemaOrBuilder

The definition of a artifact type in MLMD.

Protobuf type google.cloud.aiplatform.v1beta1.ArtifactTypeSchema

Static Fields

INSTANCE_SCHEMA_FIELD_NUMBER

public static final int INSTANCE_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_TITLE_FIELD_NUMBER

public static final int SCHEMA_TITLE_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_URI_FIELD_NUMBER

public static final int SCHEMA_URI_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_VERSION_FIELD_NUMBER

public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ArtifactTypeSchema getDefaultInstance()
Returns
Type Description
ArtifactTypeSchema

getDescriptor()

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

newBuilder()

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

newBuilder(ArtifactTypeSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ArtifactTypeSchema getDefaultInstanceForType()
Returns
Type Description
ArtifactTypeSchema

getInstanceSchema()

public String getInstanceSchema()

Contains a raw YAML string, describing the format of the properties of the type.

string instance_schema = 3;

Returns
Type Description
String

The instanceSchema.

getInstanceSchemaBytes()

public ByteString getInstanceSchemaBytes()

Contains a raw YAML string, describing the format of the properties of the type.

string instance_schema = 3;

Returns
Type Description
ByteString

The bytes for instanceSchema.

getKindCase()

public ArtifactTypeSchema.KindCase getKindCase()
Returns
Type Description
ArtifactTypeSchema.KindCase

getParserForType()

public Parser<ArtifactTypeSchema> getParserForType()
Returns
Type Description
Parser<ArtifactTypeSchema>
Overrides

getSchemaTitle()

public String getSchemaTitle()

The name of the type. The format of the title must be: <namespace>.<title>. Examples:

  • aiplatform.Model
  • acme.CustomModel When this field is set, the type must be pre-registered in the MLMD store.

string schema_title = 1;

Returns
Type Description
String

The schemaTitle.

getSchemaTitleBytes()

public ByteString getSchemaTitleBytes()

The name of the type. The format of the title must be: <namespace>.<title>. Examples:

  • aiplatform.Model
  • acme.CustomModel When this field is set, the type must be pre-registered in the MLMD store.

string schema_title = 1;

Returns
Type Description
ByteString

The bytes for schemaTitle.

getSchemaUri() (deprecated)

public String getSchemaUri()

Deprecated. google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47

Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.

string schema_uri = 2 [deprecated = true];

Returns
Type Description
String

The schemaUri.

getSchemaUriBytes() (deprecated)

public ByteString getSchemaUriBytes()

Deprecated. google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47

Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.

string schema_uri = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for schemaUri.

getSchemaVersion()

public String getSchemaVersion()

The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.

string schema_version = 4;

Returns
Type Description
String

The schemaVersion.

getSchemaVersionBytes()

public ByteString getSchemaVersionBytes()

The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.

string schema_version = 4;

Returns
Type Description
ByteString

The bytes for schemaVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasInstanceSchema()

public boolean hasInstanceSchema()

Contains a raw YAML string, describing the format of the properties of the type.

string instance_schema = 3;

Returns
Type Description
boolean

Whether the instanceSchema field is set.

hasSchemaTitle()

public boolean hasSchemaTitle()

The name of the type. The format of the title must be: <namespace>.<title>. Examples:

  • aiplatform.Model
  • acme.CustomModel When this field is set, the type must be pre-registered in the MLMD store.

string schema_title = 1;

Returns
Type Description
boolean

Whether the schemaTitle field is set.

hasSchemaUri() (deprecated)

public boolean hasSchemaUri()

Deprecated. google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47

Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.

string schema_uri = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the schemaUri field is set.

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 ArtifactTypeSchema.Builder newBuilderForType()
Returns
Type Description
ArtifactTypeSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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