public final class Counters extends GeneratedMessage implements CountersOrBuilderDescribes details about the progress of the job.
Protobuf type google.cloud.storagebatchoperations.v1.Counters
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CountersImplements
CountersOrBuilderStatic Fields
FAILED_OBJECT_COUNT_FIELD_NUMBER
public static final int FAILED_OBJECT_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUCCEEDED_OBJECT_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_OBJECT_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TOTAL_BYTES_FOUND_FIELD_NUMBER
public static final int TOTAL_BYTES_FOUND_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TOTAL_OBJECT_COUNT_FIELD_NUMBER
public static final int TOTAL_OBJECT_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Counters getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Counters |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Counters.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
newBuilder(Counters prototype)
public static Counters.Builder newBuilder(Counters prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Counters |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
parseDelimitedFrom(InputStream input)
public static Counters parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Counters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Counters parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Counters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Counters parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Counters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Counters parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Counters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Counters parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Counters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Counters parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Counters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Counters |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Counters> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Counters> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Counters getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Counters |
|
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. |
getParserForType()
public Parser<Counters> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Counters> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Counters.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Counters.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
toBuilder()
public Counters.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Counters.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|