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. The number of objects that failed due to user errors or service errors.
int64 failed_object_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearObjectCustomContextsCreated()
public Counters.Builder clearObjectCustomContextsCreated()Output only. Number of object custom contexts created. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_created = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearObjectCustomContextsDeleted()
public Counters.Builder clearObjectCustomContextsDeleted()Output only. Number of object custom contexts deleted. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
clearObjectCustomContextsUpdated()
public Counters.Builder clearObjectCustomContextsUpdated()Output only. Number of object custom contexts updated. This counter tracks custom contexts where the key already existed, but the payload was modified. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_updated = 7 [(.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. The number of objects that failed due to user errors or service errors.
int64 failed_object_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The failedObjectCount. |
getObjectCustomContextsCreated()
public long getObjectCustomContextsCreated()Output only. Number of object custom contexts created. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_created = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The objectCustomContextsCreated. |
getObjectCustomContextsDeleted()
public long getObjectCustomContextsDeleted()Output only. Number of object custom contexts deleted. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The objectCustomContextsDeleted. |
getObjectCustomContextsUpdated()
public long getObjectCustomContextsUpdated()Output only. Number of object custom contexts updated. This counter tracks custom contexts where the key already existed, but the payload was modified. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_updated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The objectCustomContextsUpdated. |
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. |
hasObjectCustomContextsCreated()
public boolean hasObjectCustomContextsCreated()Output only. Number of object custom contexts created. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_created = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the objectCustomContextsCreated field is set. |
hasObjectCustomContextsDeleted()
public boolean hasObjectCustomContextsDeleted()Output only. Number of object custom contexts deleted. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the objectCustomContextsDeleted field is set. |
hasObjectCustomContextsUpdated()
public boolean hasObjectCustomContextsUpdated()Output only. Number of object custom contexts updated. This counter tracks custom contexts where the key already existed, but the payload was modified. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_updated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the objectCustomContextsUpdated field is set. |
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. The number of objects that failed due to user errors or service errors.
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. |
setObjectCustomContextsCreated(long value)
public Counters.Builder setObjectCustomContextsCreated(long value)Output only. Number of object custom contexts created. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_created = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe objectCustomContextsCreated to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
setObjectCustomContextsDeleted(long value)
public Counters.Builder setObjectCustomContextsDeleted(long value)Output only. Number of object custom contexts deleted. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe objectCustomContextsDeleted to set. |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
This builder for chaining. |
setObjectCustomContextsUpdated(long value)
public Counters.Builder setObjectCustomContextsUpdated(long value)Output only. Number of object custom contexts updated. This counter tracks custom contexts where the key already existed, but the payload was modified. This field is only populated for jobs with the UpdateObjectCustomContext transformation.
optional int64 object_custom_contexts_updated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe objectCustomContextsUpdated 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. |