public static final class Tool.ConnectorTool.Action extends GeneratedMessage implements Tool.ConnectorTool.ActionOrBuilder
Configuration of a Connection operation for the tool to use.
Protobuf type google.cloud.dialogflow.v2.Tool.ConnectorTool.Action
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool.ConnectorTool.Action.EntityOperationOrBuilder getEntityOperationOrBuilder()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.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.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
| Returns |
| Type |
Description |
boolean |
Whether the entityOperation field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.ConnectorTool.Action.Builder newBuilderForType()
protected Tool.ConnectorTool.Action.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Tool.ConnectorTool.Action.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides