public final class BAPConfig extends GeneratedMessage implements BAPConfigOrBuilder
The configuration for the BAP connector.
Protobuf type google.cloud.discoveryengine.v1.BAPConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
public static final int TOOLSPEC_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BAPConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BAPConfig.Builder newBuilder()
newBuilder(BAPConfig prototype)
public static BAPConfig.Builder newBuilder(BAPConfig prototype)
| Parameter |
| Name |
Description |
prototype |
BAPConfig
|
public static BAPConfig parseDelimitedFrom(InputStream input)
public static BAPConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BAPConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BAPConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig parseFrom(CodedInputStream input)
public static BAPConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BAPConfig parseFrom(InputStream input)
public static BAPConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BAPConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BAPConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BAPConfig getDefaultInstanceForType()
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];
getParserForType()
public Parser<BAPConfig> getParserForType()
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.
|
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.
|
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];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BAPConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BAPConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BAPConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides