Class ListVolumeBackupsResponse (0.38.0)

public final class ListVolumeBackupsResponse extends GeneratedMessageV3 implements ListVolumeBackupsResponseOrBuilder

Response message for ListVolumeBackups.

Protobuf type google.cloud.gkebackup.v1.ListVolumeBackupsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

VOLUME_BACKUPS_FIELD_NUMBER

public static final int VOLUME_BACKUPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListVolumeBackupsResponse getDefaultInstance()
Returns
TypeDescription
ListVolumeBackupsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListVolumeBackupsResponse prototype)

public static ListVolumeBackupsResponse.Builder newBuilder(ListVolumeBackupsResponse prototype)
Parameter
NameDescription
prototypeListVolumeBackupsResponse
Returns
TypeDescription
ListVolumeBackupsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListVolumeBackupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListVolumeBackupsResponse

getNextPageToken()

public String getNextPageToken()

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVolumeBackups(int index)

public VolumeBackup getVolumeBackups(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeBackup

getVolumeBackupsCount()

public int getVolumeBackupsCount()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
TypeDescription
int

getVolumeBackupsList()

public List<VolumeBackup> getVolumeBackupsList()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
TypeDescription
List<VolumeBackup>

getVolumeBackupsOrBuilder(int index)

public VolumeBackupOrBuilder getVolumeBackupsOrBuilder(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeBackupOrBuilder

getVolumeBackupsOrBuilderList()

public List<? extends VolumeBackupOrBuilder> getVolumeBackupsOrBuilderList()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.VolumeBackupOrBuilder>

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 ListVolumeBackupsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListVolumeBackupsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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