- 3.48.0 (latest)
- 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 interface PredictResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDeployedModelId()
public abstract String getDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Returns | |
---|---|
Type | Description |
String | The deployedModelId. |
getDeployedModelIdBytes()
public abstract ByteString getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for deployedModelId. |
getMetadata()
public abstract 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];
Returns | |
---|---|
Type | Description |
Value | The metadata. |
getMetadataOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getModel()
public abstract 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) = { ... }
Returns | |
---|---|
Type | Description |
String | The model. |
getModelBytes()
public abstract 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for model. |
getModelDisplayName()
public abstract String getModelDisplayName()
Output only. The 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];
Returns | |
---|---|
Type | Description |
String | The modelDisplayName. |
getModelDisplayNameBytes()
public abstract ByteString getModelDisplayNameBytes()
Output only. The 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for modelDisplayName. |
getModelVersionId()
public abstract 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];
Returns | |
---|---|
Type | Description |
String | The modelVersionId. |
getModelVersionIdBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for modelVersionId. |
getPredictions(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Value |
getPredictionsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getPredictionsList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<Value> |
getPredictionsOrBuilder(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getPredictionsOrBuilderList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.protobuf.ValueOrBuilder> |
hasMetadata()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean | Whether the metadata field is set. |