Class ListRevisionsRequest.Builder (0.83.0)

public static final class ListRevisionsRequest.Builder extends GeneratedMessage.Builder<ListRevisionsRequest.Builder> implements ListRevisionsRequestOrBuilder

Request message for retrieving a list of Revisions.

Protobuf type google.cloud.run.v2.ListRevisionsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListRevisionsRequest build()
Returns
Type Description
ListRevisionsRequest

buildPartial()

public ListRevisionsRequest buildPartial()
Returns
Type Description
ListRevisionsRequest

clear()

public ListRevisionsRequest.Builder clear()
Returns
Type Description
ListRevisionsRequest.Builder
Overrides

clearPageSize()

public ListRevisionsRequest.Builder clearPageSize()

Maximum number of revisions to return in this call.

int32 page_size = 2;

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListRevisionsRequest.Builder clearPageToken()

A page token received from a previous call to ListRevisions. All other parameters must match.

string page_token = 3;

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

clearParent()

public ListRevisionsRequest.Builder clearParent()

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

clearShowDeleted()

public ListRevisionsRequest.Builder clearShowDeleted()

If true, returns deleted (but unexpired) resources along with active ones.

bool show_deleted = 4;

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListRevisionsRequest getDefaultInstanceForType()
Returns
Type Description
ListRevisionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

Maximum number of revisions to return in this call.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token received from a previous call to ListRevisions. All other parameters must match.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token received from a previous call to ListRevisions. All other parameters must match.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getShowDeleted()

public boolean getShowDeleted()

If true, returns deleted (but unexpired) resources along with active ones.

bool show_deleted = 4;

Returns
Type Description
boolean

The showDeleted.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRevisionsRequest other)

public ListRevisionsRequest.Builder mergeFrom(ListRevisionsRequest other)
Parameter
Name Description
other ListRevisionsRequest
Returns
Type Description
ListRevisionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRevisionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRevisionsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRevisionsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRevisionsRequest.Builder
Overrides

setPageSize(int value)

public ListRevisionsRequest.Builder setPageSize(int value)

Maximum number of revisions to return in this call.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListRevisionsRequest.Builder setPageToken(String value)

A page token received from a previous call to ListRevisions. All other parameters must match.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListRevisionsRequest.Builder setPageTokenBytes(ByteString value)

A page token received from a previous call to ListRevisions. All other parameters must match.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListRevisionsRequest.Builder setParent(String value)

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListRevisionsRequest.Builder setParentBytes(ByteString value)

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.

setShowDeleted(boolean value)

public ListRevisionsRequest.Builder setShowDeleted(boolean value)

If true, returns deleted (but unexpired) resources along with active ones.

bool show_deleted = 4;

Parameter
Name Description
value boolean

The showDeleted to set.

Returns
Type Description
ListRevisionsRequest.Builder

This builder for chaining.