public final class ArtifactTypeSchema extends GeneratedMessageV3 implements ArtifactTypeSchemaOrBuilder
The definition of a artifact type in MLMD.
Protobuf type google.cloud.aiplatform.v1beta1.ArtifactTypeSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INSTANCE_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCHEMA_TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCHEMA_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ArtifactTypeSchema getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ArtifactTypeSchema.Builder newBuilder()
public static ArtifactTypeSchema.Builder newBuilder(ArtifactTypeSchema prototype)
public static ArtifactTypeSchema parseDelimitedFrom(InputStream input)
public static ArtifactTypeSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ArtifactTypeSchema parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ArtifactTypeSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ArtifactTypeSchema parseFrom(ByteString data)
public static ArtifactTypeSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ArtifactTypeSchema parseFrom(CodedInputStream input)
public static ArtifactTypeSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ArtifactTypeSchema parseFrom(InputStream input)
public static ArtifactTypeSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ArtifactTypeSchema parseFrom(ByteBuffer data)
public static ArtifactTypeSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ArtifactTypeSchema> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public ArtifactTypeSchema getDefaultInstanceForType()
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.
|
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.
|
public ArtifactTypeSchema.KindCase getKindCase()
public Parser<ArtifactTypeSchema> getParserForType()
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ArtifactTypeSchema.Builder newBuilderForType()
protected ArtifactTypeSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ArtifactTypeSchema.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides