Class ModelSourceInfo.Builder (3.47.0)

public static final class ModelSourceInfo.Builder extends GeneratedMessageV3.Builder<ModelSourceInfo.Builder> implements ModelSourceInfoOrBuilder

Detail description of the source information of the model.

Protobuf type google.cloud.aiplatform.v1beta1.ModelSourceInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelSourceInfo build()
Returns
Type Description
ModelSourceInfo

buildPartial()

public ModelSourceInfo buildPartial()
Returns
Type Description
ModelSourceInfo

clear()

public ModelSourceInfo.Builder clear()
Returns
Type Description
ModelSourceInfo.Builder
Overrides

clearCopy()

public ModelSourceInfo.Builder clearCopy()

If this Model is copy of another Model. If true then source_type pertains to the original.

bool copy = 2;

Returns
Type Description
ModelSourceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSourceType()

public ModelSourceInfo.Builder clearSourceType()

Type of the model source.

.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
ModelSourceInfo.Builder

This builder for chaining.

clone()

public ModelSourceInfo.Builder clone()
Returns
Type Description
ModelSourceInfo.Builder
Overrides

getCopy()

public boolean getCopy()

If this Model is copy of another Model. If true then source_type pertains to the original.

bool copy = 2;

Returns
Type Description
boolean

The copy.

getDefaultInstanceForType()

public ModelSourceInfo getDefaultInstanceForType()
Returns
Type Description
ModelSourceInfo

getDescriptorForType()

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

getSourceType()

public ModelSourceInfo.ModelSourceType getSourceType()

Type of the model source.

.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
ModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelSourceInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCopy(boolean value)

public ModelSourceInfo.Builder setCopy(boolean value)

If this Model is copy of another Model. If true then source_type pertains to the original.

bool copy = 2;

Parameter
Name Description
value boolean

The copy to set.

Returns
Type Description
ModelSourceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSourceType(ModelSourceInfo.ModelSourceType value)

public ModelSourceInfo.Builder setSourceType(ModelSourceInfo.ModelSourceType value)

Type of the model source.

.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;

Parameter
Name Description
value ModelSourceInfo.ModelSourceType

The sourceType to set.

Returns
Type Description
ModelSourceInfo.Builder

This builder for chaining.

setSourceTypeValue(int value)

public ModelSourceInfo.Builder setSourceTypeValue(int value)

Type of the model source.

.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for sourceType to set.

Returns
Type Description
ModelSourceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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