public static final class ListWorkerPoolsResponse.Builder extends GeneratedMessageV3.Builder<ListWorkerPoolsResponse.Builder> implements ListWorkerPoolsResponseOrBuilder
Response containing existing WorkerPools
.
Protobuf type google.devtools.cloudbuild.v1.ListWorkerPoolsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllWorkerPools(Iterable<? extends WorkerPool> values)
public ListWorkerPoolsResponse.Builder addAllWorkerPools(Iterable<? extends WorkerPool> values)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloudbuild.v1.WorkerPool>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkerPoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addWorkerPools(WorkerPool value)
public ListWorkerPoolsResponse.Builder addWorkerPools(WorkerPool value)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
addWorkerPools(WorkerPool.Builder builderForValue)
public ListWorkerPoolsResponse.Builder addWorkerPools(WorkerPool.Builder builderForValue)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
addWorkerPools(int index, WorkerPool value)
public ListWorkerPoolsResponse.Builder addWorkerPools(int index, WorkerPool value)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameters
Returns
addWorkerPools(int index, WorkerPool.Builder builderForValue)
public ListWorkerPoolsResponse.Builder addWorkerPools(int index, WorkerPool.Builder builderForValue)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameters
Returns
addWorkerPoolsBuilder()
public WorkerPool.Builder addWorkerPoolsBuilder()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
addWorkerPoolsBuilder(int index)
public WorkerPool.Builder addWorkerPoolsBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
build()
public ListWorkerPoolsResponse build()
Returns
buildPartial()
public ListWorkerPoolsResponse buildPartial()
Returns
clear()
public ListWorkerPoolsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkerPoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListWorkerPoolsResponse.Builder clearNextPageToken()
Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkerPoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWorkerPools()
public ListWorkerPoolsResponse.Builder clearWorkerPools()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
clone()
public ListWorkerPoolsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListWorkerPoolsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getWorkerPools(int index)
public WorkerPool getWorkerPools(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
getWorkerPoolsBuilder(int index)
public WorkerPool.Builder getWorkerPoolsBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
getWorkerPoolsBuilderList()
public List<WorkerPool.Builder> getWorkerPoolsBuilderList()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
getWorkerPoolsCount()
public int getWorkerPoolsCount()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
getWorkerPoolsList()
public List<WorkerPool> getWorkerPoolsList()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
getWorkerPoolsOrBuilder(int index)
public WorkerPoolOrBuilder getWorkerPoolsOrBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
getWorkerPoolsOrBuilderList()
public List<? extends WorkerPoolOrBuilder> getWorkerPoolsOrBuilderList()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns
Type | Description |
List<? extends com.google.cloudbuild.v1.WorkerPoolOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListWorkerPoolsResponse other)
public ListWorkerPoolsResponse.Builder mergeFrom(ListWorkerPoolsResponse other)
Parameter
Returns
public ListWorkerPoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListWorkerPoolsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkerPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeWorkerPools(int index)
public ListWorkerPoolsResponse.Builder removeWorkerPools(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkerPoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListWorkerPoolsResponse.Builder setNextPageToken(String value)
Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListWorkerPoolsResponse.Builder setNextPageTokenBytes(ByteString value)
Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkerPoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkerPoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWorkerPools(int index, WorkerPool value)
public ListWorkerPoolsResponse.Builder setWorkerPools(int index, WorkerPool value)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameters
Returns
setWorkerPools(int index, WorkerPool.Builder builderForValue)
public ListWorkerPoolsResponse.Builder setWorkerPools(int index, WorkerPool.Builder builderForValue)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameters
Returns