- 2.58.1 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class ListObjectsResponse.Builder extends GeneratedMessageV3.Builder<ListObjectsResponse.Builder> implements ListObjectsResponseOrBuilderThe 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()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.storage.v2.Object> |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The prefixes to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Object.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Object.Builder |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
addObjectsBuilder()
public Object.Builder addObjectsBuilder()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| Type | Description |
Object.Builder |
|
addObjectsBuilder(int index)
public Object.Builder addObjectsBuilder(int index)The list of items.
repeated .google.storage.v2.Object objects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe prefixes to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the prefixes to add. |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
build()
public ListObjectsResponse build()| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse |
|
buildPartial()
public ListObjectsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse |
|
clear()
public ListObjectsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
This builder for chaining. |
clearObjects()
public ListObjectsResponse.Builder clearObjects()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ListObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
This builder for chaining. |
clone()
public ListObjectsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
getDefaultInstanceForType()
public ListObjectsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Object |
|
getObjectsBuilder(int index)
public Object.Builder getObjectsBuilder(int index)The list of items.
repeated .google.storage.v2.Object objects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Object.Builder |
|
getObjectsBuilderList()
public List<Object.Builder> getObjectsBuilderList()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getObjectsCount()
public int getObjectsCount()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getObjectsList()
public List<Object> getObjectsList()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| Type | Description |
List<Object> |
|
getObjectsOrBuilder(int index)
public ObjectOrBuilder getObjectsOrBuilder(int index)The list of items.
repeated .google.storage.v2.Object objects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ObjectOrBuilder |
|
getObjectsOrBuilderList()
public List<? extends ObjectOrBuilder> getObjectsOrBuilderList()The list of items.
repeated .google.storage.v2.Object objects = 1;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the prefixes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListObjectsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
mergeFrom(ListObjectsResponse other)
public ListObjectsResponse.Builder mergeFrom(ListObjectsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListObjectsResponse |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
removeObjects(int index)
public ListObjectsResponse.Builder removeObjects(int index)The list of items.
repeated .google.storage.v2.Object objects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Object.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe prefixes to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListObjectsResponse.Builder |
|