Class PlaybookInvocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PlaybookInvocation.Builder>
com.google.cloud.dialogflow.cx.v3beta1.PlaybookInvocation.Builder
- All Implemented Interfaces:
PlaybookInvocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PlaybookInvocation
public static final class PlaybookInvocation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PlaybookInvocation.Builder>
implements PlaybookInvocationOrBuilder
Stores metadata of the invocation of a child playbook. Playbook invocation actions enter the child playbook.Protobuf type
google.cloud.dialogflow.cx.v3beta1.PlaybookInvocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Required.Optional.Optional.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.Optional.Optional.Optional.Required.intRequired.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PlaybookInvocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePlaybookInput(PlaybookInput value) Optional.Optional.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setPlaybook(String value) Required.setPlaybookBytes(com.google.protobuf.ByteString value) Required.setPlaybookInput(PlaybookInput value) Optional.setPlaybookInput(PlaybookInput.Builder builderForValue) Optional.setPlaybookOutput(PlaybookOutput value) Optional.setPlaybookOutput(PlaybookOutput.Builder builderForValue) Optional.setPlaybookState(OutputState value) Required.setPlaybookStateValue(int value) Required.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<PlaybookInvocation.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<PlaybookInvocation.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<PlaybookInvocation.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<PlaybookInvocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PlaybookInvocation.Builder>
-
mergeFrom
public PlaybookInvocation.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<PlaybookInvocation.Builder>- Throws:
IOException
-
getPlaybook
Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getPlaybookin interfacePlaybookInvocationOrBuilder- Returns:
- The playbook.
-
getPlaybookBytes
public com.google.protobuf.ByteString getPlaybookBytes()Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getPlaybookBytesin interfacePlaybookInvocationOrBuilder- Returns:
- The bytes for playbook.
-
setPlaybook
Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The playbook to set.- Returns:
- This builder for chaining.
-
clearPlaybook
Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPlaybookBytes
Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for playbook to set.- Returns:
- This builder for chaining.
-
getDisplayName
Output only. The display name of the playbook.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfacePlaybookInvocationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of the playbook.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfacePlaybookInvocationOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The display name of the playbook.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The display name of the playbook.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The display name of the playbook.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasPlaybookInput
public boolean hasPlaybookInput()Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPlaybookInputin interfacePlaybookInvocationOrBuilder- Returns:
- Whether the playbookInput field is set.
-
getPlaybookInput
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInputin interfacePlaybookInvocationOrBuilder- Returns:
- The playbookInput.
-
setPlaybookInput
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookInput
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookInput
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookInput
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInputBuilder
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInputOrBuilder
Optional. Input of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInputOrBuilderin interfacePlaybookInvocationOrBuilder
-
hasPlaybookOutput
public boolean hasPlaybookOutput()Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPlaybookOutputin interfacePlaybookInvocationOrBuilder- Returns:
- Whether the playbookOutput field is set.
-
getPlaybookOutput
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookOutputin interfacePlaybookInvocationOrBuilder- Returns:
- The playbookOutput.
-
setPlaybookOutput
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookOutput
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookOutput
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookOutput
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookOutputBuilder
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookOutputOrBuilder
Optional. Output of the child playbook invocation.
.google.cloud.dialogflow.cx.v3beta1.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookOutputOrBuilderin interfacePlaybookInvocationOrBuilder
-
getPlaybookStateValue
public int getPlaybookStateValue()Required. Playbook invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlaybookStateValuein interfacePlaybookInvocationOrBuilder- Returns:
- The enum numeric value on the wire for playbookState.
-
setPlaybookStateValue
Required. Playbook invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for playbookState to set.- Returns:
- This builder for chaining.
-
getPlaybookState
Required. Playbook invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlaybookStatein interfacePlaybookInvocationOrBuilder- Returns:
- The playbookState.
-
setPlaybookState
Required. Playbook invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The playbookState to set.- Returns:
- This builder for chaining.
-
clearPlaybookState
Required. Playbook invocation's output state.
.google.cloud.dialogflow.cx.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-