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 Summary
Modifier and TypeMethodDescriptionaddActions(int index, Answer.Step.Action value) Actions.addActions(int index, Answer.Step.Action.Builder builderForValue) Actions.addActions(Answer.Step.Action value) Actions.addActions(Answer.Step.Action.Builder builderForValue) Actions.Actions.addActionsBuilder(int index) Actions.addAllActions(Iterable<? extends Answer.Step.Action> values) Actions.build()clear()Actions.The description of the step.The state of the step.The thought of the step.getActions(int index) Actions.getActionsBuilder(int index) Actions.Actions.intActions.Actions.getActionsOrBuilder(int index) Actions.List<? extends Answer.Step.ActionOrBuilder>Actions.The description of the step.com.google.protobuf.ByteStringThe description of the step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetState()The state of the step.intThe state of the step.The thought of the step.com.google.protobuf.ByteStringThe thought of the step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Answer.Step other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeActions(int index) Actions.setActions(int index, Answer.Step.Action value) Actions.setActions(int index, Answer.Step.Action.Builder builderForValue) Actions.setDescription(String value) The description of the step.setDescriptionBytes(com.google.protobuf.ByteString value) The description of the step.setState(Answer.Step.State value) The state of the step.setStateValue(int value) The state of the step.setThought(String value) The thought of the step.setThoughtBytes(com.google.protobuf.ByteString value) The thought of the step.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Answer.Step.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getStateValuein interfaceAnswer.StepOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
The state of the step.
.google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;- Specified by:
getStatein interfaceAnswer.StepOrBuilder- Returns:
- The state.
-
setState
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
The state of the step.
.google.cloud.discoveryengine.v1beta.Answer.Step.State state = 1;- Returns:
- This builder for chaining.
-
getDescription
The description of the step.
string description = 2;- Specified by:
getDescriptionin interfaceAnswer.StepOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the step.
string description = 2;- Specified by:
getDescriptionBytesin interfaceAnswer.StepOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description of the step.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description of the step.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
The description of the step.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getThought
The thought of the step.
string thought = 3;- Specified by:
getThoughtin interfaceAnswer.StepOrBuilder- Returns:
- The thought.
-
getThoughtBytes
public com.google.protobuf.ByteString getThoughtBytes()The thought of the step.
string thought = 3;- Specified by:
getThoughtBytesin interfaceAnswer.StepOrBuilder- Returns:
- The bytes for thought.
-
setThought
The thought of the step.
string thought = 3;- Parameters:
value- The thought to set.- Returns:
- This builder for chaining.
-
clearThought
The thought of the step.
string thought = 3;- Returns:
- This builder for chaining.
-
setThoughtBytes
The thought of the step.
string thought = 3;- Parameters:
value- The bytes for thought to set.- Returns:
- This builder for chaining.
-
getActionsList
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;- Specified by:
getActionsListin interfaceAnswer.StepOrBuilder
-
getActionsCount
public int getActionsCount()Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;- Specified by:
getActionsCountin interfaceAnswer.StepOrBuilder
-
getActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;- Specified by:
getActionsin interfaceAnswer.StepOrBuilder
-
setActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
setActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addAllActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
clearActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
removeActions
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
getActionsBuilder
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
getActionsOrBuilder
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;- Specified by:
getActionsOrBuilderin interfaceAnswer.StepOrBuilder
-
getActionsOrBuilderList
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;- Specified by:
getActionsOrBuilderListin interfaceAnswer.StepOrBuilder
-
addActionsBuilder
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
addActionsBuilder
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4; -
getActionsBuilderList
Actions.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action actions = 4;
-