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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ModelSourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelSourceInfo build()
Returns
public ModelSourceInfo buildPartial()
Returns
public ModelSourceInfo.Builder clear()
Returns
Overrides
public ModelSourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelSourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelSourceInfo.Builder clearSourceType()
Type of the model source.
.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;
Returns
public ModelSourceInfo.Builder clone()
Returns
Overrides
public ModelSourceInfo getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelSourceInfo.ModelSourceType getSourceType()
Type of the model source.
.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelSourceInfo.Builder mergeFrom(ModelSourceInfo other)
Parameter
Returns
public ModelSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelSourceInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelSourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ModelSourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelSourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ModelSourceInfo.Builder setSourceType(ModelSourceInfo.ModelSourceType value)
Type of the model source.
.google.cloud.aiplatform.v1beta1.ModelSourceInfo.ModelSourceType source_type = 1;
Parameter
Returns
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
public final ModelSourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides