com.clarifai.grpc.api.UploadOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface UploadOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Upload)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID of upload
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* ID of upload
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* When the upload was started.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp created_at = 2;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the upload was started.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp created_at = 2;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the upload was started.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp created_at = 2;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* Most recent time when the upload was updated.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp modified_at = 3;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* Most recent time when the upload was updated.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp modified_at = 3;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* Most recent time when the upload was updated.
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp modified_at = 3;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
/**
*
* When the upload will expire and be deleted
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp expires_at = 4;
* @return Whether the expiresAt field is set.
*/
boolean hasExpiresAt();
/**
*
* When the upload will expire and be deleted
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp expires_at = 4;
* @return The expiresAt.
*/
com.google.protobuf.Timestamp getExpiresAt();
/**
*
* When the upload will expire and be deleted
* The format is https://www.ietf.org/rfc/rfc3339.txt.
* Example: "2006-01-02T15:04:05.999999Z".
*
*
* .google.protobuf.Timestamp expires_at = 4;
*/
com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder();
/**
*
* Status of the upload
*
*
* .clarifai.api.status.Status status = 5;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* Status of the upload
*
*
* .clarifai.api.status.Status status = 5;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
*
* Status of the upload
*
*
* .clarifai.api.status.Status status = 5;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
*
* name of uploaded content (e.g. filename)
*
*
* string content_name = 8;
* @return The contentName.
*/
java.lang.String getContentName();
/**
*
* name of uploaded content (e.g. filename)
*
*
* string content_name = 8;
* @return The bytes for contentName.
*/
com.google.protobuf.ByteString
getContentNameBytes();
/**
*
* Total size of the upload content
*
*
* uint64 content_length = 6;
* @return The contentLength.
*/
long getContentLength();
/**
*
* Url of uploaded content
*
*
* string content_url = 7;
* @return The contentUrl.
*/
java.lang.String getContentUrl();
/**
*
* Url of uploaded content
*
*
* string content_url = 7;
* @return The bytes for contentUrl.
*/
com.google.protobuf.ByteString
getContentUrlBytes();
}