public static final class RetrieveToolSchemaRequest.Builder extends GeneratedMessage.Builder<RetrieveToolSchemaRequest.Builder> implements RetrieveToolSchemaRequestOrBuilderRequest message for ToolService.RetrieveToolSchema.
Protobuf type google.cloud.ces.v1.RetrieveToolSchemaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrieveToolSchemaRequest.BuilderImplements
RetrieveToolSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RetrieveToolSchemaRequest build()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest |
|
buildPartial()
public RetrieveToolSchemaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest |
|
clear()
public RetrieveToolSchemaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
clearParent()
public RetrieveToolSchemaRequest.Builder clearParent() Required. The resource name of the app which the tool/toolset belongs to.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
clearTool()
public RetrieveToolSchemaRequest.Builder clearTool()Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
clearToolIdentifier()
public RetrieveToolSchemaRequest.Builder clearToolIdentifier()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
clearToolsetTool()
public RetrieveToolSchemaRequest.Builder clearToolsetTool()Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
getDefaultInstanceForType()
public RetrieveToolSchemaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The resource name of the app which the tool/toolset belongs to.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the app which the tool/toolset belongs to.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTool()
public String getTool()Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public ByteString getToolBytes()Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
getToolIdentifierCase()
public RetrieveToolSchemaRequest.ToolIdentifierCase getToolIdentifierCase()| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.ToolIdentifierCase |
|
getToolsetTool()
public ToolsetTool getToolsetTool()Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
The toolsetTool. |
getToolsetToolBuilder()
public ToolsetTool.Builder getToolsetToolBuilder()Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolsetTool.Builder |
|
getToolsetToolOrBuilder()
public ToolsetToolOrBuilder getToolsetToolOrBuilder()Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolsetToolOrBuilder |
|
hasTool()
public boolean hasTool()Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tool field is set. |
hasToolsetTool()
public boolean hasToolsetTool()Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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(RetrieveToolSchemaRequest other)
public RetrieveToolSchemaRequest.Builder mergeFrom(RetrieveToolSchemaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RetrieveToolSchemaRequest |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveToolSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrieveToolSchemaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
mergeToolsetTool(ToolsetTool value)
public RetrieveToolSchemaRequest.Builder mergeToolsetTool(ToolsetTool value)Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ToolsetTool |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
setParent(String value)
public RetrieveToolSchemaRequest.Builder setParent(String value) Required. The resource name of the app which the tool/toolset belongs to.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public RetrieveToolSchemaRequest.Builder setParentBytes(ByteString value) Required. The resource name of the app which the tool/toolset belongs to.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
setTool(String value)
public RetrieveToolSchemaRequest.Builder setTool(String value)Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tool to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
setToolBytes(ByteString value)
public RetrieveToolSchemaRequest.Builder setToolBytes(ByteString value)Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tool to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
This builder for chaining. |
setToolsetTool(ToolsetTool value)
public RetrieveToolSchemaRequest.Builder setToolsetTool(ToolsetTool value)Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ToolsetTool |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|
setToolsetTool(ToolsetTool.Builder builderForValue)
public RetrieveToolSchemaRequest.Builder setToolsetTool(ToolsetTool.Builder builderForValue)Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
.google.cloud.ces.v1.ToolsetTool toolset_tool = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ToolsetTool.Builder |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolSchemaRequest.Builder |
|