public static final class ConversationContext.Builder extends GeneratedMessageV3.Builder<ConversationContext.Builder> implements ConversationContextOrBuilder
Context of the conversation, including transcripts.
Protobuf type google.cloud.dialogflow.v2.ConversationContext
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMessageEntries(Iterable<? extends MessageEntry> values)
public ConversationContext.Builder addAllMessageEntries(Iterable<? extends MessageEntry> values)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.MessageEntry>
|
addMessageEntries(MessageEntry value)
public ConversationContext.Builder addMessageEntries(MessageEntry value)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addMessageEntries(MessageEntry.Builder builderForValue)
public ConversationContext.Builder addMessageEntries(MessageEntry.Builder builderForValue)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addMessageEntries(int index, MessageEntry value)
public ConversationContext.Builder addMessageEntries(int index, MessageEntry value)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addMessageEntries(int index, MessageEntry.Builder builderForValue)
public ConversationContext.Builder addMessageEntries(int index, MessageEntry.Builder builderForValue)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addMessageEntriesBuilder()
public MessageEntry.Builder addMessageEntriesBuilder()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
addMessageEntriesBuilder(int index)
public MessageEntry.Builder addMessageEntriesBuilder(int index)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConversationContext build()
buildPartial()
public ConversationContext buildPartial()
clear()
public ConversationContext.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConversationContext.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessageEntries()
public ConversationContext.Builder clearMessageEntries()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ConversationContext.Builder clone()
Overrides
getDefaultInstanceForType()
public ConversationContext getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessageEntries(int index)
public MessageEntry getMessageEntries(int index)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getMessageEntriesBuilder(int index)
public MessageEntry.Builder getMessageEntriesBuilder(int index)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getMessageEntriesBuilderList()
public List<MessageEntry.Builder> getMessageEntriesBuilderList()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
getMessageEntriesCount()
public int getMessageEntriesCount()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getMessageEntriesList()
public List<MessageEntry> getMessageEntriesList()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
getMessageEntriesOrBuilder(int index)
public MessageEntryOrBuilder getMessageEntriesOrBuilder(int index)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getMessageEntriesOrBuilderList()
public List<? extends MessageEntryOrBuilder> getMessageEntriesOrBuilderList()
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.MessageEntryOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConversationContext other)
public ConversationContext.Builder mergeFrom(ConversationContext other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConversationContext.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessageEntries(int index)
public ConversationContext.Builder removeMessageEntries(int index)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessageEntries(int index, MessageEntry value)
public ConversationContext.Builder setMessageEntries(int index, MessageEntry value)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
setMessageEntries(int index, MessageEntry.Builder builderForValue)
public ConversationContext.Builder setMessageEntries(int index, MessageEntry.Builder builderForValue)
Optional. List of message transcripts in the conversation.
repeated .google.cloud.dialogflow.v2.MessageEntry message_entries = 1 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides