Interface BAPConfigOrBuilder (0.99.0)

public interface BAPConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabledActions(int index)

public abstract String getEnabledActions(int index)

Optional. The actions enabled on the associated BAP connection.

repeated string enabled_actions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The enabledActions at the given index.

getEnabledActionsBytes(int index)

public abstract ByteString getEnabledActionsBytes(int index)

Optional. The actions enabled on the associated BAP connection.

repeated string enabled_actions = 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 enabledActions at the given index.

getEnabledActionsCount()

public abstract int getEnabledActionsCount()

Optional. The actions enabled on the associated BAP connection.

repeated string enabled_actions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of enabledActions.

getEnabledActionsList()

public abstract List<String> getEnabledActionsList()

Optional. The actions enabled on the associated BAP connection.

repeated string enabled_actions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the enabledActions.

getSupportedConnectorModes(int index)

public abstract BAPConfig.ConnectorMode getSupportedConnectorModes(int index)

Required. The supported connector modes for the associated BAP connection.

repeated .google.cloud.discoveryengine.v1.BAPConfig.ConnectorMode supported_connector_modes = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
BAPConfig.ConnectorMode

The supportedConnectorModes at the given index.

getSupportedConnectorModesCount()

public abstract int getSupportedConnectorModesCount()

Required. The supported connector modes for the associated BAP connection.

repeated .google.cloud.discoveryengine.v1.BAPConfig.ConnectorMode supported_connector_modes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of supportedConnectorModes.

getSupportedConnectorModesList()

public abstract List<BAPConfig.ConnectorMode> getSupportedConnectorModesList()

Required. The supported connector modes for the associated BAP connection.

repeated .google.cloud.discoveryengine.v1.BAPConfig.ConnectorMode supported_connector_modes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ConnectorMode>

A list containing the supportedConnectorModes.

getSupportedConnectorModesValue(int index)

public abstract int getSupportedConnectorModesValue(int index)

Required. The supported connector modes for the associated BAP connection.

repeated .google.cloud.discoveryengine.v1.BAPConfig.ConnectorMode supported_connector_modes = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedConnectorModes at the given index.

getSupportedConnectorModesValueList()

public abstract List<Integer> getSupportedConnectorModesValueList()

Required. The supported connector modes for the associated BAP connection.

repeated .google.cloud.discoveryengine.v1.BAPConfig.ConnectorMode supported_connector_modes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedConnectorModes.

getToolspecOverride()

public abstract BAPConfig.ToolspecOverride getToolspecOverride()

Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the base_version field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).

.google.cloud.discoveryengine.v1.BAPConfig.ToolspecOverride toolspec_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BAPConfig.ToolspecOverride

The toolspecOverride.

getToolspecOverrideOrBuilder()

public abstract BAPConfig.ToolspecOverrideOrBuilder getToolspecOverrideOrBuilder()

Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the base_version field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).

.google.cloud.discoveryengine.v1.BAPConfig.ToolspecOverride toolspec_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BAPConfig.ToolspecOverrideOrBuilder

hasToolspecOverride()

public abstract boolean hasToolspecOverride()

Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the base_version field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).

.google.cloud.discoveryengine.v1.BAPConfig.ToolspecOverride toolspec_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolspecOverride field is set.