Class AgentAssistantFeedback.SummarizationFeedback.Builder (4.49.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.v2beta1.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

clearStartTimestamp()

public AgentAssistantFeedback.SummarizationFeedback.Builder clearStartTimestamp()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback.Builder

clearSubmitTimestamp()

public AgentAssistantFeedback.SummarizationFeedback.Builder clearSubmitTimestamp()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 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>

getStartTimestamp()

public Timestamp getStartTimestamp()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

Returns
Type Description
Timestamp

The startTimestamp.

getStartTimestampBuilder()

public Timestamp.Builder getStartTimestampBuilder()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

Returns
Type Description
Builder

getStartTimestampOrBuilder()

public TimestampOrBuilder getStartTimestampOrBuilder()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

Returns
Type Description
TimestampOrBuilder

getSubmitTimestamp()

public Timestamp getSubmitTimestamp()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 2;

Returns
Type Description
Timestamp

The submitTimestamp.

getSubmitTimestampBuilder()

public Timestamp.Builder getSubmitTimestampBuilder()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 2;

Returns
Type Description
Builder

getSubmitTimestampOrBuilder()

public TimestampOrBuilder getSubmitTimestampOrBuilder()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 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

hasStartTimestamp()

public boolean hasStartTimestamp()

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

Returns
Type Description
boolean

Whether the startTimestamp field is set.

hasSubmitTimestamp()

public boolean hasSubmitTimestamp()

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 2;

Returns
Type Description
boolean

Whether the submitTimestamp 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

mergeStartTimestamp(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeStartTimestamp(Timestamp value)

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

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

mergeSubmitTimestamp(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder mergeSubmitTimestamp(Timestamp value)

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 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

setStartTimestamp(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTimestamp(Timestamp value)

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

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

setStartTimestamp(Timestamp.Builder builderForValue)

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

Timestamp when composing of the summary starts.

.google.protobuf.Timestamp start_timestamp = 1;

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

setSubmitTimestamp(Timestamp value)

public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTimestamp(Timestamp value)

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 2;

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

setSubmitTimestamp(Timestamp.Builder builderForValue)

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

Timestamp when the summary was submitted.

.google.protobuf.Timestamp submit_timestamp = 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