public static final class TransferTypes.TransferOperation extends GeneratedMessageV3 implements TransferTypes.TransferOperationOrBuilder
A description of the execution of a transfer.
Protobuf type google.storagetransfer.v1.TransferOperation
Static Fields
COUNTERS_FIELD_NUMBER
public static final int COUNTERS_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
ERROR_BREAKDOWNS_FIELD_NUMBER
public static final int ERROR_BREAKDOWNS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
TRANSFER_JOB_NAME_FIELD_NUMBER
public static final int TRANSFER_JOB_NAME_FIELD_NUMBER
Field Value
TRANSFER_SPEC_FIELD_NUMBER
public static final int TRANSFER_SPEC_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferTypes.TransferOperation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferTypes.TransferOperation.Builder newBuilder()
Returns
newBuilder(TransferTypes.TransferOperation prototype)
public static TransferTypes.TransferOperation.Builder newBuilder(TransferTypes.TransferOperation prototype)
Parameter
Returns
public static TransferTypes.TransferOperation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferTypes.TransferOperation parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferTypes.TransferOperation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.TransferOperation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.TransferOperation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.TransferOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferTypes.TransferOperation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferTypes.TransferOperation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCounters()
public TransferTypes.TransferCounters getCounters()
Information about the progress of the transfer operation.
.google.storagetransfer.v1.TransferCounters counters = 7;
Returns
getCountersOrBuilder()
public TransferTypes.TransferCountersOrBuilder getCountersOrBuilder()
Information about the progress of the transfer operation.
.google.storagetransfer.v1.TransferCounters counters = 7;
Returns
getDefaultInstanceForType()
public TransferTypes.TransferOperation getDefaultInstanceForType()
Returns
getEndTime()
public Timestamp getEndTime()
End time of this transfer execution.
.google.protobuf.Timestamp end_time = 5;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End time of this transfer execution.
.google.protobuf.Timestamp end_time = 5;
Returns
getErrorBreakdowns(int index)
public TransferTypes.ErrorSummary getErrorBreakdowns(int index)
Summarizes errors encountered with sample error log entries.
repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8;
Parameter
Name |
Description |
index |
int
|
Returns
getErrorBreakdownsCount()
public int getErrorBreakdownsCount()
Summarizes errors encountered with sample error log entries.
repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8;
Returns
getErrorBreakdownsList()
public List<TransferTypes.ErrorSummary> getErrorBreakdownsList()
Summarizes errors encountered with sample error log entries.
repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8;
Returns
getErrorBreakdownsOrBuilder(int index)
public TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder(int index)
Summarizes errors encountered with sample error log entries.
repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8;
Parameter
Name |
Description |
index |
int
|
Returns
getErrorBreakdownsOrBuilderList()
public List<? extends TransferTypes.ErrorSummaryOrBuilder> getErrorBreakdownsOrBuilderList()
Summarizes errors encountered with sample error log entries.
repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8;
Returns
Type |
Description |
List<? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> |
|
getName()
A globally unique ID assigned by the system.
string name = 1;
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
A globally unique ID assigned by the system.
string name = 1;
Returns
getNotificationConfig()
public TransferTypes.NotificationConfig getNotificationConfig()
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 10;
Returns
getNotificationConfigOrBuilder()
public TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 10;
Returns
getParserForType()
public Parser<TransferTypes.TransferOperation> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
The ID of the Google Cloud project that owns the operation.
string project_id = 2;
Returns
Type |
Description |
String |
The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
The ID of the Google Cloud project that owns the operation.
string project_id = 2;
Returns
Type |
Description |
ByteString |
The bytes for projectId.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Start time of this transfer execution.
.google.protobuf.Timestamp start_time = 4;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start time of this transfer execution.
.google.protobuf.Timestamp start_time = 4;
Returns
getStatus()
public TransferTypes.TransferOperation.Status getStatus()
Status of the transfer operation.
.google.storagetransfer.v1.TransferOperation.Status status = 6;
Returns
getStatusValue()
public int getStatusValue()
Status of the transfer operation.
.google.storagetransfer.v1.TransferOperation.Status status = 6;
Returns
Type |
Description |
int |
The enum numeric value on the wire for status.
|
getTransferJobName()
public String getTransferJobName()
The name of the transfer job that triggers this transfer operation.
string transfer_job_name = 9;
Returns
Type |
Description |
String |
The transferJobName.
|
getTransferJobNameBytes()
public ByteString getTransferJobNameBytes()
The name of the transfer job that triggers this transfer operation.
string transfer_job_name = 9;
Returns
Type |
Description |
ByteString |
The bytes for transferJobName.
|
getTransferSpec()
public TransferTypes.TransferSpec getTransferSpec()
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 3;
Returns
getTransferSpecOrBuilder()
public TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder()
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 3;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCounters()
public boolean hasCounters()
Information about the progress of the transfer operation.
.google.storagetransfer.v1.TransferCounters counters = 7;
Returns
Type |
Description |
boolean |
Whether the counters field is set.
|
hasEndTime()
public boolean hasEndTime()
End time of this transfer execution.
.google.protobuf.Timestamp end_time = 5;
Returns
Type |
Description |
boolean |
Whether the endTime field is set.
|
hasNotificationConfig()
public boolean hasNotificationConfig()
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 10;
Returns
Type |
Description |
boolean |
Whether the notificationConfig field is set.
|
hasStartTime()
public boolean hasStartTime()
Start time of this transfer execution.
.google.protobuf.Timestamp start_time = 4;
Returns
Type |
Description |
boolean |
Whether the startTime field is set.
|
hasTransferSpec()
public boolean hasTransferSpec()
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 3;
Returns
Type |
Description |
boolean |
Whether the transferSpec field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferTypes.TransferOperation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.TransferOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferTypes.TransferOperation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions