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
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 UnmanagedContainerModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UnmanagedContainerModel build()
public UnmanagedContainerModel buildPartial()
public UnmanagedContainerModel.Builder clear()
Overrides
public UnmanagedContainerModel.Builder clearArtifactUri()
The path to the directory containing the Model artifact and any of its
supporting files.
string artifact_uri = 1;
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];
public UnmanagedContainerModel.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UnmanagedContainerModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UnmanagedContainerModel.Builder clearPredictSchemata()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
public UnmanagedContainerModel.Builder clone()
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];
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];
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];
public UnmanagedContainerModel getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public PredictSchemata getPredictSchemata()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
public PredictSchemata.Builder getPredictSchemataBuilder()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
public PredictSchemataOrBuilder getPredictSchemataOrBuilder()
Contains the schemata used in Model's predictions and explanations
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
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()
Overrides
public final boolean isInitialized()
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];
public UnmanagedContainerModel.Builder mergeFrom(UnmanagedContainerModel other)
public UnmanagedContainerModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UnmanagedContainerModel.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public final UnmanagedContainerModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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];
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];
public UnmanagedContainerModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public UnmanagedContainerModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UnmanagedContainerModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides