Class ListBuildsResponse (3.38.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
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListBuildsResponse getDefaultInstance()
Returns
TypeDescription
ListBuildsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBuildsResponse prototype)

public static ListBuildsResponse.Builder newBuilder(ListBuildsResponse prototype)
Parameter
NameDescription
prototypeListBuildsResponse
Returns
TypeDescription
ListBuildsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Build

getBuildsCount()

public int getBuildsCount()

Builds will be sorted by create_time, descending.

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

Returns
TypeDescription
int

getBuildsList()

public List<Build> getBuildsList()

Builds will be sorted by create_time, descending.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BuildOrBuilder

getBuildsOrBuilderList()

public List<? extends BuildOrBuilder> getBuildsOrBuilderList()

Builds will be sorted by create_time, descending.

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

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

getDefaultInstanceForType()

public ListBuildsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListBuildsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListBuildsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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