Class ListRevisionsResponse (0.3.5)

public final class ListRevisionsResponse extends GeneratedMessageV3 implements ListRevisionsResponseOrBuilder

Response message containing a list of Revisions.

Protobuf type google.cloud.run.v2.ListRevisionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

REVISIONS_FIELD_NUMBER

public static final int REVISIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListRevisionsResponse getDefaultInstance()
Returns
TypeDescription
ListRevisionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListRevisionsResponse prototype)

public static ListRevisionsResponse.Builder newBuilder(ListRevisionsResponse prototype)
Parameter
NameDescription
prototypeListRevisionsResponse
Returns
TypeDescription
ListRevisionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRevisionsResponse

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.

getParserForType()

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

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListRevisionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListRevisionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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