Package viam.app.mltraining.v1
Class MlTraining.TrainingJobLogEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.TrainingJobLogEntry,MlTraining.TrainingJobLogEntry.Builder>
viam.app.mltraining.v1.MlTraining.TrainingJobLogEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,MlTraining.TrainingJobLogEntryOrBuilder
- Enclosing class:
- MlTraining.TrainingJobLogEntry
public static final class MlTraining.TrainingJobLogEntry.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.TrainingJobLogEntry,MlTraining.TrainingJobLogEntry.Builder>
implements MlTraining.TrainingJobLogEntryOrBuilder
Protobuf type
viam.app.mltraining.v1.TrainingJobLogEntry
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring level = 1 [json_name = "level"];
string message = 3 [json_name = "message"];
.google.protobuf.Timestamp time = 2 [json_name = "time"];
getLevel()
string level = 1 [json_name = "level"];
com.google.protobuf.ByteString
string level = 1 [json_name = "level"];
string message = 3 [json_name = "message"];
com.google.protobuf.ByteString
string message = 3 [json_name = "message"];
com.google.protobuf.Timestamp
getTime()
.google.protobuf.Timestamp time = 2 [json_name = "time"];
boolean
hasTime()
.google.protobuf.Timestamp time = 2 [json_name = "time"];
mergeTime
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time = 2 [json_name = "time"];
string level = 1 [json_name = "level"];
setLevelBytes
(com.google.protobuf.ByteString value) string level = 1 [json_name = "level"];
setMessage
(String value) string message = 3 [json_name = "message"];
setMessageBytes
(com.google.protobuf.ByteString value) string message = 3 [json_name = "message"];
setTime
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp time = 2 [json_name = "time"];
setTime
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time = 2 [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
-
getLevel
string level = 1 [json_name = "level"];
- Specified by:
getLevel
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- The level.
-
getLevelBytes
public com.google.protobuf.ByteString getLevelBytes()string level = 1 [json_name = "level"];
- Specified by:
getLevelBytes
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- The bytes for level.
-
setLevel
string level = 1 [json_name = "level"];
- Parameters:
value
- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
string level = 1 [json_name = "level"];
- Returns:
- This builder for chaining.
-
setLevelBytes
string level = 1 [json_name = "level"];
- Parameters:
value
- The bytes for level to set.- Returns:
- This builder for chaining.
-
hasTime
public boolean hasTime().google.protobuf.Timestamp time = 2 [json_name = "time"];
- Specified by:
hasTime
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Timestamp getTime().google.protobuf.Timestamp time = 2 [json_name = "time"];
- Specified by:
getTime
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- The time.
-
setTime
.google.protobuf.Timestamp time = 2 [json_name = "time"];
-
setTime
public MlTraining.TrainingJobLogEntry.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp time = 2 [json_name = "time"];
-
mergeTime
.google.protobuf.Timestamp time = 2 [json_name = "time"];
-
clearTime
.google.protobuf.Timestamp time = 2 [json_name = "time"];
-
getMessage
string message = 3 [json_name = "message"];
- Specified by:
getMessage
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 3 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceMlTraining.TrainingJobLogEntryOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 3 [json_name = "message"];
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 3 [json_name = "message"];
- Returns:
- This builder for chaining.
-
setMessageBytes
string message = 3 [json_name = "message"];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-