Package com.google.cloud.dialogflow.v2
Class GenerateStatelessSummaryResponse.Summary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryResponse.Summary.Builder>
com.google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary.Builder
- All Implemented Interfaces:
GenerateStatelessSummaryResponse.SummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateStatelessSummaryResponse.Summary
public static final class GenerateStatelessSummaryResponse.Summary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryResponse.Summary.Builder>
implements GenerateStatelessSummaryResponse.SummaryOrBuilder
Generated summary for a conversation.Protobuf type
google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The baseline model version used to generate this summary.The summary content that is concatenated into one string.booleanThe summary content that is divided into sections.The baseline model version used to generate this summary.com.google.protobuf.ByteStringThe baseline model version used to generate this summary.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.getText()The summary content that is concatenated into one string.com.google.protobuf.ByteStringThe summary content that is concatenated into one string.Deprecated.intThe summary content that is divided into sections.The summary content that is divided into sections.getTextSectionsOrDefault(String key, String defaultValue) The summary content that is divided into sections.The summary content that is divided into sections.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) putAllTextSections(Map<String, String> values) The summary content that is divided into sections.putTextSections(String key, String value) The summary content that is divided into sections.removeTextSections(String key) The summary content that is divided into sections.setBaselineModelVersion(String value) The baseline model version used to generate this summary.setBaselineModelVersionBytes(com.google.protobuf.ByteString value) The baseline model version used to generate this summary.The summary content that is concatenated into one string.setTextBytes(com.google.protobuf.ByteString value) The summary content that is concatenated into one string.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<GenerateStatelessSummaryResponse.Summary.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryResponse.Summary.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryResponse.Summary.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<GenerateStatelessSummaryResponse.Summary.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<GenerateStatelessSummaryResponse.Summary.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 GenerateStatelessSummaryResponse.Summary.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateStatelessSummaryResponse.Summary.Builder>
-
mergeFrom
public GenerateStatelessSummaryResponse.Summary.Builder mergeFrom(GenerateStatelessSummaryResponse.Summary other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryResponse.Summary.Builder>
-
mergeFrom
public GenerateStatelessSummaryResponse.Summary.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<GenerateStatelessSummaryResponse.Summary.Builder>- Throws:
IOException
-
getText
The summary content that is concatenated into one string.
string text = 1;- Specified by:
getTextin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()The summary content that is concatenated into one string.
string text = 1;- Specified by:
getTextBytesin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder- Returns:
- The bytes for text.
-
setText
The summary content that is concatenated into one string.
string text = 1;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
The summary content that is concatenated into one string.
string text = 1;- Returns:
- This builder for chaining.
-
setTextBytes
public GenerateStatelessSummaryResponse.Summary.Builder setTextBytes(com.google.protobuf.ByteString value) The summary content that is concatenated into one string.
string text = 1;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
getTextSectionsCount
public int getTextSectionsCount()Description copied from interface:GenerateStatelessSummaryResponse.SummaryOrBuilderThe summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2;- Specified by:
getTextSectionsCountin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
containsTextSections
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2;- Specified by:
containsTextSectionsin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
getTextSections
Deprecated.UsegetTextSectionsMap()instead.- Specified by:
getTextSectionsin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
getTextSectionsMap
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2;- Specified by:
getTextSectionsMapin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
getTextSectionsOrDefault
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2;- Specified by:
getTextSectionsOrDefaultin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
getTextSectionsOrThrow
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2;- Specified by:
getTextSectionsOrThrowin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder
-
clearTextSections
-
removeTextSections
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2; -
getMutableTextSections
Deprecated.Use alternate mutation accessors instead. -
putTextSections
The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2; -
putAllTextSections
public GenerateStatelessSummaryResponse.Summary.Builder putAllTextSections(Map<String, String> values) The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 2; -
getBaselineModelVersion
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 4;- Specified by:
getBaselineModelVersionin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder- Returns:
- The baselineModelVersion.
-
getBaselineModelVersionBytes
public com.google.protobuf.ByteString getBaselineModelVersionBytes()The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 4;- Specified by:
getBaselineModelVersionBytesin interfaceGenerateStatelessSummaryResponse.SummaryOrBuilder- Returns:
- The bytes for baselineModelVersion.
-
setBaselineModelVersion
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 4;- Parameters:
value- The baselineModelVersion to set.- Returns:
- This builder for chaining.
-
clearBaselineModelVersion
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 4;- Returns:
- This builder for chaining.
-
setBaselineModelVersionBytes
public GenerateStatelessSummaryResponse.Summary.Builder setBaselineModelVersionBytes(com.google.protobuf.ByteString value) The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 4;- Parameters:
value- The bytes for baselineModelVersion to set.- Returns:
- This builder for chaining.
-