Class GenerateStatelessSummaryRequest.MinimalConversation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
- com.google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation.Builder
-
- All Implemented Interfaces:
GenerateStatelessSummaryRequest.MinimalConversationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateStatelessSummaryRequest.MinimalConversation
public static final class GenerateStatelessSummaryRequest.MinimalConversation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder> implements GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
The minimum amount of information required to generate a Summary without having a Conversation resource created.
Protobuf typegoogle.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
clear
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.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.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
getDefaultInstanceForType
public GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GenerateStatelessSummaryRequest.MinimalConversation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GenerateStatelessSummaryRequest.MinimalConversation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
setField
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
clearField
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
clearOneof
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
setRepeatedField
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
addRepeatedField
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
mergeFrom
public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
mergeFrom
public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(GenerateStatelessSummaryRequest.MinimalConversation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
mergeFrom
public GenerateStatelessSummaryRequest.MinimalConversation.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<GenerateStatelessSummaryRequest.MinimalConversation.Builder>- Throws:
IOException
-
getMessagesList
public List<Message> getMessagesList()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessagesListin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder
-
getMessagesCount
public int getMessagesCount()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessagesCountin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder
-
getMessages
public Message getMessages(int index)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessagesin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder
-
setMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages(int index, Message value)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
setMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages(int index, Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(Message value)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(int index, Message value)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(int index, Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addAllMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addAllMessages(Iterable<? extends Message> values)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearMessages()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
removeMessages
public GenerateStatelessSummaryRequest.MinimalConversation.Builder removeMessages(int index)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMessagesBuilder
public Message.Builder getMessagesBuilder(int index)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMessagesOrBuilder
public MessageOrBuilder getMessagesOrBuilder(int index)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessagesOrBuilderin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder
-
getMessagesOrBuilderList
public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessagesOrBuilderListin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder
-
addMessagesBuilder
public Message.Builder addMessagesBuilder()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMessagesBuilder
public Message.Builder addMessagesBuilder(int index)
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMessagesBuilderList
public List<Message.Builder> getMessagesBuilderList()
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.repeated .google.cloud.dialogflow.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
-
getParent
public String getParent()
Required. The parent resource to charge for the Summary's generation. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The parent resource to charge for the Summary's generation. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceGenerateStatelessSummaryRequest.MinimalConversationOrBuilder- Returns:
- The bytes for parent.
-
setParent
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setParent(String value)
Required. The parent resource to charge for the Summary's generation. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearParent()
Required. The parent resource to charge for the Summary's generation. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource to charge for the Summary's generation. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GenerateStatelessSummaryRequest.MinimalConversation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
mergeUnknownFields
public final GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
-
-