Class ListRevisionsResponse (0.14.0)

public final class ListRevisionsResponse extends GeneratedMessageV3 implements ListRevisionsResponseOrBuilder

A response to a 'ListRevisions' call. Contains a list of Revisions.

Protobuf type google.cloud.config.v1.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

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_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 to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return.

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)

List of Revisions.

repeated .google.cloud.config.v1.Revision revisions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Revision

getRevisionsCount()

public int getRevisionsCount()

List of Revisions.

repeated .google.cloud.config.v1.Revision revisions = 1;

Returns
TypeDescription
int

getRevisionsList()

public List<Revision> getRevisionsList()

List of Revisions.

repeated .google.cloud.config.v1.Revision revisions = 1;

Returns
TypeDescription
List<Revision>

getRevisionsOrBuilder(int index)

public RevisionOrBuilder getRevisionsOrBuilder(int index)

List of Revisions.

repeated .google.cloud.config.v1.Revision revisions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RevisionOrBuilder

getRevisionsOrBuilderList()

public List<? extends RevisionOrBuilder> getRevisionsOrBuilderList()

List of Revisions.

repeated .google.cloud.config.v1.Revision revisions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.config.v1.RevisionOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

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