Class MonitorDProto.GetLogMessagesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GetLogMessagesRequest.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.GetLogMessagesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.GetLogMessagesRequestOrBuilder
,Cloneable
- Enclosing class:
- MonitorDProto.GetLogMessagesRequest
public static final class MonitorDProto.GetLogMessagesRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GetLogMessagesRequest.Builder>
implements MonitorDProto.GetLogMessagesRequestOrBuilder
Request for GetLogMessages() call.Protobuf type
serosystems.proto.v3.grx.monitord.GetLogMessagesRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMatch
(Iterable<String> values) List of matches, same semantics as specified for journalctl(1).List of matches, same semantics as specified for journalctl(1).addMatchBytes
(com.google.protobuf.ByteString value) List of matches, same semantics as specified for journalctl(1).addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
If set, only show entries after the specified cursor.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) List of matches, same semantics as specified for journalctl(1).Maximum number of (most recent) entries to fetch.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set, only show entries since the specified timestamp [ms since epoch UTC].If set, only show entries until the specified timestamp [ms since epoch] .clone()
If set, only show entries after the specified cursor.com.google.protobuf.ByteString
If set, only show entries after the specified cursor.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMatch
(int index) List of matches, same semantics as specified for journalctl(1).com.google.protobuf.ByteString
getMatchBytes
(int index) List of matches, same semantics as specified for journalctl(1).int
List of matches, same semantics as specified for journalctl(1).com.google.protobuf.ProtocolStringList
List of matches, same semantics as specified for journalctl(1).int
Maximum number of (most recent) entries to fetch.long
getSince()
If set, only show entries since the specified timestamp [ms since epoch UTC].long
getUntil()
If set, only show entries until the specified timestamp [ms since epoch] .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) setAfterCursor
(String value) If set, only show entries after the specified cursor.setAfterCursorBytes
(com.google.protobuf.ByteString value) If set, only show entries after the specified cursor.List of matches, same semantics as specified for journalctl(1).setMaxLines
(int value) Maximum number of (most recent) entries to fetch.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSince
(long value) If set, only show entries since the specified timestamp [ms since epoch UTC].setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUntil
(long value) If set, only show entries until the specified timestamp [ms since epoch] .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.GetLogMessagesRequest.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.GetLogMessagesRequest.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.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
setField
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
clearField
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
clearOneof
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
setRepeatedField
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
addRepeatedField
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.GetLogMessagesRequest.Builder>
-
mergeFrom
public MonitorDProto.GetLogMessagesRequest.Builder mergeFrom(MonitorDProto.GetLogMessagesRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.GetLogMessagesRequest.Builder>
-
mergeFrom
public MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
- Throws:
IOException
-
getMatchList
public com.google.protobuf.ProtocolStringList getMatchList()List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Specified by:
getMatchList
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- A list containing the match.
-
getMatchCount
public int getMatchCount()List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Specified by:
getMatchCount
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The count of match.
-
getMatch
List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Specified by:
getMatch
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The match at the given index.
-
getMatchBytes
public com.google.protobuf.ByteString getMatchBytes(int index) List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Specified by:
getMatchBytes
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the match at the given index.
-
setMatch
List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Parameters:
index
- The index to set the value at.value
- The match to set.- Returns:
- This builder for chaining.
-
addMatch
List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Parameters:
value
- The match to add.- Returns:
- This builder for chaining.
-
addAllMatch
List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Parameters:
values
- The match to add.- Returns:
- This builder for chaining.
-
clearMatch
List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Returns:
- This builder for chaining.
-
addMatchBytes
public MonitorDProto.GetLogMessagesRequest.Builder addMatchBytes(com.google.protobuf.ByteString value) List of matches, same semantics as specified for journalctl(1).
repeated string match = 1;
- Parameters:
value
- The bytes of the match to add.- Returns:
- This builder for chaining.
-
getMaxLines
public int getMaxLines()Maximum number of (most recent) entries to fetch. Set to 0 for all.
uint32 max_lines = 2;
- Specified by:
getMaxLines
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The maxLines.
-
setMaxLines
Maximum number of (most recent) entries to fetch. Set to 0 for all.
uint32 max_lines = 2;
- Parameters:
value
- The maxLines to set.- Returns:
- This builder for chaining.
-
clearMaxLines
Maximum number of (most recent) entries to fetch. Set to 0 for all.
uint32 max_lines = 2;
- Returns:
- This builder for chaining.
-
getAfterCursor
If set, only show entries after the specified cursor.
string after_cursor = 3;
- Specified by:
getAfterCursor
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The afterCursor.
-
getAfterCursorBytes
public com.google.protobuf.ByteString getAfterCursorBytes()If set, only show entries after the specified cursor.
string after_cursor = 3;
- Specified by:
getAfterCursorBytes
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The bytes for afterCursor.
-
setAfterCursor
If set, only show entries after the specified cursor.
string after_cursor = 3;
- Parameters:
value
- The afterCursor to set.- Returns:
- This builder for chaining.
-
clearAfterCursor
If set, only show entries after the specified cursor.
string after_cursor = 3;
- Returns:
- This builder for chaining.
-
setAfterCursorBytes
public MonitorDProto.GetLogMessagesRequest.Builder setAfterCursorBytes(com.google.protobuf.ByteString value) If set, only show entries after the specified cursor.
string after_cursor = 3;
- Parameters:
value
- The bytes for afterCursor to set.- Returns:
- This builder for chaining.
-
getSince
public long getSince()If set, only show entries since the specified timestamp [ms since epoch UTC].
uint64 since = 4;
- Specified by:
getSince
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The since.
-
setSince
If set, only show entries since the specified timestamp [ms since epoch UTC].
uint64 since = 4;
- Parameters:
value
- The since to set.- Returns:
- This builder for chaining.
-
clearSince
If set, only show entries since the specified timestamp [ms since epoch UTC].
uint64 since = 4;
- Returns:
- This builder for chaining.
-
getUntil
public long getUntil()If set, only show entries until the specified timestamp [ms since epoch] .
uint64 until = 5;
- Specified by:
getUntil
in interfaceMonitorDProto.GetLogMessagesRequestOrBuilder
- Returns:
- The until.
-
setUntil
If set, only show entries until the specified timestamp [ms since epoch] .
uint64 until = 5;
- Parameters:
value
- The until to set.- Returns:
- This builder for chaining.
-
clearUntil
If set, only show entries until the specified timestamp [ms since epoch] .
uint64 until = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-
mergeUnknownFields
public final MonitorDProto.GetLogMessagesRequest.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.GetLogMessagesRequest.Builder>
-