Send feedback
Class Tool.ConnectorTool.Action (0.71.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Tool . ConnectorTool . Action extends GeneratedMessageV3 implements Tool . ConnectorTool . ActionOrBuilder
Configuration of a Connection operation for the tool to use.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONNECTION_ACTION_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ENTITY_OPERATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int INPUT_FIELDS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OUTPUT_FIELDS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Tool . ConnectorTool . Action getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Tool . ConnectorTool . Action . Builder newBuilder ()
public static Tool . ConnectorTool . Action . Builder newBuilder ( Tool . ConnectorTool . Action prototype )
public static Tool . ConnectorTool . Action parseDelimitedFrom ( InputStream input )
public static Tool . ConnectorTool . Action parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . ConnectorTool . Action parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Tool . ConnectorTool . Action parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Tool . ConnectorTool . Action parseFrom ( ByteString data )
public static Tool . ConnectorTool . Action parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Tool . ConnectorTool . Action parseFrom ( CodedInputStream input )
public static Tool . ConnectorTool . Action parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . ConnectorTool . Action parseFrom ( InputStream input )
public static Tool . ConnectorTool . Action parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . ConnectorTool . Action parseFrom ( ByteBuffer data )
public static Tool . ConnectorTool . Action parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Tool . ConnectorTool . Action > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Tool . ConnectorTool . Action . ActionSpecCase getActionSpecCase ()
public String getConnectionActionId ()
ID of a Connection action for the tool to use.
string connection_action_id = 4;
Returns
Type
Description
String
The connectionActionId.
public ByteString getConnectionActionIdBytes ()
ID of a Connection action for the tool to use.
string connection_action_id = 4;
Returns
Type
Description
ByteString
The bytes for connectionActionId.
public Tool . ConnectorTool . Action getDefaultInstanceForType ()
public Tool . ConnectorTool . Action . EntityOperation getEntityOperation ()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool . ConnectorTool . Action . EntityOperationOrBuilder getEntityOperationOrBuilder ()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public String getInputFields ( 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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The inputFields at the given index.
public 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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the inputFields at the given index.
public 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
Type
Description
int
The count of inputFields.
public ProtocolStringList 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];
public String getOutputFields ( 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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The outputFields at the given index.
public 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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the outputFields at the given index.
public 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
Type
Description
int
The count of outputFields.
public ProtocolStringList 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];
public Parser<Tool . ConnectorTool . Action > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasConnectionActionId ()
ID of a Connection action for the tool to use.
string connection_action_id = 4;
Returns
Type
Description
boolean
Whether the connectionActionId field is set.
public boolean hasEntityOperation ()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
Returns
Type
Description
boolean
Whether the entityOperation field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Tool . ConnectorTool . Action . Builder newBuilderForType ()
protected Tool . ConnectorTool . Action . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Tool . ConnectorTool . Action . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-22 UTC."],[],[]]