Class Conversation.GeneratorContext.Builder

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

public static final class Conversation.GeneratorContext.Builder extends com.google.protobuf.GeneratedMessage.Builder<Conversation.GeneratorContext.Builder> implements Conversation.GeneratorContextOrBuilder
 Represents the context of a generator.
 
Protobuf type google.cloud.dialogflow.v2.Conversation.GeneratorContext
  • 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<Conversation.GeneratorContext.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<Conversation.GeneratorContext.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<Conversation.GeneratorContext.Builder>
    • getDefaultInstanceForType

      public Conversation.GeneratorContext 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 Conversation.GeneratorContext buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public Conversation.GeneratorContext.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<Conversation.GeneratorContext.Builder>
      Throws:
      IOException
    • getGeneratorTypeValue

      public int getGeneratorTypeValue()
       Output only. The type of the generator.
       
      .google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGeneratorTypeValue in interface Conversation.GeneratorContextOrBuilder
      Returns:
      The enum numeric value on the wire for generatorType.
    • setGeneratorTypeValue

      public Conversation.GeneratorContext.Builder setGeneratorTypeValue(int value)
       Output only. The type of the generator.
       
      .google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for generatorType to set.
      Returns:
      This builder for chaining.
    • getGeneratorType

       Output only. The type of the generator.
       
      .google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGeneratorType in interface Conversation.GeneratorContextOrBuilder
      Returns:
      The generatorType.
    • setGeneratorType

       Output only. The type of the generator.
       
      .google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The generatorType to set.
      Returns:
      This builder for chaining.
    • clearGeneratorType

      public Conversation.GeneratorContext.Builder clearGeneratorType()
       Output only. The type of the generator.
       
      .google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.