Class Model.BaseModelSource.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Model.BaseModelSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

build()

public Model.BaseModelSource build()
Returns
TypeDescription
Model.BaseModelSource

buildPartial()

public Model.BaseModelSource buildPartial()
Returns
TypeDescription
Model.BaseModelSource

clear()

public Model.BaseModelSource.Builder clear()
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Model.BaseModelSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Model.BaseModelSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Model.BaseModelSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

clearSource()

public Model.BaseModelSource.Builder clearSource()
Returns
TypeDescription
Model.BaseModelSource.Builder

clone()

public Model.BaseModelSource.Builder clone()
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGenieSource()

public GenieSource getGenieSource()

Information about the base model of Genie models.

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

Returns
TypeDescription
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
TypeDescription
GenieSource.Builder

getGenieSourceOrBuilder()

public GenieSourceOrBuilder getGenieSourceOrBuilder()

Information about the base model of Genie models.

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

Returns
TypeDescription
GenieSourceOrBuilder

getModelGardenSource()

public ModelGardenSource getModelGardenSource()

Source information of Model Garden models.

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

Returns
TypeDescription
ModelGardenSource

The modelGardenSource.

getModelGardenSourceBuilder()

public ModelGardenSource.Builder getModelGardenSourceBuilder()

Source information of Model Garden models.

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

Returns
TypeDescription
ModelGardenSource.Builder

getModelGardenSourceOrBuilder()

public ModelGardenSourceOrBuilder getModelGardenSourceOrBuilder()

Source information of Model Garden models.

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

Returns
TypeDescription
ModelGardenSourceOrBuilder

getSourceCase()

public Model.BaseModelSource.SourceCase getSourceCase()
Returns
TypeDescription
Model.BaseModelSource.SourceCase

hasGenieSource()

public boolean hasGenieSource()

Information about the base model of Genie models.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the modelGardenSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Model.BaseModelSource other)

public Model.BaseModelSource.Builder mergeFrom(Model.BaseModelSource other)
Parameter
NameDescription
otherModel.BaseModelSource
Returns
TypeDescription
Model.BaseModelSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Model.BaseModelSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Model.BaseModelSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGenieSource
Returns
TypeDescription
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
NameDescription
valueModelGardenSource
Returns
TypeDescription
Model.BaseModelSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.BaseModelSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Model.BaseModelSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGenieSource
Returns
TypeDescription
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
NameDescription
builderForValueGenieSource.Builder
Returns
TypeDescription
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
NameDescription
valueModelGardenSource
Returns
TypeDescription
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
NameDescription
builderForValueModelGardenSource.Builder
Returns
TypeDescription
Model.BaseModelSource.Builder

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

public Model.BaseModelSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.BaseModelSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Model.BaseModelSource.Builder
Overrides