Class VertexModelSpec (1.61.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
Type Description
int

VERSION_ALIASES_FIELD_NUMBER

public static final int VERSION_ALIASES_FIELD_NUMBER
Field Value
Type Description
int

VERSION_DESCRIPTION_FIELD_NUMBER

public static final int VERSION_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
Type Description
int

VERTEX_MODEL_SOURCE_INFO_FIELD_NUMBER

public static final int VERTEX_MODEL_SOURCE_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VertexModelSpec getDefaultInstance()
Returns
Type Description
VertexModelSpec

getDescriptor()

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

newBuilder()

public static VertexModelSpec.Builder newBuilder()
Returns
Type Description
VertexModelSpec.Builder

newBuilder(VertexModelSpec prototype)

public static VertexModelSpec.Builder newBuilder(VertexModelSpec prototype)
Parameter
Name Description
prototype VertexModelSpec
Returns
Type Description
VertexModelSpec.Builder

parseDelimitedFrom(InputStream input)

public static VertexModelSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VertexModelSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VertexModelSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VertexModelSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VertexModelSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VertexModelSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VertexModelSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VertexModelSpec> parser()
Returns
Type Description
Parser<VertexModelSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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

getParserForType()

public Parser<VertexModelSpec> getParserForType()
Returns
Type Description
Parser<VertexModelSpec>
Overrides

getSerializedSize()

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VertexModelSpec.Builder newBuilderForType()
Returns
Type Description
VertexModelSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VertexModelSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VertexModelSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VertexModelSpec.Builder toBuilder()
Returns
Type Description
VertexModelSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException