public final class OptionQuestionsChunk extends GeneratedMessage implements OptionQuestionsChunkOrBuilderStructured 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > OptionQuestionsChunkImplements
OptionQuestionsChunkOrBuilderStatic Fields
QUESTIONS_FIELD_NUMBER
public static final int QUESTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static OptionQuestionsChunk getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static OptionQuestionsChunk.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Builder |
|
newBuilder(OptionQuestionsChunk prototype)
public static OptionQuestionsChunk.Builder newBuilder(OptionQuestionsChunk prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
OptionQuestionsChunk |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Builder |
|
parseDelimitedFrom(InputStream input)
public static OptionQuestionsChunk parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static OptionQuestionsChunk parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static OptionQuestionsChunk parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static OptionQuestionsChunk parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static OptionQuestionsChunk parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static OptionQuestionsChunk parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OptionQuestionsChunk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<OptionQuestionsChunk> parser()| Returns | |
|---|---|
| Type | Description |
Parser<OptionQuestionsChunk> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public OptionQuestionsChunk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk |
|
getParserForType()
public Parser<OptionQuestionsChunk> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<OptionQuestionsChunk> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Question |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Question> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.QuestionOrBuilder |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public OptionQuestionsChunk.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OptionQuestionsChunk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Builder |
|
toBuilder()
public OptionQuestionsChunk.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
OptionQuestionsChunk.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|