Package com.google.cloud.dialogflow.v2
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.v2.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.v2.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) mergeStartTime(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.mergeSubmitTime(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.setStartTime(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when composing of the summary starts.setSubmitTime(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.setSubmitTime(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
-
hasStartTime
public boolean hasStartTime()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1;- Specified by:
hasStartTimein interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimein interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The startTime.
-
setStartTime
public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTime(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1; -
setStartTime
public AgentAssistantFeedback.SummarizationFeedback.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1; -
mergeStartTime
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeStartTime(com.google.protobuf.Timestamp value) Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1; -
clearStartTime
Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Timestamp when composing of the summary starts.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimeOrBuilderin interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder
-
hasSubmitTime
public boolean hasSubmitTime()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2;- Specified by:
hasSubmitTimein interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- Whether the submitTime field is set.
-
getSubmitTime
public com.google.protobuf.Timestamp getSubmitTime()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2;- Specified by:
getSubmitTimein interfaceAgentAssistantFeedback.SummarizationFeedbackOrBuilder- Returns:
- The submitTime.
-
setSubmitTime
public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTime(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2; -
setSubmitTime
public AgentAssistantFeedback.SummarizationFeedback.Builder setSubmitTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2; -
mergeSubmitTime
public AgentAssistantFeedback.SummarizationFeedback.Builder mergeSubmitTime(com.google.protobuf.Timestamp value) Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2; -
clearSubmitTime
Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2; -
getSubmitTimeBuilder
public com.google.protobuf.Timestamp.Builder getSubmitTimeBuilder()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2; -
getSubmitTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()Timestamp when the summary was submitted.
.google.protobuf.Timestamp submit_time = 2;- Specified by:
getSubmitTimeOrBuilderin 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];
-