Class ListRevisionsResponse.Builder (0.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.run.v2.Revision>
Returns
TypeDescription
ListRevisionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRevision
Returns
TypeDescription
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
NameDescription
builderForValueRevision.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRevision
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRevision.Builder
Returns
TypeDescription
ListRevisionsResponse.Builder

addRevisionsBuilder()

public Revision.Builder addRevisionsBuilder()

The resulting list of Revisions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Revision.Builder

build()

public ListRevisionsResponse build()
Returns
TypeDescription
ListRevisionsResponse

buildPartial()

public ListRevisionsResponse buildPartial()
Returns
TypeDescription
ListRevisionsResponse

clear()

public ListRevisionsResponse.Builder clear()
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides

clearRevisions()

public ListRevisionsResponse.Builder clearRevisions()

The resulting list of Revisions.

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

Returns
TypeDescription
ListRevisionsResponse.Builder

clone()

public ListRevisionsResponse.Builder clone()
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Revision

getRevisionsBuilder(int index)

public Revision.Builder getRevisionsBuilder(int index)

The resulting list of Revisions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Revision.Builder

getRevisionsBuilderList()

public List<Revision.Builder> getRevisionsBuilderList()

The resulting list of Revisions.

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

Returns
TypeDescription
List<Builder>

getRevisionsCount()

public int getRevisionsCount()

The resulting list of Revisions.

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

Returns
TypeDescription
int

getRevisionsList()

public List<Revision> getRevisionsList()

The resulting list of Revisions.

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

Returns
TypeDescription
List<Revision>

getRevisionsOrBuilder(int index)

public RevisionOrBuilder getRevisionsOrBuilder(int index)

The resulting list of Revisions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RevisionOrBuilder

getRevisionsOrBuilderList()

public List<? extends RevisionOrBuilder> getRevisionsOrBuilderList()

The resulting list of Revisions.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRevisionsResponse other)

public ListRevisionsResponse.Builder mergeFrom(ListRevisionsResponse other)
Parameter
NameDescription
otherListRevisionsResponse
Returns
TypeDescription
ListRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRevisionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRevision
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRevision.Builder
Returns
TypeDescription
ListRevisionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRevisionsResponse.Builder
Overrides