Class VertexModelSpec.Builder (1.45.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
TypeDescription
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
NameDescription
valuesIterable<String>

The versionAliases to add.

Returns
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The versionAliases to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the versionAliases to add.

Returns
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

build()

public VertexModelSpec build()
Returns
TypeDescription
VertexModelSpec

buildPartial()

public VertexModelSpec buildPartial()
Returns
TypeDescription
VertexModelSpec

clear()

public VertexModelSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VertexModelSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VertexModelSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VertexModelSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

clearVersionDescription()

public VertexModelSpec.Builder clearVersionDescription()

The description of this version.

string version_description = 3;

Returns
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

clearVersionId()

public VertexModelSpec.Builder clearVersionId()

The version ID of the model.

string version_id = 1;

Returns
TypeDescription
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
TypeDescription
VertexModelSpec.Builder

clone()

public VertexModelSpec.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for containerImageUri.

getDefaultInstanceForType()

public VertexModelSpec getDefaultInstanceForType()
Returns
TypeDescription
VertexModelSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the versionAliases.

getVersionDescription()

public String getVersionDescription()

The description of this version.

string version_description = 3;

Returns
TypeDescription
String

The versionDescription.

getVersionDescriptionBytes()

public ByteString getVersionDescriptionBytes()

The description of this version.

string version_description = 3;

Returns
TypeDescription
ByteString

The bytes for versionDescription.

getVersionId()

public String getVersionId()

The version ID of the model.

string version_id = 1;

Returns
TypeDescription
String

The versionId.

getVersionIdBytes()

public ByteString getVersionIdBytes()

The version ID of the model.

string version_id = 1;

Returns
TypeDescription
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
TypeDescription
VertexModelSourceInfo

The vertexModelSourceInfo.

getVertexModelSourceInfoBuilder()

public VertexModelSourceInfo.Builder getVertexModelSourceInfoBuilder()

Source of a Vertex model.

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

Returns
TypeDescription
VertexModelSourceInfo.Builder

getVertexModelSourceInfoOrBuilder()

public VertexModelSourceInfoOrBuilder getVertexModelSourceInfoOrBuilder()

Source of a Vertex model.

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

Returns
TypeDescription
VertexModelSourceInfoOrBuilder

hasVertexModelSourceInfo()

public boolean hasVertexModelSourceInfo()

Source of a Vertex model.

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

Returns
TypeDescription
boolean

Whether the vertexModelSourceInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VertexModelSpec other)

public VertexModelSpec.Builder mergeFrom(VertexModelSpec other)
Parameter
NameDescription
otherVertexModelSpec
Returns
TypeDescription
VertexModelSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VertexModelSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VertexModelSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VertexModelSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVertexModelSourceInfo
Returns
TypeDescription
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
NameDescription
valueString

The containerImageUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for containerImageUri to set.

Returns
TypeDescription
VertexModelSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VertexModelSpec.Builder
Overrides

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

public VertexModelSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VertexModelSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The versionAliases to set.

Returns
TypeDescription
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
NameDescription
valueString

The versionDescription to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for versionDescription to set.

Returns
TypeDescription
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
NameDescription
valueString

The versionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for versionId to set.

Returns
TypeDescription
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
NameDescription
valueVertexModelSourceInfo
Returns
TypeDescription
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
NameDescription
builderForValueVertexModelSourceInfo.Builder
Returns
TypeDescription
VertexModelSpec.Builder