com.clarifai.grpc.api.DatasetOrBuilder 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 DatasetOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Dataset)
com.google.protobuf.MessageOrBuilder {
/**
*
* The ID for the dataset
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* The ID for the dataset
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* When the dataset was created.
* 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 dataset was created.
* 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 dataset was created.
* 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();
/**
*
* When the dataset was modified.
* 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();
/**
*
* When the dataset was modified.
* 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();
/**
*
* When the dataset was modified.
* 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();
/**
*
* The app the dataset belongs to.
*
*
* string app_id = 4;
* @return The appId.
*/
java.lang.String getAppId();
/**
*
* The app the dataset belongs to.
*
*
* string app_id = 4;
* @return The bytes for appId.
*/
com.google.protobuf.ByteString
getAppIdBytes();
/**
*
* The user the dataset belongs to.
*
*
* string user_id = 5;
* @return The userId.
*/
java.lang.String getUserId();
/**
*
* The user the dataset belongs to.
*
*
* string user_id = 5;
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
*
* Description of the dataset
*
*
* string description = 7;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Description of the dataset
*
*
* string description = 7;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 8;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 8;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 8;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 9;
* @return Whether the visibility field is set.
*/
boolean hasVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 9;
* @return The visibility.
*/
com.clarifai.grpc.api.Visibility getVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 9;
*/
com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder();
/**
*
* Default annotation filter used for this dataset.
*
*
* .clarifai.api.AnnotationFilter default_annotation_filter = 12;
* @return Whether the defaultAnnotationFilter field is set.
*/
boolean hasDefaultAnnotationFilter();
/**
*
* Default annotation filter used for this dataset.
*
*
* .clarifai.api.AnnotationFilter default_annotation_filter = 12;
* @return The defaultAnnotationFilter.
*/
com.clarifai.grpc.api.AnnotationFilter getDefaultAnnotationFilter();
/**
*
* Default annotation filter used for this dataset.
*
*
* .clarifai.api.AnnotationFilter default_annotation_filter = 12;
*/
com.clarifai.grpc.api.AnnotationFilterOrBuilder getDefaultAnnotationFilterOrBuilder();
/**
*
* Default processing info used for this dataset.
*
*
* .clarifai.api.DatasetVersionProcessingInfo default_processing_info = 16;
* @return Whether the defaultProcessingInfo field is set.
*/
boolean hasDefaultProcessingInfo();
/**
*
* Default processing info used for this dataset.
*
*
* .clarifai.api.DatasetVersionProcessingInfo default_processing_info = 16;
* @return The defaultProcessingInfo.
*/
com.clarifai.grpc.api.DatasetVersionProcessingInfo getDefaultProcessingInfo();
/**
*
* Default processing info used for this dataset.
*
*
* .clarifai.api.DatasetVersionProcessingInfo default_processing_info = 16;
*/
com.clarifai.grpc.api.DatasetVersionProcessingInfoOrBuilder getDefaultProcessingInfoOrBuilder();
/**
*
* Notes for the dataset
* This field should be used for in-depth notes and supports up to 64Kbs.
*
*
* string notes = 11;
* @return The notes.
*/
java.lang.String getNotes();
/**
*
* Notes for the dataset
* This field should be used for in-depth notes and supports up to 64Kbs.
*
*
* string notes = 11;
* @return The bytes for notes.
*/
com.google.protobuf.ByteString
getNotesBytes();
/**
*
* Dataset version associated with this dataset. This is used in listing Datasets
* and including the latest version.
*
*
* .clarifai.api.DatasetVersion version = 13;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
*
* Dataset version associated with this dataset. This is used in listing Datasets
* and including the latest version.
*
*
* .clarifai.api.DatasetVersion version = 13;
* @return The version.
*/
com.clarifai.grpc.api.DatasetVersion getVersion();
/**
*
* Dataset version associated with this dataset. This is used in listing Datasets
* and including the latest version.
*
*
* .clarifai.api.DatasetVersion version = 13;
*/
com.clarifai.grpc.api.DatasetVersionOrBuilder getVersionOrBuilder();
/**
*
* Whether the dataset is starred by the requesting user.
*
*
* bool is_starred = 14;
* @return The isStarred.
*/
boolean getIsStarred();
/**
*
* Number of users that starred this dataset.
*
*
* int32 star_count = 15;
* @return The starCount.
*/
int getStarCount();
/**
*
* bookmark info. When set, this dataset is a bookmarked dataset of this app.
* Info in this field will allow you to find/access original dataset.
*
*
* .clarifai.api.BookmarkOrigin bookmark_origin = 17;
* @return Whether the bookmarkOrigin field is set.
*/
boolean hasBookmarkOrigin();
/**
*
* bookmark info. When set, this dataset is a bookmarked dataset of this app.
* Info in this field will allow you to find/access original dataset.
*
*
* .clarifai.api.BookmarkOrigin bookmark_origin = 17;
* @return The bookmarkOrigin.
*/
com.clarifai.grpc.api.BookmarkOrigin getBookmarkOrigin();
/**
*
* bookmark info. When set, this dataset is a bookmarked dataset of this app.
* Info in this field will allow you to find/access original dataset.
*
*
* .clarifai.api.BookmarkOrigin bookmark_origin = 17;
*/
com.clarifai.grpc.api.BookmarkOriginOrBuilder getBookmarkOriginOrBuilder();
/**
*
* Representative image for this dataset
*
*
* .clarifai.api.Image image = 18;
* @return Whether the image field is set.
*/
boolean hasImage();
/**
*
* Representative image for this dataset
*
*
* .clarifai.api.Image image = 18;
* @return The image.
*/
com.clarifai.grpc.api.Image getImage();
/**
*
* Representative image for this dataset
*
*
* .clarifai.api.Image image = 18;
*/
com.clarifai.grpc.api.ImageOrBuilder getImageOrBuilder();
}