Class ListBuildsResponse (3.51.0)

public final class ListBuildsResponse extends GeneratedMessageV3 implements ListBuildsResponseOrBuilder

Response including listed builds.

Protobuf type google.devtools.cloudbuild.v1.ListBuildsResponse

Static Fields

BUILDS_FIELD_NUMBER

public static final int BUILDS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListBuildsResponse getDefaultInstance()
Returns
Type Description
ListBuildsResponse

getDescriptor()

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

newBuilder()

public static ListBuildsResponse.Builder newBuilder()
Returns
Type Description
ListBuildsResponse.Builder

newBuilder(ListBuildsResponse prototype)

public static ListBuildsResponse.Builder newBuilder(ListBuildsResponse prototype)
Parameter
Name Description
prototype ListBuildsResponse
Returns
Type Description
ListBuildsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListBuildsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListBuildsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListBuildsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListBuildsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListBuildsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListBuildsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListBuildsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBuildsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListBuildsResponse> parser()
Returns
Type Description
Parser<ListBuildsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBuilds(int index)

public Build getBuilds(int index)

Builds will be sorted by create_time, descending.

repeated .google.devtools.cloudbuild.v1.Build builds = 1;

Parameter
Name Description
index int
Returns
Type Description
Build

getBuildsCount()

public int getBuildsCount()

Builds will be sorted by create_time, descending.

repeated .google.devtools.cloudbuild.v1.Build builds = 1;

Returns
Type Description
int

getBuildsList()

public List<Build> getBuildsList()

Builds will be sorted by create_time, descending.

repeated .google.devtools.cloudbuild.v1.Build builds = 1;

Returns
Type Description
List<Build>

getBuildsOrBuilder(int index)

public BuildOrBuilder getBuildsOrBuilder(int index)

Builds will be sorted by create_time, descending.

repeated .google.devtools.cloudbuild.v1.Build builds = 1;

Parameter
Name Description
index int
Returns
Type Description
BuildOrBuilder

getBuildsOrBuilderList()

public List<? extends BuildOrBuilder> getBuildsOrBuilderList()

Builds will be sorted by create_time, descending.

repeated .google.devtools.cloudbuild.v1.Build builds = 1;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.BuildOrBuilder>

getDefaultInstanceForType()

public ListBuildsResponse getDefaultInstanceForType()
Returns
Type Description
ListBuildsResponse

getNextPageToken()

public String getNextPageToken()

Token to receive the next page of results. This will be absent if the end of the response list has been reached.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to receive the next page of results. This will be absent if the end of the response list has been reached.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListBuildsResponse> getParserForType()
Returns
Type Description
Parser<ListBuildsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListBuildsResponse.Builder newBuilderForType()
Returns
Type Description
ListBuildsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListBuildsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListBuildsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListBuildsResponse.Builder toBuilder()
Returns
Type Description
ListBuildsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException