Class AgentAssistantFeedback.SummarizationFeedback.Builder (4.55.0)

public static final class AgentAssistantFeedback.SummarizationFeedback.Builder extends GeneratedMessageV3.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder> implements AgentAssistantFeedback.SummarizationFeedbackOrBuilder

Feedback for conversation summarization.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantFeedback.SummarizationFeedback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AgentAssistantFeedback.SummarizationFeedback.Builder clear()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AgentAssistantFeedback.SummarizationFeedback.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentAssistantFeedback.SummarizationFeedback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

clearStartTime()

public AgentAssistantFeedback.SummarizationFeedback.Builder clearStartTime()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

clearSubmitTime()

public AgentAssistantFeedback.SummarizationFeedback.Builder clearSubmitTime()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

clearSummaryText()

public AgentAssistantFeedback.SummarizationFeedback.Builder clearSummaryText()

Text of actual submitted summary.

string summary_text = 3;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

This builder for chaining.

clearTextSections()

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

clone()

public AgentAssistantFeedback.SummarizationFeedback.Builder clone()
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableTextSections() (deprecated)

public Map<String,String> getMutableTextSections()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getStartTime()

public Timestamp getStartTime()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

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.

getSubmitTimeBuilder()

public Timestamp.Builder getSubmitTimeBuilder()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
Builder

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentAssistantFeedback.SummarizationFeedback other)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(AgentAssistantFeedback.SummarizationFeedback other)
Parameter
Name Description
other AgentAssistantFeedback.SummarizationFeedback
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

mergeStartTime(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeStartTime(Timestamp value)

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

mergeSubmitTime(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeSubmitTime(Timestamp value)

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantFeedback.SummarizationFeedback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

putAllTextSections(Map<String,String> values)

public AgentAssistantFeedback.SummarizationFeedback.Builder putAllTextSections(Map<String,String> values)

Optional. Actual text sections of submitted summary.

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

putTextSections(String key, String value)

public AgentAssistantFeedback.SummarizationFeedback.Builder putTextSections(String key, String value)

Optional. Actual text sections of submitted summary.

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

Parameters
Name Description
key String
value String
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

removeTextSections(String key)

public AgentAssistantFeedback.SummarizationFeedback.Builder removeTextSections(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
AgentAssistantFeedback.SummarizationFeedback.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides

setStartTime(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTime(Timestamp value)

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

setStartTime(Timestamp.Builder builderForValue)

public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTime(Timestamp.Builder builderForValue)

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

setSubmitTime(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTime(Timestamp value)

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

setSubmitTime(Timestamp.Builder builderForValue)

public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTime(Timestamp.Builder builderForValue)

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

setSummaryText(String value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setSummaryText(String value)

Text of actual submitted summary.

string summary_text = 3;

Parameter
Name Description
value String

The summaryText to set.

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

This builder for chaining.

setSummaryTextBytes(ByteString value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setSummaryTextBytes(ByteString value)

Text of actual submitted summary.

string summary_text = 3;

Parameter
Name Description
value ByteString

The bytes for summaryText to set.

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentAssistantFeedback.SummarizationFeedback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder
Overrides