Package com.google.storage.v2
Class ListObjectsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.storage.v2.ListObjectsRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListObjectsRequestOrBuilder,Serializable
public final class ListObjectsRequest
extends com.google.protobuf.GeneratedMessageV3
implements ListObjectsRequestOrBuilder
Request message for ListObjects.Protobuf type
google.storage.v2.ListObjectsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for ListObjects.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ListObjectsRequestIf set, returns results in a directory-like mode.com.google.protobuf.ByteStringIf set, returns results in a directory-like mode.static final com.google.protobuf.Descriptors.DescriptorbooleanIf true, objects that end in exactly one instance of `delimiter` will have their metadata included in `items` in addition to `prefixes`.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.intMaximum number of `items` plus `prefixes` to return in a single page of responses.A previously-returned page token representing part of the larger set of results to view.com.google.protobuf.ByteStringA previously-returned page token representing part of the larger set of results to view.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<ListObjectsRequest>Filter results to objects whose names begin with this prefix.com.google.protobuf.ByteStringFilter results to objects whose names begin with this prefix.com.google.protobuf.FieldMaskMask specifying which fields to read from each result.com.google.protobuf.FieldMaskOrBuilderMask specifying which fields to read from each result.intbooleanIf `true`, lists all versions of an object as distinct results.inthashCode()booleanMask specifying which fields to read from each result.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ListObjectsRequest.Builderstatic ListObjectsRequest.BuildernewBuilder(ListObjectsRequest prototype) protected ListObjectsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ListObjectsRequestparseDelimitedFrom(InputStream input) static ListObjectsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListObjectsRequestparseFrom(byte[] data) static ListObjectsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListObjectsRequestparseFrom(com.google.protobuf.ByteString data) static ListObjectsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListObjectsRequestparseFrom(com.google.protobuf.CodedInputStream input) static ListObjectsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListObjectsRequestparseFrom(InputStream input) static ListObjectsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListObjectsRequestparseFrom(ByteBuffer data) static ListObjectsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ListObjectsRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
DELIMITER_FIELD_NUMBER
public static final int DELIMITER_FIELD_NUMBER- See Also:
-
INCLUDE_TRAILING_DELIMITER_FIELD_NUMBER
public static final int INCLUDE_TRAILING_DELIMITER_FIELD_NUMBER- See Also:
-
PREFIX_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER- See Also:
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER- See Also:
-
READ_MASK_FIELD_NUMBER
public static final int READ_MASK_FIELD_NUMBER- See Also:
-
LEXICOGRAPHIC_START_FIELD_NUMBER
public static final int LEXICOGRAPHIC_START_FIELD_NUMBER- See Also:
-
LEXICOGRAPHIC_END_FIELD_NUMBER
public static final int LEXICOGRAPHIC_END_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getParent
Required. Name of the bucket in which to look for objects.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListObjectsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. Name of the bucket in which to look for objects.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for parent.
-
getPageSize
public int getPageSize()Maximum number of `items` plus `prefixes` to return in a single page of responses. As duplicate `prefixes` are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListObjectsRequestOrBuilder- Returns:
- The pageSize.
-
getPageToken
A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;- Specified by:
getPageTokenin interfaceListObjectsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
getDelimiter
If set, returns results in a directory-like mode. `items` will contain only objects whose names, aside from the `prefix`, do not contain `delimiter`. Objects whose names, aside from the `prefix`, contain `delimiter` will have their name, truncated after the `delimiter`, returned in `prefixes`. Duplicate `prefixes` are omitted.
string delimiter = 4;- Specified by:
getDelimiterin interfaceListObjectsRequestOrBuilder- Returns:
- The delimiter.
-
getDelimiterBytes
public com.google.protobuf.ByteString getDelimiterBytes()If set, returns results in a directory-like mode. `items` will contain only objects whose names, aside from the `prefix`, do not contain `delimiter`. Objects whose names, aside from the `prefix`, contain `delimiter` will have their name, truncated after the `delimiter`, returned in `prefixes`. Duplicate `prefixes` are omitted.
string delimiter = 4;- Specified by:
getDelimiterBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for delimiter.
-
getIncludeTrailingDelimiter
public boolean getIncludeTrailingDelimiter()If true, objects that end in exactly one instance of `delimiter` will have their metadata included in `items` in addition to `prefixes`.
bool include_trailing_delimiter = 5;- Specified by:
getIncludeTrailingDelimiterin interfaceListObjectsRequestOrBuilder- Returns:
- The includeTrailingDelimiter.
-
getPrefix
Filter results to objects whose names begin with this prefix.
string prefix = 6;- Specified by:
getPrefixin interfaceListObjectsRequestOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()Filter results to objects whose names begin with this prefix.
string prefix = 6;- Specified by:
getPrefixBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for prefix.
-
getVersions
public boolean getVersions()If `true`, lists all versions of an object as distinct results. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).
bool versions = 7;- Specified by:
getVersionsin interfaceListObjectsRequestOrBuilder- Returns:
- The versions.
-
hasReadMask
public boolean hasReadMask()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.acl and items.owner. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 8;- Specified by:
hasReadMaskin interfaceListObjectsRequestOrBuilder- Returns:
- Whether the readMask field is set.
-
getReadMask
public com.google.protobuf.FieldMask getReadMask()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.acl and items.owner. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 8;- Specified by:
getReadMaskin interfaceListObjectsRequestOrBuilder- Returns:
- The readMask.
-
getReadMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.acl and items.owner. * may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 8;- Specified by:
getReadMaskOrBuilderin interfaceListObjectsRequestOrBuilder
-
getLexicographicStart
Optional. Filter results to objects whose names are lexicographically equal to or after lexicographic_start. If lexicographic_end is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLexicographicStartin interfaceListObjectsRequestOrBuilder- Returns:
- The lexicographicStart.
-
getLexicographicStartBytes
public com.google.protobuf.ByteString getLexicographicStartBytes()Optional. Filter results to objects whose names are lexicographically equal to or after lexicographic_start. If lexicographic_end is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLexicographicStartBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for lexicographicStart.
-
getLexicographicEnd
Optional. Filter results to objects whose names are lexicographically before lexicographic_end. If lexicographic_start is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLexicographicEndin interfaceListObjectsRequestOrBuilder- Returns:
- The lexicographicEnd.
-
getLexicographicEndBytes
public com.google.protobuf.ByteString getLexicographicEndBytes()Optional. Filter results to objects whose names are lexicographically before lexicographic_end. If lexicographic_start is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLexicographicEndBytesin interfaceListObjectsRequestOrBuilder- Returns:
- The bytes for lexicographicEnd.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ListObjectsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListObjectsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListObjectsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListObjectsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListObjectsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListObjectsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListObjectsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ListObjectsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ListObjectsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ListObjectsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListObjectsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-