Class LogScope
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.LogScope
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogScopeOrBuilder, Serializable
@Generated
public final class LogScope
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines the scope of logs to retrieve or subscribe to.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBot()Receive logs from a specific bot within an instance.Receive logs from a specific bot within an instance.static LogScopestatic final com.google.protobuf.Descriptors.DescriptorReceive 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 script within an instance.Receive logs from a specific script within an instance.com.google.protobuf.Parser<LogScope> Receive personal messages for the authenticated user.Receive personal messages for the authenticated user.intbooleanhasBot()Receive logs from a specific bot within an instance.booleanReceive all non-personal logs from the server.inthashCode()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 booleanstatic LogScope.Builderstatic LogScope.BuildernewBuilder(LogScope prototype) protected LogScope.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LogScopeparseDelimitedFrom(InputStream input) static LogScopeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogScopeparseFrom(byte[] data) static LogScopeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogScopeparseFrom(com.google.protobuf.ByteString data) static LogScopeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogScopeparseFrom(com.google.protobuf.CodedInputStream input) static LogScopeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogScopeparseFrom(InputStream input) static LogScopeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogScopeparseFrom(ByteBuffer data) static LogScopeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LogScope> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GLOBAL_FIELD_NUMBER
public static final int GLOBAL_FIELD_NUMBER- See Also:
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
BOT_FIELD_NUMBER
public static final int BOT_FIELD_NUMBER- See Also:
-
INSTANCE_SCRIPT_FIELD_NUMBER
public static final int INSTANCE_SCRIPT_FIELD_NUMBER- See Also:
-
PERSONAL_FIELD_NUMBER
public static final int PERSONAL_FIELD_NUMBER- See Also:
-
-
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
-
getScopeCase
- Specified by:
getScopeCasein interfaceLogScopeOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
getPersonalOrBuilder
Receive personal messages for the authenticated user. No special permissions required.
.soulfire.v1.PersonalLogScope personal = 6;- Specified by:
getPersonalOrBuilderin interfaceLogScopeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LogScope parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogScope parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogScope parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogScope parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogScope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogScope parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LogScope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LogScope parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LogScope parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LogScope.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-