public static final class MigratableResource.AutomlModel.Builder extends GeneratedMessageV3.Builder<MigratableResource.AutomlModel.Builder> implements MigratableResource.AutomlModelOrBuilder
Represents one Model in automl.googleapis.com.
Protobuf type google.cloud.aiplatform.v1beta1.MigratableResource.AutomlModel
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public MigratableResource.AutomlModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MigratableResource.AutomlModel build()
Returns
public MigratableResource.AutomlModel buildPartial()
Returns
public MigratableResource.AutomlModel.Builder clear()
Returns
Overrides
public MigratableResource.AutomlModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public MigratableResource.AutomlModel.Builder clearModel()
Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
public MigratableResource.AutomlModel.Builder clearModelDisplayName()
The Model's display name in automl.googleapis.com.
string model_display_name = 3;
Returns
public MigratableResource.AutomlModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MigratableResource.AutomlModel.Builder clone()
Returns
Overrides
public MigratableResource.AutomlModel getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The model.
|
public ByteString getModelBytes()
Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
public String getModelDisplayName()
The Model's display name in automl.googleapis.com.
string model_display_name = 3;
Returns
Type | Description |
String | The modelDisplayName.
|
public ByteString getModelDisplayNameBytes()
The Model's display name in automl.googleapis.com.
string model_display_name = 3;
Returns
Type | Description |
ByteString | The bytes for modelDisplayName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MigratableResource.AutomlModel.Builder mergeFrom(MigratableResource.AutomlModel other)
Parameter
Returns
public MigratableResource.AutomlModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public MigratableResource.AutomlModel.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final MigratableResource.AutomlModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public MigratableResource.AutomlModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MigratableResource.AutomlModel.Builder setModel(String value)
Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The model to set.
|
Returns
public MigratableResource.AutomlModel.Builder setModelBytes(ByteString value)
Full resource name of automl Model.
Format:
projects/{project}/locations/{location}/models/{model}
.
string model = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for model to set.
|
Returns
public MigratableResource.AutomlModel.Builder setModelDisplayName(String value)
The Model's display name in automl.googleapis.com.
string model_display_name = 3;
Parameter
Name | Description |
value | String
The modelDisplayName to set.
|
Returns
public MigratableResource.AutomlModel.Builder setModelDisplayNameBytes(ByteString value)
The Model's display name in automl.googleapis.com.
string model_display_name = 3;
Parameter
Name | Description |
value | ByteString
The bytes for modelDisplayName to set.
|
Returns
public MigratableResource.AutomlModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final MigratableResource.AutomlModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides