Class BAPConfig (0.99.0)

public final class BAPConfig extends GeneratedMessage implements BAPConfigOrBuilder

The configuration for the BAP connector.

Protobuf type google.cloud.discoveryengine.v1.BAPConfig

Implements

BAPConfigOrBuilder

Static Fields

ENABLED_ACTIONS_FIELD_NUMBER

public static final int ENABLED_ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_CONNECTOR_MODES_FIELD_NUMBER

public static final int SUPPORTED_CONNECTOR_MODES_FIELD_NUMBER
Field Value
Type Description
int

TOOLSPEC_OVERRIDE_FIELD_NUMBER

public static final int TOOLSPEC_OVERRIDE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BAPConfig getDefaultInstance()
Returns
Type Description
BAPConfig

getDescriptor()

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

newBuilder()

public static BAPConfig.Builder newBuilder()
Returns
Type Description
BAPConfig.Builder

newBuilder(BAPConfig prototype)

public static BAPConfig.Builder newBuilder(BAPConfig prototype)
Parameter
Name Description
prototype BAPConfig
Returns
Type Description
BAPConfig.Builder

parseDelimitedFrom(InputStream input)

public static BAPConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BAPConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BAPConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BAPConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BAPConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BAPConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BAPConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BAPConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BAPConfig> parser()
Returns
Type Description
Parser<BAPConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BAPConfig getDefaultInstanceForType()
Returns
Type Description
BAPConfig

getEnabledActions(int index)

public 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 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 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 ProtocolStringList getEnabledActionsList()

Optional. The actions enabled on the associated BAP connection.

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

Returns
Type Description
ProtocolStringList

A list containing the enabledActions.

getParserForType()

public Parser<BAPConfig> getParserForType()
Returns
Type Description
Parser<BAPConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportedConnectorModes(int index)

public 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 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 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 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 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 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 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BAPConfig.Builder newBuilderForType()
Returns
Type Description
BAPConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BAPConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BAPConfig.Builder
Overrides

toBuilder()

public BAPConfig.Builder toBuilder()
Returns
Type Description
BAPConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException