public static final class TextInput.Builder extends com.google.protobuf.GeneratedMessage.Builder<TextInput.Builder> implements TextInputOrBuilder
Defines text input.Protobuf type
google.cloud.discoveryengine.v1.TextInput| Modifier and Type | Method and Description |
|---|---|
TextInput |
build() |
TextInput |
buildPartial() |
TextInput.Builder |
clear() |
TextInput.Builder |
clearContext()
Conversation context of the input.
|
TextInput.Builder |
clearInput()
Text input.
|
ConversationContext |
getContext()
Conversation context of the input.
|
ConversationContext.Builder |
getContextBuilder()
Conversation context of the input.
|
ConversationContextOrBuilder |
getContextOrBuilder()
Conversation context of the input.
|
TextInput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInput()
Text input.
|
com.google.protobuf.ByteString |
getInputBytes()
Text input.
|
boolean |
hasContext()
Conversation context of the input.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TextInput.Builder |
mergeContext(ConversationContext value)
Conversation context of the input.
|
TextInput.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextInput.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextInput.Builder |
mergeFrom(TextInput other) |
TextInput.Builder |
setContext(ConversationContext.Builder builderForValue)
Conversation context of the input.
|
TextInput.Builder |
setContext(ConversationContext value)
Conversation context of the input.
|
TextInput.Builder |
setInput(String value)
Text input.
|
TextInput.Builder |
setInputBytes(com.google.protobuf.ByteString value)
Text input.
|
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, 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<TextInput.Builder>public TextInput.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TextInput.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<TextInput.Builder>public TextInput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextInput build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextInput buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextInput.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextInput.Builder>public TextInput.Builder mergeFrom(TextInput other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TextInput.Builder>public TextInput.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<TextInput.Builder>IOExceptionpublic String getInput()
Text input.
string input = 1;getInput in interface TextInputOrBuilderpublic com.google.protobuf.ByteString getInputBytes()
Text input.
string input = 1;getInputBytes in interface TextInputOrBuilderpublic TextInput.Builder setInput(String value)
Text input.
string input = 1;value - The input to set.public TextInput.Builder clearInput()
Text input.
string input = 1;public TextInput.Builder setInputBytes(com.google.protobuf.ByteString value)
Text input.
string input = 1;value - The bytes for input to set.public boolean hasContext()
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;hasContext in interface TextInputOrBuilderpublic ConversationContext getContext()
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;getContext in interface TextInputOrBuilderpublic TextInput.Builder setContext(ConversationContext value)
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;public TextInput.Builder setContext(ConversationContext.Builder builderForValue)
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;public TextInput.Builder mergeContext(ConversationContext value)
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;public TextInput.Builder clearContext()
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;public ConversationContext.Builder getContextBuilder()
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;public ConversationContextOrBuilder getContextOrBuilder()
Conversation context of the input.
.google.cloud.discoveryengine.v1.ConversationContext context = 2;getContextOrBuilder in interface TextInputOrBuilderCopyright © 2026 Google LLC. All rights reserved.