Class Answer.Step.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>
com.google.cloud.discoveryengine.v1beta.Answer.Step.Builder
All Implemented Interfaces:
Answer.StepOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Answer.Step

public static final class Answer.Step.Builder extends com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder> implements Answer.StepOrBuilder
 Step information.
 
Protobuf type google.cloud.discoveryengine.v1beta.Answer.Step
  • 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<Answer.Step.Builder>
    • clear

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

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

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

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

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

      public Answer.Step.Builder mergeFrom(Answer.Step other)
    • isInitialized

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

      public Answer.Step.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<Answer.Step.Builder>
      Throws:
      IOException
    • getStateValue

      public int getStateValue()
       The state of the step.
       
      .google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;
      Specified by:
      getStateValue in interface Answer.StepOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Answer.Step.Builder setStateValue(int value)
       The state of the step.
       
      .google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Answer.Step.State getState()
       The state of the step.
       
      .google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;
      Specified by:
      getState in interface Answer.StepOrBuilder
      Returns:
      The state.
    • setState

      public Answer.Step.Builder setState(Answer.Step.State value)
       The state of the step.
       
      .google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Answer.Step.Builder clearState()
       The state of the step.
       
      .google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       The description of the step.
       
      string description = 2;
      Specified by:
      getDescription in interface Answer.StepOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the step.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface Answer.StepOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Answer.Step.Builder setDescription(String value)
       The description of the step.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Answer.Step.Builder clearDescription()
       The description of the step.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Answer.Step.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The description of the step.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getThought

      public String getThought()
       The thought of the step.
       
      string thought = 3;
      Specified by:
      getThought in interface Answer.StepOrBuilder
      Returns:
      The thought.
    • getThoughtBytes

      public com.google.protobuf.ByteString getThoughtBytes()
       The thought of the step.
       
      string thought = 3;
      Specified by:
      getThoughtBytes in interface Answer.StepOrBuilder
      Returns:
      The bytes for thought.
    • setThought

      public Answer.Step.Builder setThought(String value)
       The thought of the step.
       
      string thought = 3;
      Parameters:
      value - The thought to set.
      Returns:
      This builder for chaining.
    • clearThought

      public Answer.Step.Builder clearThought()
       The thought of the step.
       
      string thought = 3;
      Returns:
      This builder for chaining.
    • setThoughtBytes

      public Answer.Step.Builder setThoughtBytes(com.google.protobuf.ByteString value)
       The thought of the step.
       
      string thought = 3;
      Parameters:
      value - The bytes for thought to set.
      Returns:
      This builder for chaining.
    • getActionsList

      public List<Answer.Step.Action> getActionsList()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
      Specified by:
      getActionsList in interface Answer.StepOrBuilder
    • getActionsCount

      public int getActionsCount()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
      Specified by:
      getActionsCount in interface Answer.StepOrBuilder
    • getActions

      public Answer.Step.Action getActions(int index)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
      Specified by:
      getActions in interface Answer.StepOrBuilder
    • setActions

      public Answer.Step.Builder setActions(int index, Answer.Step.Action value)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • setActions

      public Answer.Step.Builder setActions(int index, Answer.Step.Action.Builder builderForValue)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addActions

      public Answer.Step.Builder addActions(Answer.Step.Action value)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addActions

      public Answer.Step.Builder addActions(int index, Answer.Step.Action value)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addActions

      public Answer.Step.Builder addActions(Answer.Step.Action.Builder builderForValue)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addActions

      public Answer.Step.Builder addActions(int index, Answer.Step.Action.Builder builderForValue)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addAllActions

      public Answer.Step.Builder addAllActions(Iterable<? extends Answer.Step.Action> values)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • clearActions

      public Answer.Step.Builder clearActions()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • removeActions

      public Answer.Step.Builder removeActions(int index)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • getActionsBuilder

      public Answer.Step.Action.Builder getActionsBuilder(int index)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • getActionsOrBuilder

      public Answer.Step.ActionOrBuilder getActionsOrBuilder(int index)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
      Specified by:
      getActionsOrBuilder in interface Answer.StepOrBuilder
    • getActionsOrBuilderList

      public List<? extends Answer.Step.ActionOrBuilder> getActionsOrBuilderList()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
      Specified by:
      getActionsOrBuilderList in interface Answer.StepOrBuilder
    • addActionsBuilder

      public Answer.Step.Action.Builder addActionsBuilder()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • addActionsBuilder

      public Answer.Step.Action.Builder addActionsBuilder(int index)
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
    • getActionsBuilderList

      public List<Answer.Step.Action.Builder> getActionsBuilderList()
       Actions.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;