Interface Conversation.ContextReferenceOrBuilder (4.66.0)

public static interface Conversation.ContextReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextContents(int index)

public abstract Conversation.ContextReference.ContextContent getContextContents(int index)

Required. The list of content updates for a context reference.

repeated .google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Conversation.ContextReference.ContextContent

getContextContentsCount()

public abstract int getContextContentsCount()

Required. The list of content updates for a context reference.

repeated .google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getContextContentsList()

public abstract List<Conversation.ContextReference.ContextContent> getContextContentsList()

Required. The list of content updates for a context reference.

repeated .google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ContextContent>

getContextContentsOrBuilder(int index)

public abstract Conversation.ContextReference.ContextContentOrBuilder getContextContentsOrBuilder(int index)

Required. The list of content updates for a context reference.

repeated .google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Conversation.ContextReference.ContextContentOrBuilder

getContextContentsOrBuilderList()

public abstract List<? extends Conversation.ContextReference.ContextContentOrBuilder> getContextContentsOrBuilderList()

Required. The list of content updates for a context reference.

repeated .google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Conversation.ContextReference.ContextContentOrBuilder>

getCreateTime()

public abstract 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
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the context reference was first created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLanguageCode()

public abstract 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
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract 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
Type Description
ByteString

The bytes for languageCode.

getUpdateMode()

public abstract Conversation.ContextReference.UpdateMode getUpdateMode()

Required. The mode in which context reference contents are updated.

.google.cloud.dialogflow.v2beta1.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Conversation.ContextReference.UpdateMode

The updateMode.

getUpdateModeValue()

public abstract int getUpdateModeValue()

Required. The mode in which context reference contents are updated.

.google.cloud.dialogflow.v2beta1.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for updateMode.

hasCreateTime()

public abstract 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
Type Description
boolean

Whether the createTime field is set.