Package com.soulfiremc.grpc.generated
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_id = 4;
clearId()
string id = 1;
optional string instance_id = 3;
string message = 2;
optional string script_id = 5;
getBotId()
optional string bot_id = 4;
com.google.protobuf.ByteString
optional string bot_id = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
string id = 1;
com.google.protobuf.ByteString
string id = 1;
optional string instance_id = 3;
com.google.protobuf.ByteString
optional string instance_id = 3;
string message = 2;
com.google.protobuf.ByteString
string message = 2;
optional string script_id = 5;
com.google.protobuf.ByteString
optional string script_id = 5;
boolean
hasBotId()
optional string bot_id = 4;
boolean
optional string instance_id = 3;
boolean
optional string script_id = 5;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional string bot_id = 4;
setBotIdBytes
(com.google.protobuf.ByteString value) optional string bot_id = 4;
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;
setMessage
(String value) string message = 2;
setMessageBytes
(com.google.protobuf.ByteString value) string message = 2;
setScriptId
(String value) optional string script_id = 5;
setScriptIdBytes
(com.google.protobuf.ByteString value) optional string script_id = 5;
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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LogString.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LogString.Builder>
- Throws:
IOException
-
getId
string id = 1;
- Specified by:
getId
in interfaceLogStringOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1;
- Specified by:
getIdBytes
in interfaceLogStringOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getMessage
string message = 2;
- Specified by:
getMessage
in interfaceLogStringOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 2;
- Specified by:
getMessageBytes
in interfaceLogStringOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 2;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 2;
- Returns:
- This builder for chaining.
-
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:
hasInstanceId
in interfaceLogStringOrBuilder
- Returns:
- Whether the instanceId field is set.
-
getInstanceId
optional string instance_id = 3;
- Specified by:
getInstanceId
in interfaceLogStringOrBuilder
- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()optional string instance_id = 3;
- Specified by:
getInstanceIdBytes
in 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.
-
hasBotId
public boolean hasBotId()optional string bot_id = 4;
- Specified by:
hasBotId
in interfaceLogStringOrBuilder
- Returns:
- Whether the botId field is set.
-
getBotId
optional string bot_id = 4;
- Specified by:
getBotId
in interfaceLogStringOrBuilder
- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()optional string bot_id = 4;
- Specified by:
getBotIdBytes
in interfaceLogStringOrBuilder
- Returns:
- The bytes for botId.
-
setBotId
optional string bot_id = 4;
- Parameters:
value
- The botId to set.- Returns:
- This builder for chaining.
-
clearBotId
optional string bot_id = 4;
- Returns:
- This builder for chaining.
-
setBotIdBytes
optional string bot_id = 4;
- Parameters:
value
- The bytes for botId to set.- Returns:
- This builder for chaining.
-
hasScriptId
public boolean hasScriptId()optional string script_id = 5;
- Specified by:
hasScriptId
in interfaceLogStringOrBuilder
- Returns:
- Whether the scriptId field is set.
-
getScriptId
optional string script_id = 5;
- Specified by:
getScriptId
in interfaceLogStringOrBuilder
- Returns:
- The scriptId.
-
getScriptIdBytes
public com.google.protobuf.ByteString getScriptIdBytes()optional string script_id = 5;
- Specified by:
getScriptIdBytes
in 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.
-