Class LogScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LogScope.Builder>
com.google.protobuf.GeneratedMessage.Builder<LogScope.Builder>
com.soulfiremc.grpc.generated.LogScope.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogScopeOrBuilder, Cloneable
- Enclosing class:
LogScope
public static final class LogScope.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogScope.Builder>
implements LogScopeOrBuilder
Defines the scope of logs to retrieve or subscribe to. The scope determines which logs are included based on their source and the user's permissions.Protobuf type
soulfire.v1.LogScope-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearBot()Receive logs from a specific bot within an instance.Receive all non-personal logs from the server.Receive logs from a specific instance.Receive logs from a specific script within an instance.Receive personal messages for the authenticated user.getBot()Receive logs from a specific bot within an instance.Receive logs from a specific bot within an instance.Receive logs from a specific bot within an instance.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorReceive all non-personal logs from the server.Receive all non-personal logs from the server.Receive all non-personal logs from the server.Receive logs from a specific instance.Receive logs from a specific instance.Receive logs from a specific instance.Receive logs from a specific script within an instance.Receive logs from a specific script within an instance.Receive logs from a specific script within an instance.Receive personal messages for the authenticated user.Receive personal messages for the authenticated user.Receive personal messages for the authenticated user.booleanhasBot()Receive logs from a specific bot within an instance.booleanReceive all non-personal logs from the server.booleanReceive logs from a specific instance.booleanReceive logs from a specific script within an instance.booleanReceive personal messages for the authenticated user.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBot(BotLogScope value) Receive logs from a specific bot within an instance.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGlobal(GlobalLogScope value) Receive all non-personal logs from the server.mergeInstance(InstanceLogScope value) Receive logs from a specific instance.Receive logs from a specific script within an instance.mergePersonal(PersonalLogScope value) Receive personal messages for the authenticated user.setBot(BotLogScope value) Receive logs from a specific bot within an instance.setBot(BotLogScope.Builder builderForValue) Receive logs from a specific bot within an instance.setGlobal(GlobalLogScope value) Receive all non-personal logs from the server.setGlobal(GlobalLogScope.Builder builderForValue) Receive all non-personal logs from the server.setInstance(InstanceLogScope value) Receive logs from a specific instance.setInstance(InstanceLogScope.Builder builderForValue) Receive logs from a specific instance.Receive logs from a specific script within an instance.setInstanceScript(InstanceScriptLogScope.Builder builderForValue) Receive logs from a specific script within an instance.setPersonal(PersonalLogScope value) Receive personal messages for the authenticated user.setPersonal(PersonalLogScope.Builder builderForValue) Receive personal messages for the authenticated user.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<LogScope.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<LogScope.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<LogScope.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<LogScope.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogScope.Builder>
-
mergeFrom
public LogScope.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<LogScope.Builder>- Throws:
IOException
-
getScopeCase
- Specified by:
getScopeCasein interfaceLogScopeOrBuilder
-
clearScope
-
hasGlobal
public boolean hasGlobal()Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1;- Specified by:
hasGlobalin interfaceLogScopeOrBuilder- Returns:
- Whether the global field is set.
-
getGlobal
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1;- Specified by:
getGlobalin interfaceLogScopeOrBuilder- Returns:
- The global.
-
setGlobal
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1; -
setGlobal
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1; -
mergeGlobal
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1; -
clearGlobal
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1; -
getGlobalBuilder
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1; -
getGlobalOrBuilder
Receive all non-personal logs from the server. Requires GLOBAL_SUBSCRIBE_LOGS permission.
.soulfire.v1.GlobalLogScope global = 1;- Specified by:
getGlobalOrBuilderin interfaceLogScopeOrBuilder
-
hasInstance
public boolean hasInstance()Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2;- Specified by:
hasInstancein interfaceLogScopeOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2;- Specified by:
getInstancein interfaceLogScopeOrBuilder- Returns:
- The instance.
-
setInstance
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2; -
setInstance
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2; -
mergeInstance
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2; -
clearInstance
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2; -
getInstanceBuilder
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2; -
getInstanceOrBuilder
Receive logs from a specific instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceLogScope instance = 2;- Specified by:
getInstanceOrBuilderin interfaceLogScopeOrBuilder
-
hasBot
public boolean hasBot()Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3;- Specified by:
hasBotin interfaceLogScopeOrBuilder- Returns:
- Whether the bot field is set.
-
getBot
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3;- Specified by:
getBotin interfaceLogScopeOrBuilder- Returns:
- The bot.
-
setBot
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3; -
setBot
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3; -
mergeBot
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3; -
clearBot
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3; -
getBotBuilder
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3; -
getBotOrBuilder
Receive logs from a specific bot within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.BotLogScope bot = 3;- Specified by:
getBotOrBuilderin interfaceLogScopeOrBuilder
-
hasInstanceScript
public boolean hasInstanceScript()Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5;- Specified by:
hasInstanceScriptin interfaceLogScopeOrBuilder- Returns:
- Whether the instanceScript field is set.
-
getInstanceScript
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5;- Specified by:
getInstanceScriptin interfaceLogScopeOrBuilder- Returns:
- The instanceScript.
-
setInstanceScript
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5; -
setInstanceScript
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5; -
mergeInstanceScript
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5; -
clearInstanceScript
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5; -
getInstanceScriptBuilder
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5; -
getInstanceScriptOrBuilder
Receive logs from a specific script within an instance. Requires INSTANCE_SUBSCRIBE_LOGS permission.
.soulfire.v1.InstanceScriptLogScope instance_script = 5;- Specified by:
getInstanceScriptOrBuilderin interfaceLogScopeOrBuilder
-
hasPersonal
public boolean hasPersonal()Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6;- Specified by:
hasPersonalin interfaceLogScopeOrBuilder- Returns:
- Whether the personal field is set.
-
getPersonal
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6;- Specified by:
getPersonalin interfaceLogScopeOrBuilder- Returns:
- The personal.
-
setPersonal
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6; -
setPersonal
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6; -
mergePersonal
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6; -
clearPersonal
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6; -
getPersonalBuilder
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6; -
getPersonalOrBuilder
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6;- Specified by:
getPersonalOrBuilderin interfaceLogScopeOrBuilder
-