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)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.ces.v1.Tool>
|
public RetrieveToolsResponse.Builder addTools(Tool value)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
Tool
|
public RetrieveToolsResponse.Builder addTools(Tool.Builder builderForValue)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public RetrieveToolsResponse.Builder addTools(int index, Tool value)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters |
| Name |
Description |
index |
int
|
value |
Tool
|
public RetrieveToolsResponse.Builder addTools(int index, Tool.Builder builderForValue)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.Builder addToolsBuilder()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.Builder addToolsBuilder(int index)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public RetrieveToolsResponse build()
public RetrieveToolsResponse buildPartial()
public RetrieveToolsResponse.Builder clear()
Overrides
public RetrieveToolsResponse.Builder clearTools()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public RetrieveToolsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tool getTools(int index)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Tool |
|
public Tool.Builder getToolsBuilder(int index)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<Tool.Builder> getToolsBuilderList()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public int getToolsCount()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<Tool> getToolsList()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolOrBuilder getToolsOrBuilder(int index)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ToolOrBuilder> getToolsOrBuilderList()
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| 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)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public RetrieveToolsResponse.Builder setTools(int index, Tool value)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters |
| Name |
Description |
index |
int
|
value |
Tool
|
public RetrieveToolsResponse.Builder setTools(int index, Tool.Builder builderForValue)
Required. The list of tools that are included in the specified toolset.
repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED];