Class ConnectorToolset.Builder (0.1.0)

public static final class ConnectorToolset.Builder extends GeneratedMessage.Builder<ConnectorToolset.Builder> implements ConnectorToolsetOrBuilder

A toolset that generates tools from an Integration Connectors Connection.

Protobuf type google.cloud.ces.v1.ConnectorToolset

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllConnectorActions(Iterable<? extends Action> values)

public ConnectorToolset.Builder addAllConnectorActions(Iterable<? extends Action> values)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Action>
Returns
Type Description
ConnectorToolset.Builder

addConnectorActions(Action value)

public ConnectorToolset.Builder addConnectorActions(Action value)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Action
Returns
Type Description
ConnectorToolset.Builder

addConnectorActions(Action.Builder builderForValue)

public ConnectorToolset.Builder addConnectorActions(Action.Builder builderForValue)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Action.Builder
Returns
Type Description
ConnectorToolset.Builder

addConnectorActions(int index, Action value)

public ConnectorToolset.Builder addConnectorActions(int index, Action value)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Action
Returns
Type Description
ConnectorToolset.Builder

addConnectorActions(int index, Action.Builder builderForValue)

public ConnectorToolset.Builder addConnectorActions(int index, Action.Builder builderForValue)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Action.Builder
Returns
Type Description
ConnectorToolset.Builder

addConnectorActionsBuilder()

public Action.Builder addConnectorActionsBuilder()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Action.Builder

addConnectorActionsBuilder(int index)

public Action.Builder addConnectorActionsBuilder(int index)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Action.Builder

build()

public ConnectorToolset build()
Returns
Type Description
ConnectorToolset

buildPartial()

public ConnectorToolset buildPartial()
Returns
Type Description
ConnectorToolset

clear()

public ConnectorToolset.Builder clear()
Returns
Type Description
ConnectorToolset.Builder
Overrides

clearAuthConfig()

public ConnectorToolset.Builder clearAuthConfig()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConnectorToolset.Builder

clearConnection()

public ConnectorToolset.Builder clearConnection()

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectorToolset.Builder

This builder for chaining.

clearConnectorActions()

public ConnectorToolset.Builder clearConnectorActions()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectorToolset.Builder

getAuthConfig()

public EndUserAuthConfig getAuthConfig()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndUserAuthConfig

The authConfig.

getAuthConfigBuilder()

public EndUserAuthConfig.Builder getAuthConfigBuilder()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndUserAuthConfig.Builder

getAuthConfigOrBuilder()

public EndUserAuthConfigOrBuilder getAuthConfigOrBuilder()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndUserAuthConfigOrBuilder

getConnection()

public String getConnection()

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The connection.

getConnectionBytes()

public ByteString getConnectionBytes()

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for connection.

getConnectorActions(int index)

public Action getConnectorActions(int index)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Action

getConnectorActionsBuilder(int index)

public Action.Builder getConnectorActionsBuilder(int index)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Action.Builder

getConnectorActionsBuilderList()

public List<Action.Builder> getConnectorActionsBuilderList()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getConnectorActionsCount()

public int getConnectorActionsCount()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getConnectorActionsList()

public List<Action> getConnectorActionsList()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Action>

getConnectorActionsOrBuilder(int index)

public ActionOrBuilder getConnectorActionsOrBuilder(int index)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ActionOrBuilder

getConnectorActionsOrBuilderList()

public List<? extends ActionOrBuilder> getConnectorActionsOrBuilderList()

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.ActionOrBuilder>

getDefaultInstanceForType()

public ConnectorToolset getDefaultInstanceForType()
Returns
Type Description
ConnectorToolset

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAuthConfig()

public boolean hasAuthConfig()

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the authConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthConfig(EndUserAuthConfig value)

public ConnectorToolset.Builder mergeAuthConfig(EndUserAuthConfig value)

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EndUserAuthConfig
Returns
Type Description
ConnectorToolset.Builder

mergeFrom(ConnectorToolset other)

public ConnectorToolset.Builder mergeFrom(ConnectorToolset other)
Parameter
Name Description
other ConnectorToolset
Returns
Type Description
ConnectorToolset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectorToolset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectorToolset.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConnectorToolset.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConnectorToolset.Builder
Overrides

removeConnectorActions(int index)

public ConnectorToolset.Builder removeConnectorActions(int index)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectorToolset.Builder

setAuthConfig(EndUserAuthConfig value)

public ConnectorToolset.Builder setAuthConfig(EndUserAuthConfig value)

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EndUserAuthConfig
Returns
Type Description
ConnectorToolset.Builder

setAuthConfig(EndUserAuthConfig.Builder builderForValue)

public ConnectorToolset.Builder setAuthConfig(EndUserAuthConfig.Builder builderForValue)

Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. Note: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override

.google.cloud.ces.v1.EndUserAuthConfig auth_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EndUserAuthConfig.Builder
Returns
Type Description
ConnectorToolset.Builder

setConnection(String value)

public ConnectorToolset.Builder setConnection(String value)

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The connection to set.

Returns
Type Description
ConnectorToolset.Builder

This builder for chaining.

setConnectionBytes(ByteString value)

public ConnectorToolset.Builder setConnectionBytes(ByteString value)

Required. The full resource name of the referenced Integration Connectors Connection. Format: projects/{project}/locations/{location}/connections/{connection}

string connection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for connection to set.

Returns
Type Description
ConnectorToolset.Builder

This builder for chaining.

setConnectorActions(int index, Action value)

public ConnectorToolset.Builder setConnectorActions(int index, Action value)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Action
Returns
Type Description
ConnectorToolset.Builder

setConnectorActions(int index, Action.Builder builderForValue)

public ConnectorToolset.Builder setConnectorActions(int index, Action.Builder builderForValue)

Required. The list of connector actions/entity operations to generate tools for.

repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Action.Builder
Returns
Type Description
ConnectorToolset.Builder