public static final class CreateSessionEntityTypeRequest.Builder extends GeneratedMessage.Builder<CreateSessionEntityTypeRequest.Builder> implements CreateSessionEntityTypeRequestOrBuilderThe request message for SessionEntityTypes.CreateSessionEntityType.
Protobuf type google.cloud.dialogflow.cx.v3beta1.CreateSessionEntityTypeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateSessionEntityTypeRequest.BuilderImplements
CreateSessionEntityTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateSessionEntityTypeRequest build()| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest |
|
buildPartial()
public CreateSessionEntityTypeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest |
|
clear()
public CreateSessionEntityTypeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
clearParent()
public CreateSessionEntityTypeRequest.Builder clearParent() Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
This builder for chaining. |
clearSessionEntityType()
public CreateSessionEntityTypeRequest.Builder clearSessionEntityType()Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
getDefaultInstanceForType()
public CreateSessionEntityTypeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSessionEntityType()
public SessionEntityType getSessionEntityType()Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionEntityType |
The sessionEntityType. |
getSessionEntityTypeBuilder()
public SessionEntityType.Builder getSessionEntityTypeBuilder()Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionEntityType.Builder |
|
getSessionEntityTypeOrBuilder()
public SessionEntityTypeOrBuilder getSessionEntityTypeOrBuilder()Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionEntityTypeOrBuilder |
|
hasSessionEntityType()
public boolean hasSessionEntityType()Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sessionEntityType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateSessionEntityTypeRequest other)
public CreateSessionEntityTypeRequest.Builder mergeFrom(CreateSessionEntityTypeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateSessionEntityTypeRequest |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateSessionEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateSessionEntityTypeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
mergeSessionEntityType(SessionEntityType value)
public CreateSessionEntityTypeRequest.Builder mergeSessionEntityType(SessionEntityType value)Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionEntityType |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
setParent(String value)
public CreateSessionEntityTypeRequest.Builder setParent(String value) Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateSessionEntityTypeRequest.Builder setParentBytes(ByteString value) Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
This builder for chaining. |
setSessionEntityType(SessionEntityType value)
public CreateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType value)Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionEntityType |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|
setSessionEntityType(SessionEntityType.Builder builderForValue)
public CreateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType.Builder builderForValue)Required. The session entity type to create.
.google.cloud.dialogflow.cx.v3beta1.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SessionEntityType.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateSessionEntityTypeRequest.Builder |
|