Class Common.LogEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.LogEntry,Common.LogEntry.Builder>
com.viam.common.v1.Common.LogEntry.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Common.LogEntryOrBuilder, Cloneable
Enclosing class:
Common.LogEntry

public static final class Common.LogEntry.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.LogEntry,Common.LogEntry.Builder> implements Common.LogEntryOrBuilder
Protobuf type viam.common.v1.LogEntry
  • Method Details

    • getHost

      public String getHost()
      string host = 1 [json_name = "host"];
      Specified by:
      getHost in interface Common.LogEntryOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      string host = 1 [json_name = "host"];
      Specified by:
      getHostBytes in interface Common.LogEntryOrBuilder
      Returns:
      The bytes for host.
    • setHost

      public Common.LogEntry.Builder setHost(String value)
      string host = 1 [json_name = "host"];
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

      public Common.LogEntry.Builder clearHost()
      string host = 1 [json_name = "host"];
      Returns:
      This builder for chaining.
    • setHostBytes

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

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

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

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

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

      public Common.LogEntry.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.
    • hasTime

      public boolean hasTime()
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
      Specified by:
      hasTime in interface Common.LogEntryOrBuilder
      Returns:
      Whether the time field is set.
    • getTime

      public com.google.protobuf.Timestamp getTime()
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
      Specified by:
      getTime in interface Common.LogEntryOrBuilder
      Returns:
      The time.
    • setTime

      public Common.LogEntry.Builder setTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
    • setTime

      public Common.LogEntry.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
    • mergeTime

      public Common.LogEntry.Builder mergeTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
    • clearTime

      public Common.LogEntry.Builder clearTime()
      .google.protobuf.Timestamp time = 3 [json_name = "time"];
    • getLoggerName

      public String getLoggerName()
      string logger_name = 4 [json_name = "loggerName"];
      Specified by:
      getLoggerName in interface Common.LogEntryOrBuilder
      Returns:
      The loggerName.
    • getLoggerNameBytes

      public com.google.protobuf.ByteString getLoggerNameBytes()
      string logger_name = 4 [json_name = "loggerName"];
      Specified by:
      getLoggerNameBytes in interface Common.LogEntryOrBuilder
      Returns:
      The bytes for loggerName.
    • setLoggerName

      public Common.LogEntry.Builder setLoggerName(String value)
      string logger_name = 4 [json_name = "loggerName"];
      Parameters:
      value - The loggerName to set.
      Returns:
      This builder for chaining.
    • clearLoggerName

      public Common.LogEntry.Builder clearLoggerName()
      string logger_name = 4 [json_name = "loggerName"];
      Returns:
      This builder for chaining.
    • setLoggerNameBytes

      public Common.LogEntry.Builder setLoggerNameBytes(com.google.protobuf.ByteString value)
      string logger_name = 4 [json_name = "loggerName"];
      Parameters:
      value - The bytes for loggerName to set.
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
      string message = 5 [json_name = "message"];
      Specified by:
      getMessage in interface Common.LogEntryOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      string message = 5 [json_name = "message"];
      Specified by:
      getMessageBytes in interface Common.LogEntryOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public Common.LogEntry.Builder setMessage(String value)
      string message = 5 [json_name = "message"];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Common.LogEntry.Builder clearMessage()
      string message = 5 [json_name = "message"];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Common.LogEntry.Builder setMessageBytes(com.google.protobuf.ByteString value)
      string message = 5 [json_name = "message"];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • hasCaller

      public boolean hasCaller()
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
      Specified by:
      hasCaller in interface Common.LogEntryOrBuilder
      Returns:
      Whether the caller field is set.
    • getCaller

      public com.google.protobuf.Struct getCaller()
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
      Specified by:
      getCaller in interface Common.LogEntryOrBuilder
      Returns:
      The caller.
    • setCaller

      public Common.LogEntry.Builder setCaller(com.google.protobuf.Struct value)
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
    • setCaller

      public Common.LogEntry.Builder setCaller(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
    • mergeCaller

      public Common.LogEntry.Builder mergeCaller(com.google.protobuf.Struct value)
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
    • clearCaller

      public Common.LogEntry.Builder clearCaller()
      .google.protobuf.Struct caller = 6 [json_name = "caller"];
    • getStack

      public String getStack()
      string stack = 7 [json_name = "stack"];
      Specified by:
      getStack in interface Common.LogEntryOrBuilder
      Returns:
      The stack.
    • getStackBytes

      public com.google.protobuf.ByteString getStackBytes()
      string stack = 7 [json_name = "stack"];
      Specified by:
      getStackBytes in interface Common.LogEntryOrBuilder
      Returns:
      The bytes for stack.
    • setStack

      public Common.LogEntry.Builder setStack(String value)
      string stack = 7 [json_name = "stack"];
      Parameters:
      value - The stack to set.
      Returns:
      This builder for chaining.
    • clearStack

      public Common.LogEntry.Builder clearStack()
      string stack = 7 [json_name = "stack"];
      Returns:
      This builder for chaining.
    • setStackBytes

      public Common.LogEntry.Builder setStackBytes(com.google.protobuf.ByteString value)
      string stack = 7 [json_name = "stack"];
      Parameters:
      value - The bytes for stack to set.
      Returns:
      This builder for chaining.
    • getFieldsList

      public List<com.google.protobuf.Struct> getFieldsList()
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
      Specified by:
      getFieldsList in interface Common.LogEntryOrBuilder
    • getFieldsCount

      public int getFieldsCount()
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
      Specified by:
      getFieldsCount in interface Common.LogEntryOrBuilder
    • getFields

      public com.google.protobuf.Struct getFields(int index)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
      Specified by:
      getFields in interface Common.LogEntryOrBuilder
    • setFields

      public Common.LogEntry.Builder setFields(int index, com.google.protobuf.Struct value)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • setFields

      public Common.LogEntry.Builder setFields(int index, com.google.protobuf.Struct.Builder builderForValue)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • addFields

      public Common.LogEntry.Builder addFields(com.google.protobuf.Struct value)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • addFields

      public Common.LogEntry.Builder addFields(int index, com.google.protobuf.Struct value)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • addFields

      public Common.LogEntry.Builder addFields(com.google.protobuf.Struct.Builder builderForValue)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • addFields

      public Common.LogEntry.Builder addFields(int index, com.google.protobuf.Struct.Builder builderForValue)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • addAllFields

      public Common.LogEntry.Builder addAllFields(Iterable<? extends com.google.protobuf.Struct> values)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • clearFields

      public Common.LogEntry.Builder clearFields()
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
    • removeFields

      public Common.LogEntry.Builder removeFields(int index)
      repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];