momento.auth._GenerateApiTokenRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos-jvm Show documentation
Show all versions of client-protos-jvm Show documentation
Kotlin protobuf protocols for the JVM that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: auth.proto
package momento.auth;
public interface _GenerateApiTokenRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:auth._GenerateApiTokenRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .auth._GenerateApiTokenRequest.Never never = 1;
* @return Whether the never field is set.
*/
boolean hasNever();
/**
* .auth._GenerateApiTokenRequest.Never never = 1;
* @return The never.
*/
momento.auth._GenerateApiTokenRequest.Never getNever();
/**
* .auth._GenerateApiTokenRequest.Never never = 1;
*/
momento.auth._GenerateApiTokenRequest.NeverOrBuilder getNeverOrBuilder();
/**
* .auth._GenerateApiTokenRequest.Expires expires = 2;
* @return Whether the expires field is set.
*/
boolean hasExpires();
/**
* .auth._GenerateApiTokenRequest.Expires expires = 2;
* @return The expires.
*/
momento.auth._GenerateApiTokenRequest.Expires getExpires();
/**
* .auth._GenerateApiTokenRequest.Expires expires = 2;
*/
momento.auth._GenerateApiTokenRequest.ExpiresOrBuilder getExpiresOrBuilder();
/**
* string auth_token = 3;
* @return The authToken.
*/
java.lang.String getAuthToken();
/**
* string auth_token = 3;
* @return The bytes for authToken.
*/
com.google.protobuf.ByteString
getAuthTokenBytes();
/**
* .permission_messages.Permissions permissions = 4;
* @return Whether the permissions field is set.
*/
boolean hasPermissions();
/**
* .permission_messages.Permissions permissions = 4;
* @return The permissions.
*/
grpc.permission_messages.Permissions getPermissions();
/**
* .permission_messages.Permissions permissions = 4;
*/
grpc.permission_messages.PermissionsOrBuilder getPermissionsOrBuilder();
/**
* string token_id = 5;
* @return The tokenId.
*/
java.lang.String getTokenId();
/**
* string token_id = 5;
* @return The bytes for tokenId.
*/
com.google.protobuf.ByteString
getTokenIdBytes();
/**
* string description = 6;
* @return The description.
*/
java.lang.String getDescription();
/**
* string description = 6;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
momento.auth._GenerateApiTokenRequest.ExpiryCase getExpiryCase();
}