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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkerPoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addWorkerPools(WorkerPool value)
public ListWorkerPoolsResponse.Builder addWorkerPools(WorkerPool value)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
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;
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;
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;
addWorkerPoolsBuilder()
public WorkerPool.Builder addWorkerPoolsBuilder()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
addWorkerPoolsBuilder(int index)
public WorkerPool.Builder addWorkerPoolsBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListWorkerPoolsResponse build()
buildPartial()
public ListWorkerPoolsResponse buildPartial()
clear()
public ListWorkerPoolsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkerPoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkerPoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWorkerPools()
public ListWorkerPoolsResponse.Builder clearWorkerPools()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
clone()
public ListWorkerPoolsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListWorkerPoolsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
getWorkerPoolsBuilder(int index)
public WorkerPool.Builder getWorkerPoolsBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter |
Name |
Description |
index |
int
|
getWorkerPoolsBuilderList()
public List<WorkerPool.Builder> getWorkerPoolsBuilderList()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
getWorkerPoolsCount()
public int getWorkerPoolsCount()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Returns |
Type |
Description |
int |
|
getWorkerPoolsList()
public List<WorkerPool> getWorkerPoolsList()
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
getWorkerPoolsOrBuilder(int index)
public WorkerPoolOrBuilder getWorkerPoolsOrBuilder(int index)
WorkerPools
for the specified project.
repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListWorkerPoolsResponse other)
public ListWorkerPoolsResponse.Builder mergeFrom(ListWorkerPoolsResponse other)
public ListWorkerPoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListWorkerPoolsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkerPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkerPoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkerPoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkerPoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;