Class GeneratorEvaluationOperationMetadata.Builder

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

public static final class GeneratorEvaluationOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<GeneratorEvaluationOperationMetadata.Builder> implements GeneratorEvaluationOperationMetadataOrBuilder
 Metadata for a
 [GeneratorEvaluations.CreateGeneratorEvaluation][google.cloud.dialogflow.v2.GeneratorEvaluations.CreateGeneratorEvaluation]
 operation.
 
Protobuf type google.cloud.dialogflow.v2.GeneratorEvaluationOperationMetadata
  • 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<GeneratorEvaluationOperationMetadata.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<GeneratorEvaluationOperationMetadata.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<GeneratorEvaluationOperationMetadata.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public GeneratorEvaluationOperationMetadata.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<GeneratorEvaluationOperationMetadata.Builder>
      Throws:
      IOException
    • getGeneratorEvaluation

      public String getGeneratorEvaluation()
       Output only. The resource name of the generator evaluation. Format:
       `projects/<Project ID>/locations/<Location
       ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
       
      string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGeneratorEvaluation in interface GeneratorEvaluationOperationMetadataOrBuilder
      Returns:
      The generatorEvaluation.
    • getGeneratorEvaluationBytes

      public com.google.protobuf.ByteString getGeneratorEvaluationBytes()
       Output only. The resource name of the generator evaluation. Format:
       `projects/<Project ID>/locations/<Location
       ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
       
      string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGeneratorEvaluationBytes in interface GeneratorEvaluationOperationMetadataOrBuilder
      Returns:
      The bytes for generatorEvaluation.
    • setGeneratorEvaluation

      public GeneratorEvaluationOperationMetadata.Builder setGeneratorEvaluation(String value)
       Output only. The resource name of the generator evaluation. Format:
       `projects/<Project ID>/locations/<Location
       ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
       
      string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The generatorEvaluation to set.
      Returns:
      This builder for chaining.
    • clearGeneratorEvaluation

      public GeneratorEvaluationOperationMetadata.Builder clearGeneratorEvaluation()
       Output only. The resource name of the generator evaluation. Format:
       `projects/<Project ID>/locations/<Location
       ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
       
      string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setGeneratorEvaluationBytes

      public GeneratorEvaluationOperationMetadata.Builder setGeneratorEvaluationBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the generator evaluation. Format:
       `projects/<Project ID>/locations/<Location
       ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
       
      string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for generatorEvaluation to set.
      Returns:
      This builder for chaining.