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 |
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 |
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.
|
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 |
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 |
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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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 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 © 2021 Google LLC. All rights reserved.