Package com.google.cloud.datacatalog.v1
Class VertexModelSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
com.google.cloud.datacatalog.v1.VertexModelSpec.Builder
- All Implemented Interfaces:
VertexModelSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VertexModelSpec
public static final class VertexModelSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
implements VertexModelSpecOrBuilder
Specification for vertex model resources.Protobuf type
google.cloud.datacatalog.v1.VertexModelSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllVersionAliases(Iterable<String> values) User provided version aliases so that a model version can be referenced via aliasaddVersionAliases(String value) User provided version aliases so that a model version can be referenced via aliasaddVersionAliasesBytes(com.google.protobuf.ByteString value) User provided version aliases so that a model version can be referenced via aliasbuild()clear()URI of the Docker image to be used as the custom container for serving predictions.User provided version aliases so that a model version can be referenced via aliasThe description of this version.The version ID of the model.Source of a Vertex model.URI of the Docker image to be used as the custom container for serving predictions.com.google.protobuf.ByteStringURI of the Docker image to be used as the custom container for serving predictions.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetVersionAliases(int index) User provided version aliases so that a model version can be referenced via aliascom.google.protobuf.ByteStringgetVersionAliasesBytes(int index) User provided version aliases so that a model version can be referenced via aliasintUser provided version aliases so that a model version can be referenced via aliascom.google.protobuf.ProtocolStringListUser provided version aliases so that a model version can be referenced via aliasThe description of this version.com.google.protobuf.ByteStringThe description of this version.The version ID of the model.com.google.protobuf.ByteStringThe version ID of the model.Source of a Vertex model.Source of a Vertex model.Source of a Vertex model.booleanSource of a Vertex model.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VertexModelSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Source of a Vertex model.setContainerImageUri(String value) URI of the Docker image to be used as the custom container for serving predictions.setContainerImageUriBytes(com.google.protobuf.ByteString value) URI of the Docker image to be used as the custom container for serving predictions.setVersionAliases(int index, String value) User provided version aliases so that a model version can be referenced via aliassetVersionDescription(String value) The description of this version.setVersionDescriptionBytes(com.google.protobuf.ByteString value) The description of this version.setVersionId(String value) The version ID of the model.setVersionIdBytes(com.google.protobuf.ByteString value) The version ID of the model.Source of a Vertex model.setVertexModelSourceInfo(VertexModelSourceInfo.Builder builderForValue) Source of a Vertex model.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VertexModelSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VertexModelSpec.Builder>
-
mergeFrom
public VertexModelSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VertexModelSpec.Builder>- Throws:
IOException
-
getVersionId
The version ID of the model.
string version_id = 1;- Specified by:
getVersionIdin interfaceVertexModelSpecOrBuilder- Returns:
- The versionId.
-
getVersionIdBytes
public com.google.protobuf.ByteString getVersionIdBytes()The version ID of the model.
string version_id = 1;- Specified by:
getVersionIdBytesin interfaceVertexModelSpecOrBuilder- Returns:
- The bytes for versionId.
-
setVersionId
The version ID of the model.
string version_id = 1;- Parameters:
value- The versionId to set.- Returns:
- This builder for chaining.
-
clearVersionId
The version ID of the model.
string version_id = 1;- Returns:
- This builder for chaining.
-
setVersionIdBytes
The version ID of the model.
string version_id = 1;- Parameters:
value- The bytes for versionId to set.- Returns:
- This builder for chaining.
-
getVersionAliasesList
public com.google.protobuf.ProtocolStringList getVersionAliasesList()User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Specified by:
getVersionAliasesListin interfaceVertexModelSpecOrBuilder- Returns:
- A list containing the versionAliases.
-
getVersionAliasesCount
public int getVersionAliasesCount()User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Specified by:
getVersionAliasesCountin interfaceVertexModelSpecOrBuilder- Returns:
- The count of versionAliases.
-
getVersionAliases
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Specified by:
getVersionAliasesin interfaceVertexModelSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The versionAliases at the given index.
-
getVersionAliasesBytes
public com.google.protobuf.ByteString getVersionAliasesBytes(int index) User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Specified by:
getVersionAliasesBytesin interfaceVertexModelSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the versionAliases at the given index.
-
setVersionAliases
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Parameters:
index- The index to set the value at.value- The versionAliases to set.- Returns:
- This builder for chaining.
-
addVersionAliases
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Parameters:
value- The versionAliases to add.- Returns:
- This builder for chaining.
-
addAllVersionAliases
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Parameters:
values- The versionAliases to add.- Returns:
- This builder for chaining.
-
clearVersionAliases
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Returns:
- This builder for chaining.
-
addVersionAliasesBytes
User provided version aliases so that a model version can be referenced via alias
repeated string version_aliases = 2;- Parameters:
value- The bytes of the versionAliases to add.- Returns:
- This builder for chaining.
-
getVersionDescription
The description of this version.
string version_description = 3;- Specified by:
getVersionDescriptionin interfaceVertexModelSpecOrBuilder- Returns:
- The versionDescription.
-
getVersionDescriptionBytes
public com.google.protobuf.ByteString getVersionDescriptionBytes()The description of this version.
string version_description = 3;- Specified by:
getVersionDescriptionBytesin interfaceVertexModelSpecOrBuilder- Returns:
- The bytes for versionDescription.
-
setVersionDescription
The description of this version.
string version_description = 3;- Parameters:
value- The versionDescription to set.- Returns:
- This builder for chaining.
-
clearVersionDescription
The description of this version.
string version_description = 3;- Returns:
- This builder for chaining.
-
setVersionDescriptionBytes
The description of this version.
string version_description = 3;- Parameters:
value- The bytes for versionDescription to set.- Returns:
- This builder for chaining.
-
hasVertexModelSourceInfo
public boolean hasVertexModelSourceInfo()Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;- Specified by:
hasVertexModelSourceInfoin interfaceVertexModelSpecOrBuilder- Returns:
- Whether the vertexModelSourceInfo field is set.
-
getVertexModelSourceInfo
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;- Specified by:
getVertexModelSourceInfoin interfaceVertexModelSpecOrBuilder- Returns:
- The vertexModelSourceInfo.
-
setVertexModelSourceInfo
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4; -
setVertexModelSourceInfo
public VertexModelSpec.Builder setVertexModelSourceInfo(VertexModelSourceInfo.Builder builderForValue) Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4; -
mergeVertexModelSourceInfo
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4; -
clearVertexModelSourceInfo
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4; -
getVertexModelSourceInfoBuilder
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4; -
getVertexModelSourceInfoOrBuilder
Source of a Vertex model.
.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;- Specified by:
getVertexModelSourceInfoOrBuilderin interfaceVertexModelSpecOrBuilder
-
getContainerImageUri
URI of the Docker image to be used as the custom container for serving predictions.
string container_image_uri = 5;- Specified by:
getContainerImageUriin interfaceVertexModelSpecOrBuilder- Returns:
- The containerImageUri.
-
getContainerImageUriBytes
public com.google.protobuf.ByteString getContainerImageUriBytes()URI of the Docker image to be used as the custom container for serving predictions.
string container_image_uri = 5;- Specified by:
getContainerImageUriBytesin interfaceVertexModelSpecOrBuilder- Returns:
- The bytes for containerImageUri.
-
setContainerImageUri
URI of the Docker image to be used as the custom container for serving predictions.
string container_image_uri = 5;- Parameters:
value- The containerImageUri to set.- Returns:
- This builder for chaining.
-
clearContainerImageUri
URI of the Docker image to be used as the custom container for serving predictions.
string container_image_uri = 5;- Returns:
- This builder for chaining.
-
setContainerImageUriBytes
URI of the Docker image to be used as the custom container for serving predictions.
string container_image_uri = 5;- Parameters:
value- The bytes for containerImageUri to set.- Returns:
- This builder for chaining.
-