Package viam.app.v1
Class Robot.LogPatternConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.LogPatternConfig,Robot.LogPatternConfig.Builder>
viam.app.v1.Robot.LogPatternConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.LogPatternConfigOrBuilder
- Enclosing class:
- Robot.LogPatternConfig
public static final class Robot.LogPatternConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.LogPatternConfig,Robot.LogPatternConfig.Builder>
implements Robot.LogPatternConfigOrBuilder
LogPatternConfig allows you to specify a 2-tuple consisting of a logger name and its corresponding log level.Protobuf type
viam.app.v1.LogPatternConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring level = 2 [json_name = "level"];
string pattern = 1 [json_name = "pattern"];
getLevel()
string level = 2 [json_name = "level"];
com.google.protobuf.ByteString
string level = 2 [json_name = "level"];
string pattern = 1 [json_name = "pattern"];
com.google.protobuf.ByteString
string pattern = 1 [json_name = "pattern"];
string level = 2 [json_name = "level"];
setLevelBytes
(com.google.protobuf.ByteString value) string level = 2 [json_name = "level"];
setPattern
(String value) string pattern = 1 [json_name = "pattern"];
setPatternBytes
(com.google.protobuf.ByteString value) string pattern = 1 [json_name = "pattern"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPattern
string pattern = 1 [json_name = "pattern"];
- Specified by:
getPattern
in interfaceRobot.LogPatternConfigOrBuilder
- Returns:
- The pattern.
-
getPatternBytes
public com.google.protobuf.ByteString getPatternBytes()string pattern = 1 [json_name = "pattern"];
- Specified by:
getPatternBytes
in interfaceRobot.LogPatternConfigOrBuilder
- Returns:
- The bytes for pattern.
-
setPattern
string pattern = 1 [json_name = "pattern"];
- Parameters:
value
- The pattern to set.- Returns:
- This builder for chaining.
-
clearPattern
string pattern = 1 [json_name = "pattern"];
- Returns:
- This builder for chaining.
-
setPatternBytes
string pattern = 1 [json_name = "pattern"];
- Parameters:
value
- The bytes for pattern to set.- Returns:
- This builder for chaining.
-
getLevel
string level = 2 [json_name = "level"];
- Specified by:
getLevel
in interfaceRobot.LogPatternConfigOrBuilder
- Returns:
- The level.
-
getLevelBytes
public com.google.protobuf.ByteString getLevelBytes()string level = 2 [json_name = "level"];
- Specified by:
getLevelBytes
in interfaceRobot.LogPatternConfigOrBuilder
- Returns:
- The bytes for level.
-
setLevel
string level = 2 [json_name = "level"];
- Parameters:
value
- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
string level = 2 [json_name = "level"];
- Returns:
- This builder for chaining.
-
setLevelBytes
string level = 2 [json_name = "level"];
- Parameters:
value
- The bytes for level to set.- Returns:
- This builder for chaining.
-