Class ListWorkerPoolsResponse (3.5.2)

public final class ListWorkerPoolsResponse extends GeneratedMessageV3 implements ListWorkerPoolsResponseOrBuilder

Response containing existing WorkerPools.

Protobuf type google.devtools.cloudbuild.v1.ListWorkerPoolsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_POOLS_FIELD_NUMBER

public static final int WORKER_POOLS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListWorkerPoolsResponse getDefaultInstance()
Returns
TypeDescription
ListWorkerPoolsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListWorkerPoolsResponse.Builder newBuilder()
Returns
TypeDescription
ListWorkerPoolsResponse.Builder

newBuilder(ListWorkerPoolsResponse prototype)

public static ListWorkerPoolsResponse.Builder newBuilder(ListWorkerPoolsResponse prototype)
Parameter
NameDescription
prototypeListWorkerPoolsResponse
Returns
TypeDescription
ListWorkerPoolsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListWorkerPoolsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListWorkerPoolsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListWorkerPoolsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListWorkerPoolsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListWorkerPoolsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListWorkerPoolsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListWorkerPoolsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkerPoolsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListWorkerPoolsResponse> parser()
Returns
TypeDescription
Parser<ListWorkerPoolsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListWorkerPoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkerPoolsResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListWorkerPoolsResponse> getParserForType()
Returns
TypeDescription
Parser<ListWorkerPoolsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWorkerPools(int index)

public WorkerPool getWorkerPools(int index)

WorkerPools for the specified project.

repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkerPool

getWorkerPoolsCount()

public int getWorkerPoolsCount()

WorkerPools for the specified project.

repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;

Returns
TypeDescription
int

getWorkerPoolsList()

public List<WorkerPool> getWorkerPoolsList()

WorkerPools for the specified project.

repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;

Returns
TypeDescription
List<WorkerPool>

getWorkerPoolsOrBuilder(int index)

public WorkerPoolOrBuilder getWorkerPoolsOrBuilder(int index)

WorkerPools for the specified project.

repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkerPoolOrBuilder

getWorkerPoolsOrBuilderList()

public List<? extends WorkerPoolOrBuilder> getWorkerPoolsOrBuilderList()

WorkerPools for the specified project.

repeated .google.devtools.cloudbuild.v1.WorkerPool worker_pools = 1;

Returns
TypeDescription
List<? extends com.google.cloudbuild.v1.WorkerPoolOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListWorkerPoolsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListWorkerPoolsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListWorkerPoolsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListWorkerPoolsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListWorkerPoolsResponse.Builder toBuilder()
Returns
TypeDescription
ListWorkerPoolsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException