Class RetrieveToolsResponse.Builder (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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTools(Iterable<? extends Tool> values)

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>
Returns
Type Description
RetrieveToolsResponse.Builder

addTools(Tool value)

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
Returns
Type Description
RetrieveToolsResponse.Builder

addTools(Tool.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Tool.Builder
Returns
Type Description
RetrieveToolsResponse.Builder

addTools(int index, Tool value)

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
Returns
Type Description
RetrieveToolsResponse.Builder

addTools(int index, Tool.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
RetrieveToolsResponse.Builder

addToolsBuilder()

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];

Returns
Type Description
Tool.Builder

addToolsBuilder(int index)

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
Returns
Type Description
Tool.Builder

build()

public RetrieveToolsResponse build()
Returns
Type Description
RetrieveToolsResponse

buildPartial()

public RetrieveToolsResponse buildPartial()
Returns
Type Description
RetrieveToolsResponse

clear()

public RetrieveToolsResponse.Builder clear()
Returns
Type Description
RetrieveToolsResponse.Builder
Overrides

clearTools()

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];

Returns
Type Description
RetrieveToolsResponse.Builder

getDefaultInstanceForType()

public RetrieveToolsResponse getDefaultInstanceForType()
Returns
Type Description
RetrieveToolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTools(int index)

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

getToolsBuilder(int index)

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
Returns
Type Description
Tool.Builder

getToolsBuilderList()

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];

Returns
Type Description
List<Builder>

getToolsCount()

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

getToolsList()

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];

Returns
Type Description
List<Tool>

getToolsOrBuilder(int index)

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
Returns
Type Description
ToolOrBuilder

getToolsOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RetrieveToolsResponse other)

public RetrieveToolsResponse.Builder mergeFrom(RetrieveToolsResponse other)
Parameter
Name Description
other RetrieveToolsResponse
Returns
Type Description
RetrieveToolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RetrieveToolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveToolsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RetrieveToolsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RetrieveToolsResponse.Builder
Overrides

removeTools(int index)

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
Returns
Type Description
RetrieveToolsResponse.Builder

setTools(int index, Tool value)

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
Returns
Type Description
RetrieveToolsResponse.Builder

setTools(int index, Tool.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
RetrieveToolsResponse.Builder