Class AgentAssistantFeedback.SummarizationFeedback.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
com.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback.Builder
- All Implemented Interfaces:
AgentAssistantFeedback.SummarizationFeedbackOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AgentAssistantFeedback.SummarizationFeedback
public static final class AgentAssistantFeedback.SummarizationFeedback.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
implements AgentAssistantFeedback.SummarizationFeedbackOrBuilder
Feedback for conversation summarization.Protobuf type
google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Timestamp when composing of the summary starts.Timestamp when the summary was submitted.Text of actual submitted summary.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.com.google.protobuf.TimestampTimestamp when composing of the summary starts.com.google.protobuf.Timestamp.BuilderTimestamp when composing of the summary starts.com.google.protobuf.TimestampOrBuilderTimestamp when composing of the summary starts.com.google.protobuf.TimestampTimestamp when the summary was submitted.com.google.protobuf.Timestamp.BuilderTimestamp when the summary was submitted.com.google.protobuf.TimestampOrBuilderTimestamp when the summary was submitted.Text of actual submitted summary.com.google.protobuf.ByteStringText of actual submitted summary.Deprecated.intOptional.Optional.getTextSectionsOrDefault(String key, String defaultValue) Optional.Optional.booleanTimestamp when composing of the summary starts.booleanTimestamp when the summary was submitted.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTimestamp(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.mergeSubmitTimestamp(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.putAllTextSections(Map<String, String> values) Optional.putTextSections(String key, String value) Optional.removeTextSections(String key) Optional.setStartTimestamp(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when composing of the summary starts.setSubmitTimestamp(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.setSubmitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the summary was submitted.setSummaryText(String value) Text of actual submitted summary.setSummaryTextBytes(com.google.protobuf.ByteString value) Text of actual submitted summary.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
mergeFrom
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(AgentAssistantFeedback.SummarizationFeedback other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>
-
mergeFrom
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentAssistantFeedback.SummarizationFeedback.Builder>- Throws:
IOException
-
hasStartTimestamp
public boolean hasStartTimestamp()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1;- Specified by:
hasStartTimestampin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- Whether the startTimestamp field is set.
-
getStartTimestamp
public com.google.protobuf.Timestamp getStartTimestamp()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1;- Specified by:
getStartTimestampin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The startTimestamp.
-
setStartTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTimestamp(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1; -
setStartTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1; -
mergeStartTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeStartTimestamp(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1; -
clearStartTimestamp
Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1; -
getStartTimestampBuilder
public com.google.protobuf.Timestamp.Builder getStartTimestampBuilder()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1; -
getStartTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_timestamp = 1;- Specified by:
getStartTimestampOrBuilderin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
hasSubmitTimestamp
public boolean hasSubmitTimestamp()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2;- Specified by:
hasSubmitTimestampin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- Whether the submitTimestamp field is set.
-
getSubmitTimestamp
public com.google.protobuf.Timestamp getSubmitTimestamp()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2;- Specified by:
getSubmitTimestampin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The submitTimestamp.
-
setSubmitTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTimestamp(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2; -
setSubmitTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2; -
mergeSubmitTimestamp
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeSubmitTimestamp(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2; -
clearSubmitTimestamp
Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2; -
getSubmitTimestampBuilder
public com.google.protobuf.Timestamp.Builder getSubmitTimestampBuilder()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2; -
getSubmitTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getSubmitTimestampOrBuilder()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_timestamp = 2;- Specified by:
getSubmitTimestampOrBuilderin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
getSummaryText
Text of actual submitted summary.
string summary_text = 3;- Specified by:
getSummaryTextin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The summaryText.
-
getSummaryTextBytes
public com.google.protobuf.ByteString getSummaryTextBytes()Text of actual submitted summary.
string summary_text = 3;- Specified by:
getSummaryTextBytesin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The bytes for summaryText.
-
setSummaryText
Text of actual submitted summary.
string summary_text = 3;- Parameters:
value- The summaryText to set.- Returns:
- This builder for chaining.
-
clearSummaryText
Text of actual submitted summary.
string summary_text = 3;- Returns:
- This builder for chaining.
-
setSummaryTextBytes
public AgentAssistantFeedback.SummarizationFeedback.Builder setSummaryTextBytes(com.google.protobuf.ByteString value) Text of actual submitted summary.
string summary_text = 3;- Parameters:
value- The bytes for summaryText to set.- Returns:
- This builder for chaining.
-
getTextSectionsCount
public int getTextSectionsCount()Description copied from interface:AgentAssistantFeedback.SummarizationFeedbackOrBuilderOptional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTextSectionsCountin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
containsTextSections
Optional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsTextSectionsin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
getTextSections
Deprecated.UsegetTextSectionsMap()instead.- Specified by:
getTextSectionsin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
getTextSectionsMap
Optional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTextSectionsMapin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
getTextSectionsOrDefault
Optional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTextSectionsOrDefaultin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
getTextSectionsOrThrow
Optional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTextSectionsOrThrowin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
clearTextSections
-
removeTextSections
Optional. Actual text sections of submitted summary.
map<string, string> text_sections = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableTextSections
Deprecated.Use alternate mutation accessors instead. -
putTextSections
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]; -
putAllTextSections
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];
-