Class PlaybookInput (0.55.0)

public final class PlaybookInput extends GeneratedMessageV3 implements PlaybookInputOrBuilder

Input of the playbook.

Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookInput

Static Fields

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

PRECEDING_CONVERSATION_SUMMARY_FIELD_NUMBER

public static final int PRECEDING_CONVERSATION_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlaybookInput getDefaultInstance()
Returns
Type Description
PlaybookInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PlaybookInput.Builder newBuilder()
Returns
Type Description
PlaybookInput.Builder

newBuilder(PlaybookInput prototype)

public static PlaybookInput.Builder newBuilder(PlaybookInput prototype)
Parameter
Name Description
prototype PlaybookInput
Returns
Type Description
PlaybookInput.Builder

parseDelimitedFrom(InputStream input)

public static PlaybookInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PlaybookInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlaybookInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlaybookInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PlaybookInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PlaybookInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlaybookInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlaybookInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PlaybookInput> parser()
Returns
Type Description
Parser<PlaybookInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PlaybookInput getDefaultInstanceForType()
Returns
Type Description
PlaybookInput

getParameters(int index)

public ActionParameter getParameters(int index)

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameter

getParametersCount()

public int getParametersCount()

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersList()

public List<ActionParameter> getParametersList()

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ActionParameter>

getParametersOrBuilder(int index)

public ActionParameterOrBuilder getParametersOrBuilder(int index)

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ActionParameterOrBuilder> getParametersOrBuilderList()

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

getParserForType()

public Parser<PlaybookInput> getParserForType()
Returns
Type Description
Parser<PlaybookInput>
Overrides

getPrecedingConversationSummary()

public String getPrecedingConversationSummary()

Optional. Summary string of the preceding conversation for the child playbook invocation.

string preceding_conversation_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The precedingConversationSummary.

getPrecedingConversationSummaryBytes()

public ByteString getPrecedingConversationSummaryBytes()

Optional. Summary string of the preceding conversation for the child playbook invocation.

string preceding_conversation_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for precedingConversationSummary.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PlaybookInput.Builder newBuilderForType()
Returns
Type Description
PlaybookInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlaybookInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlaybookInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PlaybookInput.Builder toBuilder()
Returns
Type Description
PlaybookInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException