Class UnmanagedContainerModel.Builder (3.46.0)

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.v1beta1.UnmanagedContainerModel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UnmanagedContainerModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

build()

public UnmanagedContainerModel build()
Returns
Type Description
UnmanagedContainerModel

buildPartial()

public UnmanagedContainerModel buildPartial()
Returns
Type Description
UnmanagedContainerModel

clear()

public UnmanagedContainerModel.Builder clear()
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

clearArtifactUri()

public UnmanagedContainerModel.Builder clearArtifactUri()

The path to the directory containing the Model artifact and any of its supporting files.

string artifact_uri = 1;

Returns
Type Description
UnmanagedContainerModel.Builder

This builder for chaining.

clearContainerSpec()

public UnmanagedContainerModel.Builder clearContainerSpec()

Input only. The specification of the container that is to be used when deploying this Model.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
UnmanagedContainerModel.Builder

clearField(Descriptors.FieldDescriptor field)

public UnmanagedContainerModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UnmanagedContainerModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

clearPredictSchemata()

public UnmanagedContainerModel.Builder clearPredictSchemata()

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Returns
Type Description
UnmanagedContainerModel.Builder

clone()

public UnmanagedContainerModel.Builder clone()
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

getArtifactUri()

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.

getArtifactUriBytes()

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.

getContainerSpec()

public ModelContainerSpec getContainerSpec()

Input only. The specification of the container that is to be used when deploying this Model.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ModelContainerSpec

The containerSpec.

getContainerSpecBuilder()

public ModelContainerSpec.Builder getContainerSpecBuilder()

Input only. The specification of the container that is to be used when deploying this Model.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ModelContainerSpec.Builder

getContainerSpecOrBuilder()

public ModelContainerSpecOrBuilder getContainerSpecOrBuilder()

Input only. The specification of the container that is to be used when deploying this Model.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ModelContainerSpecOrBuilder

getDefaultInstanceForType()

public UnmanagedContainerModel getDefaultInstanceForType()
Returns
Type Description
UnmanagedContainerModel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPredictSchemata()

public PredictSchemata getPredictSchemata()

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Returns
Type Description
PredictSchemata

The predictSchemata.

getPredictSchemataBuilder()

public PredictSchemata.Builder getPredictSchemataBuilder()

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Returns
Type Description
PredictSchemata.Builder

getPredictSchemataOrBuilder()

public PredictSchemataOrBuilder getPredictSchemataOrBuilder()

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Returns
Type Description
PredictSchemataOrBuilder

hasContainerSpec()

public boolean hasContainerSpec()

Input only. The specification of the container that is to be used when deploying this Model.

.google.cloud.aiplatform.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the containerSpec field is set.

hasPredictSchemata()

public boolean hasPredictSchemata()

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Returns
Type Description
boolean

Whether the predictSchemata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContainerSpec(ModelContainerSpec value)

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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ModelContainerSpec
Returns
Type Description
UnmanagedContainerModel.Builder

mergeFrom(UnmanagedContainerModel other)

public UnmanagedContainerModel.Builder mergeFrom(UnmanagedContainerModel other)
Parameter
Name Description
other UnmanagedContainerModel
Returns
Type Description
UnmanagedContainerModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UnmanagedContainerModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UnmanagedContainerModel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

mergePredictSchemata(PredictSchemata value)

public UnmanagedContainerModel.Builder mergePredictSchemata(PredictSchemata value)

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Parameter
Name Description
value PredictSchemata
Returns
Type Description
UnmanagedContainerModel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UnmanagedContainerModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

setArtifactUri(String value)

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
Type Description
UnmanagedContainerModel.Builder

This builder for chaining.

setArtifactUriBytes(ByteString value)

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
Type Description
UnmanagedContainerModel.Builder

This builder for chaining.

setContainerSpec(ModelContainerSpec value)

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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ModelContainerSpec
Returns
Type Description
UnmanagedContainerModel.Builder

setContainerSpec(ModelContainerSpec.Builder builderForValue)

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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
builderForValue ModelContainerSpec.Builder
Returns
Type Description
UnmanagedContainerModel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UnmanagedContainerModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

setPredictSchemata(PredictSchemata value)

public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata value)

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Parameter
Name Description
value PredictSchemata
Returns
Type Description
UnmanagedContainerModel.Builder

setPredictSchemata(PredictSchemata.Builder builderForValue)

public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata.Builder builderForValue)

Contains the schemata used in Model's predictions and explanations

.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 2;

Parameter
Name Description
builderForValue PredictSchemata.Builder
Returns
Type Description
UnmanagedContainerModel.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UnmanagedContainerModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UnmanagedContainerModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UnmanagedContainerModel.Builder
Overrides