Class MigratableResource.MlEngineModelVersion (3.23.0)

public static final class MigratableResource.MlEngineModelVersion extends GeneratedMessageV3 implements MigratableResource.MlEngineModelVersionOrBuilder

Represents one model Version in ml.googleapis.com.

Protobuf type google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MigratableResource.MlEngineModelVersion

Static Fields

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigratableResource.MlEngineModelVersion getDefaultInstance()
Returns
TypeDescription
MigratableResource.MlEngineModelVersion

getDescriptor()

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

newBuilder()

public static MigratableResource.MlEngineModelVersion.Builder newBuilder()
Returns
TypeDescription
MigratableResource.MlEngineModelVersion.Builder

newBuilder(MigratableResource.MlEngineModelVersion prototype)

public static MigratableResource.MlEngineModelVersion.Builder newBuilder(MigratableResource.MlEngineModelVersion prototype)
Parameter
NameDescription
prototypeMigratableResource.MlEngineModelVersion
Returns
TypeDescription
MigratableResource.MlEngineModelVersion.Builder

parseDelimitedFrom(InputStream input)

public static MigratableResource.MlEngineModelVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigratableResource.MlEngineModelVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static MigratableResource.MlEngineModelVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MigratableResource.MlEngineModelVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static MigratableResource.MlEngineModelVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MigratableResource.MlEngineModelVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static MigratableResource.MlEngineModelVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigratableResource.MlEngineModelVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static MigratableResource.MlEngineModelVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MigratableResource.MlEngineModelVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<MigratableResource.MlEngineModelVersion> parser()
Returns
TypeDescription
Parser<MlEngineModelVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MigratableResource.MlEngineModelVersion getDefaultInstanceForType()
Returns
TypeDescription
MigratableResource.MlEngineModelVersion

getEndpoint()

public String getEndpoint()

The ml.googleapis.com endpoint that this model Version currently lives in. Example values:

  • ml.googleapis.com
  • us-centrall-ml.googleapis.com
  • europe-west4-ml.googleapis.com
  • asia-east1-ml.googleapis.com

string endpoint = 1;

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

The ml.googleapis.com endpoint that this model Version currently lives in. Example values:

  • ml.googleapis.com
  • us-centrall-ml.googleapis.com
  • europe-west4-ml.googleapis.com
  • asia-east1-ml.googleapis.com

string endpoint = 1;

Returns
TypeDescription
ByteString

The bytes for endpoint.

getParserForType()

public Parser<MigratableResource.MlEngineModelVersion> getParserForType()
Returns
TypeDescription
Parser<MlEngineModelVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public String getVersion()

Full resource name of ml engine model Version. Format: projects/{project}/models/{model}/versions/{version}.

string version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Full resource name of ml engine model Version. Format: projects/{project}/models/{model}/versions/{version}.

string version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for version.

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 MigratableResource.MlEngineModelVersion.Builder newBuilderForType()
Returns
TypeDescription
MigratableResource.MlEngineModelVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public MigratableResource.MlEngineModelVersion.Builder toBuilder()
Returns
TypeDescription
MigratableResource.MlEngineModelVersion.Builder

writeTo(CodedOutputStream output)

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