public static final class ModelGardenSource.Builder extends GeneratedMessageV3.Builder<ModelGardenSource.Builder> implements ModelGardenSourceOrBuilder
Contains information about the source of the models generated from Model
Garden.
Protobuf type google.cloud.aiplatform.v1.ModelGardenSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public ModelGardenSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelGardenSource build()
public ModelGardenSource buildPartial()
public ModelGardenSource.Builder clear()
Overrides
public ModelGardenSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelGardenSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelGardenSource.Builder clearPublicModelName()
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
public ModelGardenSource.Builder clone()
Overrides
public ModelGardenSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getPublicModelName()
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The publicModelName.
|
public ByteString getPublicModelNameBytes()
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for publicModelName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelGardenSource.Builder mergeFrom(ModelGardenSource other)
public ModelGardenSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelGardenSource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelGardenSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelGardenSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelGardenSource.Builder setPublicModelName(String value)
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The publicModelName to set.
|
public ModelGardenSource.Builder setPublicModelNameBytes(ByteString value)
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for publicModelName to set.
|
public ModelGardenSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelGardenSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides