Class PlaybookOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
com.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.Builder
- All Implemented Interfaces:
PlaybookOutputOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PlaybookOutput
public static final class PlaybookOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
implements PlaybookOutputOrBuilder
Output of the playbook.Protobuf type
google.cloud.dialogflow.cx.v3beta1.PlaybookOutput-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated.com.google.protobuf.StructOptional.com.google.protobuf.Struct.BuilderOptional.com.google.protobuf.StructOrBuilderOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getState()Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated.intDeprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeActionParameters(com.google.protobuf.Struct value) Optional.mergeFrom(PlaybookOutput other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionParameters(com.google.protobuf.Struct value) Optional.setActionParameters(com.google.protobuf.Struct.Builder builderForValue) Optional.setExecutionSummary(String value) Optional.setExecutionSummaryBytes(com.google.protobuf.ByteString value) Optional.setState(PlaybookOutput.State value) Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated.setStateValue(int value) Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlaybookOutput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PlaybookOutput.Builder>
-
mergeFrom
public PlaybookOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlaybookOutput.Builder>- Throws:
IOException
-
getExecutionSummary
Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionSummaryin interfacePlaybookOutputOrBuilder- Returns:
- The executionSummary.
-
getExecutionSummaryBytes
public com.google.protobuf.ByteString getExecutionSummaryBytes()Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionSummaryBytesin interfacePlaybookOutputOrBuilder- Returns:
- The bytes for executionSummary.
-
setExecutionSummary
Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The executionSummary to set.- Returns:
- This builder for chaining.
-
clearExecutionSummary
Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setExecutionSummaryBytes
Optional. Summary string of the execution result of the child playbook.
string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for executionSummary to set.- Returns:
- This builder for chaining.
-
getStateValue
Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];- Specified by:
getStateValuein interfacePlaybookOutputOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];- Specified by:
getStatein interfacePlaybookOutputOrBuilder- Returns:
- The state.
-
setState
Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Deprecated.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.state is deprecated. See google/cloud/dialogflow/cx/v3beta1/trace.proto;l=526End state of the playbook.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State state = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasActionParametersin interfacePlaybookOutputOrBuilder- Returns:
- Whether the actionParameters field is set.
-
getActionParameters
public com.google.protobuf.Struct getActionParameters()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionParametersin interfacePlaybookOutputOrBuilder- Returns:
- The actionParameters.
-
setActionParameters
Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setActionParameters
public PlaybookOutput.Builder setActionParameters(com.google.protobuf.Struct.Builder builderForValue) Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeActionParameters
Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearActionParameters
Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getActionParametersBuilder
public com.google.protobuf.Struct.Builder getActionParametersBuilder()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getActionParametersOrBuilder
public com.google.protobuf.StructOrBuilder getActionParametersOrBuilder()Optional. A Struct object of output parameters for the action.
.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionParametersOrBuilderin interfacePlaybookOutputOrBuilder
-