public static final class RuntimeAnnotation.UserInput.Builder extends GeneratedMessage.Builder<RuntimeAnnotation.UserInput.Builder> implements RuntimeAnnotation.UserInputOrBuilderExplicit input used for generating the answer
Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RuntimeAnnotation.UserInput.BuilderImplements
RuntimeAnnotation.UserInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 GeneratedMessage.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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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.QuerySourceThe 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 |
intThe enum numeric value on the wire for querySource to set. |
| Returns | |
|---|---|
| Type | Description |
RuntimeAnnotation.UserInput.Builder |
This builder for chaining. |