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.v1.Answer.StepaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>public Answer.Step.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>public Answer.Step getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.Step build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Builder>public Answer.Step.Builder mergeFrom(Answer.Step other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>public Answer.Step.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Builder>IOExceptionpublic int getStateValue()
The state of the step.
.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;getStateValue in interface Answer.StepOrBuilderpublic Answer.Step.Builder setStateValue(int value)
The state of the step.
.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;value - The enum numeric value on the wire for state to set.public Answer.Step.State getState()
The state of the step.
.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;getState in interface Answer.StepOrBuilderpublic Answer.Step.Builder setState(Answer.Step.State value)
The state of the step.
.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;value - The state to set.public Answer.Step.Builder clearState()
The state of the step.
.google.cloud.discoveryengine.v1.Answer.Step.State state = 1;public String getDescription()
The description of the step.
string description = 2;getDescription in interface Answer.StepOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the step.
string description = 2;getDescriptionBytes in interface Answer.StepOrBuilderpublic Answer.Step.Builder setDescription(String value)
The description of the step.
string description = 2;value - The description to set.public Answer.Step.Builder clearDescription()
The description of the step.
string description = 2;public Answer.Step.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the step.
string description = 2;value - The bytes for description to set.public String getThought()
The thought of the step.
string thought = 3;getThought in interface Answer.StepOrBuilderpublic com.google.protobuf.ByteString getThoughtBytes()
The thought of the step.
string thought = 3;getThoughtBytes in interface Answer.StepOrBuilderpublic Answer.Step.Builder setThought(String value)
The thought of the step.
string thought = 3;value - The thought to set.public Answer.Step.Builder clearThought()
The thought of the step.
string thought = 3;public Answer.Step.Builder setThoughtBytes(com.google.protobuf.ByteString value)
The thought of the step.
string thought = 3;value - The bytes for thought to set.public List<Answer.Step.Action> getActionsList()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;getActionsList in interface Answer.StepOrBuilderpublic int getActionsCount()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;getActionsCount in interface Answer.StepOrBuilderpublic Answer.Step.Action getActions(int index)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;getActions in interface Answer.StepOrBuilderpublic Answer.Step.Builder setActions(int index, Answer.Step.Action value)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder setActions(int index, Answer.Step.Action.Builder builderForValue)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder addActions(Answer.Step.Action value)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder addActions(int index, Answer.Step.Action value)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder addActions(Answer.Step.Action.Builder builderForValue)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder addActions(int index, Answer.Step.Action.Builder builderForValue)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder addAllActions(Iterable<? extends Answer.Step.Action> values)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder clearActions()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Builder removeActions(int index)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Action.Builder getActionsBuilder(int index)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.ActionOrBuilder getActionsOrBuilder(int index)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;getActionsOrBuilder in interface Answer.StepOrBuilderpublic List<? extends Answer.Step.ActionOrBuilder> getActionsOrBuilderList()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;getActionsOrBuilderList in interface Answer.StepOrBuilderpublic Answer.Step.Action.Builder addActionsBuilder()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public Answer.Step.Action.Builder addActionsBuilder(int index)
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;public List<Answer.Step.Action.Builder> getActionsBuilderList()
Actions.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4;Copyright © 2026 Google LLC. All rights reserved.