public interface _GenerateApiTokenResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApiKey()
the api key used for authentication against Momento backend
|
com.google.protobuf.ByteString |
getApiKeyBytes()
the api key used for authentication against Momento backend
|
java.lang.String |
getEndpoint()
the Momento endpoint that this token is allowed to make requests against
|
com.google.protobuf.ByteString |
getEndpointBytes()
the Momento endpoint that this token is allowed to make requests against
|
java.lang.String |
getRefreshToken()
the token that will allow the api token to be refreshed, which will
give you back a new refresh and api token
|
com.google.protobuf.ByteString |
getRefreshTokenBytes()
the token that will allow the api token to be refreshed, which will
give you back a new refresh and api token
|
long |
getValidUntil()
epoch seconds when the api token expires
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getApiKey()
the api key used for authentication against Momento backend
string api_key = 1;com.google.protobuf.ByteString getApiKeyBytes()
the api key used for authentication against Momento backend
string api_key = 1;java.lang.String getRefreshToken()
the token that will allow the api token to be refreshed, which will give you back a new refresh and api token
string refresh_token = 2;com.google.protobuf.ByteString getRefreshTokenBytes()
the token that will allow the api token to be refreshed, which will give you back a new refresh and api token
string refresh_token = 2;java.lang.String getEndpoint()
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;com.google.protobuf.ByteString getEndpointBytes()
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;long getValidUntil()
epoch seconds when the api token expires
uint64 valid_until = 4;