Interface Tool.ConnectorTool.ActionOrBuilder (0.71.0)

public static interface Tool.ConnectorTool.ActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionSpecCase()

public abstract Tool.ConnectorTool.Action.ActionSpecCase getActionSpecCase()
Returns
Type Description
Tool.ConnectorTool.Action.ActionSpecCase

getConnectionActionId()

public abstract String getConnectionActionId()

ID of a Connection action for the tool to use.

string connection_action_id = 4;

Returns
Type Description
String

The connectionActionId.

getConnectionActionIdBytes()

public abstract 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.

getEntityOperation()

public abstract 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;

Returns
Type Description
Tool.ConnectorTool.Action.EntityOperation

The entityOperation.

getEntityOperationOrBuilder()

public abstract 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;

Returns
Type Description
Tool.ConnectorTool.Action.EntityOperationOrBuilder

getInputFields(int index)

public abstract 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.

getInputFieldsBytes(int index)

public abstract 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.

getInputFieldsCount()

public abstract 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.

getInputFieldsList()

public abstract List<String> 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
Type Description
List<String>

A list containing the inputFields.

getOutputFields(int index)

public abstract 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.

getOutputFieldsBytes(int index)

public abstract 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.

getOutputFieldsCount()

public abstract 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.

getOutputFieldsList()

public abstract List<String> 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
Type Description
List<String>

A list containing the outputFields.

hasConnectionActionId()

public abstract 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.

hasEntityOperation()

public abstract 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.