public static final class TransferCounters.Builder extends GeneratedMessageV3.Builder<TransferCounters.Builder> implements TransferCountersOrBuilder
A collection of counters that report the progress of a transfer operation.
Protobuf type google.cloud.lustre.v1.TransferCounters
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferCounters.BuilderImplements
TransferCountersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferCounters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
build()
public TransferCounters build()
Returns | |
---|---|
Type | Description |
TransferCounters |
buildPartial()
public TransferCounters buildPartial()
Returns | |
---|---|
Type | Description |
TransferCounters |
clear()
public TransferCounters.Builder clear()
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
clearBytesCopiedCount()
public TransferCounters.Builder clearBytesCopiedCount()
Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearBytesFailedCount()
public TransferCounters.Builder clearBytesFailedCount()
Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearBytesFoundCount()
public TransferCounters.Builder clearBytesFoundCount()
Total number of bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 bytes_found_count = 2;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearBytesSkippedCount()
public TransferCounters.Builder clearBytesSkippedCount()
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferCounters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
clearFoundObjectsCount()
public TransferCounters.Builder clearFoundObjectsCount()
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 found_objects_count = 1;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearObjectsCopiedCount()
public TransferCounters.Builder clearObjectsCopiedCount()
Objects that are copied to the data destination.
int64 objects_copied_count = 5;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearObjectsFailedCount()
public TransferCounters.Builder clearObjectsFailedCount()
Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearObjectsSkippedCount()
public TransferCounters.Builder clearObjectsSkippedCount()
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferCounters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
clone()
public TransferCounters.Builder clone()
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
getBytesCopiedCount()
public long getBytesCopiedCount()
Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;
Returns | |
---|---|
Type | Description |
long |
The bytesCopiedCount. |
getBytesFailedCount()
public long getBytesFailedCount()
Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The bytesFailedCount. |
getBytesFoundCount()
public long getBytesFoundCount()
Total number of bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 bytes_found_count = 2;
Returns | |
---|---|
Type | Description |
long |
The bytesFoundCount. |
getBytesSkippedCount()
public long getBytesSkippedCount()
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;
Returns | |
---|---|
Type | Description |
long |
The bytesSkippedCount. |
getDefaultInstanceForType()
public TransferCounters getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransferCounters |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFoundObjectsCount()
public long getFoundObjectsCount()
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 found_objects_count = 1;
Returns | |
---|---|
Type | Description |
long |
The foundObjectsCount. |
getObjectsCopiedCount()
public long getObjectsCopiedCount()
Objects that are copied to the data destination.
int64 objects_copied_count = 5;
Returns | |
---|---|
Type | Description |
long |
The objectsCopiedCount. |
getObjectsFailedCount()
public long getObjectsFailedCount()
Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The objectsFailedCount. |
getObjectsSkippedCount()
public long getObjectsSkippedCount()
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;
Returns | |
---|---|
Type | Description |
long |
The objectsSkippedCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TransferCounters other)
public TransferCounters.Builder mergeFrom(TransferCounters other)
Parameter | |
---|---|
Name | Description |
other |
TransferCounters |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferCounters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransferCounters.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferCounters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
setBytesCopiedCount(long value)
public TransferCounters.Builder setBytesCopiedCount(long value)
Bytes that are copied to the data destination.
int64 bytes_copied_count = 6;
Parameter | |
---|---|
Name | Description |
value |
long The bytesCopiedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setBytesFailedCount(long value)
public TransferCounters.Builder setBytesFailedCount(long value)
Output only. Bytes that are failed to write to the data destination.
int64 bytes_failed_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The bytesFailedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setBytesFoundCount(long value)
public TransferCounters.Builder setBytesFoundCount(long value)
Total number of bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 bytes_found_count = 2;
Parameter | |
---|---|
Name | Description |
value |
long The bytesFoundCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setBytesSkippedCount(long value)
public TransferCounters.Builder setBytesSkippedCount(long value)
Bytes in the data source that are not transferred because they already exist in the data destination.
int64 bytes_skipped_count = 4;
Parameter | |
---|---|
Name | Description |
value |
long The bytesSkippedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferCounters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
setFoundObjectsCount(long value)
public TransferCounters.Builder setFoundObjectsCount(long value)
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int64 found_objects_count = 1;
Parameter | |
---|---|
Name | Description |
value |
long The foundObjectsCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setObjectsCopiedCount(long value)
public TransferCounters.Builder setObjectsCopiedCount(long value)
Objects that are copied to the data destination.
int64 objects_copied_count = 5;
Parameter | |
---|---|
Name | Description |
value |
long The objectsCopiedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setObjectsFailedCount(long value)
public TransferCounters.Builder setObjectsFailedCount(long value)
Output only. Objects that are failed to write to the data destination.
int64 objects_failed_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The objectsFailedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setObjectsSkippedCount(long value)
public TransferCounters.Builder setObjectsSkippedCount(long value)
Objects in the data source that are not transferred because they already exist in the data destination.
int64 objects_skipped_count = 3;
Parameter | |
---|---|
Name | Description |
value |
long The objectsSkippedCount to set. |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferCounters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferCounters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferCounters.Builder |