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
  • Method Details

    • getPattern

      public String getPattern()
      string pattern = 1 [json_name = "pattern"];
      Specified by:
      getPattern in interface Robot.LogPatternConfigOrBuilder
      Returns:
      The pattern.
    • getPatternBytes

      public com.google.protobuf.ByteString getPatternBytes()
      string pattern = 1 [json_name = "pattern"];
      Specified by:
      getPatternBytes in interface Robot.LogPatternConfigOrBuilder
      Returns:
      The bytes for pattern.
    • setPattern

      public Robot.LogPatternConfig.Builder setPattern(String value)
      string pattern = 1 [json_name = "pattern"];
      Parameters:
      value - The pattern to set.
      Returns:
      This builder for chaining.
    • clearPattern

      public Robot.LogPatternConfig.Builder clearPattern()
      string pattern = 1 [json_name = "pattern"];
      Returns:
      This builder for chaining.
    • setPatternBytes

      public Robot.LogPatternConfig.Builder setPatternBytes(com.google.protobuf.ByteString value)
      string pattern = 1 [json_name = "pattern"];
      Parameters:
      value - The bytes for pattern to set.
      Returns:
      This builder for chaining.
    • getLevel

      public String getLevel()
      string level = 2 [json_name = "level"];
      Specified by:
      getLevel in interface Robot.LogPatternConfigOrBuilder
      Returns:
      The level.
    • getLevelBytes

      public com.google.protobuf.ByteString getLevelBytes()
      string level = 2 [json_name = "level"];
      Specified by:
      getLevelBytes in interface Robot.LogPatternConfigOrBuilder
      Returns:
      The bytes for level.
    • setLevel

      public Robot.LogPatternConfig.Builder setLevel(String value)
      string level = 2 [json_name = "level"];
      Parameters:
      value - The level to set.
      Returns:
      This builder for chaining.
    • clearLevel

      public Robot.LogPatternConfig.Builder clearLevel()
      string level = 2 [json_name = "level"];
      Returns:
      This builder for chaining.
    • setLevelBytes

      public Robot.LogPatternConfig.Builder setLevelBytes(com.google.protobuf.ByteString value)
      string level = 2 [json_name = "level"];
      Parameters:
      value - The bytes for level to set.
      Returns:
      This builder for chaining.