Class VertexModelSpec.Builder (1.49.0)

public static final class VertexModelSpec.Builder extends GeneratedMessageV3.Builder<VertexModelSpec.Builder> implements VertexModelSpecOrBuilder

Specification for vertex model resources.

Protobuf type google.cloud.datacatalog.v1.VertexModelSpec

Static Methods

getDescriptor()

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

Methods

addAllVersionAliases(Iterable<String> values)

public VertexModelSpec.Builder addAllVersionAliases(Iterable<String> values)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameter
Name Description
values Iterable<String>

The versionAliases to add.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVersionAliases(String value)

public VertexModelSpec.Builder addVersionAliases(String value)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameter
Name Description
value String

The versionAliases to add.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

addVersionAliasesBytes(ByteString value)

public VertexModelSpec.Builder addVersionAliasesBytes(ByteString value)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameter
Name Description
value ByteString

The bytes of the versionAliases to add.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

build()

public VertexModelSpec build()
Returns
Type Description
VertexModelSpec

buildPartial()

public VertexModelSpec buildPartial()
Returns
Type Description
VertexModelSpec

clear()

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

clearContainerImageUri()

public VertexModelSpec.Builder clearContainerImageUri()

URI of the Docker image to be used as the custom container for serving predictions.

string container_image_uri = 5;

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersionAliases()

public VertexModelSpec.Builder clearVersionAliases()

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

clearVersionDescription()

public VertexModelSpec.Builder clearVersionDescription()

The description of this version.

string version_description = 3;

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

clearVersionId()

public VertexModelSpec.Builder clearVersionId()

The version ID of the model.

string version_id = 1;

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

clearVertexModelSourceInfo()

public VertexModelSpec.Builder clearVertexModelSourceInfo()

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Returns
Type Description
VertexModelSpec.Builder

clone()

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

getContainerImageUri()

public String getContainerImageUri()

URI of the Docker image to be used as the custom container for serving predictions.

string container_image_uri = 5;

Returns
Type Description
String

The containerImageUri.

getContainerImageUriBytes()

public ByteString getContainerImageUriBytes()

URI of the Docker image to be used as the custom container for serving predictions.

string container_image_uri = 5;

Returns
Type Description
ByteString

The bytes for containerImageUri.

getDefaultInstanceForType()

public VertexModelSpec getDefaultInstanceForType()
Returns
Type Description
VertexModelSpec

getDescriptorForType()

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

getVersionAliases(int index)

public String getVersionAliases(int index)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The versionAliases at the given index.

getVersionAliasesBytes(int index)

public ByteString getVersionAliasesBytes(int index)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the versionAliases at the given index.

getVersionAliasesCount()

public int getVersionAliasesCount()

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Returns
Type Description
int

The count of versionAliases.

getVersionAliasesList()

public ProtocolStringList getVersionAliasesList()

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Returns
Type Description
ProtocolStringList

A list containing the versionAliases.

getVersionDescription()

public String getVersionDescription()

The description of this version.

string version_description = 3;

Returns
Type Description
String

The versionDescription.

getVersionDescriptionBytes()

public ByteString getVersionDescriptionBytes()

The description of this version.

string version_description = 3;

Returns
Type Description
ByteString

The bytes for versionDescription.

getVersionId()

public String getVersionId()

The version ID of the model.

string version_id = 1;

Returns
Type Description
String

The versionId.

getVersionIdBytes()

public ByteString getVersionIdBytes()

The version ID of the model.

string version_id = 1;

Returns
Type Description
ByteString

The bytes for versionId.

getVertexModelSourceInfo()

public VertexModelSourceInfo getVertexModelSourceInfo()

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Returns
Type Description
VertexModelSourceInfo

The vertexModelSourceInfo.

getVertexModelSourceInfoBuilder()

public VertexModelSourceInfo.Builder getVertexModelSourceInfoBuilder()

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Returns
Type Description
VertexModelSourceInfo.Builder

getVertexModelSourceInfoOrBuilder()

public VertexModelSourceInfoOrBuilder getVertexModelSourceInfoOrBuilder()

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Returns
Type Description
VertexModelSourceInfoOrBuilder

hasVertexModelSourceInfo()

public boolean hasVertexModelSourceInfo()

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Returns
Type Description
boolean

Whether the vertexModelSourceInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexModelSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVertexModelSourceInfo(VertexModelSourceInfo value)

public VertexModelSpec.Builder mergeVertexModelSourceInfo(VertexModelSourceInfo value)

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Parameter
Name Description
value VertexModelSourceInfo
Returns
Type Description
VertexModelSpec.Builder

setContainerImageUri(String value)

public VertexModelSpec.Builder setContainerImageUri(String value)

URI of the Docker image to be used as the custom container for serving predictions.

string container_image_uri = 5;

Parameter
Name Description
value String

The containerImageUri to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setContainerImageUriBytes(ByteString value)

public VertexModelSpec.Builder setContainerImageUriBytes(ByteString value)

URI of the Docker image to be used as the custom container for serving predictions.

string container_image_uri = 5;

Parameter
Name Description
value ByteString

The bytes for containerImageUri to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersionAliases(int index, String value)

public VertexModelSpec.Builder setVersionAliases(int index, String value)

User provided version aliases so that a model version can be referenced via alias

repeated string version_aliases = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The versionAliases to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setVersionDescription(String value)

public VertexModelSpec.Builder setVersionDescription(String value)

The description of this version.

string version_description = 3;

Parameter
Name Description
value String

The versionDescription to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setVersionDescriptionBytes(ByteString value)

public VertexModelSpec.Builder setVersionDescriptionBytes(ByteString value)

The description of this version.

string version_description = 3;

Parameter
Name Description
value ByteString

The bytes for versionDescription to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setVersionId(String value)

public VertexModelSpec.Builder setVersionId(String value)

The version ID of the model.

string version_id = 1;

Parameter
Name Description
value String

The versionId to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setVersionIdBytes(ByteString value)

public VertexModelSpec.Builder setVersionIdBytes(ByteString value)

The version ID of the model.

string version_id = 1;

Parameter
Name Description
value ByteString

The bytes for versionId to set.

Returns
Type Description
VertexModelSpec.Builder

This builder for chaining.

setVertexModelSourceInfo(VertexModelSourceInfo value)

public VertexModelSpec.Builder setVertexModelSourceInfo(VertexModelSourceInfo value)

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Parameter
Name Description
value VertexModelSourceInfo
Returns
Type Description
VertexModelSpec.Builder

setVertexModelSourceInfo(VertexModelSourceInfo.Builder builderForValue)

public VertexModelSpec.Builder setVertexModelSourceInfo(VertexModelSourceInfo.Builder builderForValue)

Source of a Vertex model.

.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;

Parameter
Name Description
builderForValue VertexModelSourceInfo.Builder
Returns
Type Description
VertexModelSpec.Builder