public static final class ListSnapshotsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder> implements ListSnapshotsRequestOrBuilder
ListSnapshotsRequest lists snapshots.Protobuf type
google.cloud.netapp.v1.ListSnapshotsRequest| Modifier and Type | Method and Description |
|---|---|
ListSnapshotsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSnapshotsRequest |
build() |
ListSnapshotsRequest |
buildPartial() |
ListSnapshotsRequest.Builder |
clear() |
ListSnapshotsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSnapshotsRequest.Builder |
clearFilter()
List filter.
|
ListSnapshotsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSnapshotsRequest.Builder |
clearOrderBy()
Sort results.
|
ListSnapshotsRequest.Builder |
clearPageSize()
The maximum number of items to return.
|
ListSnapshotsRequest.Builder |
clearPageToken()
The next_page_token value to use if there are additional
results to retrieve for this list request.
|
ListSnapshotsRequest.Builder |
clearParent()
Required.
|
ListSnapshotsRequest.Builder |
clone() |
ListSnapshotsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
List filter.
|
com.google.protobuf.ByteString |
getFilterBytes()
List filter.
|
String |
getOrderBy()
Sort results.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Sort results.
|
int |
getPageSize()
The maximum number of items to return.
|
String |
getPageToken()
The next_page_token value to use if there are additional
results to retrieve for this list request.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The next_page_token value to use if there are additional
results to retrieve for this list request.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSnapshotsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSnapshotsRequest.Builder |
mergeFrom(ListSnapshotsRequest other) |
ListSnapshotsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSnapshotsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSnapshotsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSnapshotsRequest.Builder |
setFilter(String value)
List filter.
|
ListSnapshotsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
List filter.
|
ListSnapshotsRequest.Builder |
setOrderBy(String value)
Sort results.
|
ListSnapshotsRequest.Builder |
setOrderByBytes(com.google.protobuf.ByteString value)
Sort results.
|
ListSnapshotsRequest.Builder |
setPageSize(int value)
The maximum number of items to return.
|
ListSnapshotsRequest.Builder |
setPageToken(String value)
The next_page_token value to use if there are additional
results to retrieve for this list request.
|
ListSnapshotsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The next_page_token value to use if there are additional
results to retrieve for this list request.
|
ListSnapshotsRequest.Builder |
setParent(String value)
Required.
|
ListSnapshotsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListSnapshotsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSnapshotsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSnapshotsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSnapshotsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSnapshotsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSnapshotsRequest.Builder>IOExceptionpublic String getParent()
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) = { ... }
getParent in interface ListSnapshotsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
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) = { ... }
getParentBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setParent(String value)
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) = { ... }
value - The parent to set.public ListSnapshotsRequest.Builder clearParent()
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) = { ... }
public ListSnapshotsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for parent to set.public int getPageSize()
The maximum number of items to return.
int32 page_size = 2;getPageSize in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setPageSize(int value)
The maximum number of items to return.
int32 page_size = 2;value - The pageSize to set.public ListSnapshotsRequest.Builder clearPageSize()
The maximum number of items to return.
int32 page_size = 2;public String getPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;getPageToken in interface ListSnapshotsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;getPageTokenBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setPageToken(String value)
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;value - The pageToken to set.public ListSnapshotsRequest.Builder clearPageToken()
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;public ListSnapshotsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;value - The bytes for pageToken to set.public String getOrderBy()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;getOrderBy in interface ListSnapshotsRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;getOrderByBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setOrderBy(String value)
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;value - The orderBy to set.public ListSnapshotsRequest.Builder clearOrderBy()
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;public ListSnapshotsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;value - The bytes for orderBy to set.public String getFilter()
List filter.
string filter = 5;getFilter in interface ListSnapshotsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
List filter.
string filter = 5;getFilterBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setFilter(String value)
List filter.
string filter = 5;value - The filter to set.public ListSnapshotsRequest.Builder clearFilter()
List filter.
string filter = 5;public ListSnapshotsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
List filter.
string filter = 5;value - The bytes for filter to set.public final ListSnapshotsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public final ListSnapshotsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.