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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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

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 Overrides

build()

public UnmanagedContainerModel build()
Returns

buildPartial()

public UnmanagedContainerModel buildPartial()
Returns

clear()

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

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UnmanagedContainerModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns 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

clone()

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

Returns

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

getDefaultInstanceForType()

public UnmanagedContainerModel getDefaultInstanceForType()
Returns

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.v1beta1.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.v1beta1.PredictSchemata predict_schemata = 2;

Returns

getPredictSchemataOrBuilder()

public PredictSchemataOrBuilder getPredictSchemataOrBuilder()

Contains the schemata used in Model's predictions and explanations

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

Returns

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

Parameter
NameDescription
valueModelContainerSpec
Returns

mergeFrom(UnmanagedContainerModel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UnmanagedContainerModel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns 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
NameDescription
valuePredictSchemata
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UnmanagedContainerModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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.v1beta1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valueModelContainerSpec
Returns

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
NameDescription
builderForValueModelContainerSpec.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public UnmanagedContainerModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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
NameDescription
valuePredictSchemata
Returns

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
NameDescription
builderForValuePredictSchemata.Builder
Returns

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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