public interface CreateContextRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getContext()
public abstract Context getContext()
Required. The context to create.
.google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Context | The context. |
getContextOrBuilder()
public abstract ContextOrBuilder getContextOrBuilder()
Required. The context to create.
.google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ContextOrBuilder |
getParent()
public abstract String getParent()
Required. The session to create a context for.
Format: projects/<Project ID>/agent/sessions/<Session ID>
or
projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment. If User ID
is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The session to create a context for.
Format: projects/<Project ID>/agent/sessions/<Session ID>
or
projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment. If User ID
is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
hasContext()
public abstract boolean hasContext()
Required. The context to create.
.google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the context field is set. |