Class Model.BaseModelSource.Builder (3.54.0)

public static final class Model.BaseModelSource.Builder extends GeneratedMessageV3.Builder<Model.BaseModelSource.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Model.BaseModelSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Model.BaseModelSource.Builder clear()
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Model.BaseModelSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

clearGenieSource()

public Model.BaseModelSource.Builder clearGenieSource()

Information about the base model of Genie models.

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

Returns
Type Description
Model.BaseModelSource.Builder

clearModelGardenSource()

public Model.BaseModelSource.Builder clearModelGardenSource()

Source information of Model Garden models.

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

Returns
Type Description
Model.BaseModelSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Model.BaseModelSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

clearSource()

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

clone()

public Model.BaseModelSource.Builder clone()
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGenieSourceBuilder()

public GenieSource.Builder getGenieSourceBuilder()

Information about the base model of Genie models.

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

Returns
Type Description
GenieSource.Builder

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.

getModelGardenSourceBuilder()

public ModelGardenSource.Builder getModelGardenSourceBuilder()

Source information of Model Garden models.

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

Returns
Type Description
ModelGardenSource.Builder

getModelGardenSourceOrBuilder()

public ModelGardenSourceOrBuilder getModelGardenSourceOrBuilder()

Source information of Model Garden models.

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

Returns
Type Description
ModelGardenSourceOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Model.BaseModelSource other)

public Model.BaseModelSource.Builder mergeFrom(Model.BaseModelSource other)
Parameter
Name Description
other Model.BaseModelSource
Returns
Type Description
Model.BaseModelSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Model.BaseModelSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Model.BaseModelSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Model.BaseModelSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

mergeGenieSource(GenieSource value)

public Model.BaseModelSource.Builder mergeGenieSource(GenieSource value)

Information about the base model of Genie models.

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

Parameter
Name Description
value GenieSource
Returns
Type Description
Model.BaseModelSource.Builder

mergeModelGardenSource(ModelGardenSource value)

public Model.BaseModelSource.Builder mergeModelGardenSource(ModelGardenSource value)

Source information of Model Garden models.

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

Parameter
Name Description
value ModelGardenSource
Returns
Type Description
Model.BaseModelSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.BaseModelSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Model.BaseModelSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

setGenieSource(GenieSource value)

public Model.BaseModelSource.Builder setGenieSource(GenieSource value)

Information about the base model of Genie models.

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

Parameter
Name Description
value GenieSource
Returns
Type Description
Model.BaseModelSource.Builder

setGenieSource(GenieSource.Builder builderForValue)

public Model.BaseModelSource.Builder setGenieSource(GenieSource.Builder builderForValue)

Information about the base model of Genie models.

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

Parameter
Name Description
builderForValue GenieSource.Builder
Returns
Type Description
Model.BaseModelSource.Builder

setModelGardenSource(ModelGardenSource value)

public Model.BaseModelSource.Builder setModelGardenSource(ModelGardenSource value)

Source information of Model Garden models.

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

Parameter
Name Description
value ModelGardenSource
Returns
Type Description
Model.BaseModelSource.Builder

setModelGardenSource(ModelGardenSource.Builder builderForValue)

public Model.BaseModelSource.Builder setModelGardenSource(ModelGardenSource.Builder builderForValue)

Source information of Model Garden models.

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

Parameter
Name Description
builderForValue ModelGardenSource.Builder
Returns
Type Description
Model.BaseModelSource.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Model.BaseModelSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Model.BaseModelSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.BaseModelSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.BaseModelSource.Builder
Overrides