Class VertexModelSpec (1.34.0)

public final class VertexModelSpec extends GeneratedMessageV3 implements VertexModelSpecOrBuilder

Specification for vertex model resources.

Protobuf type google.cloud.datacatalog.v1.VertexModelSpec

Static Fields

CONTAINER_IMAGE_URI_FIELD_NUMBER

public static final int CONTAINER_IMAGE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_ALIASES_FIELD_NUMBER

public static final int VERSION_ALIASES_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_DESCRIPTION_FIELD_NUMBER

public static final int VERSION_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

VERTEX_MODEL_SOURCE_INFO_FIELD_NUMBER

public static final int VERTEX_MODEL_SOURCE_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VertexModelSpec getDefaultInstance()
Returns
TypeDescription
VertexModelSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VertexModelSpec.Builder newBuilder()
Returns
TypeDescription
VertexModelSpec.Builder

newBuilder(VertexModelSpec prototype)

public static VertexModelSpec.Builder newBuilder(VertexModelSpec prototype)
Parameter
NameDescription
prototypeVertexModelSpec
Returns
TypeDescription
VertexModelSpec.Builder

parseDelimitedFrom(InputStream input)

public static VertexModelSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VertexModelSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VertexModelSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VertexModelSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VertexModelSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VertexModelSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VertexModelSpec> parser()
Returns
TypeDescription
Parser<VertexModelSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<VertexModelSpec> getParserForType()
Returns
TypeDescription
Parser<VertexModelSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VertexModelSpec.Builder newBuilderForType()
Returns
TypeDescription
VertexModelSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VertexModelSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VertexModelSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VertexModelSpec.Builder toBuilder()
Returns
TypeDescription
VertexModelSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException