public static final class ExplainRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder> implements ExplainRequestOrBuilder
Request message for [PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain].Protobuf type
google.cloud.aiplatform.v1.ExplainRequest| Modifier and Type | Method and Description |
|---|---|
ExplainRequest.Builder |
addAllInstances(Iterable<? extends com.google.protobuf.Value> values)
Required.
|
ExplainRequest.Builder |
addInstances(int index,
com.google.protobuf.Value.Builder builderForValue)
Required.
|
ExplainRequest.Builder |
addInstances(int index,
com.google.protobuf.Value value)
Required.
|
ExplainRequest.Builder |
addInstances(com.google.protobuf.Value.Builder builderForValue)
Required.
|
ExplainRequest.Builder |
addInstances(com.google.protobuf.Value value)
Required.
|
com.google.protobuf.Value.Builder |
addInstancesBuilder()
Required.
|
com.google.protobuf.Value.Builder |
addInstancesBuilder(int index)
Required.
|
ExplainRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplainRequest |
build() |
ExplainRequest |
buildPartial() |
ExplainRequest.Builder |
clear() |
ExplainRequest.Builder |
clearDeployedModelId()
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
|
ExplainRequest.Builder |
clearEndpoint()
Required.
|
ExplainRequest.Builder |
clearExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplainRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplainRequest.Builder |
clearInstances()
Required.
|
ExplainRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplainRequest.Builder |
clearParameters()
The parameters that govern the prediction.
|
ExplainRequest.Builder |
clone() |
ExplainRequest |
getDefaultInstanceForType() |
String |
getDeployedModelId()
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
|
com.google.protobuf.ByteString |
getDeployedModelIdBytes()
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEndpoint()
Required.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Required.
|
ExplanationSpecOverride |
getExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplanationSpecOverride.Builder |
getExplanationSpecOverrideBuilder()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplanationSpecOverrideOrBuilder |
getExplanationSpecOverrideOrBuilder()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
com.google.protobuf.Value |
getInstances(int index)
Required.
|
com.google.protobuf.Value.Builder |
getInstancesBuilder(int index)
Required.
|
List<com.google.protobuf.Value.Builder> |
getInstancesBuilderList()
Required.
|
int |
getInstancesCount()
Required.
|
List<com.google.protobuf.Value> |
getInstancesList()
Required.
|
com.google.protobuf.ValueOrBuilder |
getInstancesOrBuilder(int index)
Required.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getInstancesOrBuilderList()
Required.
|
com.google.protobuf.Value |
getParameters()
The parameters that govern the prediction.
|
com.google.protobuf.Value.Builder |
getParametersBuilder()
The parameters that govern the prediction.
|
com.google.protobuf.ValueOrBuilder |
getParametersOrBuilder()
The parameters that govern the prediction.
|
boolean |
hasExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
boolean |
hasParameters()
The parameters that govern the prediction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplainRequest.Builder |
mergeExplanationSpecOverride(ExplanationSpecOverride value)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplainRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplainRequest.Builder |
mergeFrom(ExplainRequest other) |
ExplainRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplainRequest.Builder |
mergeParameters(com.google.protobuf.Value value)
The parameters that govern the prediction.
|
ExplainRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplainRequest.Builder |
removeInstances(int index)
Required.
|
ExplainRequest.Builder |
setDeployedModelId(String value)
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
|
ExplainRequest.Builder |
setDeployedModelIdBytes(com.google.protobuf.ByteString value)
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
|
ExplainRequest.Builder |
setEndpoint(String value)
Required.
|
ExplainRequest.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
Required.
|
ExplainRequest.Builder |
setExplanationSpecOverride(ExplanationSpecOverride.Builder builderForValue)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplainRequest.Builder |
setExplanationSpecOverride(ExplanationSpecOverride value)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel.
|
ExplainRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplainRequest.Builder |
setInstances(int index,
com.google.protobuf.Value.Builder builderForValue)
Required.
|
ExplainRequest.Builder |
setInstances(int index,
com.google.protobuf.Value value)
Required.
|
ExplainRequest.Builder |
setParameters(com.google.protobuf.Value.Builder builderForValue)
The parameters that govern the prediction.
|
ExplainRequest.Builder |
setParameters(com.google.protobuf.Value value)
The parameters that govern the prediction.
|
ExplainRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplainRequest.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<ExplainRequest.Builder>public ExplainRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.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<ExplainRequest.Builder>public ExplainRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplainRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplainRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplainRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>public ExplainRequest.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<ExplainRequest.Builder>public ExplainRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>public ExplainRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>public ExplainRequest.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<ExplainRequest.Builder>public ExplainRequest.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<ExplainRequest.Builder>public ExplainRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplainRequest.Builder>public ExplainRequest.Builder mergeFrom(ExplainRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>public ExplainRequest.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<ExplainRequest.Builder>IOExceptionpublic String getEndpoint()
Required. The name of the Endpoint requested to serve the explanation.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getEndpoint in interface ExplainRequestOrBuilderpublic com.google.protobuf.ByteString getEndpointBytes()
Required. The name of the Endpoint requested to serve the explanation.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getEndpointBytes in interface ExplainRequestOrBuilderpublic ExplainRequest.Builder setEndpoint(String value)
Required. The name of the Endpoint requested to serve the explanation.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The endpoint to set.public ExplainRequest.Builder clearEndpoint()
Required. The name of the Endpoint requested to serve the explanation.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExplainRequest.Builder setEndpointBytes(com.google.protobuf.ByteString value)
Required. The name of the Endpoint requested to serve the explanation.
Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for endpoint to set.public List<com.google.protobuf.Value> getInstancesList()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
getInstancesList in interface ExplainRequestOrBuilderpublic int getInstancesCount()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
getInstancesCount in interface ExplainRequestOrBuilderpublic com.google.protobuf.Value getInstances(int index)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
getInstances in interface ExplainRequestOrBuilderpublic ExplainRequest.Builder setInstances(int index, com.google.protobuf.Value value)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder setInstances(int index, com.google.protobuf.Value.Builder builderForValue)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder addInstances(com.google.protobuf.Value value)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder addInstances(int index, com.google.protobuf.Value value)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder addInstances(com.google.protobuf.Value.Builder builderForValue)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder addInstances(int index, com.google.protobuf.Value.Builder builderForValue)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder addAllInstances(Iterable<? extends com.google.protobuf.Value> values)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder clearInstances()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExplainRequest.Builder removeInstances(int index)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.Value.Builder getInstancesBuilder(int index)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.ValueOrBuilder getInstancesOrBuilder(int index)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
getInstancesOrBuilder in interface ExplainRequestOrBuilderpublic List<? extends com.google.protobuf.ValueOrBuilder> getInstancesOrBuilderList()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
getInstancesOrBuilderList in interface ExplainRequestOrBuilderpublic com.google.protobuf.Value.Builder addInstancesBuilder()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public com.google.protobuf.Value.Builder addInstancesBuilder(int index)
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public List<com.google.protobuf.Value.Builder> getInstancesBuilderList()
Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasParameters()
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;hasParameters in interface ExplainRequestOrBuilderpublic com.google.protobuf.Value getParameters()
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;getParameters in interface ExplainRequestOrBuilderpublic ExplainRequest.Builder setParameters(com.google.protobuf.Value value)
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;public ExplainRequest.Builder setParameters(com.google.protobuf.Value.Builder builderForValue)
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;public ExplainRequest.Builder mergeParameters(com.google.protobuf.Value value)
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;public ExplainRequest.Builder clearParameters()
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;public com.google.protobuf.Value.Builder getParametersBuilder()
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;public com.google.protobuf.ValueOrBuilder getParametersOrBuilder()
The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri].
.google.protobuf.Value parameters = 4;getParametersOrBuilder in interface ExplainRequestOrBuilderpublic boolean hasExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
hasExplanationSpecOverride in interface ExplainRequestOrBuilderpublic ExplanationSpecOverride getExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
getExplanationSpecOverride in interface ExplainRequestOrBuilderpublic ExplainRequest.Builder setExplanationSpecOverride(ExplanationSpecOverride value)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
public ExplainRequest.Builder setExplanationSpecOverride(ExplanationSpecOverride.Builder builderForValue)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
public ExplainRequest.Builder mergeExplanationSpecOverride(ExplanationSpecOverride value)
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
public ExplainRequest.Builder clearExplanationSpecOverride()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
public ExplanationSpecOverride.Builder getExplanationSpecOverrideBuilder()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
public ExplanationSpecOverrideOrBuilder getExplanationSpecOverrideOrBuilder()
If specified, overrides the
[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
of the DeployedModel. Can be used for explaining prediction results with
different configurations, such as:
- Explaining top-5 predictions results as opposed to top-1;
- Increasing path count or step count of the attribution methods to reduce
approximate errors;
- Using different baselines for explaining the prediction results.
.google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5;
getExplanationSpecOverrideOrBuilder in interface ExplainRequestOrBuilderpublic String getDeployedModelId()
If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
string deployed_model_id = 3;getDeployedModelId in interface ExplainRequestOrBuilderpublic com.google.protobuf.ByteString getDeployedModelIdBytes()
If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
string deployed_model_id = 3;getDeployedModelIdBytes in interface ExplainRequestOrBuilderpublic ExplainRequest.Builder setDeployedModelId(String value)
If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
string deployed_model_id = 3;value - The deployedModelId to set.public ExplainRequest.Builder clearDeployedModelId()
If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
string deployed_model_id = 3;public ExplainRequest.Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value)
If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
string deployed_model_id = 3;value - The bytes for deployedModelId to set.public final ExplainRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>public final ExplainRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.