Package com.viam.common.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFields
(Iterable<? extends com.google.protobuf.Struct> values) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
addFields
(int index, com.google.protobuf.Struct value) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
addFields
(int index, com.google.protobuf.Struct.Builder builderForValue) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
addFields
(com.google.protobuf.Struct value) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
addFields
(com.google.protobuf.Struct.Builder builderForValue) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
.google.protobuf.Struct caller = 6 [json_name = "caller"];
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
string host = 1 [json_name = "host"];
string level = 2 [json_name = "level"];
string logger_name = 4 [json_name = "loggerName"];
string message = 5 [json_name = "message"];
string stack = 7 [json_name = "stack"];
.google.protobuf.Timestamp time = 3 [json_name = "time"];
com.google.protobuf.Struct
.google.protobuf.Struct caller = 6 [json_name = "caller"];
com.google.protobuf.Struct
getFields
(int index) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
int
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
List<com.google.protobuf.Struct>
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
getHost()
string host = 1 [json_name = "host"];
com.google.protobuf.ByteString
string host = 1 [json_name = "host"];
getLevel()
string level = 2 [json_name = "level"];
com.google.protobuf.ByteString
string level = 2 [json_name = "level"];
string logger_name = 4 [json_name = "loggerName"];
com.google.protobuf.ByteString
string logger_name = 4 [json_name = "loggerName"];
string message = 5 [json_name = "message"];
com.google.protobuf.ByteString
string message = 5 [json_name = "message"];
getStack()
string stack = 7 [json_name = "stack"];
com.google.protobuf.ByteString
string stack = 7 [json_name = "stack"];
com.google.protobuf.Timestamp
getTime()
.google.protobuf.Timestamp time = 3 [json_name = "time"];
boolean
.google.protobuf.Struct caller = 6 [json_name = "caller"];
boolean
hasTime()
.google.protobuf.Timestamp time = 3 [json_name = "time"];
mergeCaller
(com.google.protobuf.Struct value) .google.protobuf.Struct caller = 6 [json_name = "caller"];
mergeTime
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time = 3 [json_name = "time"];
removeFields
(int index) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
setCaller
(com.google.protobuf.Struct value) .google.protobuf.Struct caller = 6 [json_name = "caller"];
setCaller
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct caller = 6 [json_name = "caller"];
setFields
(int index, com.google.protobuf.Struct value) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
setFields
(int index, com.google.protobuf.Struct.Builder builderForValue) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
string host = 1 [json_name = "host"];
setHostBytes
(com.google.protobuf.ByteString value) string host = 1 [json_name = "host"];
string level = 2 [json_name = "level"];
setLevelBytes
(com.google.protobuf.ByteString value) string level = 2 [json_name = "level"];
setLoggerName
(String value) string logger_name = 4 [json_name = "loggerName"];
setLoggerNameBytes
(com.google.protobuf.ByteString value) string logger_name = 4 [json_name = "loggerName"];
setMessage
(String value) string message = 5 [json_name = "message"];
setMessageBytes
(com.google.protobuf.ByteString value) string message = 5 [json_name = "message"];
string stack = 7 [json_name = "stack"];
setStackBytes
(com.google.protobuf.ByteString value) string stack = 7 [json_name = "stack"];
setTime
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time = 3 [json_name = "time"];
setTime
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time = 3 [json_name = "time"];
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
-
getHost
string host = 1 [json_name = "host"];
- Specified by:
getHost
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()string host = 1 [json_name = "host"];
- Specified by:
getHostBytes
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The bytes for host.
-
setHost
string host = 1 [json_name = "host"];
- Parameters:
value
- The host to set.- Returns:
- This builder for chaining.
-
clearHost
string host = 1 [json_name = "host"];
- Returns:
- This builder for chaining.
-
setHostBytes
string host = 1 [json_name = "host"];
- Parameters:
value
- The bytes for host to set.- Returns:
- This builder for chaining.
-
getLevel
string level = 2 [json_name = "level"];
- Specified by:
getLevel
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The level.
-
getLevelBytes
public com.google.protobuf.ByteString getLevelBytes()string level = 2 [json_name = "level"];
- Specified by:
getLevelBytes
in interfaceCommon.LogEntryOrBuilder
- 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.
-
hasTime
public boolean hasTime().google.protobuf.Timestamp time = 3 [json_name = "time"];
- Specified by:
hasTime
in interfaceCommon.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 interfaceCommon.LogEntryOrBuilder
- Returns:
- The time.
-
setTime
.google.protobuf.Timestamp time = 3 [json_name = "time"];
-
setTime
.google.protobuf.Timestamp time = 3 [json_name = "time"];
-
mergeTime
.google.protobuf.Timestamp time = 3 [json_name = "time"];
-
clearTime
.google.protobuf.Timestamp time = 3 [json_name = "time"];
-
getLoggerName
string logger_name = 4 [json_name = "loggerName"];
- Specified by:
getLoggerName
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The loggerName.
-
getLoggerNameBytes
public com.google.protobuf.ByteString getLoggerNameBytes()string logger_name = 4 [json_name = "loggerName"];
- Specified by:
getLoggerNameBytes
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The bytes for loggerName.
-
setLoggerName
string logger_name = 4 [json_name = "loggerName"];
- Parameters:
value
- The loggerName to set.- Returns:
- This builder for chaining.
-
clearLoggerName
string logger_name = 4 [json_name = "loggerName"];
- Returns:
- This builder for chaining.
-
setLoggerNameBytes
string logger_name = 4 [json_name = "loggerName"];
- Parameters:
value
- The bytes for loggerName to set.- Returns:
- This builder for chaining.
-
getMessage
string message = 5 [json_name = "message"];
- Specified by:
getMessage
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 5 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 5 [json_name = "message"];
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 5 [json_name = "message"];
- Returns:
- This builder for chaining.
-
setMessageBytes
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 interfaceCommon.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 interfaceCommon.LogEntryOrBuilder
- Returns:
- The caller.
-
setCaller
.google.protobuf.Struct caller = 6 [json_name = "caller"];
-
setCaller
.google.protobuf.Struct caller = 6 [json_name = "caller"];
-
mergeCaller
.google.protobuf.Struct caller = 6 [json_name = "caller"];
-
clearCaller
.google.protobuf.Struct caller = 6 [json_name = "caller"];
-
getStack
string stack = 7 [json_name = "stack"];
- Specified by:
getStack
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The stack.
-
getStackBytes
public com.google.protobuf.ByteString getStackBytes()string stack = 7 [json_name = "stack"];
- Specified by:
getStackBytes
in interfaceCommon.LogEntryOrBuilder
- Returns:
- The bytes for stack.
-
setStack
string stack = 7 [json_name = "stack"];
- Parameters:
value
- The stack to set.- Returns:
- This builder for chaining.
-
clearStack
string stack = 7 [json_name = "stack"];
- Returns:
- This builder for chaining.
-
setStackBytes
string stack = 7 [json_name = "stack"];
- Parameters:
value
- The bytes for stack to set.- Returns:
- This builder for chaining.
-
getFieldsList
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
- Specified by:
getFieldsList
in interfaceCommon.LogEntryOrBuilder
-
getFieldsCount
public int getFieldsCount()repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
- Specified by:
getFieldsCount
in interfaceCommon.LogEntryOrBuilder
-
getFields
public com.google.protobuf.Struct getFields(int index) repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
- Specified by:
getFields
in interfaceCommon.LogEntryOrBuilder
-
setFields
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
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
-
addFields
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
-
addFields
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
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
-
clearFields
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
-
removeFields
repeated .google.protobuf.Struct fields = 8 [json_name = "fields"];
-