public static final class ListBucketOperationsResponse.Builder extends GeneratedMessage.Builder<ListBucketOperationsResponse.Builder> implements ListBucketOperationsResponseOrBuilderMessage for response to listing BucketOperations
Protobuf type google.cloud.storagebatchoperations.v1.ListBucketOperationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListBucketOperationsResponse.BuilderImplements
ListBucketOperationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBucketOperations(Iterable<? extends BucketOperation> values)
public ListBucketOperationsResponse.Builder addAllBucketOperations(Iterable<? extends BucketOperation> values)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.storagebatchoperations.v1.BucketOperation> |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListBucketOperationsResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
addBucketOperations(BucketOperation value)
public ListBucketOperationsResponse.Builder addBucketOperations(BucketOperation value)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BucketOperation |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
addBucketOperations(BucketOperation.Builder builderForValue)
public ListBucketOperationsResponse.Builder addBucketOperations(BucketOperation.Builder builderForValue)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BucketOperation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
addBucketOperations(int index, BucketOperation value)
public ListBucketOperationsResponse.Builder addBucketOperations(int index, BucketOperation value)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BucketOperation |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
addBucketOperations(int index, BucketOperation.Builder builderForValue)
public ListBucketOperationsResponse.Builder addBucketOperations(int index, BucketOperation.Builder builderForValue)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BucketOperation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
addBucketOperationsBuilder()
public BucketOperation.Builder addBucketOperationsBuilder()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
BucketOperation.Builder |
|
addBucketOperationsBuilder(int index)
public BucketOperation.Builder addBucketOperationsBuilder(int index)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BucketOperation.Builder |
|
addUnreachable(String value)
public ListBucketOperationsResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListBucketOperationsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
build()
public ListBucketOperationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse |
|
buildPartial()
public ListBucketOperationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse |
|
clear()
public ListBucketOperationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
clearBucketOperations()
public ListBucketOperationsResponse.Builder clearBucketOperations()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
clearNextPageToken()
public ListBucketOperationsResponse.Builder clearNextPageToken()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListBucketOperationsResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
getBucketOperations(int index)
public BucketOperation getBucketOperations(int index)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BucketOperation |
|
getBucketOperationsBuilder(int index)
public BucketOperation.Builder getBucketOperationsBuilder(int index)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BucketOperation.Builder |
|
getBucketOperationsBuilderList()
public List<BucketOperation.Builder> getBucketOperationsBuilderList()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBucketOperationsCount()
public int getBucketOperationsCount()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBucketOperationsList()
public List<BucketOperation> getBucketOperationsList()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
List<BucketOperation> |
|
getBucketOperationsOrBuilder(int index)
public BucketOperationOrBuilder getBucketOperationsOrBuilder(int index)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BucketOperationOrBuilder |
|
getBucketOperationsOrBuilderList()
public List<? extends BucketOperationOrBuilder> getBucketOperationsOrBuilderList()A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.storagebatchoperations.v1.BucketOperationOrBuilder> |
|
getDefaultInstanceForType()
public ListBucketOperationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token identifying a page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListBucketOperationsResponse other)
public ListBucketOperationsResponse.Builder mergeFrom(ListBucketOperationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListBucketOperationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBucketOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListBucketOperationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
removeBucketOperations(int index)
public ListBucketOperationsResponse.Builder removeBucketOperations(int index)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
setBucketOperations(int index, BucketOperation value)
public ListBucketOperationsResponse.Builder setBucketOperations(int index, BucketOperation value)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BucketOperation |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
setBucketOperations(int index, BucketOperation.Builder builderForValue)
public ListBucketOperationsResponse.Builder setBucketOperations(int index, BucketOperation.Builder builderForValue)A list of storage batch bucket operations.
repeated .google.cloud.storagebatchoperations.v1.BucketOperation bucket_operations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BucketOperation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
|
setNextPageToken(String value)
public ListBucketOperationsResponse.Builder setNextPageToken(String value)A token identifying a page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListBucketOperationsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListBucketOperationsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListBucketOperationsResponse.Builder |
This builder for chaining. |