Class UnmanagedContainerModel.Builder (3.42.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.v1.UnmanagedContainerModel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UnmanagedContainerModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides

build()

public UnmanagedContainerModel build()
Returns
TypeDescription
UnmanagedContainerModel

buildPartial()

public UnmanagedContainerModel buildPartial()
Returns
TypeDescription
UnmanagedContainerModel

clear()

public UnmanagedContainerModel.Builder clear()
Returns
TypeDescription
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
TypeDescription
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
UnmanagedContainerModel.Builder

clearField(Descriptors.FieldDescriptor field)

public UnmanagedContainerModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UnmanagedContainerModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides

clearPredictSchemata()

public UnmanagedContainerModel.Builder clearPredictSchemata()

Contains the schemata used in Model's predictions and explanations

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

Returns
TypeDescription
UnmanagedContainerModel.Builder

clone()

public UnmanagedContainerModel.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

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

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

Returns
TypeDescription
ModelContainerSpecOrBuilder

getDefaultInstanceForType()

public UnmanagedContainerModel getDefaultInstanceForType()
Returns
TypeDescription
UnmanagedContainerModel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPredictSchemata()

public PredictSchemata getPredictSchemata()

Contains the schemata used in Model's predictions and explanations

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

Returns
TypeDescription
PredictSchemata

The predictSchemata.

getPredictSchemataBuilder()

public PredictSchemata.Builder getPredictSchemataBuilder()

Contains the schemata used in Model's predictions and explanations

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

Returns
TypeDescription
PredictSchemata.Builder

getPredictSchemataOrBuilder()

public PredictSchemataOrBuilder getPredictSchemataOrBuilder()

Contains the schemata used in Model's predictions and explanations

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

Returns
TypeDescription
PredictSchemataOrBuilder

hasContainerSpec()

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
TypeDescription
boolean

Whether the containerSpec field is set.

hasPredictSchemata()

public boolean hasPredictSchemata()

Contains the schemata used in Model's predictions and explanations

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

Returns
TypeDescription
boolean

Whether the predictSchemata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valueModelContainerSpec
Returns
TypeDescription
UnmanagedContainerModel.Builder

mergeFrom(UnmanagedContainerModel other)

public UnmanagedContainerModel.Builder mergeFrom(UnmanagedContainerModel other)
Parameter
NameDescription
otherUnmanagedContainerModel
Returns
TypeDescription
UnmanagedContainerModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UnmanagedContainerModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UnmanagedContainerModel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.PredictSchemata predict_schemata = 2;

Parameter
NameDescription
valuePredictSchemata
Returns
TypeDescription
UnmanagedContainerModel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UnmanagedContainerModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactUri to set.

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

Parameter
NameDescription
valueModelContainerSpec
Returns
TypeDescription
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.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
builderForValueModelContainerSpec.Builder
Returns
TypeDescription
UnmanagedContainerModel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UnmanagedContainerModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.PredictSchemata predict_schemata = 2;

Parameter
NameDescription
valuePredictSchemata
Returns
TypeDescription
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.v1.PredictSchemata predict_schemata = 2;

Parameter
NameDescription
builderForValuePredictSchemata.Builder
Returns
TypeDescription
UnmanagedContainerModel.Builder

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

public UnmanagedContainerModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UnmanagedContainerModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UnmanagedContainerModel.Builder
Overrides