Class MonitorDProto.LogMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.LogMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.LogMessageOrBuilder
,Cloneable
- Enclosing class:
- MonitorDProto.LogMessage
public static final class MonitorDProto.LogMessage.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
implements MonitorDProto.LogMessageOrBuilder
Representation of of a single log message. See also SYSTEMD.JOURNAL-FIELDS(7) for details.Protobuf type
serosystems.proto.v3.grx.monitord.LogMessage
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Value of errno (if available).File of the code where the messages originates (if known).Function of the code where the messages originates (if known).Line of the code where the messages originates (if known).clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Log message.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Value between 0 (emergency) and 7 (debug).Time [ms since epoch UTC] this entry was received in the journal.Syslog facility, see RFC 3164.Systemd SyslogIdentifier, defaulting to process name.Syslog PID.clone()
int
Value of errno (if available).File of the code where the messages originates (if known).com.google.protobuf.ByteString
File of the code where the messages originates (if known).Function of the code where the messages originates (if known).com.google.protobuf.ByteString
Function of the code where the messages originates (if known).Line of the code where the messages originates (if known).com.google.protobuf.ByteString
Line of the code where the messages originates (if known).static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Log message.com.google.protobuf.ByteString
Log message.int
Value between 0 (emergency) and 7 (debug).long
Time [ms since epoch UTC] this entry was received in the journal.int
Syslog facility, see RFC 3164.Systemd SyslogIdentifier, defaulting to process name.com.google.protobuf.ByteString
Systemd SyslogIdentifier, defaulting to process name.int
Syslog PID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCausingErrno
(int value) Value of errno (if available).setCodeFile
(String value) File of the code where the messages originates (if known).setCodeFileBytes
(com.google.protobuf.ByteString value) File of the code where the messages originates (if known).setCodeFunc
(String value) Function of the code where the messages originates (if known).setCodeFuncBytes
(com.google.protobuf.ByteString value) Function of the code where the messages originates (if known).setCodeLine
(String value) Line of the code where the messages originates (if known).setCodeLineBytes
(com.google.protobuf.ByteString value) Line of the code where the messages originates (if known).setMessage
(String value) Log message.setMessageBytes
(com.google.protobuf.ByteString value) Log message.setPriority
(int value) Value between 0 (emergency) and 7 (debug).setRealtimeTimestamp
(long value) Time [ms since epoch UTC] this entry was received in the journal.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSyslogFacility
(int value) Syslog facility, see RFC 3164.setSyslogIdentifier
(String value) Systemd SyslogIdentifier, defaulting to process name.setSyslogIdentifierBytes
(com.google.protobuf.ByteString value) Systemd SyslogIdentifier, defaulting to process name.setSyslogPid
(int value) Syslog PID.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
setField
public MonitorDProto.LogMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
clearField
public MonitorDProto.LogMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
clearOneof
public MonitorDProto.LogMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
setRepeatedField
public MonitorDProto.LogMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
addRepeatedField
public MonitorDProto.LogMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.LogMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
mergeFrom
public MonitorDProto.LogMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.LogMessage.Builder>
- Throws:
IOException
-
getMessage
Log message.
string message = 1;
- Specified by:
getMessage
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Log message.
string message = 1;
- Specified by:
getMessageBytes
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The bytes for message.
-
setMessage
Log message.
string message = 1;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Log message.
string message = 1;
- Returns:
- This builder for chaining.
-
setMessageBytes
Log message.
string message = 1;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()Value between 0 (emergency) and 7 (debug).
uint32 priority = 2;
- Specified by:
getPriority
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The priority.
-
setPriority
Value between 0 (emergency) and 7 (debug).
uint32 priority = 2;
- Parameters:
value
- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Value between 0 (emergency) and 7 (debug).
uint32 priority = 2;
- Returns:
- This builder for chaining.
-
getCodeFile
File of the code where the messages originates (if known).
string code_file = 3;
- Specified by:
getCodeFile
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The codeFile.
-
getCodeFileBytes
public com.google.protobuf.ByteString getCodeFileBytes()File of the code where the messages originates (if known).
string code_file = 3;
- Specified by:
getCodeFileBytes
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The bytes for codeFile.
-
setCodeFile
File of the code where the messages originates (if known).
string code_file = 3;
- Parameters:
value
- The codeFile to set.- Returns:
- This builder for chaining.
-
clearCodeFile
File of the code where the messages originates (if known).
string code_file = 3;
- Returns:
- This builder for chaining.
-
setCodeFileBytes
File of the code where the messages originates (if known).
string code_file = 3;
- Parameters:
value
- The bytes for codeFile to set.- Returns:
- This builder for chaining.
-
getCodeLine
Line of the code where the messages originates (if known).
string code_line = 4;
- Specified by:
getCodeLine
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The codeLine.
-
getCodeLineBytes
public com.google.protobuf.ByteString getCodeLineBytes()Line of the code where the messages originates (if known).
string code_line = 4;
- Specified by:
getCodeLineBytes
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The bytes for codeLine.
-
setCodeLine
Line of the code where the messages originates (if known).
string code_line = 4;
- Parameters:
value
- The codeLine to set.- Returns:
- This builder for chaining.
-
clearCodeLine
Line of the code where the messages originates (if known).
string code_line = 4;
- Returns:
- This builder for chaining.
-
setCodeLineBytes
Line of the code where the messages originates (if known).
string code_line = 4;
- Parameters:
value
- The bytes for codeLine to set.- Returns:
- This builder for chaining.
-
getCodeFunc
Function of the code where the messages originates (if known).
string code_func = 5;
- Specified by:
getCodeFunc
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The codeFunc.
-
getCodeFuncBytes
public com.google.protobuf.ByteString getCodeFuncBytes()Function of the code where the messages originates (if known).
string code_func = 5;
- Specified by:
getCodeFuncBytes
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The bytes for codeFunc.
-
setCodeFunc
Function of the code where the messages originates (if known).
string code_func = 5;
- Parameters:
value
- The codeFunc to set.- Returns:
- This builder for chaining.
-
clearCodeFunc
Function of the code where the messages originates (if known).
string code_func = 5;
- Returns:
- This builder for chaining.
-
setCodeFuncBytes
Function of the code where the messages originates (if known).
string code_func = 5;
- Parameters:
value
- The bytes for codeFunc to set.- Returns:
- This builder for chaining.
-
getCausingErrno
public int getCausingErrno()Value of errno (if available).
uint32 causing_errno = 6;
- Specified by:
getCausingErrno
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The causingErrno.
-
setCausingErrno
Value of errno (if available).
uint32 causing_errno = 6;
- Parameters:
value
- The causingErrno to set.- Returns:
- This builder for chaining.
-
clearCausingErrno
Value of errno (if available).
uint32 causing_errno = 6;
- Returns:
- This builder for chaining.
-
getSyslogFacility
public int getSyslogFacility()Syslog facility, see RFC 3164.
uint32 syslog_facility = 7;
- Specified by:
getSyslogFacility
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The syslogFacility.
-
setSyslogFacility
Syslog facility, see RFC 3164.
uint32 syslog_facility = 7;
- Parameters:
value
- The syslogFacility to set.- Returns:
- This builder for chaining.
-
clearSyslogFacility
Syslog facility, see RFC 3164.
uint32 syslog_facility = 7;
- Returns:
- This builder for chaining.
-
getSyslogIdentifier
Systemd SyslogIdentifier, defaulting to process name. See also systemd.exec(5).
string syslog_identifier = 8;
- Specified by:
getSyslogIdentifier
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The syslogIdentifier.
-
getSyslogIdentifierBytes
public com.google.protobuf.ByteString getSyslogIdentifierBytes()Systemd SyslogIdentifier, defaulting to process name. See also systemd.exec(5).
string syslog_identifier = 8;
- Specified by:
getSyslogIdentifierBytes
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The bytes for syslogIdentifier.
-
setSyslogIdentifier
Systemd SyslogIdentifier, defaulting to process name. See also systemd.exec(5).
string syslog_identifier = 8;
- Parameters:
value
- The syslogIdentifier to set.- Returns:
- This builder for chaining.
-
clearSyslogIdentifier
Systemd SyslogIdentifier, defaulting to process name. See also systemd.exec(5).
string syslog_identifier = 8;
- Returns:
- This builder for chaining.
-
setSyslogIdentifierBytes
public MonitorDProto.LogMessage.Builder setSyslogIdentifierBytes(com.google.protobuf.ByteString value) Systemd SyslogIdentifier, defaulting to process name. See also systemd.exec(5).
string syslog_identifier = 8;
- Parameters:
value
- The bytes for syslogIdentifier to set.- Returns:
- This builder for chaining.
-
getSyslogPid
public int getSyslogPid()Syslog PID.
uint32 syslog_pid = 9;
- Specified by:
getSyslogPid
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The syslogPid.
-
setSyslogPid
Syslog PID.
uint32 syslog_pid = 9;
- Parameters:
value
- The syslogPid to set.- Returns:
- This builder for chaining.
-
clearSyslogPid
Syslog PID.
uint32 syslog_pid = 9;
- Returns:
- This builder for chaining.
-
getRealtimeTimestamp
public long getRealtimeTimestamp()Time [ms since epoch UTC] this entry was received in the journal.
uint64 realtime_timestamp = 10;
- Specified by:
getRealtimeTimestamp
in interfaceMonitorDProto.LogMessageOrBuilder
- Returns:
- The realtimeTimestamp.
-
setRealtimeTimestamp
Time [ms since epoch UTC] this entry was received in the journal.
uint64 realtime_timestamp = 10;
- Parameters:
value
- The realtimeTimestamp to set.- Returns:
- This builder for chaining.
-
clearRealtimeTimestamp
Time [ms since epoch UTC] this entry was received in the journal.
uint64 realtime_timestamp = 10;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MonitorDProto.LogMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-
mergeUnknownFields
public final MonitorDProto.LogMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.LogMessage.Builder>
-