Package com.google.cloud.dialogflow.v2
Interface Tool.ConnectorTool.ActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tool.ConnectorTool.Action,Tool.ConnectorTool.Action.Builder
- Enclosing class:
- Tool.ConnectorTool
public static interface Tool.ConnectorTool.ActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionID of a Connection action for the tool to use.com.google.protobuf.ByteStringID of a Connection action for the tool to use.Entity operation configuration for the tool to use.Entity operation configuration for the tool to use.getInputFields(int index) Optional.com.google.protobuf.ByteStringgetInputFieldsBytes(int index) Optional.intOptional.Optional.getOutputFields(int index) Optional.com.google.protobuf.ByteStringgetOutputFieldsBytes(int index) Optional.intOptional.Optional.booleanID of a Connection action for the tool to use.booleanEntity operation configuration for the tool to use.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConnectionActionId
boolean hasConnectionActionId()ID of a Connection action for the tool to use.
string connection_action_id = 4;- Returns:
- Whether the connectionActionId field is set.
-
getConnectionActionId
String getConnectionActionId()ID of a Connection action for the tool to use.
string connection_action_id = 4;- Returns:
- The connectionActionId.
-
getConnectionActionIdBytes
com.google.protobuf.ByteString getConnectionActionIdBytes()ID of a Connection action for the tool to use.
string connection_action_id = 4;- Returns:
- The bytes for connectionActionId.
-
hasEntityOperation
boolean hasEntityOperation()Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;- Returns:
- Whether the entityOperation field is set.
-
getEntityOperation
Tool.ConnectorTool.Action.EntityOperation getEntityOperation()Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;- Returns:
- The entityOperation.
-
getEntityOperationOrBuilder
Tool.ConnectorTool.Action.EntityOperationOrBuilder getEntityOperationOrBuilder()Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5; -
getInputFieldsList
Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the inputFields.
-
getInputFieldsCount
int getInputFieldsCount()Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of inputFields.
-
getInputFields
Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The inputFields at the given index.
-
getInputFieldsBytes
com.google.protobuf.ByteString getInputFieldsBytes(int index) Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputFields at the given index.
-
getOutputFieldsList
Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
int getOutputFieldsCount()Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of outputFields.
-
getOutputFields
Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The outputFields at the given index.
-
getOutputFieldsBytes
com.google.protobuf.ByteString getOutputFieldsBytes(int index) Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFields at the given index.
-
getActionSpecCase
Tool.ConnectorTool.Action.ActionSpecCase getActionSpecCase()
-