public final class SequenceInfo extends com.google.protobuf.GeneratedMessageV3 implements SequenceInfoOrBuilder
Used for detecting possible gaps. Auto-generated by the emitter library, one sequence per (service_name, internal_service_name) tuple since initialization. When the emitter library is closed cleanly, it sends one final event to mark the closed (max) range of all its sequences. Example of sequence info, for a single (1) occurrence: sequences: { "87bxcUvAkqa45a7781": { ranges: [{from: 895, to: 896}], closed: false } } Example of sequence info, for a combination of multiple (19) occurrences: sequences: { "87bxcUvAkqa45a7781": { ranges: [{from: 895, to: 911}, {from: 912, to: 914}], closed: false }, "ja9sd7934aSaF98cm": { ranges: [{from: 82, to: 83}], closed: false } }Protobuf type
auditlog.v2.SequenceInfo
Modifier and Type | Class and Description |
---|---|
static class |
SequenceInfo.Builder
Used for detecting possible gaps.
|
static class |
SequenceInfo.Sequence
Protobuf type
auditlog.v2.SequenceInfo.Sequence |
static interface |
SequenceInfo.SequenceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
SEQUENCES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsSequences(String key)
Keys uniquely identify the sequence.
|
boolean |
equals(Object obj) |
static SequenceInfo |
getDefaultInstance() |
SequenceInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<SequenceInfo> |
getParserForType() |
Map<String,SequenceInfo.Sequence> |
getSequences()
Deprecated.
|
int |
getSequencesCount()
Keys uniquely identify the sequence.
|
Map<String,SequenceInfo.Sequence> |
getSequencesMap()
Keys uniquely identify the sequence.
|
SequenceInfo.Sequence |
getSequencesOrDefault(String key,
SequenceInfo.Sequence defaultValue)
Keys uniquely identify the sequence.
|
SequenceInfo.Sequence |
getSequencesOrThrow(String key)
Keys uniquely identify the sequence.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static SequenceInfo.Builder |
newBuilder() |
static SequenceInfo.Builder |
newBuilder(SequenceInfo prototype) |
SequenceInfo.Builder |
newBuilderForType() |
protected SequenceInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SequenceInfo |
parseDelimitedFrom(InputStream input) |
static SequenceInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SequenceInfo |
parseFrom(byte[] data) |
static SequenceInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SequenceInfo |
parseFrom(ByteBuffer data) |
static SequenceInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SequenceInfo |
parseFrom(com.google.protobuf.ByteString data) |
static SequenceInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SequenceInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SequenceInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SequenceInfo |
parseFrom(InputStream input) |
static SequenceInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SequenceInfo> |
parser() |
SequenceInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int SEQUENCES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public int getSequencesCount()
SequenceInfoOrBuilder
Keys uniquely identify the sequence. Values are sets of ranges of sequence numbers.
map<string, .auditlog.v2.SequenceInfo.Sequence> sequences = 1 [(.confluent.protobuf.field_meta) = { ... }
getSequencesCount
in interface SequenceInfoOrBuilder
public boolean containsSequences(String key)
Keys uniquely identify the sequence. Values are sets of ranges of sequence numbers.
map<string, .auditlog.v2.SequenceInfo.Sequence> sequences = 1 [(.confluent.protobuf.field_meta) = { ... }
containsSequences
in interface SequenceInfoOrBuilder
@Deprecated public Map<String,SequenceInfo.Sequence> getSequences()
getSequencesMap()
instead.getSequences
in interface SequenceInfoOrBuilder
public Map<String,SequenceInfo.Sequence> getSequencesMap()
Keys uniquely identify the sequence. Values are sets of ranges of sequence numbers.
map<string, .auditlog.v2.SequenceInfo.Sequence> sequences = 1 [(.confluent.protobuf.field_meta) = { ... }
getSequencesMap
in interface SequenceInfoOrBuilder
public SequenceInfo.Sequence getSequencesOrDefault(String key, SequenceInfo.Sequence defaultValue)
Keys uniquely identify the sequence. Values are sets of ranges of sequence numbers.
map<string, .auditlog.v2.SequenceInfo.Sequence> sequences = 1 [(.confluent.protobuf.field_meta) = { ... }
getSequencesOrDefault
in interface SequenceInfoOrBuilder
public SequenceInfo.Sequence getSequencesOrThrow(String key)
Keys uniquely identify the sequence. Values are sets of ranges of sequence numbers.
map<string, .auditlog.v2.SequenceInfo.Sequence> sequences = 1 [(.confluent.protobuf.field_meta) = { ... }
getSequencesOrThrow
in interface SequenceInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static SequenceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SequenceInfo parseFrom(InputStream input) throws IOException
IOException
public static SequenceInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SequenceInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SequenceInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SequenceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SequenceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SequenceInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SequenceInfo.Builder newBuilder()
public static SequenceInfo.Builder newBuilder(SequenceInfo prototype)
public SequenceInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected SequenceInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static SequenceInfo getDefaultInstance()
public static com.google.protobuf.Parser<SequenceInfo> parser()
public com.google.protobuf.Parser<SequenceInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SequenceInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder