- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
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 |