Class RuntimeAnnotation.UserInput (2.54.0)

public static final class RuntimeAnnotation.UserInput extends GeneratedMessageV3 implements RuntimeAnnotation.UserInputOrBuilder

Explicit input used for generating the answer

Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput

Static Fields

GENERATOR_NAME_FIELD_NUMBER

public static final int GENERATOR_NAME_FIELD_NUMBER
Field Value
Type Description
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
Type Description
int

QUERY_SOURCE_FIELD_NUMBER

public static final int QUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuntimeAnnotation.UserInput getDefaultInstance()
Returns
Type Description
RuntimeAnnotation.UserInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RuntimeAnnotation.UserInput.Builder newBuilder()
Returns
Type Description
RuntimeAnnotation.UserInput.Builder

newBuilder(RuntimeAnnotation.UserInput prototype)

public static RuntimeAnnotation.UserInput.Builder newBuilder(RuntimeAnnotation.UserInput prototype)
Parameter
Name Description
prototype RuntimeAnnotation.UserInput
Returns
Type Description
RuntimeAnnotation.UserInput.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeAnnotation.UserInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuntimeAnnotation.UserInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeAnnotation.UserInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeAnnotation.UserInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuntimeAnnotation.UserInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuntimeAnnotation.UserInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation.UserInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.UserInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuntimeAnnotation.UserInput> parser()
Returns
Type Description
Parser<UserInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RuntimeAnnotation.UserInput getDefaultInstanceForType()
Returns
Type Description
RuntimeAnnotation.UserInput

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.

getParserForType()

public Parser<RuntimeAnnotation.UserInput> getParserForType()
Returns
Type Description
Parser<UserInput>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RuntimeAnnotation.UserInput.Builder newBuilderForType()
Returns
Type Description
RuntimeAnnotation.UserInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeAnnotation.UserInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuntimeAnnotation.UserInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RuntimeAnnotation.UserInput.Builder toBuilder()
Returns
Type Description
RuntimeAnnotation.UserInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException