public final class TransferOperation
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 |
---|
TransferOperation() |
Modifier and Type | Method and Description |
---|---|
TransferOperation |
clone() |
TransferCounters |
getCounters()
Information about the progress of the transfer operation.
|
java.lang.String |
getEndTime()
End time of this transfer execution.
|
java.util.List<ErrorSummary> |
getErrorBreakdowns()
Summarizes errors encountered with sample error log entries.
|
java.lang.String |
getName()
A globally unique ID assigned by the system.
|
NotificationConfig |
getNotificationConfig()
Notification configuration.
|
java.lang.String |
getProjectId()
The ID of the Google Cloud Platform Project that owns the operation.
|
java.lang.String |
getStartTime()
Start time of this transfer execution.
|
java.lang.String |
getStatus()
Status of the transfer operation.
|
java.lang.String |
getTransferJobName()
The name of the transfer job that triggers this transfer operation.
|
TransferSpec |
getTransferSpec()
Transfer specification.
|
TransferOperation |
set(java.lang.String fieldName,
java.lang.Object value) |
TransferOperation |
setCounters(TransferCounters counters)
Information about the progress of the transfer operation.
|
TransferOperation |
setEndTime(java.lang.String endTime)
End time of this transfer execution.
|
TransferOperation |
setErrorBreakdowns(java.util.List<ErrorSummary> errorBreakdowns)
Summarizes errors encountered with sample error log entries.
|
TransferOperation |
setName(java.lang.String name)
A globally unique ID assigned by the system.
|
TransferOperation |
setNotificationConfig(NotificationConfig notificationConfig)
Notification configuration.
|
TransferOperation |
setProjectId(java.lang.String projectId)
The ID of the Google Cloud Platform Project that owns the operation.
|
TransferOperation |
setStartTime(java.lang.String startTime)
Start time of this transfer execution.
|
TransferOperation |
setStatus(java.lang.String status)
Status of the transfer operation.
|
TransferOperation |
setTransferJobName(java.lang.String transferJobName)
The name of the transfer job that triggers this transfer operation.
|
TransferOperation |
setTransferSpec(TransferSpec transferSpec)
Transfer specification.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public TransferCounters getCounters()
null
for nonepublic TransferOperation setCounters(TransferCounters counters)
counters
- counters or null
for nonepublic java.lang.String getEndTime()
null
for nonepublic TransferOperation setEndTime(java.lang.String endTime)
endTime
- endTime or null
for nonepublic java.util.List<ErrorSummary> getErrorBreakdowns()
null
for nonepublic TransferOperation setErrorBreakdowns(java.util.List<ErrorSummary> errorBreakdowns)
errorBreakdowns
- errorBreakdowns or null
for nonepublic java.lang.String getName()
null
for nonepublic TransferOperation setName(java.lang.String name)
name
- name or null
for nonepublic NotificationConfig getNotificationConfig()
null
for nonepublic TransferOperation setNotificationConfig(NotificationConfig notificationConfig)
notificationConfig
- notificationConfig or null
for nonepublic java.lang.String getProjectId()
null
for nonepublic TransferOperation setProjectId(java.lang.String projectId)
projectId
- projectId or null
for nonepublic java.lang.String getStartTime()
null
for nonepublic TransferOperation setStartTime(java.lang.String startTime)
startTime
- startTime or null
for nonepublic java.lang.String getStatus()
null
for nonepublic TransferOperation setStatus(java.lang.String status)
status
- status or null
for nonepublic java.lang.String getTransferJobName()
null
for nonepublic TransferOperation setTransferJobName(java.lang.String transferJobName)
transferJobName
- transferJobName or null
for nonepublic TransferSpec getTransferSpec()
null
for nonepublic TransferOperation setTransferSpec(TransferSpec transferSpec)
transferSpec
- transferSpec or null
for nonepublic TransferOperation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TransferOperation clone()
clone
in class com.google.api.client.json.GenericJson