Class SubscribeScriptLogsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SubscribeScriptLogsRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<SubscribeScriptLogsRequest.Builder>
com.soulfiremc.grpc.generated.SubscribeScriptLogsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SubscribeScriptLogsRequestOrBuilder, Cloneable
- Enclosing class:
SubscribeScriptLogsRequest
public static final class SubscribeScriptLogsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SubscribeScriptLogsRequest.Builder>
implements SubscribeScriptLogsRequestOrBuilder
Request to subscribe to log entries from a script.Protobuf type
soulfire.v1.SubscribeScriptLogsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The instance containing the script.Minimum log level to receive.The ID of the script to receive logs from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe instance containing the script.com.google.protobuf.ByteStringThe instance containing the script.Minimum log level to receive.intMinimum log level to receive.The ID of the script to receive logs from.com.google.protobuf.ByteStringThe ID of the script to receive logs from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setInstanceId(String value) The instance containing the script.setInstanceIdBytes(com.google.protobuf.ByteString value) The instance containing the script.setMinLevel(LogLevel value) Minimum log level to receive.setMinLevelValue(int value) Minimum log level to receive.setScriptId(String value) The ID of the script to receive logs from.setScriptIdBytes(com.google.protobuf.ByteString value) The ID of the script to receive logs from.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<SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SubscribeScriptLogsRequest.Builder>
-
mergeFrom
public SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.Builder>- Throws:
IOException
-
getInstanceId
The instance containing the script. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance containing the script. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The instance containing the script. Format: UUID string.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The instance containing the script. Format: UUID string.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The instance containing the script. Format: UUID string.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getScriptId
The ID of the script to receive logs from. Format: UUID string.
string script_id = 2;- Specified by:
getScriptIdin interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The scriptId.
-
getScriptIdBytes
public com.google.protobuf.ByteString getScriptIdBytes()The ID of the script to receive logs from. Format: UUID string.
string script_id = 2;- Specified by:
getScriptIdBytesin interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The bytes for scriptId.
-
setScriptId
The ID of the script to receive logs from. Format: UUID string.
string script_id = 2;- Parameters:
value- The scriptId to set.- Returns:
- This builder for chaining.
-
clearScriptId
The ID of the script to receive logs from. Format: UUID string.
string script_id = 2;- Returns:
- This builder for chaining.
-
setScriptIdBytes
The ID of the script to receive logs from. Format: UUID string.
string script_id = 2;- Parameters:
value- The bytes for scriptId to set.- Returns:
- This builder for chaining.
-
getMinLevelValue
public int getMinLevelValue()Minimum log level to receive. Only log entries at this level or higher severity will be streamed.
.soulfire.v1.LogLevel min_level = 3;- Specified by:
getMinLevelValuein interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The enum numeric value on the wire for minLevel.
-
setMinLevelValue
Minimum log level to receive. Only log entries at this level or higher severity will be streamed.
.soulfire.v1.LogLevel min_level = 3;- Parameters:
value- The enum numeric value on the wire for minLevel to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getMinLevel
Minimum log level to receive. Only log entries at this level or higher severity will be streamed.
.soulfire.v1.LogLevel min_level = 3;- Specified by:
getMinLevelin interfaceSubscribeScriptLogsRequestOrBuilder- Returns:
- The minLevel.
-
setMinLevel
Minimum log level to receive. Only log entries at this level or higher severity will be streamed.
.soulfire.v1.LogLevel min_level = 3;- Parameters:
value- The minLevel to set.- Returns:
- This builder for chaining.
-
clearMinLevel
Minimum log level to receive. Only log entries at this level or higher severity will be streamed.
.soulfire.v1.LogLevel min_level = 3;- Returns:
- This builder for chaining.
-