public static final class RetrieveToolSchemaResponse.Builder extends GeneratedMessage.Builder<RetrieveToolSchemaResponse.Builder> implements RetrieveToolSchemaResponseOrBuilderResponse message for ToolService.RetrieveToolSchema.
Protobuf type google.cloud.ces.v1.RetrieveToolSchemaResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrieveToolSchemaResponse.BuilderImplements
RetrieveToolSchemaResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RetrieveToolSchemaResponse build()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse |
|
buildPartial()
public RetrieveToolSchemaResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse |
|
clear()
public RetrieveToolSchemaResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
clearInputSchema()
public RetrieveToolSchemaResponse.Builder clearInputSchema()Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
clearOutputSchema()
public RetrieveToolSchemaResponse.Builder clearOutputSchema()Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
clearTool()
public RetrieveToolSchemaResponse.Builder clearTool() The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
This builder for chaining. |
clearToolIdentifier()
public RetrieveToolSchemaResponse.Builder clearToolIdentifier()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
clearToolsetTool()
public RetrieveToolSchemaResponse.Builder clearToolsetTool()The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
getDefaultInstanceForType()
public RetrieveToolSchemaResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputSchema()
public Schema getInputSchema()Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema |
The inputSchema. |
getInputSchemaBuilder()
public Schema.Builder getInputSchemaBuilder()Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getInputSchemaOrBuilder()
public SchemaOrBuilder getInputSchemaOrBuilder()Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getOutputSchema()
public Schema getOutputSchema()Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema |
The outputSchema. |
getOutputSchemaBuilder()
public Schema.Builder getOutputSchemaBuilder()Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getOutputSchemaOrBuilder()
public SchemaOrBuilder getOutputSchemaOrBuilder()Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getTool()
public String getTool() The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public ByteString getToolBytes() The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
getToolIdentifierCase()
public RetrieveToolSchemaResponse.ToolIdentifierCase getToolIdentifierCase()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.ToolIdentifierCase |
|
getToolsetTool()
public ToolsetTool getToolsetTool()The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
The toolsetTool. |
getToolsetToolBuilder()
public ToolsetTool.Builder getToolsetToolBuilder()The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
getToolsetToolOrBuilder()
public ToolsetToolOrBuilder getToolsetToolOrBuilder()The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Returns | |
|---|---|
| Type | Description |
ToolsetToolOrBuilder |
|
hasInputSchema()
public boolean hasInputSchema()Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputSchema field is set. |
hasOutputSchema()
public boolean hasOutputSchema()Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outputSchema field is set. |
hasTool()
public boolean hasTool() The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tool field is set. |
hasToolsetTool()
public boolean hasToolsetTool()The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolsetTool field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RetrieveToolSchemaResponse other)
public RetrieveToolSchemaResponse.Builder mergeFrom(RetrieveToolSchemaResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
RetrieveToolSchemaResponse |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveToolSchemaResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrieveToolSchemaResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
mergeInputSchema(Schema value)
public RetrieveToolSchemaResponse.Builder mergeInputSchema(Schema value)Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
mergeOutputSchema(Schema value)
public RetrieveToolSchemaResponse.Builder mergeOutputSchema(Schema value)Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
mergeToolsetTool(ToolsetTool value)
public RetrieveToolSchemaResponse.Builder mergeToolsetTool(ToolsetTool value)The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ToolsetTool |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setInputSchema(Schema value)
public RetrieveToolSchemaResponse.Builder setInputSchema(Schema value)Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setInputSchema(Schema.Builder builderForValue)
public RetrieveToolSchemaResponse.Builder setInputSchema(Schema.Builder builderForValue)Required. The schema of the tool input parameters.
.google.cloud.ces.v1.Schema input_schema = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setOutputSchema(Schema value)
public RetrieveToolSchemaResponse.Builder setOutputSchema(Schema value)Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setOutputSchema(Schema.Builder builderForValue)
public RetrieveToolSchemaResponse.Builder setOutputSchema(Schema.Builder builderForValue)Required. The schema of the tool output parameters.
.google.cloud.ces.v1.Schema output_schema = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setTool(String value)
public RetrieveToolSchemaResponse.Builder setTool(String value) The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tool to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
This builder for chaining. |
setToolBytes(ByteString value)
public RetrieveToolSchemaResponse.Builder setToolBytes(ByteString value) The name of the tool that the schema is for.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tool to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
This builder for chaining. |
setToolsetTool(ToolsetTool value)
public RetrieveToolSchemaResponse.Builder setToolsetTool(ToolsetTool value)The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ToolsetTool |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|
setToolsetTool(ToolsetTool.Builder builderForValue)
public RetrieveToolSchemaResponse.Builder setToolsetTool(ToolsetTool.Builder builderForValue)The toolset tool that the schema is for.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ToolsetTool.Builder |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaResponse.Builder |
|