Class LogString.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LogString.Builder>
com.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
com.soulfiremc.grpc.generated.LogString.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogStringOrBuilder, Cloneable
- Enclosing class:
LogString
public static final class LogString.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
implements LogStringOrBuilder
Protobuf type
soulfire.v1.LogString-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()optional string bot_account_id = 4;optional string bot_account_name = 8;clearId()string id = 1;optional string instance_id = 3;optional string instance_name = 7;optional string level = 11;optional string logger_name = 10;string message = 2;bool personal = 6;optional string script_id = 5;.google.protobuf.Timestamp timestamp = 9;optional string bot_account_id = 4;com.google.protobuf.ByteStringoptional string bot_account_id = 4;optional string bot_account_name = 8;com.google.protobuf.ByteStringoptional string bot_account_name = 8;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()string id = 1;com.google.protobuf.ByteStringstring id = 1;optional string instance_id = 3;com.google.protobuf.ByteStringoptional string instance_id = 3;optional string instance_name = 7;com.google.protobuf.ByteStringoptional string instance_name = 7;getLevel()optional string level = 11;com.google.protobuf.ByteStringoptional string level = 11;optional string logger_name = 10;com.google.protobuf.ByteStringoptional string logger_name = 10;string message = 2;com.google.protobuf.ByteStringstring message = 2;booleanbool personal = 6;optional string script_id = 5;com.google.protobuf.ByteStringoptional string script_id = 5;com.google.protobuf.Timestamp.google.protobuf.Timestamp timestamp = 9;com.google.protobuf.Timestamp.Builder.google.protobuf.Timestamp timestamp = 9;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp timestamp = 9;booleanoptional string bot_account_id = 4;booleanoptional string bot_account_name = 8;booleanoptional string instance_id = 3;booleanoptional string instance_name = 7;booleanhasLevel()optional string level = 11;booleanoptional string logger_name = 10;booleanoptional string script_id = 5;boolean.google.protobuf.Timestamp timestamp = 9;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp timestamp = 9;setBotAccountId(String value) optional string bot_account_id = 4;setBotAccountIdBytes(com.google.protobuf.ByteString value) optional string bot_account_id = 4;setBotAccountName(String value) optional string bot_account_name = 8;setBotAccountNameBytes(com.google.protobuf.ByteString value) optional string bot_account_name = 8;string id = 1;setIdBytes(com.google.protobuf.ByteString value) string id = 1;setInstanceId(String value) optional string instance_id = 3;setInstanceIdBytes(com.google.protobuf.ByteString value) optional string instance_id = 3;setInstanceName(String value) optional string instance_name = 7;setInstanceNameBytes(com.google.protobuf.ByteString value) optional string instance_name = 7;optional string level = 11;setLevelBytes(com.google.protobuf.ByteString value) optional string level = 11;setLoggerName(String value) optional string logger_name = 10;setLoggerNameBytes(com.google.protobuf.ByteString value) optional string logger_name = 10;setMessage(String value) string message = 2;setMessageBytes(com.google.protobuf.ByteString value) string message = 2;setPersonal(boolean value) bool personal = 6;setScriptId(String value) optional string script_id = 5;setScriptIdBytes(com.google.protobuf.ByteString value) optional string script_id = 5;setTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp timestamp = 9;setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp timestamp = 9;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<LogString.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<LogString.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<LogString.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<LogString.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
mergeFrom
public LogString.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<LogString.Builder>- Throws:
IOException
-
getId
string id = 1;- Specified by:
getIdin interfaceLogStringOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1;- Specified by:
getIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
-
setIdBytes
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getMessage
string message = 2;- Specified by:
getMessagein interfaceLogStringOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 2;- Specified by:
getMessageBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for message.
-
setMessage
string message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
-
setMessageBytes
string message = 2;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasInstanceId
public boolean hasInstanceId()optional string instance_id = 3;- Specified by:
hasInstanceIdin interfaceLogStringOrBuilder- Returns:
- Whether the instanceId field is set.
-
getInstanceId
optional string instance_id = 3;- Specified by:
getInstanceIdin interfaceLogStringOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()optional string instance_id = 3;- Specified by:
getInstanceIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
optional string instance_id = 3;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
optional string instance_id = 3;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
optional string instance_id = 3;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
hasBotAccountId
public boolean hasBotAccountId()optional string bot_account_id = 4;- Specified by:
hasBotAccountIdin interfaceLogStringOrBuilder- Returns:
- Whether the botAccountId field is set.
-
getBotAccountId
optional string bot_account_id = 4;- Specified by:
getBotAccountIdin interfaceLogStringOrBuilder- Returns:
- The botAccountId.
-
getBotAccountIdBytes
public com.google.protobuf.ByteString getBotAccountIdBytes()optional string bot_account_id = 4;- Specified by:
getBotAccountIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for botAccountId.
-
setBotAccountId
optional string bot_account_id = 4;- Parameters:
value- The botAccountId to set.- Returns:
- This builder for chaining.
-
clearBotAccountId
optional string bot_account_id = 4;- Returns:
- This builder for chaining.
-
setBotAccountIdBytes
optional string bot_account_id = 4;- Parameters:
value- The bytes for botAccountId to set.- Returns:
- This builder for chaining.
-
hasScriptId
public boolean hasScriptId()optional string script_id = 5;- Specified by:
hasScriptIdin interfaceLogStringOrBuilder- Returns:
- Whether the scriptId field is set.
-
getScriptId
optional string script_id = 5;- Specified by:
getScriptIdin interfaceLogStringOrBuilder- Returns:
- The scriptId.
-
getScriptIdBytes
public com.google.protobuf.ByteString getScriptIdBytes()optional string script_id = 5;- Specified by:
getScriptIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for scriptId.
-
setScriptId
optional string script_id = 5;- Parameters:
value- The scriptId to set.- Returns:
- This builder for chaining.
-
clearScriptId
optional string script_id = 5;- Returns:
- This builder for chaining.
-
setScriptIdBytes
optional string script_id = 5;- Parameters:
value- The bytes for scriptId to set.- Returns:
- This builder for chaining.
-
getPersonal
public boolean getPersonal()bool personal = 6;- Specified by:
getPersonalin interfaceLogStringOrBuilder- Returns:
- The personal.
-
setPersonal
bool personal = 6;- Parameters:
value- The personal to set.- Returns:
- This builder for chaining.
-
clearPersonal
-
hasInstanceName
public boolean hasInstanceName()optional string instance_name = 7;- Specified by:
hasInstanceNamein interfaceLogStringOrBuilder- Returns:
- Whether the instanceName field is set.
-
getInstanceName
optional string instance_name = 7;- Specified by:
getInstanceNamein interfaceLogStringOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()optional string instance_name = 7;- Specified by:
getInstanceNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
optional string instance_name = 7;- Parameters:
value- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
optional string instance_name = 7;- Returns:
- This builder for chaining.
-
setInstanceNameBytes
optional string instance_name = 7;- Parameters:
value- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
hasBotAccountName
public boolean hasBotAccountName()optional string bot_account_name = 8;- Specified by:
hasBotAccountNamein interfaceLogStringOrBuilder- Returns:
- Whether the botAccountName field is set.
-
getBotAccountName
optional string bot_account_name = 8;- Specified by:
getBotAccountNamein interfaceLogStringOrBuilder- Returns:
- The botAccountName.
-
getBotAccountNameBytes
public com.google.protobuf.ByteString getBotAccountNameBytes()optional string bot_account_name = 8;- Specified by:
getBotAccountNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for botAccountName.
-
setBotAccountName
optional string bot_account_name = 8;- Parameters:
value- The botAccountName to set.- Returns:
- This builder for chaining.
-
clearBotAccountName
optional string bot_account_name = 8;- Returns:
- This builder for chaining.
-
setBotAccountNameBytes
optional string bot_account_name = 8;- Parameters:
value- The bytes for botAccountName to set.- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp().google.protobuf.Timestamp timestamp = 9;- Specified by:
hasTimestampin interfaceLogStringOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp().google.protobuf.Timestamp timestamp = 9;- Specified by:
getTimestampin interfaceLogStringOrBuilder- Returns:
- The timestamp.
-
setTimestamp
.google.protobuf.Timestamp timestamp = 9; -
setTimestamp
.google.protobuf.Timestamp timestamp = 9; -
mergeTimestamp
.google.protobuf.Timestamp timestamp = 9; -
clearTimestamp
.google.protobuf.Timestamp timestamp = 9; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder().google.protobuf.Timestamp timestamp = 9; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder().google.protobuf.Timestamp timestamp = 9;- Specified by:
getTimestampOrBuilderin interfaceLogStringOrBuilder
-
hasLoggerName
public boolean hasLoggerName()optional string logger_name = 10;- Specified by:
hasLoggerNamein interfaceLogStringOrBuilder- Returns:
- Whether the loggerName field is set.
-
getLoggerName
optional string logger_name = 10;- Specified by:
getLoggerNamein interfaceLogStringOrBuilder- Returns:
- The loggerName.
-
getLoggerNameBytes
public com.google.protobuf.ByteString getLoggerNameBytes()optional string logger_name = 10;- Specified by:
getLoggerNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for loggerName.
-
setLoggerName
optional string logger_name = 10;- Parameters:
value- The loggerName to set.- Returns:
- This builder for chaining.
-
clearLoggerName
optional string logger_name = 10;- Returns:
- This builder for chaining.
-
setLoggerNameBytes
optional string logger_name = 10;- Parameters:
value- The bytes for loggerName to set.- Returns:
- This builder for chaining.
-
hasLevel
public boolean hasLevel()optional string level = 11;- Specified by:
hasLevelin interfaceLogStringOrBuilder- Returns:
- Whether the level field is set.
-
getLevel
optional string level = 11;- Specified by:
getLevelin interfaceLogStringOrBuilder- Returns:
- The level.
-
getLevelBytes
public com.google.protobuf.ByteString getLevelBytes()optional string level = 11;- Specified by:
getLevelBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for level.
-
setLevel
optional string level = 11;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
optional string level = 11;- Returns:
- This builder for chaining.
-
setLevelBytes
optional string level = 11;- Parameters:
value- The bytes for level to set.- Returns:
- This builder for chaining.
-