Package com.google.cloud.dialogflow.v2
Interface Conversation.ContextReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Conversation.ContextReference,Conversation.ContextReference.Builder
- Enclosing class:
- Conversation
public static interface Conversation.ContextReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetContextContents(int index) Required.intRequired.Required.getContextContentsOrBuilder(int index) Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Required.intRequired.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getContextContentsList
List<Conversation.ContextReference.ContextContent> getContextContentsList()Required. The list of content updates for a context reference.
repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED]; -
getContextContents
Required. The list of content updates for a context reference.
repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED]; -
getContextContentsCount
int getContextContentsCount()Required. The list of content updates for a context reference.
repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED]; -
getContextContentsOrBuilderList
List<? extends Conversation.ContextReference.ContextContentOrBuilder> getContextContentsOrBuilderList()Required. The list of content updates for a context reference.
repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED]; -
getContextContentsOrBuilder
Required. The list of content updates for a context reference.
repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED]; -
getUpdateModeValue
int getUpdateModeValue()Required. The mode in which context reference contents are updated.
.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for updateMode.
-
getUpdateMode
Conversation.ContextReference.UpdateMode getUpdateMode()Required. The mode in which context reference contents are updated.
.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The updateMode.
-
getLanguageCode
String getLanguageCode()Optional. The language of the information ingested, defaults to "en-US" if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The language of the information ingested, defaults to "en-US" if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
hasCreateTime
boolean hasCreateTime()Output only. The time the context reference was first created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time the context reference was first created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the context reference was first created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-