public static final class RuntimeAnnotation.UserInput.Builder extends GeneratedMessageV3.Builder<RuntimeAnnotation.UserInput.Builder> implements RuntimeAnnotation.UserInputOrBuilder
Explicit input used for generating the answer
Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeAnnotation.UserInput.BuilderImplements
RuntimeAnnotation.UserInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeAnnotation.UserInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
build()
public RuntimeAnnotation.UserInput build()
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput |
buildPartial()
public RuntimeAnnotation.UserInput buildPartial()
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput |
clear()
public RuntimeAnnotation.UserInput.Builder clear()
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
clearField(Descriptors.FieldDescriptor field)
public RuntimeAnnotation.UserInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
clearGeneratorName()
public RuntimeAnnotation.UserInput.Builder clearGeneratorName()
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 2;
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeAnnotation.UserInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
clearQuery()
public RuntimeAnnotation.UserInput.Builder clearQuery()
Query text. Article Search uses this to store the input query used to generate the search results.
string query = 1;
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
clearQuerySource()
public RuntimeAnnotation.UserInput.Builder clearQuerySource()
Query source for the answer.
.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource query_source = 3;
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
clone()
public RuntimeAnnotation.UserInput.Builder clone()
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
getDefaultInstanceForType()
public RuntimeAnnotation.UserInput getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGeneratorName()
public String getGeneratorName()
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 2;
Returns | |
---|---|
Type | Description |
String |
The generatorName. |
getGeneratorNameBytes()
public ByteString getGeneratorNameBytes()
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for generatorName. |
getQuery()
public String getQuery()
Query text. Article Search uses this to store the input query used to generate the search results.
string query = 1;
Returns | |
---|---|
Type | Description |
String |
The query. |
getQueryBytes()
public ByteString getQueryBytes()
Query text. Article Search uses this to store the input query used to generate the search results.
string query = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for query. |
getQuerySource()
public RuntimeAnnotation.UserInput.QuerySource getQuerySource()
Query source for the answer.
.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource query_source = 3;
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.QuerySource |
The querySource. |
getQuerySourceValue()
public int getQuerySourceValue()
Query source for the answer.
.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource query_source = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for querySource. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RuntimeAnnotation.UserInput other)
public RuntimeAnnotation.UserInput.Builder mergeFrom(RuntimeAnnotation.UserInput other)
Parameter | |
---|---|
Name | Description |
other |
RuntimeAnnotation.UserInput |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuntimeAnnotation.UserInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RuntimeAnnotation.UserInput.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeAnnotation.UserInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeAnnotation.UserInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
setGeneratorName(String value)
public RuntimeAnnotation.UserInput.Builder setGeneratorName(String value)
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The generatorName to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setGeneratorNameBytes(ByteString value)
public RuntimeAnnotation.UserInput.Builder setGeneratorNameBytes(ByteString value)
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string generator_name = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for generatorName to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setQuery(String value)
public RuntimeAnnotation.UserInput.Builder setQuery(String value)
Query text. Article Search uses this to store the input query used to generate the search results.
string query = 1;
Parameter | |
---|---|
Name | Description |
value |
String The query to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setQueryBytes(ByteString value)
public RuntimeAnnotation.UserInput.Builder setQueryBytes(ByteString value)
Query text. Article Search uses this to store the input query used to generate the search results.
string query = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for query to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setQuerySource(RuntimeAnnotation.UserInput.QuerySource value)
public RuntimeAnnotation.UserInput.Builder setQuerySource(RuntimeAnnotation.UserInput.QuerySource value)
Query source for the answer.
.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource query_source = 3;
Parameter | |
---|---|
Name | Description |
value |
RuntimeAnnotation.UserInput.QuerySource The querySource to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setQuerySourceValue(int value)
public RuntimeAnnotation.UserInput.Builder setQuerySourceValue(int value)
Query source for the answer.
.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource query_source = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for querySource to set. |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeAnnotation.UserInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeAnnotation.UserInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeAnnotation.UserInput.Builder |