public final class Toolset extends GeneratedMessage implements ToolsetOrBuilder
A toolset represents a group of dynamically managed tools that can be used
by the agent.
Protobuf type google.cloud.ces.v1.Toolset
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 CONNECTOR_TOOLSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ETAG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int EXECUTION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MCP_TOOLSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OPEN_API_TOOLSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_FAKE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Toolset getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Toolset.Builder newBuilder()
public static Toolset.Builder newBuilder(Toolset prototype)
| Parameter |
| Name |
Description |
prototype |
Toolset
|
public static Toolset parseDelimitedFrom(InputStream input)
public static Toolset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Toolset parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Toolset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Toolset parseFrom(ByteString data)
public static Toolset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Toolset parseFrom(CodedInputStream input)
public static Toolset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Toolset parseFrom(InputStream input)
public static Toolset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Toolset parseFrom(ByteBuffer data)
public static Toolset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Toolset> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public ConnectorToolset getConnectorToolset()
Optional. A toolset that generates tools from an Integration Connectors
Connection.
.google.cloud.ces.v1.ConnectorToolset connector_toolset = 8 [(.google.api.field_behavior) = OPTIONAL];
public ConnectorToolsetOrBuilder getConnectorToolsetOrBuilder()
Optional. A toolset that generates tools from an Integration Connectors
Connection.
.google.cloud.ces.v1.ConnectorToolset connector_toolset = 8 [(.google.api.field_behavior) = OPTIONAL];
public Timestamp getCreateTime()
Output only. Timestamp when the toolset was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the toolset was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Toolset getDefaultInstanceForType()
public String getDescription()
Optional. The description of the toolset.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
Optional. The description of the toolset.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
public String getDisplayName()
Optional. The display name of the toolset. Must be unique within the same
app.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Optional. The display name of the toolset. Must be unique within the same
app.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
ETag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.
string etag = 5;
| Returns |
| Type |
Description |
String |
The etag.
|
public ByteString getEtagBytes()
ETag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.
string etag = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for etag.
|
public ExecutionType getExecutionType()
Optional. The execution type of the tools in the toolset.
.google.cloud.ces.v1.ExecutionType execution_type = 9 [(.google.api.field_behavior) = OPTIONAL];
public int getExecutionTypeValue()
Optional. The execution type of the tools in the toolset.
.google.cloud.ces.v1.ExecutionType execution_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for executionType.
|
public McpToolset getMcpToolset()
Optional. A toolset that contains a list of tools that are offered by the
MCP server.
.google.cloud.ces.v1.McpToolset mcp_toolset = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
McpToolset |
The mcpToolset.
|
public McpToolsetOrBuilder getMcpToolsetOrBuilder()
Optional. A toolset that contains a list of tools that are offered by the
MCP server.
.google.cloud.ces.v1.McpToolset mcp_toolset = 6 [(.google.api.field_behavior) = OPTIONAL];
Identifier. The unique identifier of the toolset.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Identifier. The unique identifier of the toolset.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
public OpenApiToolset getOpenApiToolset()
Optional. A toolset that contains a list of tools that are defined by an
OpenAPI schema.
.google.cloud.ces.v1.OpenApiToolset open_api_toolset = 7 [(.google.api.field_behavior) = OPTIONAL];
public OpenApiToolsetOrBuilder getOpenApiToolsetOrBuilder()
Optional. A toolset that contains a list of tools that are defined by an
OpenAPI schema.
.google.cloud.ces.v1.OpenApiToolset open_api_toolset = 7 [(.google.api.field_behavior) = OPTIONAL];
public Parser<Toolset> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public ToolFakeConfig getToolFakeConfig()
Optional. Configuration for tools behavior in fake mode.
.google.cloud.ces.v1.ToolFakeConfig tool_fake_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public ToolFakeConfigOrBuilder getToolFakeConfigOrBuilder()
Optional. Configuration for tools behavior in fake mode.
.google.cloud.ces.v1.ToolFakeConfig tool_fake_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Toolset.ToolsetTypeCase getToolsetTypeCase()
public Timestamp getUpdateTime()
Output only. Timestamp when the toolset was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the toolset was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasConnectorToolset()
Optional. A toolset that generates tools from an Integration Connectors
Connection.
.google.cloud.ces.v1.ConnectorToolset connector_toolset = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the connectorToolset field is set.
|
public boolean hasCreateTime()
Output only. Timestamp when the toolset was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
public boolean hasMcpToolset()
Optional. A toolset that contains a list of tools that are offered by the
MCP server.
.google.cloud.ces.v1.McpToolset mcp_toolset = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the mcpToolset field is set.
|
public boolean hasOpenApiToolset()
Optional. A toolset that contains a list of tools that are defined by an
OpenAPI schema.
.google.cloud.ces.v1.OpenApiToolset open_api_toolset = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the openApiToolset field is set.
|
public boolean hasToolFakeConfig()
Optional. Configuration for tools behavior in fake mode.
.google.cloud.ces.v1.ToolFakeConfig tool_fake_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the toolFakeConfig field is set.
|
public boolean hasUpdateTime()
Output only. Timestamp when the toolset was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Toolset.Builder newBuilderForType()
protected Toolset.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Toolset.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides