Class ListRevisionsResponse.Builder (0.42.0)

public static final class ListRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListRevisionsResponse.Builder> implements ListRevisionsResponseOrBuilder

Response message containing a list of Revisions.

Protobuf type google.cloud.run.v2.ListRevisionsResponse

Static Methods

getDescriptor()

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

Methods

addAllRevisions(Iterable<? extends Revision> values)

public ListRevisionsResponse.Builder addAllRevisions(Iterable<? extends Revision> values)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.run.v2.Revision>
Returns
Type Description
ListRevisionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

addRevisions(Revision value)

public ListRevisionsResponse.Builder addRevisions(Revision value)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
value Revision
Returns
Type Description
ListRevisionsResponse.Builder

addRevisions(Revision.Builder builderForValue)

public ListRevisionsResponse.Builder addRevisions(Revision.Builder builderForValue)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
builderForValue Revision.Builder
Returns
Type Description
ListRevisionsResponse.Builder

addRevisions(int index, Revision value)

public ListRevisionsResponse.Builder addRevisions(int index, Revision value)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameters
Name Description
index int
value Revision
Returns
Type Description
ListRevisionsResponse.Builder

addRevisions(int index, Revision.Builder builderForValue)

public ListRevisionsResponse.Builder addRevisions(int index, Revision.Builder builderForValue)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameters
Name Description
index int
builderForValue Revision.Builder
Returns
Type Description
ListRevisionsResponse.Builder

addRevisionsBuilder()

public Revision.Builder addRevisionsBuilder()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
Revision.Builder

addRevisionsBuilder(int index)

public Revision.Builder addRevisionsBuilder(int index)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
Revision.Builder

build()

public ListRevisionsResponse build()
Returns
Type Description
ListRevisionsResponse

buildPartial()

public ListRevisionsResponse buildPartial()
Returns
Type Description
ListRevisionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

clearNextPageToken()

public ListRevisionsResponse.Builder clearNextPageToken()

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.

string next_page_token = 2;

Returns
Type Description
ListRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

clearRevisions()

public ListRevisionsResponse.Builder clearRevisions()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
ListRevisionsResponse.Builder

clone()

public ListRevisionsResponse.Builder clone()
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
ListRevisionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRevisions(int index)

public Revision getRevisions(int index)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
Revision

getRevisionsBuilder(int index)

public Revision.Builder getRevisionsBuilder(int index)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
Revision.Builder

getRevisionsBuilderList()

public List<Revision.Builder> getRevisionsBuilderList()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
List<Builder>

getRevisionsCount()

public int getRevisionsCount()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
int

getRevisionsList()

public List<Revision> getRevisionsList()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
List<Revision>

getRevisionsOrBuilder(int index)

public RevisionOrBuilder getRevisionsOrBuilder(int index)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
RevisionOrBuilder

getRevisionsOrBuilderList()

public List<? extends RevisionOrBuilder> getRevisionsOrBuilderList()

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Returns
Type Description
List<? extends com.google.cloud.run.v2.RevisionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRevisionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

removeRevisions(int index)

public ListRevisionsResponse.Builder removeRevisions(int index)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

setNextPageToken(String value)

public ListRevisionsResponse.Builder setNextPageToken(String value)

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRevisionsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRevisionsResponse.Builder
Overrides

setRevisions(int index, Revision value)

public ListRevisionsResponse.Builder setRevisions(int index, Revision value)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameters
Name Description
index int
value Revision
Returns
Type Description
ListRevisionsResponse.Builder

setRevisions(int index, Revision.Builder builderForValue)

public ListRevisionsResponse.Builder setRevisions(int index, Revision.Builder builderForValue)

The resulting list of Revisions.

repeated .google.cloud.run.v2.Revision revisions = 1;

Parameters
Name Description
index int
builderForValue Revision.Builder
Returns
Type Description
ListRevisionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRevisionsResponse.Builder
Overrides