public final class TransferCounters
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TransferCounters() |
Modifier and Type | Method and Description |
---|---|
TransferCounters |
clone() |
java.lang.Long |
getBytesCopiedToSink()
Bytes that are copied to the data sink.
|
java.lang.Long |
getBytesDeletedFromSink()
Bytes that are deleted from the data sink.
|
java.lang.Long |
getBytesDeletedFromSource()
Bytes that are deleted from the data source.
|
java.lang.Long |
getBytesFailedToDeleteFromSink()
Bytes that failed to be deleted from the data sink.
|
java.lang.Long |
getBytesFoundFromSource()
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.
|
java.lang.Long |
getBytesFoundOnlyFromSink()
Bytes found only in the data sink that are scheduled to be deleted.
|
java.lang.Long |
getBytesFromSourceFailed()
Bytes in the data source that failed to be transferred or that failed to be deleted after being
transferred.
|
java.lang.Long |
getBytesFromSourceSkippedBySync()
Bytes in the data source that are not transferred because they already exist in the data sink.
|
java.lang.Long |
getObjectsCopiedToSink()
Objects that are copied to the data sink.
|
java.lang.Long |
getObjectsDeletedFromSink()
Objects that are deleted from the data sink.
|
java.lang.Long |
getObjectsDeletedFromSource()
Objects that are deleted from the data source.
|
java.lang.Long |
getObjectsFailedToDeleteFromSink()
Objects that failed to be deleted from the data sink.
|
java.lang.Long |
getObjectsFoundFromSource()
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.
|
java.lang.Long |
getObjectsFoundOnlyFromSink()
Objects found only in the data sink that are scheduled to be deleted.
|
java.lang.Long |
getObjectsFromSourceFailed()
Objects in the data source that failed to be transferred or that failed to be deleted after
being transferred.
|
java.lang.Long |
getObjectsFromSourceSkippedBySync()
Objects in the data source that are not transferred because they already exist in the data
sink.
|
TransferCounters |
set(java.lang.String fieldName,
java.lang.Object value) |
TransferCounters |
setBytesCopiedToSink(java.lang.Long bytesCopiedToSink)
Bytes that are copied to the data sink.
|
TransferCounters |
setBytesDeletedFromSink(java.lang.Long bytesDeletedFromSink)
Bytes that are deleted from the data sink.
|
TransferCounters |
setBytesDeletedFromSource(java.lang.Long bytesDeletedFromSource)
Bytes that are deleted from the data source.
|
TransferCounters |
setBytesFailedToDeleteFromSink(java.lang.Long bytesFailedToDeleteFromSink)
Bytes that failed to be deleted from the data sink.
|
TransferCounters |
setBytesFoundFromSource(java.lang.Long bytesFoundFromSource)
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.
|
TransferCounters |
setBytesFoundOnlyFromSink(java.lang.Long bytesFoundOnlyFromSink)
Bytes found only in the data sink that are scheduled to be deleted.
|
TransferCounters |
setBytesFromSourceFailed(java.lang.Long bytesFromSourceFailed)
Bytes in the data source that failed to be transferred or that failed to be deleted after being
transferred.
|
TransferCounters |
setBytesFromSourceSkippedBySync(java.lang.Long bytesFromSourceSkippedBySync)
Bytes in the data source that are not transferred because they already exist in the data sink.
|
TransferCounters |
setObjectsCopiedToSink(java.lang.Long objectsCopiedToSink)
Objects that are copied to the data sink.
|
TransferCounters |
setObjectsDeletedFromSink(java.lang.Long objectsDeletedFromSink)
Objects that are deleted from the data sink.
|
TransferCounters |
setObjectsDeletedFromSource(java.lang.Long objectsDeletedFromSource)
Objects that are deleted from the data source.
|
TransferCounters |
setObjectsFailedToDeleteFromSink(java.lang.Long objectsFailedToDeleteFromSink)
Objects that failed to be deleted from the data sink.
|
TransferCounters |
setObjectsFoundFromSource(java.lang.Long objectsFoundFromSource)
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.
|
TransferCounters |
setObjectsFoundOnlyFromSink(java.lang.Long objectsFoundOnlyFromSink)
Objects found only in the data sink that are scheduled to be deleted.
|
TransferCounters |
setObjectsFromSourceFailed(java.lang.Long objectsFromSourceFailed)
Objects in the data source that failed to be transferred or that failed to be deleted after
being transferred.
|
TransferCounters |
setObjectsFromSourceSkippedBySync(java.lang.Long objectsFromSourceSkippedBySync)
Objects in the data source that are not transferred because they already exist in the data
sink.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getBytesCopiedToSink()
null
for nonepublic TransferCounters setBytesCopiedToSink(java.lang.Long bytesCopiedToSink)
bytesCopiedToSink
- bytesCopiedToSink or null
for nonepublic java.lang.Long getBytesDeletedFromSink()
null
for nonepublic TransferCounters setBytesDeletedFromSink(java.lang.Long bytesDeletedFromSink)
bytesDeletedFromSink
- bytesDeletedFromSink or null
for nonepublic java.lang.Long getBytesDeletedFromSource()
null
for nonepublic TransferCounters setBytesDeletedFromSource(java.lang.Long bytesDeletedFromSource)
bytesDeletedFromSource
- bytesDeletedFromSource or null
for nonepublic java.lang.Long getBytesFailedToDeleteFromSink()
null
for nonepublic TransferCounters setBytesFailedToDeleteFromSink(java.lang.Long bytesFailedToDeleteFromSink)
bytesFailedToDeleteFromSink
- bytesFailedToDeleteFromSink or null
for nonepublic java.lang.Long getBytesFoundFromSource()
null
for nonepublic TransferCounters setBytesFoundFromSource(java.lang.Long bytesFoundFromSource)
bytesFoundFromSource
- bytesFoundFromSource or null
for nonepublic java.lang.Long getBytesFoundOnlyFromSink()
null
for nonepublic TransferCounters setBytesFoundOnlyFromSink(java.lang.Long bytesFoundOnlyFromSink)
bytesFoundOnlyFromSink
- bytesFoundOnlyFromSink or null
for nonepublic java.lang.Long getBytesFromSourceFailed()
null
for nonepublic TransferCounters setBytesFromSourceFailed(java.lang.Long bytesFromSourceFailed)
bytesFromSourceFailed
- bytesFromSourceFailed or null
for nonepublic java.lang.Long getBytesFromSourceSkippedBySync()
null
for nonepublic TransferCounters setBytesFromSourceSkippedBySync(java.lang.Long bytesFromSourceSkippedBySync)
bytesFromSourceSkippedBySync
- bytesFromSourceSkippedBySync or null
for nonepublic java.lang.Long getObjectsCopiedToSink()
null
for nonepublic TransferCounters setObjectsCopiedToSink(java.lang.Long objectsCopiedToSink)
objectsCopiedToSink
- objectsCopiedToSink or null
for nonepublic java.lang.Long getObjectsDeletedFromSink()
null
for nonepublic TransferCounters setObjectsDeletedFromSink(java.lang.Long objectsDeletedFromSink)
objectsDeletedFromSink
- objectsDeletedFromSink or null
for nonepublic java.lang.Long getObjectsDeletedFromSource()
null
for nonepublic TransferCounters setObjectsDeletedFromSource(java.lang.Long objectsDeletedFromSource)
objectsDeletedFromSource
- objectsDeletedFromSource or null
for nonepublic java.lang.Long getObjectsFailedToDeleteFromSink()
null
for nonepublic TransferCounters setObjectsFailedToDeleteFromSink(java.lang.Long objectsFailedToDeleteFromSink)
objectsFailedToDeleteFromSink
- objectsFailedToDeleteFromSink or null
for nonepublic java.lang.Long getObjectsFoundFromSource()
null
for nonepublic TransferCounters setObjectsFoundFromSource(java.lang.Long objectsFoundFromSource)
objectsFoundFromSource
- objectsFoundFromSource or null
for nonepublic java.lang.Long getObjectsFoundOnlyFromSink()
null
for nonepublic TransferCounters setObjectsFoundOnlyFromSink(java.lang.Long objectsFoundOnlyFromSink)
objectsFoundOnlyFromSink
- objectsFoundOnlyFromSink or null
for nonepublic java.lang.Long getObjectsFromSourceFailed()
null
for nonepublic TransferCounters setObjectsFromSourceFailed(java.lang.Long objectsFromSourceFailed)
objectsFromSourceFailed
- objectsFromSourceFailed or null
for nonepublic java.lang.Long getObjectsFromSourceSkippedBySync()
null
for nonepublic TransferCounters setObjectsFromSourceSkippedBySync(java.lang.Long objectsFromSourceSkippedBySync)
objectsFromSourceSkippedBySync
- objectsFromSourceSkippedBySync or null
for nonepublic TransferCounters set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TransferCounters clone()
clone
in class com.google.api.client.json.GenericJson