public static final class ListStatusPartialPOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder> implements ListStatusPartialPOptionsOrBuilder
alluxio.grpc.file.ListStatusPartialPOptions
Modifier and Type | Method and Description |
---|---|
ListStatusPartialPOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListStatusPartialPOptions |
build() |
ListStatusPartialPOptions |
buildPartial() |
ListStatusPartialPOptions.Builder |
clear() |
ListStatusPartialPOptions.Builder |
clearBatchSize()
Batch size for partial listings.
|
ListStatusPartialPOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListStatusPartialPOptions.Builder |
clearOffsetCount()
Only start listing items after this many items have been processed.
|
ListStatusPartialPOptions.Builder |
clearOffsetId()
Start listing after the given FileId, the FileId can be calculated from the
result of a previous listing's FileInfo or URIStatus results using the
getFileId method.
|
ListStatusPartialPOptions.Builder |
clearOffsetType() |
ListStatusPartialPOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListStatusPartialPOptions.Builder |
clearOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPartialPOptions.Builder |
clearPrefix()
Only match files with a given prefix.
|
ListStatusPartialPOptions.Builder |
clearStartAfter()
Start the listing after this path.
|
ListStatusPartialPOptions.Builder |
clone() |
int |
getBatchSize()
Batch size for partial listings.
|
ListStatusPartialPOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getOffsetCount()
Only start listing items after this many items have been processed.
|
long |
getOffsetId()
Start listing after the given FileId, the FileId can be calculated from the
result of a previous listing's FileInfo or URIStatus results using the
getFileId method.
|
ListStatusPartialPOptions.OffsetTypeCase |
getOffsetTypeCase() |
ListStatusPOptions |
getOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPOptions.Builder |
getOptionsBuilder()
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPOptionsOrBuilder |
getOptionsOrBuilder()
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
String |
getPrefix()
Only match files with a given prefix.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Only match files with a given prefix.
|
String |
getStartAfter()
Start the listing after this path.
|
com.google.protobuf.ByteString |
getStartAfterBytes()
Start the listing after this path.
|
boolean |
hasBatchSize()
Batch size for partial listings.
|
boolean |
hasOffsetCount()
Only start listing items after this many items have been processed.
|
boolean |
hasOffsetId()
Start listing after the given FileId, the FileId can be calculated from the
result of a previous listing's FileInfo or URIStatus results using the
getFileId method.
|
boolean |
hasOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
boolean |
hasPrefix()
Only match files with a given prefix.
|
boolean |
hasStartAfter()
Start the listing after this path.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListStatusPartialPOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListStatusPartialPOptions.Builder |
mergeFrom(ListStatusPartialPOptions other) |
ListStatusPartialPOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListStatusPartialPOptions.Builder |
mergeOptions(ListStatusPOptions value)
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPartialPOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListStatusPartialPOptions.Builder |
setBatchSize(int value)
Batch size for partial listings.
|
ListStatusPartialPOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListStatusPartialPOptions.Builder |
setOffsetCount(int value)
Only start listing items after this many items have been processed.
|
ListStatusPartialPOptions.Builder |
setOffsetId(long value)
Start listing after the given FileId, the FileId can be calculated from the
result of a previous listing's FileInfo or URIStatus results using the
getFileId method.
|
ListStatusPartialPOptions.Builder |
setOptions(ListStatusPOptions.Builder builderForValue)
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPartialPOptions.Builder |
setOptions(ListStatusPOptions value)
optional .alluxio.grpc.file.ListStatusPOptions options = 1; |
ListStatusPartialPOptions.Builder |
setPrefix(String value)
Only match files with a given prefix.
|
ListStatusPartialPOptions.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
Only match files with a given prefix.
|
ListStatusPartialPOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListStatusPartialPOptions.Builder |
setStartAfter(String value)
Start the listing after this path.
|
ListStatusPartialPOptions.Builder |
setStartAfterBytes(com.google.protobuf.ByteString value)
Start the listing after this path.
|
ListStatusPartialPOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListStatusPartialPOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListStatusPartialPOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListStatusPartialPOptions.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder mergeFrom(ListStatusPartialPOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public ListStatusPartialPOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListStatusPartialPOptions.Builder>
IOException
public ListStatusPartialPOptions.OffsetTypeCase getOffsetTypeCase()
getOffsetTypeCase
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder clearOffsetType()
public boolean hasOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
hasOptions
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPOptions getOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
getOptions
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setOptions(ListStatusPOptions value)
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
public ListStatusPartialPOptions.Builder setOptions(ListStatusPOptions.Builder builderForValue)
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
public ListStatusPartialPOptions.Builder mergeOptions(ListStatusPOptions value)
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
public ListStatusPartialPOptions.Builder clearOptions()
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
public ListStatusPOptions.Builder getOptionsBuilder()
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
public ListStatusPOptionsOrBuilder getOptionsOrBuilder()
optional .alluxio.grpc.file.ListStatusPOptions options = 1;
getOptionsOrBuilder
in interface ListStatusPartialPOptionsOrBuilder
public boolean hasOffsetId()
Start listing after the given FileId, the FileId can be calculated from the result of a previous listing's FileInfo or URIStatus results using the getFileId method. If the file with the given ID has been moved or deleted then the call will return an error.
int64 offsetId = 2;
hasOffsetId
in interface ListStatusPartialPOptionsOrBuilder
public long getOffsetId()
Start listing after the given FileId, the FileId can be calculated from the result of a previous listing's FileInfo or URIStatus results using the getFileId method. If the file with the given ID has been moved or deleted then the call will return an error.
int64 offsetId = 2;
getOffsetId
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setOffsetId(long value)
Start listing after the given FileId, the FileId can be calculated from the result of a previous listing's FileInfo or URIStatus results using the getFileId method. If the file with the given ID has been moved or deleted then the call will return an error.
int64 offsetId = 2;
value
- The offsetId to set.public ListStatusPartialPOptions.Builder clearOffsetId()
Start listing after the given FileId, the FileId can be calculated from the result of a previous listing's FileInfo or URIStatus results using the getFileId method. If the file with the given ID has been moved or deleted then the call will return an error.
int64 offsetId = 2;
public boolean hasStartAfter()
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
hasStartAfter
in interface ListStatusPartialPOptionsOrBuilder
public String getStartAfter()
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
getStartAfter
in interface ListStatusPartialPOptionsOrBuilder
public com.google.protobuf.ByteString getStartAfterBytes()
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
getStartAfterBytes
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setStartAfter(String value)
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
value
- The startAfter to set.public ListStatusPartialPOptions.Builder clearStartAfter()
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
public ListStatusPartialPOptions.Builder setStartAfterBytes(com.google.protobuf.ByteString value)
Start the listing after this path. If startAfter starts with "/", then it is expected that the path given in the ListStatusPartialPRequest is a prefix of startAfter (e.g. if listing "/dir", then startAfter could be "/dir/next"). Otherwise if start after does not start with "/", then startAfter is appended to the path given in the ListStatusPartialPRequest (e.g. if the listing path is "/dir" and startAfter is "/after" then files that start after "/dir/after" in lexicographic order will be listed). The full path itself does not need to exist. This offset type is recommended to use if POSIX compatible listings are needed.
string startAfter = 3;
value
- The bytes for startAfter to set.public boolean hasOffsetCount()
Only start listing items after this many items have been processed. This will count from the start of the listing up to offsetCont before listing items. This can be useful for example to show individual pages in a UI. Note that this listing type may be more expensive than the others as it must traverse offsetCount items, while the others reach the listing point by querying a skip list.
int32 offsetCount = 4;
hasOffsetCount
in interface ListStatusPartialPOptionsOrBuilder
public int getOffsetCount()
Only start listing items after this many items have been processed. This will count from the start of the listing up to offsetCont before listing items. This can be useful for example to show individual pages in a UI. Note that this listing type may be more expensive than the others as it must traverse offsetCount items, while the others reach the listing point by querying a skip list.
int32 offsetCount = 4;
getOffsetCount
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setOffsetCount(int value)
Only start listing items after this many items have been processed. This will count from the start of the listing up to offsetCont before listing items. This can be useful for example to show individual pages in a UI. Note that this listing type may be more expensive than the others as it must traverse offsetCount items, while the others reach the listing point by querying a skip list.
int32 offsetCount = 4;
value
- The offsetCount to set.public ListStatusPartialPOptions.Builder clearOffsetCount()
Only start listing items after this many items have been processed. This will count from the start of the listing up to offsetCont before listing items. This can be useful for example to show individual pages in a UI. Note that this listing type may be more expensive than the others as it must traverse offsetCount items, while the others reach the listing point by querying a skip list.
int32 offsetCount = 4;
public boolean hasBatchSize()
Batch size for partial listings.
optional int32 batchSize = 5;
hasBatchSize
in interface ListStatusPartialPOptionsOrBuilder
public int getBatchSize()
Batch size for partial listings.
optional int32 batchSize = 5;
getBatchSize
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setBatchSize(int value)
Batch size for partial listings.
optional int32 batchSize = 5;
value
- The batchSize to set.public ListStatusPartialPOptions.Builder clearBatchSize()
Batch size for partial listings.
optional int32 batchSize = 5;
public boolean hasPrefix()
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
hasPrefix
in interface ListStatusPartialPOptionsOrBuilder
public String getPrefix()
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
getPrefix
in interface ListStatusPartialPOptionsOrBuilder
public com.google.protobuf.ByteString getPrefixBytes()
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
getPrefixBytes
in interface ListStatusPartialPOptionsOrBuilder
public ListStatusPartialPOptions.Builder setPrefix(String value)
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
value
- The prefix to set.public ListStatusPartialPOptions.Builder clearPrefix()
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
public ListStatusPartialPOptions.Builder setPrefixBytes(com.google.protobuf.ByteString value)
Only match files with a given prefix. The prefix starts after the given listing path (e.g. if "/dir" is being listed and prefix is "/pre", then any file with path having a prefix of "/dir/pre" will be listed).
optional string prefix = 6;
value
- The bytes for prefix to set.public final ListStatusPartialPOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
public final ListStatusPartialPOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListStatusPartialPOptions.Builder>
Copyright © 2023. All Rights Reserved.