public final class TransferInfo extends com.google.protobuf.GeneratedMessageV3 implements TransferInfoOrBuilder
message sent as reponse to the info and also when starting a new transferProtobuf type
yamcs.protobuf.cfdp.TransferInfo| Modifier and Type | Class and Description |
|---|---|
static class |
TransferInfo.Builder
message sent as reponse to the info and also when starting a new transfer
Protobuf type
yamcs.protobuf.cfdp.TransferInfo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BUCKET_FIELD_NUMBER |
static int |
DIRECTION_FIELD_NUMBER |
static int |
FAILUREREASON_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
OBJECTNAME_FIELD_NUMBER |
static com.google.protobuf.Parser<TransferInfo> |
PARSER
Deprecated.
|
static int |
RELIABLE_FIELD_NUMBER |
static int |
REMOTEPATH_FIELD_NUMBER |
static int |
SIZETRANSFERRED_FIELD_NUMBER |
static int |
STARTTIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TOTALSIZE_FIELD_NUMBER |
static int |
TRANSACTIONID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBucket()
optional string bucket = 4; |
com.google.protobuf.ByteString |
getBucketBytes()
optional string bucket = 4; |
static TransferInfo |
getDefaultInstance() |
TransferInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TransferDirection |
getDirection()
optional .yamcs.protobuf.cfdp.TransferDirection direction = 7; |
String |
getFailureReason()
in case the transcation is failed, this provides more information
optional string failureReason = 11; |
com.google.protobuf.ByteString |
getFailureReasonBytes()
in case the transcation is failed, this provides more information
optional string failureReason = 11; |
int |
getId()
unique identifier assigned by the CfdpService
can be used to refer to individual transfers in the REST calls
optional uint32 id = 1; |
String |
getObjectName()
optional string objectName = 5; |
com.google.protobuf.ByteString |
getObjectNameBytes()
optional string objectName = 5; |
com.google.protobuf.Parser<TransferInfo> |
getParserForType() |
boolean |
getReliable()
reliable = true -> class 2 transfer
reliable = false -> class 1 transfer
optional bool reliable = 10; |
String |
getRemotePath()
optional string remotePath = 6; |
com.google.protobuf.ByteString |
getRemotePathBytes()
optional string remotePath = 6; |
int |
getSerializedSize() |
long |
getSizeTransferred()
optional uint64 sizeTransferred = 9; |
com.google.protobuf.Timestamp |
getStartTime()
optional .google.protobuf.Timestamp startTime = 2; |
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
optional .google.protobuf.Timestamp startTime = 2; |
TransferState |
getState()
optional .yamcs.protobuf.cfdp.TransferState state = 3; |
long |
getTotalSize()
optional uint64 totalSize = 8; |
TransactionId |
getTransactionId()
CFDP transaction id;
for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12; |
TransactionIdOrBuilder |
getTransactionIdOrBuilder()
CFDP transaction id;
for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBucket()
optional string bucket = 4; |
boolean |
hasDirection()
optional .yamcs.protobuf.cfdp.TransferDirection direction = 7; |
boolean |
hasFailureReason()
in case the transcation is failed, this provides more information
optional string failureReason = 11; |
int |
hashCode() |
boolean |
hasId()
unique identifier assigned by the CfdpService
can be used to refer to individual transfers in the REST calls
optional uint32 id = 1; |
boolean |
hasObjectName()
optional string objectName = 5; |
boolean |
hasReliable()
reliable = true -> class 2 transfer
reliable = false -> class 1 transfer
optional bool reliable = 10; |
boolean |
hasRemotePath()
optional string remotePath = 6; |
boolean |
hasSizeTransferred()
optional uint64 sizeTransferred = 9; |
boolean |
hasStartTime()
optional .google.protobuf.Timestamp startTime = 2; |
boolean |
hasState()
optional .yamcs.protobuf.cfdp.TransferState state = 3; |
boolean |
hasTotalSize()
optional uint64 totalSize = 8; |
boolean |
hasTransactionId()
CFDP transaction id;
for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferInfo.Builder |
newBuilder() |
static TransferInfo.Builder |
newBuilder(TransferInfo prototype) |
TransferInfo.Builder |
newBuilderForType() |
protected TransferInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TransferInfo |
parseDelimitedFrom(InputStream input) |
static TransferInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferInfo |
parseFrom(byte[] data) |
static TransferInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferInfo |
parseFrom(ByteBuffer data) |
static TransferInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferInfo |
parseFrom(com.google.protobuf.ByteString data) |
static TransferInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferInfo |
parseFrom(InputStream input) |
static TransferInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferInfo> |
parser() |
TransferInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
public static final int OBJECTNAME_FIELD_NUMBER
public static final int REMOTEPATH_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
public static final int TOTALSIZE_FIELD_NUMBER
public static final int SIZETRANSFERRED_FIELD_NUMBER
public static final int RELIABLE_FIELD_NUMBER
public static final int FAILUREREASON_FIELD_NUMBER
public static final int TRANSACTIONID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TransferInfo> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasId()
unique identifier assigned by the CfdpService can be used to refer to individual transfers in the REST calls
optional uint32 id = 1;hasId in interface TransferInfoOrBuilderpublic int getId()
unique identifier assigned by the CfdpService can be used to refer to individual transfers in the REST calls
optional uint32 id = 1;getId in interface TransferInfoOrBuilderpublic boolean hasStartTime()
optional .google.protobuf.Timestamp startTime = 2;hasStartTime in interface TransferInfoOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
optional .google.protobuf.Timestamp startTime = 2;getStartTime in interface TransferInfoOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
optional .google.protobuf.Timestamp startTime = 2;getStartTimeOrBuilder in interface TransferInfoOrBuilderpublic boolean hasState()
optional .yamcs.protobuf.cfdp.TransferState state = 3;hasState in interface TransferInfoOrBuilderpublic TransferState getState()
optional .yamcs.protobuf.cfdp.TransferState state = 3;getState in interface TransferInfoOrBuilderpublic boolean hasBucket()
optional string bucket = 4;hasBucket in interface TransferInfoOrBuilderpublic String getBucket()
optional string bucket = 4;getBucket in interface TransferInfoOrBuilderpublic com.google.protobuf.ByteString getBucketBytes()
optional string bucket = 4;getBucketBytes in interface TransferInfoOrBuilderpublic boolean hasObjectName()
optional string objectName = 5;hasObjectName in interface TransferInfoOrBuilderpublic String getObjectName()
optional string objectName = 5;getObjectName in interface TransferInfoOrBuilderpublic com.google.protobuf.ByteString getObjectNameBytes()
optional string objectName = 5;getObjectNameBytes in interface TransferInfoOrBuilderpublic boolean hasRemotePath()
optional string remotePath = 6;hasRemotePath in interface TransferInfoOrBuilderpublic String getRemotePath()
optional string remotePath = 6;getRemotePath in interface TransferInfoOrBuilderpublic com.google.protobuf.ByteString getRemotePathBytes()
optional string remotePath = 6;getRemotePathBytes in interface TransferInfoOrBuilderpublic boolean hasDirection()
optional .yamcs.protobuf.cfdp.TransferDirection direction = 7;hasDirection in interface TransferInfoOrBuilderpublic TransferDirection getDirection()
optional .yamcs.protobuf.cfdp.TransferDirection direction = 7;getDirection in interface TransferInfoOrBuilderpublic boolean hasTotalSize()
optional uint64 totalSize = 8;hasTotalSize in interface TransferInfoOrBuilderpublic long getTotalSize()
optional uint64 totalSize = 8;getTotalSize in interface TransferInfoOrBuilderpublic boolean hasSizeTransferred()
optional uint64 sizeTransferred = 9;hasSizeTransferred in interface TransferInfoOrBuilderpublic long getSizeTransferred()
optional uint64 sizeTransferred = 9;getSizeTransferred in interface TransferInfoOrBuilderpublic boolean hasReliable()
reliable = true -> class 2 transfer reliable = false -> class 1 transfer
optional bool reliable = 10;hasReliable in interface TransferInfoOrBuilderpublic boolean getReliable()
reliable = true -> class 2 transfer reliable = false -> class 1 transfer
optional bool reliable = 10;getReliable in interface TransferInfoOrBuilderpublic boolean hasFailureReason()
in case the transcation is failed, this provides more information
optional string failureReason = 11;hasFailureReason in interface TransferInfoOrBuilderpublic String getFailureReason()
in case the transcation is failed, this provides more information
optional string failureReason = 11;getFailureReason in interface TransferInfoOrBuilderpublic com.google.protobuf.ByteString getFailureReasonBytes()
in case the transcation is failed, this provides more information
optional string failureReason = 11;getFailureReasonBytes in interface TransferInfoOrBuilderpublic boolean hasTransactionId()
CFDP transaction id; for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12;hasTransactionId in interface TransferInfoOrBuilderpublic TransactionId getTransactionId()
CFDP transaction id; for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12;getTransactionId in interface TransferInfoOrBuilderpublic TransactionIdOrBuilder getTransactionIdOrBuilder()
CFDP transaction id; for the incoming transfers it is assigned by the remote peer so therefore might not be unique
optional .yamcs.protobuf.cfdp.TransactionId transactionId = 12;getTransactionIdOrBuilder in interface TransferInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferInfo.Builder newBuilder()
public static TransferInfo.Builder newBuilder(TransferInfo prototype)
public TransferInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferInfo getDefaultInstance()
public static com.google.protobuf.Parser<TransferInfo> parser()
public com.google.protobuf.Parser<TransferInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Space Applications Services. All rights reserved.