Class EvaluateDatasetRun.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder>
com.google.cloud.aiplatform.v1.EvaluateDatasetRun.Builder
All Implemented Interfaces:
EvaluateDatasetRunOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EvaluateDatasetRun

public static final class EvaluateDatasetRun.Builder extends com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder> implements EvaluateDatasetRunOrBuilder
 Evaluate Dataset Run Result for Tuning Job.
 
Protobuf type google.cloud.aiplatform.v1.EvaluateDatasetRun
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder>
    • getDefaultInstanceForType

      public EvaluateDatasetRun getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public EvaluateDatasetRun build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EvaluateDatasetRun buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public EvaluateDatasetRun.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EvaluateDatasetRun.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EvaluateDatasetRun.Builder>
    • mergeFrom

      public EvaluateDatasetRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EvaluateDatasetRun.Builder>
      Throws:
      IOException
    • getOperationName

      @Deprecated public String getOperationName()
      Deprecated.
      google.cloud.aiplatform.v1.EvaluateDatasetRun.operation_name is deprecated. See google/cloud/aiplatform/v1/tuning_job.proto;l=407
       Output only. Deprecated: The updated architecture uses evaluation_run
       instead.
       
      string operation_name = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperationName in interface EvaluateDatasetRunOrBuilder
      Returns:
      The operationName.
    • getOperationNameBytes

      @Deprecated public com.google.protobuf.ByteString getOperationNameBytes()
      Deprecated.
      google.cloud.aiplatform.v1.EvaluateDatasetRun.operation_name is deprecated. See google/cloud/aiplatform/v1/tuning_job.proto;l=407
       Output only. Deprecated: The updated architecture uses evaluation_run
       instead.
       
      string operation_name = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperationNameBytes in interface EvaluateDatasetRunOrBuilder
      Returns:
      The bytes for operationName.
    • setOperationName

      @Deprecated public EvaluateDatasetRun.Builder setOperationName(String value)
      Deprecated.
      google.cloud.aiplatform.v1.EvaluateDatasetRun.operation_name is deprecated. See google/cloud/aiplatform/v1/tuning_job.proto;l=407
       Output only. Deprecated: The updated architecture uses evaluation_run
       instead.
       
      string operation_name = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The operationName to set.
      Returns:
      This builder for chaining.
    • clearOperationName

      @Deprecated public EvaluateDatasetRun.Builder clearOperationName()
      Deprecated.
      google.cloud.aiplatform.v1.EvaluateDatasetRun.operation_name is deprecated. See google/cloud/aiplatform/v1/tuning_job.proto;l=407
       Output only. Deprecated: The updated architecture uses evaluation_run
       instead.
       
      string operation_name = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOperationNameBytes

      @Deprecated public EvaluateDatasetRun.Builder setOperationNameBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.aiplatform.v1.EvaluateDatasetRun.operation_name is deprecated. See google/cloud/aiplatform/v1/tuning_job.proto;l=407
       Output only. Deprecated: The updated architecture uses evaluation_run
       instead.
       
      string operation_name = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for operationName to set.
      Returns:
      This builder for chaining.
    • getEvaluationRun

      public String getEvaluationRun()
       Output only. The resource name of the evaluation run. Format:
       `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`.
       
      string evaluation_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluationRun in interface EvaluateDatasetRunOrBuilder
      Returns:
      The evaluationRun.
    • getEvaluationRunBytes

      public com.google.protobuf.ByteString getEvaluationRunBytes()
       Output only. The resource name of the evaluation run. Format:
       `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`.
       
      string evaluation_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluationRunBytes in interface EvaluateDatasetRunOrBuilder
      Returns:
      The bytes for evaluationRun.
    • setEvaluationRun

      public EvaluateDatasetRun.Builder setEvaluationRun(String value)
       Output only. The resource name of the evaluation run. Format:
       `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`.
       
      string evaluation_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The evaluationRun to set.
      Returns:
      This builder for chaining.
    • clearEvaluationRun

      public EvaluateDatasetRun.Builder clearEvaluationRun()
       Output only. The resource name of the evaluation run. Format:
       `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`.
       
      string evaluation_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEvaluationRunBytes

      public EvaluateDatasetRun.Builder setEvaluationRunBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the evaluation run. Format:
       `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`.
       
      string evaluation_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for evaluationRun to set.
      Returns:
      This builder for chaining.
    • getCheckpointId

      public String getCheckpointId()
       Output only. The checkpoint id used in the evaluation run. Only populated
       when evaluating checkpoints.
       
      string checkpoint_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCheckpointId in interface EvaluateDatasetRunOrBuilder
      Returns:
      The checkpointId.
    • getCheckpointIdBytes

      public com.google.protobuf.ByteString getCheckpointIdBytes()
       Output only. The checkpoint id used in the evaluation run. Only populated
       when evaluating checkpoints.
       
      string checkpoint_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCheckpointIdBytes in interface EvaluateDatasetRunOrBuilder
      Returns:
      The bytes for checkpointId.
    • setCheckpointId

      public EvaluateDatasetRun.Builder setCheckpointId(String value)
       Output only. The checkpoint id used in the evaluation run. Only populated
       when evaluating checkpoints.
       
      string checkpoint_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The checkpointId to set.
      Returns:
      This builder for chaining.
    • clearCheckpointId

      public EvaluateDatasetRun.Builder clearCheckpointId()
       Output only. The checkpoint id used in the evaluation run. Only populated
       when evaluating checkpoints.
       
      string checkpoint_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCheckpointIdBytes

      public EvaluateDatasetRun.Builder setCheckpointIdBytes(com.google.protobuf.ByteString value)
       Output only. The checkpoint id used in the evaluation run. Only populated
       when evaluating checkpoints.
       
      string checkpoint_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for checkpointId to set.
      Returns:
      This builder for chaining.
    • hasEvaluateDatasetResponse

      public boolean hasEvaluateDatasetResponse()
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEvaluateDatasetResponse in interface EvaluateDatasetRunOrBuilder
      Returns:
      Whether the evaluateDatasetResponse field is set.
    • getEvaluateDatasetResponse

      public EvaluateDatasetResponse getEvaluateDatasetResponse()
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetResponse in interface EvaluateDatasetRunOrBuilder
      Returns:
      The evaluateDatasetResponse.
    • setEvaluateDatasetResponse

      public EvaluateDatasetRun.Builder setEvaluateDatasetResponse(EvaluateDatasetResponse value)
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEvaluateDatasetResponse

      public EvaluateDatasetRun.Builder setEvaluateDatasetResponse(EvaluateDatasetResponse.Builder builderForValue)
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEvaluateDatasetResponse

      public EvaluateDatasetRun.Builder mergeEvaluateDatasetResponse(EvaluateDatasetResponse value)
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEvaluateDatasetResponse

      public EvaluateDatasetRun.Builder clearEvaluateDatasetResponse()
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEvaluateDatasetResponseBuilder

      public EvaluateDatasetResponse.Builder getEvaluateDatasetResponseBuilder()
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEvaluateDatasetResponseOrBuilder

      public EvaluateDatasetResponseOrBuilder getEvaluateDatasetResponseOrBuilder()
       Output only. Results for EvaluationService.
       
      .google.cloud.aiplatform.v1.EvaluateDatasetResponse evaluate_dataset_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetResponseOrBuilder in interface EvaluateDatasetRunOrBuilder
    • hasError

      public boolean hasError()
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasError in interface EvaluateDatasetRunOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getError in interface EvaluateDatasetRunOrBuilder
      Returns:
      The error.
    • setError

      public EvaluateDatasetRun.Builder setError(Status value)
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setError

      public EvaluateDatasetRun.Builder setError(Status.Builder builderForValue)
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeError

      public EvaluateDatasetRun.Builder mergeError(Status value)
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearError

      public EvaluateDatasetRun.Builder clearError()
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       Output only. The error of the evaluation run if any.
       
      .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorOrBuilder in interface EvaluateDatasetRunOrBuilder