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
Modifier and Type | Method and Description |
---|---|
ListObjectsResponse.Builder |
addAllObjects(Iterable<? extends Object> values)
The list of items.
|
ListObjectsResponse.Builder |
addAllPrefixes(Iterable<String> values)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
ListObjectsResponse.Builder |
addObjects(int index,
Object.Builder builderForValue)
The list of items.
|
ListObjectsResponse.Builder |
addObjects(int index,
Object value)
The list of items.
|
ListObjectsResponse.Builder |
addObjects(Object.Builder builderForValue)
The list of items.
|
ListObjectsResponse.Builder |
addObjects(Object value)
The list of items.
|
Object.Builder |
addObjectsBuilder()
The list of items.
|
Object.Builder |
addObjectsBuilder(int index)
The list of items.
|
ListObjectsResponse.Builder |
addPrefixes(String value)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
ListObjectsResponse.Builder |
addPrefixesBytes(com.google.protobuf.ByteString value)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
ListObjectsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListObjectsResponse |
build() |
ListObjectsResponse |
buildPartial() |
ListObjectsResponse.Builder |
clear() |
ListObjectsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListObjectsResponse.Builder |
clearNextPageToken()
The continuation token, used to page through large result sets.
|
ListObjectsResponse.Builder |
clearObjects()
The list of items.
|
ListObjectsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListObjectsResponse.Builder |
clearPrefixes()
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
ListObjectsResponse.Builder |
clone() |
ListObjectsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
The continuation token, used to page through large result sets.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
The continuation token, used to page through large result sets.
|
Object |
getObjects(int index)
The list of items.
|
Object.Builder |
getObjectsBuilder(int index)
The list of items.
|
List<Object.Builder> |
getObjectsBuilderList()
The list of items.
|
int |
getObjectsCount()
The list of items.
|
List<Object> |
getObjectsList()
The list of items.
|
ObjectOrBuilder |
getObjectsOrBuilder(int index)
The list of items.
|
List<? extends ObjectOrBuilder> |
getObjectsOrBuilderList()
The list of items.
|
String |
getPrefixes(int index)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
com.google.protobuf.ByteString |
getPrefixesBytes(int index)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
int |
getPrefixesCount()
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
com.google.protobuf.ProtocolStringList |
getPrefixesList()
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListObjectsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListObjectsResponse.Builder |
mergeFrom(ListObjectsResponse other) |
ListObjectsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListObjectsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListObjectsResponse.Builder |
removeObjects(int index)
The list of items.
|
ListObjectsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListObjectsResponse.Builder |
setNextPageToken(String value)
The continuation token, used to page through large result sets.
|
ListObjectsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
The continuation token, used to page through large result sets.
|
ListObjectsResponse.Builder |
setObjects(int index,
Object.Builder builderForValue)
The list of items.
|
ListObjectsResponse.Builder |
setObjects(int index,
Object value)
The list of items.
|
ListObjectsResponse.Builder |
setPrefixes(int index,
String value)
The list of prefixes of objects matching-but-not-listed up to and including
the requested delimiter.
|
ListObjectsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListObjectsResponse.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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
public ListObjectsResponse.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<ListObjectsResponse.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<ListObjectsResponse.Builder>
public ListObjectsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListObjectsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListObjectsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListObjectsResponse.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<ListObjectsResponse.Builder>
public ListObjectsResponse.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<ListObjectsResponse.Builder>
public ListObjectsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
public ListObjectsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
public ListObjectsResponse.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<ListObjectsResponse.Builder>
public ListObjectsResponse.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<ListObjectsResponse.Builder>
public ListObjectsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListObjectsResponse.Builder>
public ListObjectsResponse.Builder mergeFrom(ListObjectsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
public ListObjectsResponse.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<ListObjectsResponse.Builder>
IOException
public List<Object> getObjectsList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
getObjectsList
in interface ListObjectsResponseOrBuilder
public int getObjectsCount()
The list of items.
repeated .google.storage.v2.Object objects = 1;
getObjectsCount
in interface ListObjectsResponseOrBuilder
public Object getObjects(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
getObjects
in interface ListObjectsResponseOrBuilder
public ListObjectsResponse.Builder setObjects(int index, Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder setObjects(int index, Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder addObjects(Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder addObjects(int index, Object value)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder addObjects(Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder addObjects(int index, Object.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder addAllObjects(Iterable<? extends Object> values)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder clearObjects()
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ListObjectsResponse.Builder removeObjects(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public Object.Builder getObjectsBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public ObjectOrBuilder getObjectsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
getObjectsOrBuilder
in interface ListObjectsResponseOrBuilder
public List<? extends ObjectOrBuilder> getObjectsOrBuilderList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
getObjectsOrBuilderList
in interface ListObjectsResponseOrBuilder
public Object.Builder addObjectsBuilder()
The list of items.
repeated .google.storage.v2.Object objects = 1;
public Object.Builder addObjectsBuilder(int index)
The list of items.
repeated .google.storage.v2.Object objects = 1;
public List<Object.Builder> getObjectsBuilderList()
The list of items.
repeated .google.storage.v2.Object objects = 1;
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;
getPrefixesList
in interface ListObjectsResponseOrBuilder
public int getPrefixesCount()
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
getPrefixesCount
in interface ListObjectsResponseOrBuilder
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;
getPrefixes
in interface ListObjectsResponseOrBuilder
index
- The index of the element to return.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;
getPrefixesBytes
in interface ListObjectsResponseOrBuilder
index
- The index of the value to return.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;
index
- The index to set the value at.value
- The prefixes to set.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;
value
- The prefixes to add.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;
values
- The prefixes to add.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;
public ListObjectsResponse.Builder addPrefixesBytes(com.google.protobuf.ByteString value)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
repeated string prefixes = 2;
value
- The bytes of the prefixes to add.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;
getNextPageToken
in interface ListObjectsResponseOrBuilder
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;
getNextPageTokenBytes
in interface ListObjectsResponseOrBuilder
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;
value
- The nextPageToken to set.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;
public ListObjectsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
value
- The bytes for nextPageToken to set.public final ListObjectsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
public final ListObjectsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.