Class ListSnapshotsRequest (0.57.0)

publicfinalclass ListSnapshotsRequestextendsGeneratedMessageV3implementsListSnapshotsRequestOrBuilder

ListSnapshotsRequest lists snapshots.

Protobuf type google.cloud.netapp.v1.ListSnapshotsRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

FILTER_FIELD_NUMBER

publicstaticfinalintFILTER_FIELD_NUMBER
Field Value
Type Description
int

ORDER_BY_FIELD_NUMBER

publicstaticfinalintORDER_BY_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

publicstaticfinalintPAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

publicstaticfinalintPAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticListSnapshotsRequestgetDefaultInstance()
Returns
Type Description
ListSnapshotsRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticListSnapshotsRequest.BuildernewBuilder()
Returns
Type Description
ListSnapshotsRequest.Builder

newBuilder(ListSnapshotsRequest prototype)

publicstaticListSnapshotsRequest.BuildernewBuilder(ListSnapshotsRequestprototype)
Parameter
Name Description
prototype ListSnapshotsRequest
Returns
Type Description
ListSnapshotsRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticListSnapshotsRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticListSnapshotsRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticListSnapshotsRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticListSnapshotsRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticListSnapshotsRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticListSnapshotsRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticListSnapshotsRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSnapshotsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ListSnapshotsRequest>parser()
Returns
Type Description
Parser<ListSnapshotsRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicListSnapshotsRequestgetDefaultInstanceForType()
Returns
Type Description
ListSnapshotsRequest

getFilter()

publicStringgetFilter()

List filter.

string filter = 5;

Returns
Type Description
String

The filter.

getFilterBytes()

publicByteStringgetFilterBytes()

List filter.

string filter = 5;

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

publicStringgetOrderBy()

Sort results. Supported values are "name", "name desc" or "" (unsorted).

string order_by = 4;

Returns
Type Description
String

The orderBy.

getOrderByBytes()

publicByteStringgetOrderByBytes()

Sort results. Supported values are "name", "name desc" or "" (unsorted).

string order_by = 4;

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

publicintgetPageSize()

The maximum number of items to return.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

publicStringgetPageToken()

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

publicByteStringgetPageTokenBytes()

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

publicStringgetParent()

Required. The volume for which to retrieve snapshot information, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The volume for which to retrieve snapshot information, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

publicParser<ListSnapshotsRequest>getParserForType()
Returns
Type Description
Parser<ListSnapshotsRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicListSnapshotsRequest.BuildernewBuilderForType()
Returns
Type Description
ListSnapshotsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedListSnapshotsRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListSnapshotsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicListSnapshotsRequest.BuildertoBuilder()
Returns
Type Description
ListSnapshotsRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.