Package com.google.cloud.aiplatform.v1
Class PredictResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
- com.google.cloud.aiplatform.v1.PredictResponse.Builder
-
- All Implemented Interfaces:
PredictResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PredictResponse
public static final class PredictResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder> implements PredictResponseOrBuilder
Response message for [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
Protobuf typegoogle.cloud.aiplatform.v1.PredictResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PredictResponse.BuilderaddAllPredictions(Iterable<? extends com.google.protobuf.Value> values)The predictions that are the output of the predictions call.PredictResponse.BuilderaddPredictions(int index, com.google.protobuf.Value value)The predictions that are the output of the predictions call.PredictResponse.BuilderaddPredictions(int index, com.google.protobuf.Value.Builder builderForValue)The predictions that are the output of the predictions call.PredictResponse.BuilderaddPredictions(com.google.protobuf.Value value)The predictions that are the output of the predictions call.PredictResponse.BuilderaddPredictions(com.google.protobuf.Value.Builder builderForValue)The predictions that are the output of the predictions call.com.google.protobuf.Value.BuilderaddPredictionsBuilder()The predictions that are the output of the predictions call.com.google.protobuf.Value.BuilderaddPredictionsBuilder(int index)The predictions that are the output of the predictions call.PredictResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PredictResponsebuild()PredictResponsebuildPartial()PredictResponse.Builderclear()PredictResponse.BuilderclearDeployedModelId()ID of the Endpoint's DeployedModel that served this prediction.PredictResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PredictResponse.BuilderclearMetadata()Output only.PredictResponse.BuilderclearModel()Output only.PredictResponse.BuilderclearModelDisplayName()Output only.PredictResponse.BuilderclearModelVersionId()Output only.PredictResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PredictResponse.BuilderclearPredictions()The predictions that are the output of the predictions call.PredictResponse.Builderclone()PredictResponsegetDefaultInstanceForType()StringgetDeployedModelId()ID of the Endpoint's DeployedModel that served this prediction.com.google.protobuf.ByteStringgetDeployedModelIdBytes()ID of the Endpoint's DeployedModel that served this prediction.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ValuegetMetadata()Output only.com.google.protobuf.Value.BuildergetMetadataBuilder()Output only.com.google.protobuf.ValueOrBuildergetMetadataOrBuilder()Output only.StringgetModel()Output only.com.google.protobuf.ByteStringgetModelBytes()Output only.StringgetModelDisplayName()Output only.com.google.protobuf.ByteStringgetModelDisplayNameBytes()Output only.StringgetModelVersionId()Output only.com.google.protobuf.ByteStringgetModelVersionIdBytes()Output only.com.google.protobuf.ValuegetPredictions(int index)The predictions that are the output of the predictions call.com.google.protobuf.Value.BuildergetPredictionsBuilder(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.intgetPredictionsCount()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.ValueOrBuildergetPredictionsOrBuilder(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.booleanhasMetadata()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PredictResponse.BuildermergeFrom(PredictResponse other)PredictResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PredictResponse.BuildermergeFrom(com.google.protobuf.Message other)PredictResponse.BuildermergeMetadata(com.google.protobuf.Value value)Output only.PredictResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PredictResponse.BuilderremovePredictions(int index)The predictions that are the output of the predictions call.PredictResponse.BuildersetDeployedModelId(String value)ID of the Endpoint's DeployedModel that served this prediction.PredictResponse.BuildersetDeployedModelIdBytes(com.google.protobuf.ByteString value)ID of the Endpoint's DeployedModel that served this prediction.PredictResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PredictResponse.BuildersetMetadata(com.google.protobuf.Value value)Output only.PredictResponse.BuildersetMetadata(com.google.protobuf.Value.Builder builderForValue)Output only.PredictResponse.BuildersetModel(String value)Output only.PredictResponse.BuildersetModelBytes(com.google.protobuf.ByteString value)Output only.PredictResponse.BuildersetModelDisplayName(String value)Output only.PredictResponse.BuildersetModelDisplayNameBytes(com.google.protobuf.ByteString value)Output only.PredictResponse.BuildersetModelVersionId(String value)Output only.PredictResponse.BuildersetModelVersionIdBytes(com.google.protobuf.ByteString value)Output only.PredictResponse.BuildersetPredictions(int index, com.google.protobuf.Value value)The predictions that are the output of the predictions call.PredictResponse.BuildersetPredictions(int index, com.google.protobuf.Value.Builder builderForValue)The predictions that are the output of the predictions call.PredictResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PredictResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
clear
public PredictResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
getDefaultInstanceForType
public PredictResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PredictResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PredictResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PredictResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
setField
public PredictResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
clearField
public PredictResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
clearOneof
public PredictResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
setRepeatedField
public PredictResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
addRepeatedField
public PredictResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
mergeFrom
public PredictResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PredictResponse.Builder>
-
mergeFrom
public PredictResponse.Builder mergeFrom(PredictResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
mergeFrom
public PredictResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PredictResponse.Builder>- Throws:
IOException
-
getPredictionsList
public 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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;- Specified by:
getPredictionsListin interfacePredictResponseOrBuilder
-
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 ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;- Specified by:
getPredictionsCountin interfacePredictResponseOrBuilder
-
getPredictions
public 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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;- Specified by:
getPredictionsin interfacePredictResponseOrBuilder
-
setPredictions
public 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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
setPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addAllPredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
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 ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
removePredictions
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
getPredictionsBuilder
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
getPredictionsOrBuilder
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;- Specified by:
getPredictionsOrBuilderin interfacePredictResponseOrBuilder
-
getPredictionsOrBuilderList
public 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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;- Specified by:
getPredictionsOrBuilderListin interfacePredictResponseOrBuilder
-
addPredictionsBuilder
public 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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
addPredictionsBuilder
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
getPredictionsBuilderList
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.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].
repeated .google.protobuf.Value predictions = 1;
-
getDeployedModelId
public String getDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;- Specified by:
getDeployedModelIdin interfacePredictResponseOrBuilder- Returns:
- The deployedModelId.
-
getDeployedModelIdBytes
public com.google.protobuf.ByteString getDeployedModelIdBytes()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;- Specified by:
getDeployedModelIdBytesin interfacePredictResponseOrBuilder- Returns:
- The bytes for deployedModelId.
-
setDeployedModelId
public PredictResponse.Builder setDeployedModelId(String value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;- Parameters:
value- The deployedModelId to set.- Returns:
- This builder for chaining.
-
clearDeployedModelId
public PredictResponse.Builder clearDeployedModelId()
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;- Returns:
- This builder for chaining.
-
setDeployedModelIdBytes
public PredictResponse.Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value)
ID of the Endpoint's DeployedModel that served this prediction.
string deployed_model_id = 2;- Parameters:
value- The bytes for deployedModelId to set.- Returns:
- This builder for chaining.
-
getModel
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) = { ... }- Specified by:
getModelin interfacePredictResponseOrBuilder- Returns:
- The model.
-
getModelBytes
public 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) = { ... }- Specified by:
getModelBytesin interfacePredictResponseOrBuilder- Returns:
- The bytes for model.
-
setModel
public 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) = { ... }- Parameters:
value- The model to set.- Returns:
- This builder for chaining.
-
clearModel
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) = { ... }- Returns:
- This builder for chaining.
-
setModelBytes
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) = { ... }- Parameters:
value- The bytes for model to set.- Returns:
- This builder for chaining.
-
getModelVersionId
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];- Specified by:
getModelVersionIdin interfacePredictResponseOrBuilder- Returns:
- The modelVersionId.
-
getModelVersionIdBytes
public 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];- Specified by:
getModelVersionIdBytesin interfacePredictResponseOrBuilder- Returns:
- The bytes for modelVersionId.
-
setModelVersionId
public 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];- Parameters:
value- The modelVersionId to set.- Returns:
- This builder for chaining.
-
clearModelVersionId
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];- Returns:
- This builder for chaining.
-
setModelVersionIdBytes
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];- Parameters:
value- The bytes for modelVersionId to set.- Returns:
- This builder for chaining.
-
getModelDisplayName
public String getModelDisplayName()
Output only. The [display name][google.cloud.aiplatform.v1.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];- Specified by:
getModelDisplayNamein interfacePredictResponseOrBuilder- Returns:
- The modelDisplayName.
-
getModelDisplayNameBytes
public com.google.protobuf.ByteString getModelDisplayNameBytes()
Output only. The [display name][google.cloud.aiplatform.v1.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];- Specified by:
getModelDisplayNameBytesin interfacePredictResponseOrBuilder- Returns:
- The bytes for modelDisplayName.
-
setModelDisplayName
public PredictResponse.Builder setModelDisplayName(String value)
Output only. The [display name][google.cloud.aiplatform.v1.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];- Parameters:
value- The modelDisplayName to set.- Returns:
- This builder for chaining.
-
clearModelDisplayName
public PredictResponse.Builder clearModelDisplayName()
Output only. The [display name][google.cloud.aiplatform.v1.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];- Returns:
- This builder for chaining.
-
setModelDisplayNameBytes
public PredictResponse.Builder setModelDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The [display name][google.cloud.aiplatform.v1.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];- Parameters:
value- The bytes for modelDisplayName to set.- Returns:
- This builder for chaining.
-
hasMetadata
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];- Specified by:
hasMetadatain interfacePredictResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public 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];- Specified by:
getMetadatain interfacePredictResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
public 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];
-
setMetadata
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];
-
mergeMetadata
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];
-
clearMetadata
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];
-
getMetadataBuilder
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];
-
getMetadataOrBuilder
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];- Specified by:
getMetadataOrBuilderin interfacePredictResponseOrBuilder
-
setUnknownFields
public final PredictResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
mergeUnknownFields
public final PredictResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PredictResponse.Builder>
-
-