Interface BAPConfig.ToolspecOverrideOrBuilder (0.99.0)

public static interface BAPConfig.ToolspecOverrideOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseVersion()

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

getBaseVersionBytes()

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

getTools(int index)

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

getToolsCount()

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

getToolsList()

public abstract 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];

Returns
Type Description
List<Struct>

getToolsOrBuilder(int index)

public abstract 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
Returns
Type Description
StructOrBuilder

getToolsOrBuilderList()

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