public static final class Tool.ConnectorTool.Action.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder> implements Tool.ConnectorTool.ActionOrBuilder
Configuration of a Connection operation for the tool to use.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.ActiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Tool.ConnectorTool.Action build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Tool.ConnectorTool.Action buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Tool.ConnectorTool.Action.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder mergeFrom(Tool.ConnectorTool.Action other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public Tool.ConnectorTool.Action.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tool.ConnectorTool.Action.Builder>IOExceptionpublic Tool.ConnectorTool.Action.ActionSpecCase getActionSpecCase()
getActionSpecCase in interface Tool.ConnectorTool.ActionOrBuilderpublic Tool.ConnectorTool.Action.Builder clearActionSpec()
public boolean hasConnectionActionId()
ID of a Connection action for the tool to use.
string connection_action_id = 4;hasConnectionActionId in interface Tool.ConnectorTool.ActionOrBuilderpublic String getConnectionActionId()
ID of a Connection action for the tool to use.
string connection_action_id = 4;getConnectionActionId in interface Tool.ConnectorTool.ActionOrBuilderpublic com.google.protobuf.ByteString getConnectionActionIdBytes()
ID of a Connection action for the tool to use.
string connection_action_id = 4;getConnectionActionIdBytes in interface Tool.ConnectorTool.ActionOrBuilderpublic Tool.ConnectorTool.Action.Builder setConnectionActionId(String value)
ID of a Connection action for the tool to use.
string connection_action_id = 4;value - The connectionActionId to set.public Tool.ConnectorTool.Action.Builder clearConnectionActionId()
ID of a Connection action for the tool to use.
string connection_action_id = 4;public Tool.ConnectorTool.Action.Builder setConnectionActionIdBytes(com.google.protobuf.ByteString value)
ID of a Connection action for the tool to use.
string connection_action_id = 4;value - The bytes for connectionActionId to set.public boolean hasEntityOperation()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
hasEntityOperation in interface Tool.ConnectorTool.ActionOrBuilderpublic 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;
getEntityOperation in interface Tool.ConnectorTool.ActionOrBuilderpublic Tool.ConnectorTool.Action.Builder setEntityOperation(Tool.ConnectorTool.Action.EntityOperation value)
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool.ConnectorTool.Action.Builder setEntityOperation(Tool.ConnectorTool.Action.EntityOperation.Builder builderForValue)
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool.ConnectorTool.Action.Builder mergeEntityOperation(Tool.ConnectorTool.Action.EntityOperation value)
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool.ConnectorTool.Action.Builder clearEntityOperation()
Entity operation configuration for the tool to use.
.google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool.Action.EntityOperation entity_operation = 5;
public Tool.ConnectorTool.Action.EntityOperation.Builder getEntityOperationBuilder()
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;
getEntityOperationOrBuilder in interface Tool.ConnectorTool.ActionOrBuilderpublic 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];getInputFieldsList in interface Tool.ConnectorTool.ActionOrBuilderpublic 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];getInputFieldsCount in interface Tool.ConnectorTool.ActionOrBuilderpublic 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];getInputFields in interface Tool.ConnectorTool.ActionOrBuilderindex - The index of the element to return.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];getInputFieldsBytes in interface Tool.ConnectorTool.ActionOrBuilderindex - The index of the value to return.public Tool.ConnectorTool.Action.Builder setInputFields(int index, String value)
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];index - The index to set the value at.value - The inputFields to set.public Tool.ConnectorTool.Action.Builder addInputFields(String value)
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];value - The inputFields to add.public Tool.ConnectorTool.Action.Builder addAllInputFields(Iterable<String> values)
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];values - The inputFields to add.public Tool.ConnectorTool.Action.Builder clearInputFields()
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 Tool.ConnectorTool.Action.Builder addInputFieldsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the inputFields to add.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];getOutputFieldsList in interface Tool.ConnectorTool.ActionOrBuilderpublic 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];getOutputFieldsCount in interface Tool.ConnectorTool.ActionOrBuilderpublic 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];getOutputFields in interface Tool.ConnectorTool.ActionOrBuilderindex - The index of the element to return.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];getOutputFieldsBytes in interface Tool.ConnectorTool.ActionOrBuilderindex - The index of the value to return.public Tool.ConnectorTool.Action.Builder setOutputFields(int index, String value)
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];index - The index to set the value at.value - The outputFields to set.public Tool.ConnectorTool.Action.Builder addOutputFields(String value)
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];value - The outputFields to add.public Tool.ConnectorTool.Action.Builder addAllOutputFields(Iterable<String> values)
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];values - The outputFields to add.public Tool.ConnectorTool.Action.Builder clearOutputFields()
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 Tool.ConnectorTool.Action.Builder addOutputFieldsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the outputFields to add.public final Tool.ConnectorTool.Action.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>public final Tool.ConnectorTool.Action.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tool.ConnectorTool.Action.Builder>Copyright © 2025 Google LLC. All rights reserved.