- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class PredictResponse.Builder extends GeneratedMessageV3.Builder<PredictResponse.Builder> implements PredictResponseOrBuilder
Response message for PredictionService.Predict.
Protobuf type google.cloud.aiplatform.v1beta1.PredictResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PredictResponse.BuilderImplements
PredictResponseOrBuilderMethods
addAllPredictions(Iterable<? extends Value> values)
public PredictResponse.Builder addAllPredictions(Iterable<? extends 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
values | Iterable<? extends com.google.protobuf.Value> |
Type | Description |
PredictResponse.Builder |
addPredictions(Value value)
public PredictResponse.Builder addPredictions(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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
value | Value |
Type | Description |
PredictResponse.Builder |
addPredictions(Value.Builder builderForValue)
public PredictResponse.Builder addPredictions(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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
PredictResponse.Builder |
addPredictions(int index, Value value)
public PredictResponse.Builder addPredictions(int index, 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
value | Value |
Type | Description |
PredictResponse.Builder |
addPredictions(int index, Value.Builder builderForValue)
public PredictResponse.Builder addPredictions(int index, 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
PredictResponse.Builder |
addPredictionsBuilder()
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
Builder |
addPredictionsBuilder(int index)
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
Type | Description |
Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PredictResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PredictResponse.Builder |
build()
public PredictResponse build()
Type | Description |
PredictResponse |
buildPartial()
public PredictResponse buildPartial()
Type | Description |
PredictResponse |
clear()
public PredictResponse.Builder clear()
Type | Description |
PredictResponse.Builder |
clearDeployedModelId()
public PredictResponse.Builder clearDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Type | Description |
PredictResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PredictResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PredictResponse.Builder |
clearModel()
public PredictResponse.Builder clearModel()
Output only. The name of the Model this DeployedModel, that served this prediction, was created from.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
PredictResponse.Builder | This builder for chaining. |
clearModelDisplayName()
public PredictResponse.Builder clearModelDisplayName()
Output only. The display name of the Model this DeployedModel, that served this prediction, was created from.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PredictResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PredictResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PredictResponse.Builder |
clearPredictions()
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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
PredictResponse.Builder |
clone()
public PredictResponse.Builder clone()
Type | Description |
PredictResponse.Builder |
getDefaultInstanceForType()
public PredictResponse getDefaultInstanceForType()
Type | Description |
PredictResponse |
getDeployedModelId()
public String getDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Type | Description |
String | The deployedModelId. |
getDeployedModelIdBytes()
public ByteString getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Type | Description |
ByteString | The bytes for deployedModelId. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getModel()
public String getModel()
Output only. The name of the Model this DeployedModel, that served this prediction, was created from.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
String | The model. |
getModelBytes()
public ByteString getModelBytes()
Output only. The name of the Model this DeployedModel, that served this prediction, was created from.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for model. |
getModelDisplayName()
public String getModelDisplayName()
Output only. The display name of the Model this DeployedModel, that served this prediction, was created from.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The modelDisplayName. |
getModelDisplayNameBytes()
public ByteString getModelDisplayNameBytes()
Output only. The display name of the Model this DeployedModel, that served this prediction, was created from.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for modelDisplayName. |
getPredictions(int index)
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
Type | Description |
Value |
getPredictionsBuilder(int index)
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
Type | Description |
Builder |
getPredictionsBuilderList()
public List<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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
List<Builder> |
getPredictionsCount()
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
int |
getPredictionsList()
public List<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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
List<Value> |
getPredictionsOrBuilder(int index)
public 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
Type | Description |
ValueOrBuilder |
getPredictionsOrBuilderList()
public List<? extends 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Type | Description |
List<? extends com.google.protobuf.ValueOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PredictResponse other)
public PredictResponse.Builder mergeFrom(PredictResponse other)
Name | Description |
other | PredictResponse |
Type | Description |
PredictResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PredictResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PredictResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PredictResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PredictResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PredictResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PredictResponse.Builder |
removePredictions(int index)
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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
Type | Description |
PredictResponse.Builder |
setDeployedModelId(String value)
public PredictResponse.Builder setDeployedModelId(String value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Name | Description |
value | String The deployedModelId to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setDeployedModelIdBytes(ByteString value)
public PredictResponse.Builder setDeployedModelIdBytes(ByteString value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Name | Description |
value | ByteString The bytes for deployedModelId to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PredictResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PredictResponse.Builder |
setModel(String value)
public PredictResponse.Builder setModel(String value)
Output only. The name of the Model this DeployedModel, that served this prediction, was created from.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The model to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setModelBytes(ByteString value)
public PredictResponse.Builder setModelBytes(ByteString value)
Output only. The name of the Model this DeployedModel, that served this prediction, was created from.
string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for model to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setModelDisplayName(String value)
public PredictResponse.Builder setModelDisplayName(String value)
Output only. The display name of the Model this DeployedModel, that served this prediction, was created from.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The modelDisplayName to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setModelDisplayNameBytes(ByteString value)
public PredictResponse.Builder setModelDisplayNameBytes(ByteString value)
Output only. The display name of the Model this DeployedModel, that served this prediction, was created from.
string model_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for modelDisplayName to set. |
Type | Description |
PredictResponse.Builder | This builder for chaining. |
setPredictions(int index, Value value)
public PredictResponse.Builder setPredictions(int index, 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
value | Value |
Type | Description |
PredictResponse.Builder |
setPredictions(int index, Value.Builder builderForValue)
public PredictResponse.Builder setPredictions(int index, 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 PredictSchemata's prediction_schema_uri.
repeated .google.protobuf.Value predictions = 1;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
PredictResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PredictResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PredictResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PredictResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PredictResponse.Builder |