public static final class TextInput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder> implements TextInputOrBuilder
Defines text input.Protobuf type
google.cloud.discoveryengine.v1beta.TextInput| Modifier and Type | Method and Description |
|---|---|
TextInput.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextInput |
build() |
TextInput |
buildPartial() |
TextInput.Builder |
clear() |
TextInput.Builder |
clearContext()
Conversation context of the input.
|
TextInput.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextInput.Builder |
clearInput()
Text input.
|
TextInput.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextInput.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextInput.Builder |
setContext(ConversationContext.Builder builderForValue)
Conversation context of the input.
|
TextInput.Builder |
setContext(ConversationContext value)
Conversation context of the input.
|
TextInput.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextInput.Builder |
setInput(String value)
Text input.
|
TextInput.Builder |
setInputBytes(com.google.protobuf.ByteString value)
Text input.
|
TextInput.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextInput.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public TextInput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public TextInput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public TextInput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public TextInput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public TextInput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public 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.GeneratedMessageV3.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.v1beta.ConversationContext context = 2;hasContext in interface TextInputOrBuilderpublic ConversationContext getContext()
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;getContext in interface TextInputOrBuilderpublic TextInput.Builder setContext(ConversationContext value)
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;public TextInput.Builder setContext(ConversationContext.Builder builderForValue)
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;public TextInput.Builder mergeContext(ConversationContext value)
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;public TextInput.Builder clearContext()
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;public ConversationContext.Builder getContextBuilder()
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;public ConversationContextOrBuilder getContextOrBuilder()
Conversation context of the input.
.google.cloud.discoveryengine.v1beta.ConversationContext context = 2;getContextOrBuilder in interface TextInputOrBuilderpublic final TextInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>public final TextInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextInput.Builder>Copyright © 2024 Google LLC. All rights reserved.