public static final class RetrieveToolsRequest.Builder extends GeneratedMessage.Builder<RetrieveToolsRequest.Builder> implements RetrieveToolsRequestOrBuilderRequest message for ToolService.RetrieveTools.
Protobuf type google.cloud.ces.v1.RetrieveToolsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrieveToolsRequest.BuilderImplements
RetrieveToolsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllToolIds(Iterable<String> values)
public RetrieveToolsRequest.Builder addAllToolIds(Iterable<String> values)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The toolIds to add. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
addToolIds(String value)
public RetrieveToolsRequest.Builder addToolIds(String value)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe toolIds to add. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
addToolIdsBytes(ByteString value)
public RetrieveToolsRequest.Builder addToolIdsBytes(ByteString value)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the toolIds to add. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
build()
public RetrieveToolsRequest build()| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest |
|
buildPartial()
public RetrieveToolsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest |
|
clear()
public RetrieveToolsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
|
clearToolIds()
public RetrieveToolsRequest.Builder clearToolIds()Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
clearToolset()
public RetrieveToolsRequest.Builder clearToolset() Required. The name of the toolset to retrieve the tools for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RetrieveToolsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getToolIds(int index)
public String getToolIds(int index)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The toolIds at the given index. |
getToolIdsBytes(int index)
public ByteString getToolIdsBytes(int index)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the toolIds at the given index. |
getToolIdsCount()
public int getToolIdsCount()Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of toolIds. |
getToolIdsList()
public ProtocolStringList getToolIdsList()Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the toolIds. |
getToolset()
public String getToolset() Required. The name of the toolset to retrieve the tools for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The toolset. |
getToolsetBytes()
public ByteString getToolsetBytes() Required. The name of the toolset to retrieve the tools for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for toolset. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RetrieveToolsRequest other)
public RetrieveToolsRequest.Builder mergeFrom(RetrieveToolsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RetrieveToolsRequest |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveToolsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrieveToolsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
|
setToolIds(int index, String value)
public RetrieveToolsRequest.Builder setToolIds(int index, String value)Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe toolIds to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
setToolset(String value)
public RetrieveToolsRequest.Builder setToolset(String value) Required. The name of the toolset to retrieve the tools for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe toolset to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |
setToolsetBytes(ByteString value)
public RetrieveToolsRequest.Builder setToolsetBytes(ByteString value) Required. The name of the toolset to retrieve the tools for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for toolset to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveToolsRequest.Builder |
This builder for chaining. |