public static final class OptionQuestionsChunk.Builder extends GeneratedMessage.Builder<OptionQuestionsChunk.Builder> implements OptionQuestionsChunkOrBuilder
Structured clarification options the assistant asks the user to choose
among, transduced server-side out of the model's turn (the option block is
stripped from the streamed and persisted text). The console renders a
keyboard-navigable option list docked above the composer.
Protobuf type google.cloud.ces.v1beta.OptionQuestionsChunk
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllQuestions(Iterable<? extends OptionQuestionsChunk.Question> values)
public OptionQuestionsChunk.Builder addAllQuestions(Iterable<? extends OptionQuestionsChunk.Question> values)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.ces.v1beta.OptionQuestionsChunk.Question>
|
addQuestions(OptionQuestionsChunk.Question value)
public OptionQuestionsChunk.Builder addQuestions(OptionQuestionsChunk.Question value)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
addQuestions(OptionQuestionsChunk.Question.Builder builderForValue)
public OptionQuestionsChunk.Builder addQuestions(OptionQuestionsChunk.Question.Builder builderForValue)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
addQuestions(int index, OptionQuestionsChunk.Question value)
public OptionQuestionsChunk.Builder addQuestions(int index, OptionQuestionsChunk.Question value)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
addQuestions(int index, OptionQuestionsChunk.Question.Builder builderForValue)
public OptionQuestionsChunk.Builder addQuestions(int index, OptionQuestionsChunk.Question.Builder builderForValue)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
addQuestionsBuilder()
public OptionQuestionsChunk.Question.Builder addQuestionsBuilder()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
addQuestionsBuilder(int index)
public OptionQuestionsChunk.Question.Builder addQuestionsBuilder(int index)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public OptionQuestionsChunk build()
buildPartial()
public OptionQuestionsChunk buildPartial()
clear()
public OptionQuestionsChunk.Builder clear()
Overrides
clearQuestions()
public OptionQuestionsChunk.Builder clearQuestions()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
getDefaultInstanceForType()
public OptionQuestionsChunk getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQuestions(int index)
public OptionQuestionsChunk.Question getQuestions(int index)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getQuestionsBuilder(int index)
public OptionQuestionsChunk.Question.Builder getQuestionsBuilder(int index)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getQuestionsBuilderList()
public List<OptionQuestionsChunk.Question.Builder> getQuestionsBuilderList()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
getQuestionsCount()
public int getQuestionsCount()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Returns |
| Type |
Description |
int |
|
getQuestionsList()
public List<OptionQuestionsChunk.Question> getQuestionsList()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
getQuestionsOrBuilder(int index)
public OptionQuestionsChunk.QuestionOrBuilder getQuestionsOrBuilder(int index)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getQuestionsOrBuilderList()
public List<? extends OptionQuestionsChunk.QuestionOrBuilder> getQuestionsOrBuilderList()
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.OptionQuestionsChunk.QuestionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(OptionQuestionsChunk other)
public OptionQuestionsChunk.Builder mergeFrom(OptionQuestionsChunk other)
public OptionQuestionsChunk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OptionQuestionsChunk.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeQuestions(int index)
public OptionQuestionsChunk.Builder removeQuestions(int index)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
setQuestions(int index, OptionQuestionsChunk.Question value)
public OptionQuestionsChunk.Builder setQuestions(int index, OptionQuestionsChunk.Question value)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;
setQuestions(int index, OptionQuestionsChunk.Question.Builder builderForValue)
public OptionQuestionsChunk.Builder setQuestions(int index, OptionQuestionsChunk.Question.Builder builderForValue)
The questions asked this turn. More than one entry drives the console's
"1 of N" pager.
repeated .google.cloud.ces.v1beta.OptionQuestionsChunk.Question questions = 1;