Package com.google.storage.v2
Class ListObjectsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
com.google.storage.v2.ListObjectsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListObjectsResponseOrBuilder,Cloneable
- Enclosing class:
- ListObjectsResponse
public static final class ListObjectsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
implements ListObjectsResponseOrBuilder
The result of a call to Objects.ListObjectsProtobuf type
google.storage.v2.ListObjectsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllObjects(Iterable<? extends Object> values) The list of items.addAllPrefixes(Iterable<String> values) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.addObjects(int index, Object value) The list of items.addObjects(int index, Object.Builder builderForValue) The list of items.addObjects(Object value) The list of items.addObjects(Object.Builder builderForValue) The list of items.The list of items.addObjectsBuilder(int index) The list of items.addPrefixes(String value) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.addPrefixesBytes(com.google.protobuf.ByteString value) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The continuation token, used to page through large result sets.The list of items.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe continuation token, used to page through large result sets.com.google.protobuf.ByteStringThe continuation token, used to page through large result sets.getObjects(int index) The list of items.getObjectsBuilder(int index) The list of items.The list of items.intThe list of items.The list of items.getObjectsOrBuilder(int index) The list of items.List<? extends ObjectOrBuilder>The list of items.getPrefixes(int index) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.com.google.protobuf.ByteStringgetPrefixesBytes(int index) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.intThe list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.com.google.protobuf.ProtocolStringListThe list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ListObjectsResponse other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeObjects(int index) The list of items.setNextPageToken(String value) The continuation token, used to page through large result sets.setNextPageTokenBytes(com.google.protobuf.ByteString value) The continuation token, used to page through large result sets.setObjects(int index, Object value) The list of items.setObjects(int index, Object.Builder builderForValue) The list of items.setPrefixes(int index, String value) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ListObjectsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
setField
public ListObjectsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
clearField
public ListObjectsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
clearOneof
public ListObjectsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
setRepeatedField
public ListObjectsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
addRepeatedField
public ListObjectsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListObjectsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
mergeFrom
public ListObjectsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListObjectsResponse.Builder>- Throws:
IOException
-
getObjectsList
The list of items.
repeated .google.storage.v2.Object objects = 1;- Specified by:
getObjectsListin interfaceListObjectsResponseOrBuilder
-
getObjectsCount
public int getObjectsCount()The list of items.
repeated .google.storage.v2.Object objects = 1;- Specified by:
getObjectsCountin interfaceListObjectsResponseOrBuilder
-
getObjects
The list of items.
repeated .google.storage.v2.Object objects = 1;- Specified by:
getObjectsin interfaceListObjectsResponseOrBuilder
-
setObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
setObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addAllObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
clearObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
removeObjects
The list of items.
repeated .google.storage.v2.Object objects = 1; -
getObjectsBuilder
The list of items.
repeated .google.storage.v2.Object objects = 1; -
getObjectsOrBuilder
The list of items.
repeated .google.storage.v2.Object objects = 1;- Specified by:
getObjectsOrBuilderin interfaceListObjectsResponseOrBuilder
-
getObjectsOrBuilderList
The list of items.
repeated .google.storage.v2.Object objects = 1;- Specified by:
getObjectsOrBuilderListin interfaceListObjectsResponseOrBuilder
-
addObjectsBuilder
The list of items.
repeated .google.storage.v2.Object objects = 1; -
addObjectsBuilder
The list of items.
repeated .google.storage.v2.Object objects = 1; -
getObjectsBuilderList
The list of items.
repeated .google.storage.v2.Object objects = 1; -
getPrefixesList
public com.google.protobuf.ProtocolStringList getPrefixesList()The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Specified by:
getPrefixesListin interfaceListObjectsResponseOrBuilder- Returns:
- A list containing the prefixes.
-
getPrefixesCount
public int getPrefixesCount()The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Specified by:
getPrefixesCountin interfaceListObjectsResponseOrBuilder- Returns:
- The count of prefixes.
-
getPrefixes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Specified by:
getPrefixesin interfaceListObjectsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The prefixes at the given index.
-
getPrefixesBytes
public com.google.protobuf.ByteString getPrefixesBytes(int index) The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Specified by:
getPrefixesBytesin interfaceListObjectsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the prefixes at the given index.
-
setPrefixes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Parameters:
index- The index to set the value at.value- The prefixes to set.- Returns:
- This builder for chaining.
-
addPrefixes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Parameters:
value- The prefixes to add.- Returns:
- This builder for chaining.
-
addAllPrefixes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Parameters:
values- The prefixes to add.- Returns:
- This builder for chaining.
-
clearPrefixes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Returns:
- This builder for chaining.
-
addPrefixesBytes
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;- Parameters:
value- The bytes of the prefixes to add.- Returns:
- This builder for chaining.
-
getNextPageToken
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
string next_page_token = 3;- Specified by:
getNextPageTokenin interfaceListObjectsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
string next_page_token = 3;- Specified by:
getNextPageTokenBytesin interfaceListObjectsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
string next_page_token = 3;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
string next_page_token = 3;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
string next_page_token = 3;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListObjectsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-
mergeUnknownFields
public final ListObjectsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
-