public static final class PredictResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder> implements PredictResponseOrBuilder
Response message for [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].Protobuf type
google.cloud.aiplatform.v1beta1.PredictResponse| Modifier and Type | Method and Description |
|---|---|
PredictResponse.Builder |
addAllPredictions(Iterable<? extends com.google.protobuf.Value> values)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
addPredictions(int index,
com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
addPredictions(int index,
com.google.protobuf.Value value)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
addPredictions(com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
addPredictions(com.google.protobuf.Value value)
The predictions that are the output of the predictions call.
|
com.google.protobuf.Value.Builder |
addPredictionsBuilder()
The predictions that are the output of the predictions call.
|
com.google.protobuf.Value.Builder |
addPredictionsBuilder(int index)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PredictResponse |
build() |
PredictResponse |
buildPartial() |
PredictResponse.Builder |
clear() |
PredictResponse.Builder |
clearDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
|
PredictResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PredictResponse.Builder |
clearMetadata()
Output only.
|
PredictResponse.Builder |
clearModel()
Output only.
|
PredictResponse.Builder |
clearModelDisplayName()
Output only.
|
PredictResponse.Builder |
clearModelVersionId()
Output only.
|
PredictResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PredictResponse.Builder |
clearPredictions()
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
clone() |
PredictResponse |
getDefaultInstanceForType() |
String |
getDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
|
com.google.protobuf.ByteString |
getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this prediction.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Value |
getMetadata()
Output only.
|
com.google.protobuf.Value.Builder |
getMetadataBuilder()
Output only.
|
com.google.protobuf.ValueOrBuilder |
getMetadataOrBuilder()
Output only.
|
String |
getModel()
Output only.
|
com.google.protobuf.ByteString |
getModelBytes()
Output only.
|
String |
getModelDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getModelDisplayNameBytes()
Output only.
|
String |
getModelVersionId()
Output only.
|
com.google.protobuf.ByteString |
getModelVersionIdBytes()
Output only.
|
com.google.protobuf.Value |
getPredictions(int index)
The predictions that are the output of the predictions call.
|
com.google.protobuf.Value.Builder |
getPredictionsBuilder(int index)
The predictions that are the output of the predictions call.
|
List<com.google.protobuf.Value.Builder> |
getPredictionsBuilderList()
The predictions that are the output of the predictions call.
|
int |
getPredictionsCount()
The predictions that are the output of the predictions call.
|
List<com.google.protobuf.Value> |
getPredictionsList()
The predictions that are the output of the predictions call.
|
com.google.protobuf.ValueOrBuilder |
getPredictionsOrBuilder(int index)
The predictions that are the output of the predictions call.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getPredictionsOrBuilderList()
The predictions that are the output of the predictions call.
|
boolean |
hasMetadata()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PredictResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PredictResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
PredictResponse.Builder |
mergeFrom(PredictResponse other) |
PredictResponse.Builder |
mergeMetadata(com.google.protobuf.Value value)
Output only.
|
PredictResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PredictResponse.Builder |
removePredictions(int index)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
setDeployedModelId(String value)
ID of the Endpoint's DeployedModel that served this prediction.
|
PredictResponse.Builder |
setDeployedModelIdBytes(com.google.protobuf.ByteString value)
ID of the Endpoint's DeployedModel that served this prediction.
|
PredictResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PredictResponse.Builder |
setMetadata(com.google.protobuf.Value.Builder builderForValue)
Output only.
|
PredictResponse.Builder |
setMetadata(com.google.protobuf.Value value)
Output only.
|
PredictResponse.Builder |
setModel(String value)
Output only.
|
PredictResponse.Builder |
setModelBytes(com.google.protobuf.ByteString value)
Output only.
|
PredictResponse.Builder |
setModelDisplayName(String value)
Output only.
|
PredictResponse.Builder |
setModelDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
PredictResponse.Builder |
setModelVersionId(String value)
Output only.
|
PredictResponse.Builder |
setModelVersionIdBytes(com.google.protobuf.ByteString value)
Output only.
|
PredictResponse.Builder |
setPredictions(int index,
com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
setPredictions(int index,
com.google.protobuf.Value value)
The predictions that are the output of the predictions call.
|
PredictResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PredictResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PredictResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PredictResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PredictResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictResponse.Builder>public PredictResponse.Builder mergeFrom(PredictResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public PredictResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictResponse.Builder>IOExceptionpublic List<com.google.protobuf.Value> getPredictionsList()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;getPredictionsList in interface PredictResponseOrBuilderpublic int getPredictionsCount()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;getPredictionsCount in interface PredictResponseOrBuilderpublic com.google.protobuf.Value getPredictions(int index)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;getPredictions in interface PredictResponseOrBuilderpublic PredictResponse.Builder setPredictions(int index, com.google.protobuf.Value value)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder setPredictions(int index, com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder addPredictions(com.google.protobuf.Value value)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder addPredictions(int index, com.google.protobuf.Value value)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder addPredictions(com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder addPredictions(int index, com.google.protobuf.Value.Builder builderForValue)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder addAllPredictions(Iterable<? extends com.google.protobuf.Value> values)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder clearPredictions()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public PredictResponse.Builder removePredictions(int index)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public com.google.protobuf.Value.Builder getPredictionsBuilder(int index)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public com.google.protobuf.ValueOrBuilder getPredictionsOrBuilder(int index)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;getPredictionsOrBuilder in interface PredictResponseOrBuilderpublic List<? extends com.google.protobuf.ValueOrBuilder> getPredictionsOrBuilderList()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;getPredictionsOrBuilderList in interface PredictResponseOrBuilderpublic com.google.protobuf.Value.Builder addPredictionsBuilder()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public com.google.protobuf.Value.Builder addPredictionsBuilder(int index)
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public List<com.google.protobuf.Value.Builder> getPredictionsBuilderList()
The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;public String getDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;getDeployedModelId in interface PredictResponseOrBuilderpublic com.google.protobuf.ByteString getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;getDeployedModelIdBytes in interface PredictResponseOrBuilderpublic PredictResponse.Builder setDeployedModelId(String value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;value - The deployedModelId to set.public PredictResponse.Builder clearDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;public PredictResponse.Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;value - The bytes for deployedModelId to set.public String getModel()
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getModel in interface PredictResponseOrBuilderpublic com.google.protobuf.ByteString getModelBytes()
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getModelBytes in interface PredictResponseOrBuilderpublic PredictResponse.Builder setModel(String value)
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The model to set.public PredictResponse.Builder clearModel()
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public PredictResponse.Builder setModelBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for model to set.public String getModelVersionId()
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getModelVersionId in interface PredictResponseOrBuilderpublic com.google.protobuf.ByteString getModelVersionIdBytes()
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getModelVersionIdBytes in interface PredictResponseOrBuilderpublic PredictResponse.Builder setModelVersionId(String value)
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The modelVersionId to set.public PredictResponse.Builder clearModelVersionId()
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public PredictResponse.Builder setModelVersionIdBytes(com.google.protobuf.ByteString value)
Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
string model_version_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for modelVersionId to set.public String getModelDisplayName()
Output only. The [display name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getModelDisplayName in interface PredictResponseOrBuilderpublic com.google.protobuf.ByteString getModelDisplayNameBytes()
Output only. The [display name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getModelDisplayNameBytes in interface PredictResponseOrBuilderpublic PredictResponse.Builder setModelDisplayName(String value)
Output only. The [display name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The modelDisplayName to set.public PredictResponse.Builder clearModelDisplayName()
Output only. The [display name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public PredictResponse.Builder setModelDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The [display name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for modelDisplayName to set.public boolean hasMetadata()
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasMetadata in interface PredictResponseOrBuilderpublic com.google.protobuf.Value getMetadata()
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetadata in interface PredictResponseOrBuilderpublic PredictResponse.Builder setMetadata(com.google.protobuf.Value value)
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PredictResponse.Builder setMetadata(com.google.protobuf.Value.Builder builderForValue)
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PredictResponse.Builder mergeMetadata(com.google.protobuf.Value value)
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PredictResponse.Builder clearMetadata()
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Value.Builder getMetadataBuilder()
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
.google.protobuf.Value metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetadataOrBuilder in interface PredictResponseOrBuilderpublic final PredictResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>public final PredictResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>Copyright © 2025 Google LLC. All rights reserved.