Class EvaluationStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EvaluationStatus.Builder>
com.google.cloud.dialogflow.v2.EvaluationStatus.Builder
All Implemented Interfaces:
EvaluationStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EvaluationStatus

public static final class EvaluationStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<EvaluationStatus.Builder> implements EvaluationStatusOrBuilder
 A common evalaution pipeline status.
 
Protobuf type google.cloud.dialogflow.v2.EvaluationStatus
  • 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<EvaluationStatus.Builder>
    • clear

      public EvaluationStatus.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<EvaluationStatus.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<EvaluationStatus.Builder>
    • getDefaultInstanceForType

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

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

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

      public EvaluationStatus.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<EvaluationStatus.Builder>
    • mergeFrom

      public EvaluationStatus.Builder mergeFrom(EvaluationStatus other)
    • isInitialized

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

      public EvaluationStatus.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<EvaluationStatus.Builder>
      Throws:
      IOException
    • hasDone

      public boolean hasDone()
       Output only. If the value is `false`, it means the evaluation is still in
       progress. If `true`, the operation is completed, and either `error` or
       `response` is available.
       
      optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDone in interface EvaluationStatusOrBuilder
      Returns:
      Whether the done field is set.
    • getDone

      public boolean getDone()
       Output only. If the value is `false`, it means the evaluation is still in
       progress. If `true`, the operation is completed, and either `error` or
       `response` is available.
       
      optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDone in interface EvaluationStatusOrBuilder
      Returns:
      The done.
    • setDone

      public EvaluationStatus.Builder setDone(boolean value)
       Output only. If the value is `false`, it means the evaluation is still in
       progress. If `true`, the operation is completed, and either `error` or
       `response` is available.
       
      optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The done to set.
      Returns:
      This builder for chaining.
    • clearDone

      public EvaluationStatus.Builder clearDone()
       Output only. If the value is `false`, it means the evaluation is still in
       progress. If `true`, the operation is completed, and either `error` or
       `response` is available.
       
      optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasPipelineStatus

      public boolean hasPipelineStatus()
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPipelineStatus in interface EvaluationStatusOrBuilder
      Returns:
      Whether the pipelineStatus field is set.
    • getPipelineStatus

      public Status getPipelineStatus()
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPipelineStatus in interface EvaluationStatusOrBuilder
      Returns:
      The pipelineStatus.
    • setPipelineStatus

      public EvaluationStatus.Builder setPipelineStatus(Status value)
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPipelineStatus

      public EvaluationStatus.Builder setPipelineStatus(Status.Builder builderForValue)
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePipelineStatus

      public EvaluationStatus.Builder mergePipelineStatus(Status value)
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPipelineStatus

      public EvaluationStatus.Builder clearPipelineStatus()
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPipelineStatusBuilder

      public Status.Builder getPipelineStatusBuilder()
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPipelineStatusOrBuilder

      public StatusOrBuilder getPipelineStatusOrBuilder()
       Output only. The error result of the evaluation in case of failure in
       evaluation pipeline.
       
      .google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPipelineStatusOrBuilder in interface EvaluationStatusOrBuilder