public static final class ListObjectsResponse.Builder extends GeneratedMessageV3.Builder<ListObjectsResponse.Builder> implements ListObjectsResponseOrBuilder
The result of a call to Objects.ListObjects
Protobuf type google.storage.v2.ListObjectsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListObjectsResponse.BuilderImplements
ListObjectsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllObjects(Iterable<? extends Object> values)
public ListObjectsResponse.Builder addAllObjects(Iterable<? extends Object> values)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
values | Iterable<? extends com.google.storage.v2.Object> |
Type | Description |
ListObjectsResponse.Builder |
addAllPrefixes(Iterable<String> values)
public ListObjectsResponse.Builder addAllPrefixes(Iterable<String> values)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Name | Description |
values | Iterable<String> The prefixes to add. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
addObjects(Object value)
public ListObjectsResponse.Builder addObjects(Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
addObjects(Object.Builder builderForValue)
public ListObjectsResponse.Builder addObjects(Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
builderForValue | Object.Builder |
Type | Description |
ListObjectsResponse.Builder |
addObjects(int index, Object value)
public ListObjectsResponse.Builder addObjects(int index, Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
addObjects(int index, Object.Builder builderForValue)
public ListObjectsResponse.Builder addObjects(int index, Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
builderForValue | Object.Builder |
Type | Description |
ListObjectsResponse.Builder |
addObjectsBuilder()
public Object.Builder addObjectsBuilder()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
Object.Builder |
addObjectsBuilder(int index)
public Object.Builder addObjectsBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
Type | Description |
Object.Builder |
addPrefixes(String value)
public ListObjectsResponse.Builder addPrefixes(String value)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Name | Description |
value | String The prefixes to add. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
addPrefixesBytes(ByteString value)
public ListObjectsResponse.Builder addPrefixesBytes(ByteString value)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Name | Description |
value | ByteString The bytes of the prefixes to add. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
build()
public ListObjectsResponse build()
Type | Description |
ListObjectsResponse |
buildPartial()
public ListObjectsResponse buildPartial()
Type | Description |
ListObjectsResponse |
clear()
public ListObjectsResponse.Builder clear()
Type | Description |
ListObjectsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListObjectsResponse.Builder |
clearNextPageToken()
public ListObjectsResponse.Builder 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;
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
clearObjects()
public ListObjectsResponse.Builder clearObjects()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
ListObjectsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListObjectsResponse.Builder |
clearPrefixes()
public ListObjectsResponse.Builder clearPrefixes()
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
clone()
public ListObjectsResponse.Builder clone()
Type | Description |
ListObjectsResponse.Builder |
getDefaultInstanceForType()
public ListObjectsResponse getDefaultInstanceForType()
Type | Description |
ListObjectsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNextPageToken()
public String 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;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public 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;
Type | Description |
ByteString | The bytes for nextPageToken. |
getObjects(int index)
public Object getObjects(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
Type | Description |
Object |
getObjectsBuilder(int index)
public Object.Builder getObjectsBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
Type | Description |
Object.Builder |
getObjectsBuilderList()
public List<Object.Builder> getObjectsBuilderList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
List<Builder> |
getObjectsCount()
public int getObjectsCount()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
int |
getObjectsList()
public List<Object> getObjectsList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
List<Object> |
getObjectsOrBuilder(int index)
public ObjectOrBuilder getObjectsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
Type | Description |
ObjectOrBuilder |
getObjectsOrBuilderList()
public List<? extends ObjectOrBuilder> getObjectsOrBuilderList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
Type | Description |
List<? extends com.google.storage.v2.ObjectOrBuilder> |
getPrefixes(int index)
public String getPrefixes(int index)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The prefixes at the given index. |
getPrefixesBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the prefixes at the given index. |
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;
Type | Description |
int | The count of prefixes. |
getPrefixesList()
public ProtocolStringList getPrefixesList()
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Type | Description |
ProtocolStringList | A list containing the prefixes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListObjectsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListObjectsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListObjectsResponse.Builder |
mergeFrom(ListObjectsResponse other)
public ListObjectsResponse.Builder mergeFrom(ListObjectsResponse other)
Name | Description |
other | ListObjectsResponse |
Type | Description |
ListObjectsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListObjectsResponse.Builder |
removeObjects(int index)
public ListObjectsResponse.Builder removeObjects(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
Type | Description |
ListObjectsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
setNextPageToken(String value)
public ListObjectsResponse.Builder setNextPageToken(String value)
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;
Name | Description |
value | String The nextPageToken to set. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListObjectsResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
setObjects(int index, Object value)
public ListObjectsResponse.Builder setObjects(int index, Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
setObjects(int index, Object.Builder builderForValue)
public ListObjectsResponse.Builder setObjects(int index, Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
Name | Description |
index | int |
builderForValue | Object.Builder |
Type | Description |
ListObjectsResponse.Builder |
setPrefixes(int index, String value)
public ListObjectsResponse.Builder setPrefixes(int index, String value)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
Name | Description |
index | int The index to set the value at. |
value | String The prefixes to set. |
Type | Description |
ListObjectsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListObjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListObjectsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListObjectsResponse.Builder |