public final class ListBuildsRequest extends GeneratedMessageV3 implements ListBuildsRequestOrBuilder
Request to list builds.
Protobuf type google.devtools.cloudbuild.v1.ListBuildsRequest
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListBuildsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListBuildsRequest.Builder newBuilder()
Returns
newBuilder(ListBuildsRequest prototype)
public static ListBuildsRequest.Builder newBuilder(ListBuildsRequest prototype)
Parameter
Returns
public static ListBuildsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListBuildsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListBuildsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListBuildsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListBuildsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListBuildsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListBuildsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListBuildsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListBuildsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListBuildsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListBuildsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListBuildsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListBuildsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListBuildsRequest getDefaultInstanceForType()
Returns
getFilter()
public String getFilter()
The raw filter text to constrain the results.
string filter = 8;
Returns
Type | Description |
String | The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
The raw filter text to constrain the results.
string filter = 8;
Returns
getPageSize()
Number of results to return in the list.
int32 page_size = 2;
Returns
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
The page token for the next page of Builds.
If unspecified, the first page of results is returned.
If the token is rejected for any reason, INVALID_ARGUMENT will be thrown.
In this case, the token should be discarded, and pagination should be
restarted from the first page of results.
See https://google.aip.dev/158 for more.
string page_token = 3;
Returns
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
The page token for the next page of Builds.
If unspecified, the first page of results is returned.
If the token is rejected for any reason, INVALID_ARGUMENT will be thrown.
In this case, the token should be discarded, and pagination should be
restarted from the first page of results.
See https://google.aip.dev/158 for more.
string page_token = 3;
Returns
getParent()
public String getParent()
The parent of the collection of Builds
.
Format: projects/{project}/locations/location
string parent = 9 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
The parent of the collection of Builds
.
Format: projects/{project}/locations/location
string parent = 9 [(.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<ListBuildsRequest> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
Required. ID of the project.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. ID of the project.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListBuildsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListBuildsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListBuildsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions