Class RetrieveToolsResponse.Builder (0.9.0)
0.9.0 (latest)
0.7.0
0.4.0
0.3.0
0.1.0
public static final class RetrieveToolsResponse . Builder extends GeneratedMessage . Builder<RetrieveToolsResponse . Builder > implements RetrieveToolsResponseOrBuilder
Response message for
ToolService.RetrieveTools .
Protobuf type google.cloud.ces.v1.RetrieveToolsResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public RetrieveToolsResponse . Builder addAllTools ( Iterable <? extends Tool > values )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.ces.v1.Tool >
public RetrieveToolsResponse . Builder addTools ( Tool value )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
value
Tool
public RetrieveToolsResponse . Builder addTools ( Tool . Builder builderForValue )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public RetrieveToolsResponse . Builder addTools ( int index , Tool value )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameters
Name
Description
index
int
value
Tool
public RetrieveToolsResponse . Builder addTools ( int index , Tool . Builder builderForValue )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public Tool . Builder addToolsBuilder ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public Tool . Builder addToolsBuilder ( int index )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
index
int
public RetrieveToolsResponse build ()
public RetrieveToolsResponse buildPartial ()
public RetrieveToolsResponse . Builder clear ()
Overrides
public RetrieveToolsResponse . Builder clearTools ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public RetrieveToolsResponse getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public Tool getTools ( int index )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
index
int
Returns
Type
Description
Tool
public Tool . Builder getToolsBuilder ( int index )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
index
int
public List<Tool . Builder > getToolsBuilderList ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public int getToolsCount ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Returns
Type
Description
int
public List<Tool> getToolsList ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
public ToolOrBuilder getToolsOrBuilder ( int index )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
index
int
public List <? extends ToolOrBuilder > getToolsOrBuilderList ()
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Returns
Type
Description
List <? extends com.google.cloud.ces.v1.ToolOrBuilder >
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RetrieveToolsResponse . Builder mergeFrom ( RetrieveToolsResponse other )
public RetrieveToolsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public RetrieveToolsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public RetrieveToolsResponse . Builder removeTools ( int index )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameter
Name
Description
index
int
public RetrieveToolsResponse . Builder setTools ( int index , Tool value )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Parameters
Name
Description
index
int
value
Tool
public RetrieveToolsResponse . Builder setTools ( int index , Tool . Builder builderForValue )
The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-17 UTC."],[],[]]