Class Model.OriginalModelInfo (3.22.0)

public static final class Model.OriginalModelInfo extends GeneratedMessageV3 implements Model.OriginalModelInfoOrBuilder

Contains information about the original Model if this Model is a copy.

Protobuf type google.cloud.aiplatform.v1.Model.OriginalModelInfo

Static Fields

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Model.OriginalModelInfo getDefaultInstance()
Returns
TypeDescription
Model.OriginalModelInfo

getDescriptor()

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

newBuilder()

public static Model.OriginalModelInfo.Builder newBuilder()
Returns
TypeDescription
Model.OriginalModelInfo.Builder

newBuilder(Model.OriginalModelInfo prototype)

public static Model.OriginalModelInfo.Builder newBuilder(Model.OriginalModelInfo prototype)
Parameter
NameDescription
prototypeModel.OriginalModelInfo
Returns
TypeDescription
Model.OriginalModelInfo.Builder

parseDelimitedFrom(InputStream input)

public static Model.OriginalModelInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Model.OriginalModelInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Model.OriginalModelInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Model.OriginalModelInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Model.OriginalModelInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Model.OriginalModelInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Model.OriginalModelInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Model.OriginalModelInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Model.OriginalModelInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Model.OriginalModelInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Model.OriginalModelInfo> parser()
Returns
TypeDescription
Parser<OriginalModelInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Model.OriginalModelInfo getDefaultInstanceForType()
Returns
TypeDescription
Model.OriginalModelInfo

getModel()

public String getModel()

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for model.

getParserForType()

public Parser<Model.OriginalModelInfo> getParserForType()
Returns
TypeDescription
Parser<OriginalModelInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 Model.OriginalModelInfo.Builder newBuilderForType()
Returns
TypeDescription
Model.OriginalModelInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Model.OriginalModelInfo.Builder toBuilder()
Returns
TypeDescription
Model.OriginalModelInfo.Builder

writeTo(CodedOutputStream output)

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