Class RefreshRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RefreshRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
com.soulfiremc.grpc.generated.RefreshRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RefreshRequestOrBuilder, Cloneable
- Enclosing class:
RefreshRequest
public static final class RefreshRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
implements RefreshRequestOrBuilder
Request message for refreshing an existing Minecraft account's authentication tokens. Used to renew expired tokens without requiring the user to re-authenticate.Protobuf type
soulfire.v1.RefreshRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The existing Minecraft account to refresh.The UUID of the SoulFire instance context for the refresh operation.The existing Minecraft account to refresh.The existing Minecraft account to refresh.The existing Minecraft account to refresh.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe UUID of the SoulFire instance context for the refresh operation.com.google.protobuf.ByteStringThe UUID of the SoulFire instance context for the refresh operation.booleanThe existing Minecraft account to refresh.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe existing Minecraft account to refresh.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RefreshRequest other) setAccount(MinecraftAccountProto value) The existing Minecraft account to refresh.setAccount(MinecraftAccountProto.Builder builderForValue) The existing Minecraft account to refresh.setInstanceId(String value) The UUID of the SoulFire instance context for the refresh operation.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the SoulFire instance context for the refresh operation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RefreshRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RefreshRequest.Builder>
-
mergeFrom
public RefreshRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RefreshRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceRefreshRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceRefreshRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
hasAccount
public boolean hasAccount()The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2;- Specified by:
hasAccountin interfaceRefreshRequestOrBuilder- Returns:
- Whether the account field is set.
-
getAccount
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2;- Specified by:
getAccountin interfaceRefreshRequestOrBuilder- Returns:
- The account.
-
setAccount
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2; -
setAccount
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2; -
mergeAccount
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2; -
clearAccount
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2; -
getAccountBuilder
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2; -
getAccountOrBuilder
The existing Minecraft account to refresh. Must include valid account data with refresh tokens. The account type determines which refresh mechanism is used. Offline accounts are returned unchanged (they never expire).
.soulfire.v1.MinecraftAccountProto account = 2;- Specified by:
getAccountOrBuilderin interfaceRefreshRequestOrBuilder
-