Package com.google.cloud.dialogflow.v2
Class Tool.ConnectorTool.Action
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action
- All Implemented Interfaces:
Tool.ConnectorTool.ActionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Tool.ConnectorTool
public static final class Tool.ConnectorTool.Action
extends com.google.protobuf.GeneratedMessage
implements Tool.ConnectorTool.ActionOrBuilder
Configuration of a Connection operation for the tool to use.Protobuf type
google.cloud.dialogflow.v2.Tool.ConnectorTool.Action- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classConfiguration of a Connection operation for the tool to use.static final classEntity CRUD operation specification.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanID of a Connection action for the tool to use.com.google.protobuf.ByteStringID of a Connection action for the tool to use.static Tool.ConnectorTool.Actionstatic final com.google.protobuf.Descriptors.DescriptorEntity 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.com.google.protobuf.ProtocolStringListOptional.getOutputFields(int index) Optional.com.google.protobuf.ByteStringgetOutputFieldsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.Parser<Tool.ConnectorTool.Action>intbooleanID of a Connection action for the tool to use.booleanEntity operation configuration for the tool to use.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Tool.ConnectorTool.Action prototype) protected Tool.ConnectorTool.Action.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Tool.ConnectorTool.ActionparseDelimitedFrom(InputStream input) static Tool.ConnectorTool.ActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.ConnectorTool.ActionparseFrom(byte[] data) static Tool.ConnectorTool.ActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.ConnectorTool.ActionparseFrom(com.google.protobuf.ByteString data) static Tool.ConnectorTool.ActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.ConnectorTool.ActionparseFrom(com.google.protobuf.CodedInputStream input) static Tool.ConnectorTool.ActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.ConnectorTool.ActionparseFrom(InputStream input) static Tool.ConnectorTool.ActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.ConnectorTool.ActionparseFrom(ByteBuffer data) static Tool.ConnectorTool.ActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Tool.ConnectorTool.Action>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CONNECTION_ACTION_ID_FIELD_NUMBER
public static final int CONNECTION_ACTION_ID_FIELD_NUMBER- See Also:
-
ENTITY_OPERATION_FIELD_NUMBER
public static final int ENTITY_OPERATION_FIELD_NUMBER- See Also:
-
INPUT_FIELDS_FIELD_NUMBER
public static final int INPUT_FIELDS_FIELD_NUMBER- See Also:
-
OUTPUT_FIELDS_FIELD_NUMBER
public static final int OUTPUT_FIELDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getActionSpecCase
- Specified by:
getActionSpecCasein interfaceTool.ConnectorTool.ActionOrBuilder
-
hasConnectionActionId
public boolean hasConnectionActionId()ID of a Connection action for the tool to use.
string connection_action_id = 4;- Specified by:
hasConnectionActionIdin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- Whether the connectionActionId field is set.
-
getConnectionActionId
ID of a Connection action for the tool to use.
string connection_action_id = 4;- Specified by:
getConnectionActionIdin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- The connectionActionId.
-
getConnectionActionIdBytes
public com.google.protobuf.ByteString getConnectionActionIdBytes()ID of a Connection action for the tool to use.
string connection_action_id = 4;- Specified by:
getConnectionActionIdBytesin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- The bytes for connectionActionId.
-
hasEntityOperation
public boolean hasEntityOperation()Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;- Specified by:
hasEntityOperationin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- Whether the entityOperation field is set.
-
getEntityOperation
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;- Specified by:
getEntityOperationin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- The entityOperation.
-
getEntityOperationOrBuilder
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;- Specified by:
getEntityOperationOrBuilderin interfaceTool.ConnectorTool.ActionOrBuilder
-
getInputFieldsList
public com.google.protobuf.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];- Specified by:
getInputFieldsListin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- A list containing the inputFields.
-
getInputFieldsCount
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];- Specified by:
getInputFieldsCountin interfaceTool.ConnectorTool.ActionOrBuilder- 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];- Specified by:
getInputFieldsin interfaceTool.ConnectorTool.ActionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputFields at the given index.
-
getInputFieldsBytes
public 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];- Specified by:
getInputFieldsBytesin interfaceTool.ConnectorTool.ActionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputFields at the given index.
-
getOutputFieldsList
public com.google.protobuf.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];- Specified by:
getOutputFieldsListin interfaceTool.ConnectorTool.ActionOrBuilder- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
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];- Specified by:
getOutputFieldsCountin interfaceTool.ConnectorTool.ActionOrBuilder- 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];- Specified by:
getOutputFieldsin interfaceTool.ConnectorTool.ActionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFields at the given index.
-
getOutputFieldsBytes
public 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];- Specified by:
getOutputFieldsBytesin interfaceTool.ConnectorTool.ActionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFields at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Tool.ConnectorTool.Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Tool.ConnectorTool.Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tool.ConnectorTool.Action.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-