Class AgentAssistantFeedback.SummarizationFeedback (4.51.0)

public static final class AgentAssistantFeedback.SummarizationFeedback extends GeneratedMessageV3 implements AgentAssistantFeedback.SummarizationFeedbackOrBuilder

Feedback for conversation summarization.

Protobuf type google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AgentAssistantFeedback.SummarizationFeedback

Static Fields

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

SUBMIT_TIME_FIELD_NUMBER

public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
Type Description
int

SUMMARY_TEXT_FIELD_NUMBER

public static final int SUMMARY_TEXT_FIELD_NUMBER
Field Value
Type Description
int

TEXT_SECTIONS_FIELD_NUMBER

public static final int TEXT_SECTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentAssistantFeedback.SummarizationFeedback getDefaultInstance()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback

getDescriptor()

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

newBuilder()

public static AgentAssistantFeedback.SummarizationFeedback.Builder newBuilder()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

newBuilder(AgentAssistantFeedback.SummarizationFeedback prototype)

public static AgentAssistantFeedback.SummarizationFeedback.Builder newBuilder(AgentAssistantFeedback.SummarizationFeedback prototype)
Parameter
Name Description
prototype AgentAssistantFeedback.SummarizationFeedback
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

parseDelimitedFrom(InputStream input)

public static AgentAssistantFeedback.SummarizationFeedback parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AgentAssistantFeedback.SummarizationFeedback parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AgentAssistantFeedback.SummarizationFeedback parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AgentAssistantFeedback.SummarizationFeedback parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AgentAssistantFeedback.SummarizationFeedback parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AgentAssistantFeedback.SummarizationFeedback> parser()
Returns
Type Description
Parser<SummarizationFeedback>

Methods

containsTextSections(String key)

public boolean containsTextSections(String key)

Optional. Actual text sections of submitted summary.

map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public AgentAssistantFeedback.SummarizationFeedback getDefaultInstanceForType()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback

getParserForType()

public Parser<AgentAssistantFeedback.SummarizationFeedback> getParserForType()
Returns
Type Description
Parser<SummarizationFeedback>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getSubmitTime()

public Timestamp getSubmitTime()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
Timestamp

The submitTime.

getSubmitTimeOrBuilder()

public TimestampOrBuilder getSubmitTimeOrBuilder()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
TimestampOrBuilder

getSummaryText()

public String getSummaryText()

Text of actual submitted summary.

string summary_text = 3;

Returns
Type Description
String

The summaryText.

getSummaryTextBytes()

public ByteString getSummaryTextBytes()

Text of actual submitted summary.

string summary_text = 3;

Returns
Type Description
ByteString

The bytes for summaryText.

getTextSections() (deprecated)

public Map<String,String> getTextSections()

Use #getTextSectionsMap() instead.

Returns
Type Description
Map<String,String>

getTextSectionsCount()

public int getTextSectionsCount()

Optional. Actual text sections of submitted summary.

map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTextSectionsMap()

public Map<String,String> getTextSectionsMap()

Optional. Actual text sections of submitted summary.

map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getTextSectionsOrDefault(String key, String defaultValue)

public String getTextSectionsOrDefault(String key, String defaultValue)

Optional. Actual text sections of submitted summary.

map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTextSectionsOrThrow(String key)

public String getTextSectionsOrThrow(String key)

Optional. Actual text sections of submitted summary.

map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

hasStartTime()

public boolean hasStartTime()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasSubmitTime()

public boolean hasSubmitTime()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
boolean

Whether the submitTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentAssistantFeedback.SummarizationFeedback.Builder newBuilderForType()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentAssistantFeedback.SummarizationFeedback.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AgentAssistantFeedback.SummarizationFeedback.Builder toBuilder()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

writeTo(CodedOutputStream output)

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