public static final class Counters.Builder extends GeneratedMessage.Builder<Counters.Builder> implements CountersOrBuilderDescribes details about the progress of the job.
Protobuf type google.cloud.storagebatchoperations.v1.Counters
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Counters.BuilderImplements
CountersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Counters build()| Returns | |
|---|---|
| Type | Description |
Counters |
|
buildPartial()
public Counters buildPartial()| Returns | |
|---|---|
| Type | Description |
Counters |
|
clear()
public Counters.Builder clear()| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
clearFailedObjectCount()
public Counters.Builder clearFailedObjectCount()Output only. Number of objects failed.
int64 failed_object_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearSucceededObjectCount()
public Counters.Builder clearSucceededObjectCount()Output only. Number of objects completed.
int64 succeeded_object_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearTotalBytesFound()
public Counters.Builder clearTotalBytesFound()Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.
optional int64 total_bytes_found = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearTotalObjectCount()
public Counters.Builder clearTotalObjectCount()Output only. Number of objects listed.
int64 total_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Counters getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Counters |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailedObjectCount()
public long getFailedObjectCount()Output only. Number of objects failed.
int64 failed_object_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The failedObjectCount. |
getSucceededObjectCount()
public long getSucceededObjectCount()Output only. Number of objects completed.
int64 succeeded_object_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The succeededObjectCount. |
getTotalBytesFound()
public long getTotalBytesFound()Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.
optional int64 total_bytes_found = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The totalBytesFound. |
getTotalObjectCount()
public long getTotalObjectCount()Output only. Number of objects listed.
int64 total_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The totalObjectCount. |
hasTotalBytesFound()
public boolean hasTotalBytesFound()Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.
optional int64 total_bytes_found = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalBytesFound field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Counters other)
public Counters.Builder mergeFrom(Counters other)| Parameter | |
|---|---|
| Name | Description |
other |
Counters |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Counters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Counters.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
setFailedObjectCount(long value)
public Counters.Builder setFailedObjectCount(long value)Output only. Number of objects failed.
int64 failed_object_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe failedObjectCount to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
setSucceededObjectCount(long value)
public Counters.Builder setSucceededObjectCount(long value)Output only. Number of objects completed.
int64 succeeded_object_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe succeededObjectCount to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
setTotalBytesFound(long value)
public Counters.Builder setTotalBytesFound(long value)Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.
optional int64 total_bytes_found = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalBytesFound to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
setTotalObjectCount(long value)
public Counters.Builder setTotalObjectCount(long value)Output only. Number of objects listed.
int64 total_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalObjectCount to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |