Package viam.app.dataset.v1
Class DatasetOuterClass.GetSequenceDatasetExportResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<DatasetOuterClass.GetSequenceDatasetExportResponse,DatasetOuterClass.GetSequenceDatasetExportResponse.Builder>
com.google.protobuf.GeneratedMessageLite<DatasetOuterClass.GetSequenceDatasetExportResponse,DatasetOuterClass.GetSequenceDatasetExportResponse.Builder>
viam.app.dataset.v1.DatasetOuterClass.GetSequenceDatasetExportResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,DatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder
- Enclosing class:
DatasetOuterClass
public static final class DatasetOuterClass.GetSequenceDatasetExportResponse
extends com.google.protobuf.GeneratedMessageLite<DatasetOuterClass.GetSequenceDatasetExportResponse,DatasetOuterClass.GetSequenceDatasetExportResponse.Builder>
implements DatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder
GetSequenceDatasetExportResponse reports the current status of an export job. download_url and expires_at are set only when status is COMPLETED; error_message is set only when status is FAILED.Protobuf type
viam.app.dataset.v1.GetSequenceDatasetExportResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGetSequenceDatasetExportResponse reports the current status of an export job.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.Timestamp.google.protobuf.Timestamp completed_at = 7 [json_name = "completedAt"];com.google.protobuf.Timestamp.google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];Short-lived (e.g.com.google.protobuf.ByteStringShort-lived (e.g.Human-readable cause; empty unless status is FAILED.com.google.protobuf.ByteStringHuman-readable cause; empty unless status is FAILED.com.google.protobuf.TimestampWhen download_url stops working.getJobId()string job_id = 1 [json_name = "jobId"];com.google.protobuf.ByteStringstring job_id = 1 [json_name = "jobId"];.viam.app.dataset.v1.SequenceDatasetExportStatus status = 2 [json_name = "status"];int.viam.app.dataset.v1.SequenceDatasetExportStatus status = 2 [json_name = "status"];boolean.google.protobuf.Timestamp completed_at = 7 [json_name = "completedAt"];boolean.google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];booleanWhen download_url stops working.parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DatasetOuterClass.GetSequenceDatasetExportResponse> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
DOWNLOAD_URL_FIELD_NUMBER
public static final int DOWNLOAD_URL_FIELD_NUMBER- See Also:
-
EXPIRES_AT_FIELD_NUMBER
public static final int EXPIRES_AT_FIELD_NUMBER- See Also:
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
COMPLETED_AT_FIELD_NUMBER
public static final int COMPLETED_AT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getJobId
string job_id = 1 [json_name = "jobId"];- Specified by:
getJobIdin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()string job_id = 1 [json_name = "jobId"];- Specified by:
getJobIdBytesin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The bytes for jobId.
-
getStatusValue
public int getStatusValue().viam.app.dataset.v1.SequenceDatasetExportStatus status = 2 [json_name = "status"];- Specified by:
getStatusValuein interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
.viam.app.dataset.v1.SequenceDatasetExportStatus status = 2 [json_name = "status"];- Specified by:
getStatusin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The status.
-
getDownloadUrl
Short-lived (e.g. 1h) signed URL for direct download from backing storage. Empty unless status is COMPLETED.
string download_url = 3 [json_name = "downloadUrl"];- Specified by:
getDownloadUrlin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The downloadUrl.
-
getDownloadUrlBytes
public com.google.protobuf.ByteString getDownloadUrlBytes()Short-lived (e.g. 1h) signed URL for direct download from backing storage. Empty unless status is COMPLETED.
string download_url = 3 [json_name = "downloadUrl"];- Specified by:
getDownloadUrlBytesin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The bytes for downloadUrl.
-
hasExpiresAt
public boolean hasExpiresAt()When download_url stops working. Empty unless status is COMPLETED.
.google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];- Specified by:
hasExpiresAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- Whether the expiresAt field is set.
-
getExpiresAt
public com.google.protobuf.Timestamp getExpiresAt()When download_url stops working. Empty unless status is COMPLETED.
.google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];- Specified by:
getExpiresAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The expiresAt.
-
getErrorMessage
Human-readable cause; empty unless status is FAILED.
string error_message = 5 [json_name = "errorMessage"];- Specified by:
getErrorMessagein interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Human-readable cause; empty unless status is FAILED.
string error_message = 5 [json_name = "errorMessage"];- Specified by:
getErrorMessageBytesin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The bytes for errorMessage.
-
hasCreatedAt
public boolean hasCreatedAt().google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt().google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The createdAt.
-
hasCompletedAt
public boolean hasCompletedAt().google.protobuf.Timestamp completed_at = 7 [json_name = "completedAt"];- Specified by:
hasCompletedAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- Whether the completedAt field is set.
-
getCompletedAt
public com.google.protobuf.Timestamp getCompletedAt().google.protobuf.Timestamp completed_at = 7 [json_name = "completedAt"];- Specified by:
getCompletedAtin interfaceDatasetOuterClass.GetSequenceDatasetExportResponseOrBuilder- Returns:
- The completedAt.
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DatasetOuterClass.GetSequenceDatasetExportResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static DatasetOuterClass.GetSequenceDatasetExportResponse.Builder newBuilder(DatasetOuterClass.GetSequenceDatasetExportResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<DatasetOuterClass.GetSequenceDatasetExportResponse,DatasetOuterClass.GetSequenceDatasetExportResponse.Builder>
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<DatasetOuterClass.GetSequenceDatasetExportResponse> parser()
-