com.clarifai.grpc.api.CollaboratorOrBuilder 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 CollaboratorOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Collaborator)
com.google.protobuf.MessageOrBuilder {
/**
*
* id of this collaborator
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* id of this collaborator
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* the app this collaborator has access to
* FIXME(zeiler): this should be in the user_app_id.app_id already from the endpoint.
*
*
* .clarifai.api.App app = 2;
* @return Whether the app field is set.
*/
boolean hasApp();
/**
*
* the app this collaborator has access to
* FIXME(zeiler): this should be in the user_app_id.app_id already from the endpoint.
*
*
* .clarifai.api.App app = 2;
* @return The app.
*/
com.clarifai.grpc.api.App getApp();
/**
*
* the app this collaborator has access to
* FIXME(zeiler): this should be in the user_app_id.app_id already from the endpoint.
*
*
* .clarifai.api.App app = 2;
*/
com.clarifai.grpc.api.AppOrBuilder getAppOrBuilder();
/**
*
* who is this collaborator
*
*
* .clarifai.api.User user = 3;
* @return Whether the user field is set.
*/
boolean hasUser();
/**
*
* who is this collaborator
*
*
* .clarifai.api.User user = 3;
* @return The user.
*/
com.clarifai.grpc.api.User getUser();
/**
*
* who is this collaborator
*
*
* .clarifai.api.User user = 3;
*/
com.clarifai.grpc.api.UserOrBuilder getUserOrBuilder();
/**
*
* the permission this collaborator
*
*
* repeated string scopes = 4;
* @return A list containing the scopes.
*/
java.util.List
getScopesList();
/**
*
* the permission this collaborator
*
*
* repeated string scopes = 4;
* @return The count of scopes.
*/
int getScopesCount();
/**
*
* the permission this collaborator
*
*
* repeated string scopes = 4;
* @param index The index of the element to return.
* @return The scopes at the given index.
*/
java.lang.String getScopes(int index);
/**
*
* the permission this collaborator
*
*
* repeated string scopes = 4;
* @param index The index of the value to return.
* @return The bytes of the scopes at the given index.
*/
com.google.protobuf.ByteString
getScopesBytes(int index);
/**
* repeated string endpoints = 5;
* @return A list containing the endpoints.
*/
java.util.List
getEndpointsList();
/**
* repeated string endpoints = 5;
* @return The count of endpoints.
*/
int getEndpointsCount();
/**
* repeated string endpoints = 5;
* @param index The index of the element to return.
* @return The endpoints at the given index.
*/
java.lang.String getEndpoints(int index);
/**
* repeated string endpoints = 5;
* @param index The index of the value to return.
* @return The bytes of the endpoints at the given index.
*/
com.google.protobuf.ByteString
getEndpointsBytes(int index);
/**
*
* When the app was shared with. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the app was shared with. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the app was shared with. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* When the collaborator was updated.
*
*
* .google.protobuf.Timestamp modified_at = 7;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* When the collaborator was updated.
*
*
* .google.protobuf.Timestamp modified_at = 7;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* When the collaborator was updated.
*
*
* .google.protobuf.Timestamp modified_at = 7;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
/**
*
* When the collaborator was removed from app.
*
*
* .google.protobuf.Timestamp deleted_at = 8;
* @return Whether the deletedAt field is set.
*/
boolean hasDeletedAt();
/**
*
* When the collaborator was removed from app.
*
*
* .google.protobuf.Timestamp deleted_at = 8;
* @return The deletedAt.
*/
com.google.protobuf.Timestamp getDeletedAt();
/**
*
* When the collaborator was removed from app.
*
*
* .google.protobuf.Timestamp deleted_at = 8;
*/
com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder();
}