public static final class PlaybookOutput.Builder extends GeneratedMessage.Builder<PlaybookOutput.Builder> implements PlaybookOutputOrBuilderOutput of the playbook.
Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookOutput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PlaybookOutput.BuilderImplements
PlaybookOutputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PlaybookOutput build()| Returns | |
|---|---|
| Type | Description |
PlaybookOutput |
|
buildPartial()
public PlaybookOutput buildPartial()| Returns | |
|---|---|
| Type | Description |
PlaybookOutput |
|
clear()
public PlaybookOutput.Builder clear()| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
clearActionParameters()
public PlaybookOutput.Builder clearActionParameters()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
clearExecutionSummary()
public PlaybookOutput.Builder clearExecutionSummary()Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |
clearState() (deprecated)
public PlaybookOutput.Builder clearState()Deprecated. google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |
getActionParameters()
public Struct getActionParameters()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The actionParameters. |
getActionParametersBuilder()
public Struct.Builder getActionParametersBuilder()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getActionParametersOrBuilder()
public StructOrBuilder getActionParametersOrBuilder()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public PlaybookOutput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PlaybookOutput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExecutionSummary()
public String getExecutionSummary()Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The executionSummary. |
getExecutionSummaryBytes()
public ByteString getExecutionSummaryBytes()Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for executionSummary. |
getState() (deprecated)
public PlaybookOutput.State getState()Deprecated. google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.State |
The state. |
getStateValue() (deprecated)
public int getStateValue()Deprecated. google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasActionParameters()
public boolean hasActionParameters()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the actionParameters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeActionParameters(Struct value)
public PlaybookOutput.Builder mergeActionParameters(Struct value)Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
mergeFrom(PlaybookOutput other)
public PlaybookOutput.Builder mergeFrom(PlaybookOutput other)| Parameter | |
|---|---|
| Name | Description |
other |
PlaybookOutput |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PlaybookOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PlaybookOutput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
setActionParameters(Struct value)
public PlaybookOutput.Builder setActionParameters(Struct value)Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
setActionParameters(Struct.Builder builderForValue)
public PlaybookOutput.Builder setActionParameters(Struct.Builder builderForValue)Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
|
setExecutionSummary(String value)
public PlaybookOutput.Builder setExecutionSummary(String value)Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe executionSummary to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |
setExecutionSummaryBytes(ByteString value)
public PlaybookOutput.Builder setExecutionSummaryBytes(ByteString value)Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for executionSummary to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |
setState(PlaybookOutput.State value) (deprecated)
public PlaybookOutput.Builder setState(PlaybookOutput.State value)Deprecated. google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
PlaybookOutput.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |
setStateValue(int value) (deprecated)
public PlaybookOutput.Builder setStateValue(int value)Deprecated. google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=449
End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookOutput.Builder |
This builder for chaining. |