Class Model.BaseModelSource (3.47.0)

public static final class Model.BaseModelSource extends GeneratedMessageV3 implements Model.BaseModelSourceOrBuilder

User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.

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

Static Fields

GENIE_SOURCE_FIELD_NUMBER

public static final int GENIE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

MODEL_GARDEN_SOURCE_FIELD_NUMBER

public static final int MODEL_GARDEN_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Model.BaseModelSource getDefaultInstance()
Returns
Type Description
Model.BaseModelSource

getDescriptor()

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

newBuilder()

public static Model.BaseModelSource.Builder newBuilder()
Returns
Type Description
Model.BaseModelSource.Builder

newBuilder(Model.BaseModelSource prototype)

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

parseDelimitedFrom(InputStream input)

public static Model.BaseModelSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Model.BaseModelSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Model.BaseModelSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Model.BaseModelSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Model.BaseModelSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Model.BaseModelSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Model.BaseModelSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Model.BaseModelSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Model.BaseModelSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Model.BaseModelSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Model.BaseModelSource> parser()
Returns
Type Description
Parser<BaseModelSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Model.BaseModelSource getDefaultInstanceForType()
Returns
Type Description
Model.BaseModelSource

getGenieSource()

public GenieSource getGenieSource()

Information about the base model of Genie models.

.google.cloud.aiplatform.v1.GenieSource genie_source = 2;

Returns
Type Description
GenieSource

The genieSource.

getGenieSourceOrBuilder()

public GenieSourceOrBuilder getGenieSourceOrBuilder()

Information about the base model of Genie models.

.google.cloud.aiplatform.v1.GenieSource genie_source = 2;

Returns
Type Description
GenieSourceOrBuilder

getModelGardenSource()

public ModelGardenSource getModelGardenSource()

Source information of Model Garden models.

.google.cloud.aiplatform.v1.ModelGardenSource model_garden_source = 1;

Returns
Type Description
ModelGardenSource

The modelGardenSource.

getModelGardenSourceOrBuilder()

public ModelGardenSourceOrBuilder getModelGardenSourceOrBuilder()

Source information of Model Garden models.

.google.cloud.aiplatform.v1.ModelGardenSource model_garden_source = 1;

Returns
Type Description
ModelGardenSourceOrBuilder

getParserForType()

public Parser<Model.BaseModelSource> getParserForType()
Returns
Type Description
Parser<BaseModelSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public Model.BaseModelSource.SourceCase getSourceCase()
Returns
Type Description
Model.BaseModelSource.SourceCase

hasGenieSource()

public boolean hasGenieSource()

Information about the base model of Genie models.

.google.cloud.aiplatform.v1.GenieSource genie_source = 2;

Returns
Type Description
boolean

Whether the genieSource field is set.

hasModelGardenSource()

public boolean hasModelGardenSource()

Source information of Model Garden models.

.google.cloud.aiplatform.v1.ModelGardenSource model_garden_source = 1;

Returns
Type Description
boolean

Whether the modelGardenSource 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 Model.BaseModelSource.Builder newBuilderForType()
Returns
Type Description
Model.BaseModelSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Model.BaseModelSource.Builder toBuilder()
Returns
Type Description
Model.BaseModelSource.Builder

writeTo(CodedOutputStream output)

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