public static final class PlaybookInput.Builder extends GeneratedMessageV3.Builder<PlaybookInput.Builder> implements PlaybookInputOrBuilder
Input of the playbook.
Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public PlaybookInput.Builder addAllParameters(Iterable<? extends ActionParameter> values)
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 |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameter>
|
public PlaybookInput.Builder addParameters(ActionParameter value)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder addParameters(ActionParameter.Builder builderForValue)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder addParameters(int index, ActionParameter value)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder addParameters(int index, ActionParameter.Builder builderForValue)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public ActionParameter.Builder addParametersBuilder()
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public ActionParameter.Builder addParametersBuilder(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
|
public PlaybookInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PlaybookInput build()
public PlaybookInput buildPartial()
public PlaybookInput.Builder clear()
Overrides
public PlaybookInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PlaybookInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PlaybookInput.Builder clearParameters()
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder clearPrecedingConversationSummary()
Optional. Summary string of the preceding conversation for the child
playbook invocation.
string preceding_conversation_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder clone()
Overrides
public PlaybookInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
public ActionParameter.Builder getParametersBuilder(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
|
public List<ActionParameter.Builder> getParametersBuilderList()
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
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 |
|
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];
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
|
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> |
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PlaybookInput.Builder mergeFrom(PlaybookInput other)
public PlaybookInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PlaybookInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final PlaybookInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PlaybookInput.Builder removeParameters(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
|
public PlaybookInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PlaybookInput.Builder setParameters(int index, ActionParameter value)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder setParameters(int index, ActionParameter.Builder builderForValue)
Optional. A list of input parameters for the invocation.
repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
public PlaybookInput.Builder setPrecedingConversationSummary(String value)
Optional. Summary string of the preceding conversation for the child
playbook invocation.
string preceding_conversation_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The precedingConversationSummary to set.
|
public PlaybookInput.Builder setPrecedingConversationSummaryBytes(ByteString value)
Optional. Summary string of the preceding conversation for the child
playbook invocation.
string preceding_conversation_summary = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for precedingConversationSummary to set.
|
public PlaybookInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final PlaybookInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides