Class ArtifactTypeSchema.Builder (3.55.0)

public static final class ArtifactTypeSchema.Builder extends GeneratedMessageV3.Builder<ArtifactTypeSchema.Builder> implements ArtifactTypeSchemaOrBuilder

The definition of a artifact type in MLMD.

Protobuf type google.cloud.aiplatform.v1beta1.ArtifactTypeSchema

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ArtifactTypeSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

build()

public ArtifactTypeSchema build()
Returns
Type Description
ArtifactTypeSchema

buildPartial()

public ArtifactTypeSchema buildPartial()
Returns
Type Description
ArtifactTypeSchema

clear()

public ArtifactTypeSchema.Builder clear()
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ArtifactTypeSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

clearInstanceSchema()

public ArtifactTypeSchema.Builder clearInstanceSchema()

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

string instance_schema = 3;

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

clearKind()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ArtifactTypeSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

clearSchemaTitle()

public ArtifactTypeSchema.Builder clearSchemaTitle()

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
ArtifactTypeSchema.Builder

This builder for chaining.

clearSchemaUri() (deprecated)

public ArtifactTypeSchema.Builder clearSchemaUri()

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
ArtifactTypeSchema.Builder

This builder for chaining.

clearSchemaVersion()

public ArtifactTypeSchema.Builder clearSchemaVersion()

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
ArtifactTypeSchema.Builder

This builder for chaining.

clone()

public ArtifactTypeSchema.Builder clone()
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

getDefaultInstanceForType()

public ArtifactTypeSchema getDefaultInstanceForType()
Returns
Type Description
ArtifactTypeSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ArtifactTypeSchema other)

public ArtifactTypeSchema.Builder mergeFrom(ArtifactTypeSchema other)
Parameter
Name Description
other ArtifactTypeSchema
Returns
Type Description
ArtifactTypeSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ArtifactTypeSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ArtifactTypeSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArtifactTypeSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ArtifactTypeSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

setInstanceSchema(String value)

public ArtifactTypeSchema.Builder setInstanceSchema(String value)

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

string instance_schema = 3;

Parameter
Name Description
value String

The instanceSchema to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setInstanceSchemaBytes(ByteString value)

public ArtifactTypeSchema.Builder setInstanceSchemaBytes(ByteString value)

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

string instance_schema = 3;

Parameter
Name Description
value ByteString

The bytes for instanceSchema to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ArtifactTypeSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides

setSchemaTitle(String value)

public ArtifactTypeSchema.Builder setSchemaTitle(String value)

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;

Parameter
Name Description
value String

The schemaTitle to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setSchemaTitleBytes(ByteString value)

public ArtifactTypeSchema.Builder setSchemaTitleBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for schemaTitle to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setSchemaUri(String value) (deprecated)

public ArtifactTypeSchema.Builder setSchemaUri(String value)

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];

Parameter
Name Description
value String

The schemaUri to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setSchemaUriBytes(ByteString value) (deprecated)

public ArtifactTypeSchema.Builder setSchemaUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for schemaUri to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setSchemaVersion(String value)

public ArtifactTypeSchema.Builder setSchemaVersion(String value)

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;

Parameter
Name Description
value String

The schemaVersion to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setSchemaVersionBytes(ByteString value)

public ArtifactTypeSchema.Builder setSchemaVersionBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for schemaVersion to set.

Returns
Type Description
ArtifactTypeSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ArtifactTypeSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArtifactTypeSchema.Builder
Overrides