public static final class _GenerateApiTokenResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder> implements _GenerateApiTokenResponseOrBuilder
auth._GenerateApiTokenResponse| Modifier and Type | Method and Description |
|---|---|
_GenerateApiTokenResponse |
build() |
_GenerateApiTokenResponse |
buildPartial() |
_GenerateApiTokenResponse.Builder |
clear() |
_GenerateApiTokenResponse.Builder |
clearApiKey()
the api key used for authentication against Momento backend
|
_GenerateApiTokenResponse.Builder |
clearEndpoint()
the Momento endpoint that this token is allowed to make requests against
|
_GenerateApiTokenResponse.Builder |
clearRefreshToken()
the token that will allow the api token to be refreshed, which will
give you back a new refresh and api token
|
_GenerateApiTokenResponse.Builder |
clearValidUntil()
epoch seconds when the api token expires
|
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
|
_GenerateApiTokenResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
_GenerateApiTokenResponse.Builder |
mergeFrom(_GenerateApiTokenResponse other) |
_GenerateApiTokenResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
_GenerateApiTokenResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
_GenerateApiTokenResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
_GenerateApiTokenResponse.Builder |
setApiKey(java.lang.String value)
the api key used for authentication against Momento backend
|
_GenerateApiTokenResponse.Builder |
setApiKeyBytes(com.google.protobuf.ByteString value)
the api key used for authentication against Momento backend
|
_GenerateApiTokenResponse.Builder |
setEndpoint(java.lang.String value)
the Momento endpoint that this token is allowed to make requests against
|
_GenerateApiTokenResponse.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
the Momento endpoint that this token is allowed to make requests against
|
_GenerateApiTokenResponse.Builder |
setRefreshToken(java.lang.String value)
the token that will allow the api token to be refreshed, which will
give you back a new refresh and api token
|
_GenerateApiTokenResponse.Builder |
setRefreshTokenBytes(com.google.protobuf.ByteString value)
the token that will allow the api token to be refreshed, which will
give you back a new refresh and api token
|
_GenerateApiTokenResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
_GenerateApiTokenResponse.Builder |
setValidUntil(long value)
epoch seconds when the api token expires
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>public _GenerateApiTokenResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>public _GenerateApiTokenResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic _GenerateApiTokenResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic _GenerateApiTokenResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic _GenerateApiTokenResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<_GenerateApiTokenResponse.Builder>public _GenerateApiTokenResponse.Builder mergeFrom(_GenerateApiTokenResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>public _GenerateApiTokenResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<_GenerateApiTokenResponse.Builder>java.io.IOExceptionpublic java.lang.String getApiKey()
the api key used for authentication against Momento backend
string api_key = 1;getApiKey in interface _GenerateApiTokenResponseOrBuilderpublic com.google.protobuf.ByteString getApiKeyBytes()
the api key used for authentication against Momento backend
string api_key = 1;getApiKeyBytes in interface _GenerateApiTokenResponseOrBuilderpublic _GenerateApiTokenResponse.Builder setApiKey(java.lang.String value)
the api key used for authentication against Momento backend
string api_key = 1;value - The apiKey to set.public _GenerateApiTokenResponse.Builder clearApiKey()
the api key used for authentication against Momento backend
string api_key = 1;public _GenerateApiTokenResponse.Builder setApiKeyBytes(com.google.protobuf.ByteString value)
the api key used for authentication against Momento backend
string api_key = 1;value - The bytes for apiKey to set.public 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;getRefreshToken in interface _GenerateApiTokenResponseOrBuilderpublic 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;getRefreshTokenBytes in interface _GenerateApiTokenResponseOrBuilderpublic _GenerateApiTokenResponse.Builder setRefreshToken(java.lang.String value)
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;value - The refreshToken to set.public _GenerateApiTokenResponse.Builder clearRefreshToken()
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;public _GenerateApiTokenResponse.Builder setRefreshTokenBytes(com.google.protobuf.ByteString value)
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;value - The bytes for refreshToken to set.public java.lang.String getEndpoint()
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;getEndpoint in interface _GenerateApiTokenResponseOrBuilderpublic com.google.protobuf.ByteString getEndpointBytes()
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;getEndpointBytes in interface _GenerateApiTokenResponseOrBuilderpublic _GenerateApiTokenResponse.Builder setEndpoint(java.lang.String value)
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;value - The endpoint to set.public _GenerateApiTokenResponse.Builder clearEndpoint()
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;public _GenerateApiTokenResponse.Builder setEndpointBytes(com.google.protobuf.ByteString value)
the Momento endpoint that this token is allowed to make requests against
string endpoint = 3;value - The bytes for endpoint to set.public long getValidUntil()
epoch seconds when the api token expires
uint64 valid_until = 4;getValidUntil in interface _GenerateApiTokenResponseOrBuilderpublic _GenerateApiTokenResponse.Builder setValidUntil(long value)
epoch seconds when the api token expires
uint64 valid_until = 4;value - The validUntil to set.public _GenerateApiTokenResponse.Builder clearValidUntil()
epoch seconds when the api token expires
uint64 valid_until = 4;public final _GenerateApiTokenResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>public final _GenerateApiTokenResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<_GenerateApiTokenResponse.Builder>