momento.token._GenerateDisposableTokenResponseOrBuilder 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: token.proto
package momento.token;
public interface _GenerateDisposableTokenResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:token._GenerateDisposableTokenResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* the new api key used for authentication against Momento backend
*
*
* string api_key = 1;
* @return The apiKey.
*/
java.lang.String getApiKey();
/**
*
* the new api key used for authentication against Momento backend
*
*
* string api_key = 1;
* @return The bytes for apiKey.
*/
com.google.protobuf.ByteString
getApiKeyBytes();
/**
*
* the Momento endpoint that this token is allowed to make requests against
*
*
* string endpoint = 2;
* @return The endpoint.
*/
java.lang.String getEndpoint();
/**
*
* the Momento endpoint that this token is allowed to make requests against
*
*
* string endpoint = 2;
* @return The bytes for endpoint.
*/
com.google.protobuf.ByteString
getEndpointBytes();
/**
*
* epoch seconds when the api token expires
*
*
* uint64 valid_until = 3;
* @return The validUntil.
*/
long getValidUntil();
}