public static final class BAPConfig.ToolspecOverride extends GeneratedMessage implements BAPConfig.ToolspecOverrideOrBuilder
Customer-facing view of the admin-curated toolspec for a BAP
connection. Holds the (simplified) per-tool definitions surfaced to
and editable by the admin in the Discovery Engine UI.
Mirrors the shape of the backend
google.cloud.connectorexecution.v1.ToolspecOverride message, but
is intentionally kept as a separate public type so the Discovery
Engine API surface can evolve independently of the fed-API surface
(AIP-215). Handlers convert between the two via helpers in
//cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util.
Protobuf type google.cloud.discoveryengine.v1.BAPConfig.ToolspecOverride
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
public static final int BASE_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static BAPConfig.ToolspecOverride getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BAPConfig.ToolspecOverride.Builder newBuilder()
public static BAPConfig.ToolspecOverride.Builder newBuilder(BAPConfig.ToolspecOverride prototype)
public static BAPConfig.ToolspecOverride parseDelimitedFrom(InputStream input)
public static BAPConfig.ToolspecOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BAPConfig.ToolspecOverride parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static BAPConfig.ToolspecOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig.ToolspecOverride parseFrom(ByteString data)
public static BAPConfig.ToolspecOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BAPConfig.ToolspecOverride parseFrom(CodedInputStream input)
public static BAPConfig.ToolspecOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BAPConfig.ToolspecOverride parseFrom(InputStream input)
public static BAPConfig.ToolspecOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BAPConfig.ToolspecOverride parseFrom(ByteBuffer data)
public static BAPConfig.ToolspecOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BAPConfig.ToolspecOverride> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getBaseVersion()
Required. Base toolspec version against which tools were authored. On
Update, MUST match the server's current stable toolspec version
for the connection; mismatch is rejected with a user-facing error
directing the admin to re-download the latest tools first.
string base_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The baseVersion.
|
public ByteString getBaseVersionBytes()
Required. Base toolspec version against which tools were authored. On
Update, MUST match the server's current stable toolspec version
for the connection; mismatch is rejected with a user-facing error
directing the admin to re-download the latest tools first.
string base_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for baseVersion.
|
public BAPConfig.ToolspecOverride getDefaultInstanceForType()
public Parser<BAPConfig.ToolspecOverride> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Struct getTools(int index)
Required. Tool definitions (one Struct per tool) that the admin has
customised on top of the base toolspec returned by the fed API.
REQUIRED because it is the only user-editable field in the
modify API; the request must carry at least one tool.
repeated .google.protobuf.Struct tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Struct |
|
public int getToolsCount()
Required. Tool definitions (one Struct per tool) that the admin has
customised on top of the base toolspec returned by the fed API.
REQUIRED because it is the only user-editable field in the
modify API; the request must carry at least one tool.
repeated .google.protobuf.Struct tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<Struct> getToolsList()
Required. Tool definitions (one Struct per tool) that the admin has
customised on top of the base toolspec returned by the fed API.
REQUIRED because it is the only user-editable field in the
modify API; the request must carry at least one tool.
repeated .google.protobuf.Struct tools = 1 [(.google.api.field_behavior) = REQUIRED];
public StructOrBuilder getToolsOrBuilder(int index)
Required. Tool definitions (one Struct per tool) that the admin has
customised on top of the base toolspec returned by the fed API.
REQUIRED because it is the only user-editable field in the
modify API; the request must carry at least one tool.
repeated .google.protobuf.Struct tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends StructOrBuilder> getToolsOrBuilderList()
Required. Tool definitions (one Struct per tool) that the admin has
customised on top of the base toolspec returned by the fed API.
REQUIRED because it is the only user-editable field in the
modify API; the request must carry at least one tool.
repeated .google.protobuf.Struct tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.protobuf.StructOrBuilder> |
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BAPConfig.ToolspecOverride.Builder newBuilderForType()
protected BAPConfig.ToolspecOverride.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public BAPConfig.ToolspecOverride.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides