public static final class UnmanagedContainerModel.Builder extends GeneratedMessageV3.Builder<UnmanagedContainerModel.Builder> implements UnmanagedContainerModelOrBuilder
Contains model information necessary to perform batch prediction without
requiring a full model import.
Protobuf type google.cloud.aiplatform.v1.UnmanagedContainerModel
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UnmanagedContainerModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UnmanagedContainerModel build()
Returns
public UnmanagedContainerModel buildPartial()
Returns
public UnmanagedContainerModel.Builder clear()
Returns
Overrides
public UnmanagedContainerModel.Builder clearArtifactUri()
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
Returns
public UnmanagedContainerModel.Builder clearContainerSpec()
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
public UnmanagedContainerModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UnmanagedContainerModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UnmanagedContainerModel.Builder clearPredictSchemata()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns
public UnmanagedContainerModel.Builder clone()
Returns
Overrides
public String getArtifactUri()
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
Returns
Type | Description |
String | The artifactUri.
|
public ByteString getArtifactUriBytes()
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
Returns
Type | Description |
ByteString | The bytes for artifactUri.
|
public ModelContainerSpec getContainerSpec()
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
public ModelContainerSpec.Builder getContainerSpecBuilder()
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
public ModelContainerSpecOrBuilder getContainerSpecOrBuilder()
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
public UnmanagedContainerModel getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public PredictSchemata getPredictSchemata()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns
public PredictSchemata.Builder getPredictSchemataBuilder()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns
public PredictSchemataOrBuilder getPredictSchemataOrBuilder()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns
public boolean hasContainerSpec()
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
boolean | Whether the containerSpec field is set.
|
public boolean hasPredictSchemata()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns
Type | Description |
boolean | Whether the predictSchemata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UnmanagedContainerModel.Builder mergeContainerSpec(ModelContainerSpec value)
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Returns
public UnmanagedContainerModel.Builder mergeFrom(UnmanagedContainerModel other)
Parameter
Returns
public UnmanagedContainerModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UnmanagedContainerModel.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UnmanagedContainerModel.Builder mergePredictSchemata(PredictSchemata value)
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Parameter
Returns
public final UnmanagedContainerModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UnmanagedContainerModel.Builder setArtifactUri(String value)
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
Parameter
Name | Description |
value | String
The artifactUri to set.
|
Returns
public UnmanagedContainerModel.Builder setArtifactUriBytes(ByteString value)
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
Parameter
Name | Description |
value | ByteString
The bytes for artifactUri to set.
|
Returns
public UnmanagedContainerModel.Builder setContainerSpec(ModelContainerSpec value)
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Returns
public UnmanagedContainerModel.Builder setContainerSpec(ModelContainerSpec.Builder builderForValue)
Input only. The specification of the container that is to be used when deploying
this Model.
.google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Returns
public UnmanagedContainerModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata value)
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Parameter
Returns
public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata.Builder builderForValue)
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Parameter
Returns
public UnmanagedContainerModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UnmanagedContainerModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides