Class OnlineEvaluator.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OnlineEvaluator.Builder>
com.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Builder
- All Implemented Interfaces:
OnlineEvaluatorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OnlineEvaluator
public static final class OnlineEvaluator.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OnlineEvaluator.Builder>
implements OnlineEvaluatorOrBuilder
An OnlineEvaluator contains the configuration for an Online Evaluation.Protobuf type
google.cloud.aiplatform.v1beta1.OnlineEvaluator-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetricSources(Iterable<? extends MetricSource> values) Required.addAllStateDetails(Iterable<? extends OnlineEvaluator.StateDetails> values) Output only.addMetricSources(int index, MetricSource value) Required.addMetricSources(int index, MetricSource.Builder builderForValue) Required.addMetricSources(MetricSource value) Required.addMetricSources(MetricSource.Builder builderForValue) Required.Required.addMetricSourcesBuilder(int index) Required.addStateDetails(int index, OnlineEvaluator.StateDetails value) Output only.addStateDetails(int index, OnlineEvaluator.StateDetails.Builder builderForValue) Output only.Output only.addStateDetails(OnlineEvaluator.StateDetails.Builder builderForValue) Output only.Output only.addStateDetailsBuilder(int index) Output only.build()clear()Required.Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).Required.Output only.Optional.Required.Identifier.Output only.Output only.Output only.Required.com.google.protobuf.ByteStringRequired.Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).Required.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getMetricSources(int index) Required.getMetricSourcesBuilder(int index) Required.Required.intRequired.Required.getMetricSourcesOrBuilder(int index) Required.List<? extends MetricSourceOrBuilder>Required.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getState()Output only.getStateDetails(int index) Output only.getStateDetailsBuilder(int index) Output only.Output only.intOutput only.Output only.getStateDetailsOrBuilder(int index) Output only.List<? extends OnlineEvaluator.StateDetailsOrBuilder>Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanData source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).booleanRequired.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanData source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).Required.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(OnlineEvaluator other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeMetricSources(int index) Required.removeStateDetails(int index) Output only.setAgentResource(String value) Required.setAgentResourceBytes(com.google.protobuf.ByteString value) Required.Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).setCloudObservability(OnlineEvaluator.CloudObservability.Builder builderForValue) Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).setConfig(OnlineEvaluator.Config value) Required.setConfig(OnlineEvaluator.Config.Builder builderForValue) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.setMetricSources(int index, MetricSource value) Required.setMetricSources(int index, MetricSource.Builder builderForValue) Required.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setState(OnlineEvaluator.State value) Output only.setStateDetails(int index, OnlineEvaluator.StateDetails value) Output only.setStateDetails(int index, OnlineEvaluator.StateDetails.Builder builderForValue) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OnlineEvaluator.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OnlineEvaluator.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.GeneratedMessage.Builder<OnlineEvaluator.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OnlineEvaluator.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OnlineEvaluator.Builder>
-
mergeFrom
public OnlineEvaluator.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<OnlineEvaluator.Builder>- Throws:
IOException
-
getDataSourceCase
- Specified by:
getDataSourceCasein interfaceOnlineEvaluatorOrBuilder
-
clearDataSource
-
hasCloudObservability
public boolean hasCloudObservability()Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4;- Specified by:
hasCloudObservabilityin interfaceOnlineEvaluatorOrBuilder- Returns:
- Whether the cloudObservability field is set.
-
getCloudObservability
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4;- Specified by:
getCloudObservabilityin interfaceOnlineEvaluatorOrBuilder- Returns:
- The cloudObservability.
-
setCloudObservability
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4; -
setCloudObservability
public OnlineEvaluator.Builder setCloudObservability(OnlineEvaluator.CloudObservability.Builder builderForValue) Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4; -
mergeCloudObservability
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4; -
clearCloudObservability
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4; -
getCloudObservabilityBuilder
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4; -
getCloudObservabilityOrBuilder
Data source for the OnlineEvaluator, based on GCP Observability stack (Cloud Trace & Cloud Logging).
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability cloud_observability = 4;- Specified by:
getCloudObservabilityOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
getName
Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceOnlineEvaluatorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceOnlineEvaluatorOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAgentResource
Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.
string agent_resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAgentResourcein interfaceOnlineEvaluatorOrBuilder- Returns:
- The agentResource.
-
getAgentResourceBytes
public com.google.protobuf.ByteString getAgentResourceBytes()Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.
string agent_resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAgentResourceBytesin interfaceOnlineEvaluatorOrBuilder- Returns:
- The bytes for agentResource.
-
setAgentResource
Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.
string agent_resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The agentResource to set.- Returns:
- This builder for chaining.
-
clearAgentResource
Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.
string agent_resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setAgentResourceBytes
Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.
string agent_resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for agentResource to set.- Returns:
- This builder for chaining.
-
getMetricSourcesList
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricSourcesListin interfaceOnlineEvaluatorOrBuilder
-
getMetricSourcesCount
public int getMetricSourcesCount()Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricSourcesCountin interfaceOnlineEvaluatorOrBuilder
-
getMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricSourcesin interfaceOnlineEvaluatorOrBuilder
-
setMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
setMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addAllMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
removeMetricSources
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMetricSourcesBuilder
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMetricSourcesOrBuilder
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricSourcesOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
getMetricSourcesOrBuilderList
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricSourcesOrBuilderListin interfaceOnlineEvaluatorOrBuilder
-
addMetricSourcesBuilder
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMetricSourcesBuilder
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMetricSourcesBuilderList
Required. A list of metric sources to be used for evaluating samples. At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have `display_name` (or `title`) and `score_range` defined. Otherwise, the evaluations will fail. The maximum number of `metric_sources` is 25.
repeated .google.cloud.aiplatform.v1beta1.MetricSource metric_sources = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasConfig
public boolean hasConfig()Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasConfigin interfaceOnlineEvaluatorOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConfigin interfaceOnlineEvaluatorOrBuilder- Returns:
- The config.
-
setConfig
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED]; -
setConfig
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED]; -
mergeConfig
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED]; -
clearConfig
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED]; -
getConfigBuilder
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED]; -
getConfigOrBuilder
Required. Configuration for the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConfigOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceOnlineEvaluatorOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceOnlineEvaluatorOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the OnlineEvaluator.
.google.cloud.aiplatform.v1beta1.OnlineEvaluator.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateDetailsList
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsListin interfaceOnlineEvaluatorOrBuilder
-
getStateDetailsCount
public int getStateDetailsCount()Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsCountin interfaceOnlineEvaluatorOrBuilder
-
getStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsin interfaceOnlineEvaluatorOrBuilder
-
setStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStateDetails
public OnlineEvaluator.Builder setStateDetails(int index, OnlineEvaluator.StateDetails.Builder builderForValue) Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateDetails
public OnlineEvaluator.Builder addStateDetails(OnlineEvaluator.StateDetails.Builder builderForValue) Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateDetails
public OnlineEvaluator.Builder addStateDetails(int index, OnlineEvaluator.StateDetails.Builder builderForValue) Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllStateDetails
public OnlineEvaluator.Builder addAllStateDetails(Iterable<? extends OnlineEvaluator.StateDetails> values) Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeStateDetails
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateDetailsBuilder
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateDetailsOrBuilder
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
getStateDetailsOrBuilderList
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsOrBuilderListin interfaceOnlineEvaluatorOrBuilder
-
addStateDetailsBuilder
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateDetailsBuilder
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateDetailsBuilderList
Output only. Contains additional information about the state of the OnlineEvaluator. This is used to provide more details in the event of a failure.
repeated .google.cloud.aiplatform.v1beta1.OnlineEvaluator.StateDetails state_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceOnlineEvaluatorOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceOnlineEvaluatorOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when the OnlineEvaluator was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceOnlineEvaluatorOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceOnlineEvaluatorOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when the OnlineEvaluator was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceOnlineEvaluatorOrBuilder
-
getDisplayName
Optional. Human-readable name for the `OnlineEvaluator`. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is `63` characters. If the display name exceeds max characters, an `INVALID_ARGUMENT` error is returned.
string display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceOnlineEvaluatorOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human-readable name for the `OnlineEvaluator`. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is `63` characters. If the display name exceeds max characters, an `INVALID_ARGUMENT` error is returned.
string display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceOnlineEvaluatorOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. Human-readable name for the `OnlineEvaluator`. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is `63` characters. If the display name exceeds max characters, an `INVALID_ARGUMENT` error is returned.
string display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. Human-readable name for the `OnlineEvaluator`. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is `63` characters. If the display name exceeds max characters, an `INVALID_ARGUMENT` error is returned.
string display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. Human-readable name for the `OnlineEvaluator`. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is `63` characters. If the display name exceeds max characters, an `INVALID_ARGUMENT` error is returned.
string display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-