// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/main/protobuf/LoggingProto.proto
package de.huxhorn.lilith.data.logging.protobuf.generated;
public final class LoggingProto {
private LoggingProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code de.huxhorn.lilith.logging.Level}
*/
public enum Level
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>TRACE = 1;</code>
*/
TRACE(1),
/**
* <code>DEBUG = 2;</code>
*/
DEBUG(2),
/**
* <code>INFO = 3;</code>
*/
INFO(3),
/**
* <code>WARN = 4;</code>
*/
WARN(4),
/**
* <code>ERROR = 5;</code>
*/
ERROR(5),
;
/**
* <code>TRACE = 1;</code>
*/
public static final int TRACE_VALUE = 1;
/**
* <code>DEBUG = 2;</code>
*/
public static final int DEBUG_VALUE = 2;
/**
* <code>INFO = 3;</code>
*/
public static final int INFO_VALUE = 3;
/**
* <code>WARN = 4;</code>
*/
public static final int WARN_VALUE = 4;
/**
* <code>ERROR = 5;</code>
*/
public static final int ERROR_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Level valueOf(int value) {
return forNumber(value);
}
public static Level forNumber(int value) {
switch (value) {
case 1: return TRACE;
case 2: return DEBUG;
case 3: return INFO;
case 4: return WARN;
case 5: return ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Level>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Level> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Level>() {
public Level findValueByNumber(int number) {
return Level.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.getDescriptor().getEnumTypes().get(0);
}
private static final Level[] VALUES = values();
public static Level valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Level(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:de.huxhorn.lilith.logging.Level)
}
public interface EventWrapperOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.EventWrapper)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
boolean hasEventIdentifier();
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getEventIdentifier();
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder getEventIdentifierOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
boolean hasEvent();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getEvent();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder getEventOrBuilder();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.EventWrapper}
*/
public static final class EventWrapper extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.EventWrapper)
EventWrapperOrBuilder {
// Use EventWrapper.newBuilder() to construct.
private EventWrapper(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EventWrapper() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventWrapper(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = eventIdentifier_.toBuilder();
}
eventIdentifier_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(eventIdentifier_);
eventIdentifier_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventWrapper_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.Builder.class);
}
private int bitField0_;
public static final int EVENT_IDENTIFIER_FIELD_NUMBER = 1;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier eventIdentifier_;
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public boolean hasEventIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getEventIdentifier() {
return eventIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance() : eventIdentifier_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder getEventIdentifierOrBuilder() {
return eventIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance() : eventIdentifier_;
}
public static final int EVENT_FIELD_NUMBER = 2;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent event_;
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getEvent() {
return event_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance() : event_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder getEventOrBuilder() {
return event_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance() : event_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasEvent()) {
if (!getEvent().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getEventIdentifier());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getEvent());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEventIdentifier());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getEvent());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper) obj;
boolean result = true;
result = result && (hasEventIdentifier() == other.hasEventIdentifier());
if (hasEventIdentifier()) {
result = result && getEventIdentifier()
.equals(other.getEventIdentifier());
}
result = result && (hasEvent() == other.hasEvent());
if (hasEvent()) {
result = result && getEvent()
.equals(other.getEvent());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEventIdentifier()) {
hash = (37 * hash) + EVENT_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getEventIdentifier().hashCode();
}
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.EventWrapper}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.EventWrapper)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapperOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventWrapper_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEventIdentifierFieldBuilder();
getEventFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (eventIdentifierBuilder_ == null) {
eventIdentifier_ = null;
} else {
eventIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (eventBuilder_ == null) {
event_ = null;
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (eventIdentifierBuilder_ == null) {
result.eventIdentifier_ = eventIdentifier_;
} else {
result.eventIdentifier_ = eventIdentifierBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper.getDefaultInstance()) return this;
if (other.hasEventIdentifier()) {
mergeEventIdentifier(other.getEventIdentifier());
}
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasEvent()) {
if (!getEvent().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier eventIdentifier_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder> eventIdentifierBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public boolean hasEventIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getEventIdentifier() {
if (eventIdentifierBuilder_ == null) {
return eventIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance() : eventIdentifier_;
} else {
return eventIdentifierBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public Builder setEventIdentifier(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier value) {
if (eventIdentifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
eventIdentifier_ = value;
onChanged();
} else {
eventIdentifierBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public Builder setEventIdentifier(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder builderForValue) {
if (eventIdentifierBuilder_ == null) {
eventIdentifier_ = builderForValue.build();
onChanged();
} else {
eventIdentifierBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public Builder mergeEventIdentifier(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier value) {
if (eventIdentifierBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
eventIdentifier_ != null &&
eventIdentifier_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance()) {
eventIdentifier_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.newBuilder(eventIdentifier_).mergeFrom(value).buildPartial();
} else {
eventIdentifier_ = value;
}
onChanged();
} else {
eventIdentifierBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public Builder clearEventIdentifier() {
if (eventIdentifierBuilder_ == null) {
eventIdentifier_ = null;
onChanged();
} else {
eventIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder getEventIdentifierBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getEventIdentifierFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder getEventIdentifierOrBuilder() {
if (eventIdentifierBuilder_ != null) {
return eventIdentifierBuilder_.getMessageOrBuilder();
} else {
return eventIdentifier_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance() : eventIdentifier_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.EventIdentifier event_identifier = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder>
getEventIdentifierFieldBuilder() {
if (eventIdentifierBuilder_ == null) {
eventIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder>(
getEventIdentifier(),
getParentForChildren(),
isClean());
eventIdentifier_ = null;
}
return eventIdentifierBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent event_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder> eventBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance() : event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public Builder setEvent(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public Builder setEvent(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public Builder mergeEvent(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent value) {
if (eventBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
event_ != null &&
event_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance()) {
event_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
onChanged();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder getEventBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance() : event_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggingEvent event = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.EventWrapper)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.EventWrapper)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EventWrapper>
PARSER = new com.google.protobuf.AbstractParser<EventWrapper>() {
public EventWrapper parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventWrapper(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<EventWrapper> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EventWrapper> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventWrapper getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventIdentifierOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.EventIdentifier)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 local_id = 1;</code>
*/
boolean hasLocalId();
/**
* <code>optional int64 local_id = 1;</code>
*/
long getLocalId();
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
boolean hasSourceIdentifier();
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getSourceIdentifier();
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder getSourceIdentifierOrBuilder();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.EventIdentifier}
*/
public static final class EventIdentifier extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.EventIdentifier)
EventIdentifierOrBuilder {
// Use EventIdentifier.newBuilder() to construct.
private EventIdentifier(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EventIdentifier() {
localId_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventIdentifier(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
localId_ = input.readInt64();
break;
}
case 18: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = sourceIdentifier_.toBuilder();
}
sourceIdentifier_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceIdentifier_);
sourceIdentifier_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder.class);
}
private int bitField0_;
public static final int LOCAL_ID_FIELD_NUMBER = 1;
private long localId_;
/**
* <code>optional int64 local_id = 1;</code>
*/
public boolean hasLocalId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 local_id = 1;</code>
*/
public long getLocalId() {
return localId_;
}
public static final int SOURCE_IDENTIFIER_FIELD_NUMBER = 2;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier sourceIdentifier_;
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public boolean hasSourceIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getSourceIdentifier() {
return sourceIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance() : sourceIdentifier_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder getSourceIdentifierOrBuilder() {
return sourceIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance() : sourceIdentifier_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, localId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getSourceIdentifier());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, localId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSourceIdentifier());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier) obj;
boolean result = true;
result = result && (hasLocalId() == other.hasLocalId());
if (hasLocalId()) {
result = result && (getLocalId()
== other.getLocalId());
}
result = result && (hasSourceIdentifier() == other.hasSourceIdentifier());
if (hasSourceIdentifier()) {
result = result && getSourceIdentifier()
.equals(other.getSourceIdentifier());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLocalId()) {
hash = (37 * hash) + LOCAL_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLocalId());
}
if (hasSourceIdentifier()) {
hash = (37 * hash) + SOURCE_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getSourceIdentifier().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.EventIdentifier}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.EventIdentifier)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifierOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSourceIdentifierFieldBuilder();
}
}
public Builder clear() {
super.clear();
localId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
if (sourceIdentifierBuilder_ == null) {
sourceIdentifier_ = null;
} else {
sourceIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.localId_ = localId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (sourceIdentifierBuilder_ == null) {
result.sourceIdentifier_ = sourceIdentifier_;
} else {
result.sourceIdentifier_ = sourceIdentifierBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier.getDefaultInstance()) return this;
if (other.hasLocalId()) {
setLocalId(other.getLocalId());
}
if (other.hasSourceIdentifier()) {
mergeSourceIdentifier(other.getSourceIdentifier());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long localId_ ;
/**
* <code>optional int64 local_id = 1;</code>
*/
public boolean hasLocalId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 local_id = 1;</code>
*/
public long getLocalId() {
return localId_;
}
/**
* <code>optional int64 local_id = 1;</code>
*/
public Builder setLocalId(long value) {
bitField0_ |= 0x00000001;
localId_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 local_id = 1;</code>
*/
public Builder clearLocalId() {
bitField0_ = (bitField0_ & ~0x00000001);
localId_ = 0L;
onChanged();
return this;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier sourceIdentifier_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder> sourceIdentifierBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public boolean hasSourceIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getSourceIdentifier() {
if (sourceIdentifierBuilder_ == null) {
return sourceIdentifier_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance() : sourceIdentifier_;
} else {
return sourceIdentifierBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public Builder setSourceIdentifier(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier value) {
if (sourceIdentifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceIdentifier_ = value;
onChanged();
} else {
sourceIdentifierBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public Builder setSourceIdentifier(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder builderForValue) {
if (sourceIdentifierBuilder_ == null) {
sourceIdentifier_ = builderForValue.build();
onChanged();
} else {
sourceIdentifierBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public Builder mergeSourceIdentifier(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier value) {
if (sourceIdentifierBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
sourceIdentifier_ != null &&
sourceIdentifier_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance()) {
sourceIdentifier_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.newBuilder(sourceIdentifier_).mergeFrom(value).buildPartial();
} else {
sourceIdentifier_ = value;
}
onChanged();
} else {
sourceIdentifierBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public Builder clearSourceIdentifier() {
if (sourceIdentifierBuilder_ == null) {
sourceIdentifier_ = null;
onChanged();
} else {
sourceIdentifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder getSourceIdentifierBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSourceIdentifierFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder getSourceIdentifierOrBuilder() {
if (sourceIdentifierBuilder_ != null) {
return sourceIdentifierBuilder_.getMessageOrBuilder();
} else {
return sourceIdentifier_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance() : sourceIdentifier_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.SourceIdentifier source_identifier = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder>
getSourceIdentifierFieldBuilder() {
if (sourceIdentifierBuilder_ == null) {
sourceIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder>(
getSourceIdentifier(),
getParentForChildren(),
isClean());
sourceIdentifier_ = null;
}
return sourceIdentifierBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.EventIdentifier)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.EventIdentifier)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EventIdentifier>
PARSER = new com.google.protobuf.AbstractParser<EventIdentifier>() {
public EventIdentifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventIdentifier(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<EventIdentifier> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EventIdentifier> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.EventIdentifier getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SourceIdentifierOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.SourceIdentifier)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string identifier = 1;</code>
*/
boolean hasIdentifier();
/**
* <code>optional string identifier = 1;</code>
*/
java.lang.String getIdentifier();
/**
* <code>optional string identifier = 1;</code>
*/
com.google.protobuf.ByteString
getIdentifierBytes();
/**
* <code>optional string secondary_identifier = 2;</code>
*/
boolean hasSecondaryIdentifier();
/**
* <code>optional string secondary_identifier = 2;</code>
*/
java.lang.String getSecondaryIdentifier();
/**
* <code>optional string secondary_identifier = 2;</code>
*/
com.google.protobuf.ByteString
getSecondaryIdentifierBytes();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.SourceIdentifier}
*/
public static final class SourceIdentifier extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.SourceIdentifier)
SourceIdentifierOrBuilder {
// Use SourceIdentifier.newBuilder() to construct.
private SourceIdentifier(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SourceIdentifier() {
identifier_ = "";
secondaryIdentifier_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SourceIdentifier(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
identifier_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
secondaryIdentifier_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_SourceIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder.class);
}
private int bitField0_;
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private volatile java.lang.Object identifier_;
/**
* <code>optional string identifier = 1;</code>
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string identifier = 1;</code>
*/
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
identifier_ = s;
}
return s;
}
}
/**
* <code>optional string identifier = 1;</code>
*/
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SECONDARY_IDENTIFIER_FIELD_NUMBER = 2;
private volatile java.lang.Object secondaryIdentifier_;
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public boolean hasSecondaryIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public java.lang.String getSecondaryIdentifier() {
java.lang.Object ref = secondaryIdentifier_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
secondaryIdentifier_ = s;
}
return s;
}
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public com.google.protobuf.ByteString
getSecondaryIdentifierBytes() {
java.lang.Object ref = secondaryIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
secondaryIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, secondaryIdentifier_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, identifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, secondaryIdentifier_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier) obj;
boolean result = true;
result = result && (hasIdentifier() == other.hasIdentifier());
if (hasIdentifier()) {
result = result && getIdentifier()
.equals(other.getIdentifier());
}
result = result && (hasSecondaryIdentifier() == other.hasSecondaryIdentifier());
if (hasSecondaryIdentifier()) {
result = result && getSecondaryIdentifier()
.equals(other.getSecondaryIdentifier());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
if (hasSecondaryIdentifier()) {
hash = (37 * hash) + SECONDARY_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getSecondaryIdentifier().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.SourceIdentifier}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.SourceIdentifier)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifierOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_SourceIdentifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
identifier_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
secondaryIdentifier_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.identifier_ = identifier_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.secondaryIdentifier_ = secondaryIdentifier_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
bitField0_ |= 0x00000001;
identifier_ = other.identifier_;
onChanged();
}
if (other.hasSecondaryIdentifier()) {
bitField0_ |= 0x00000002;
secondaryIdentifier_ = other.secondaryIdentifier_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object identifier_ = "";
/**
* <code>optional string identifier = 1;</code>
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string identifier = 1;</code>
*/
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
identifier_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string identifier = 1;</code>
*/
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string identifier = 1;</code>
*/
public Builder setIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
identifier_ = value;
onChanged();
return this;
}
/**
* <code>optional string identifier = 1;</code>
*/
public Builder clearIdentifier() {
bitField0_ = (bitField0_ & ~0x00000001);
identifier_ = getDefaultInstance().getIdentifier();
onChanged();
return this;
}
/**
* <code>optional string identifier = 1;</code>
*/
public Builder setIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
identifier_ = value;
onChanged();
return this;
}
private java.lang.Object secondaryIdentifier_ = "";
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public boolean hasSecondaryIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public java.lang.String getSecondaryIdentifier() {
java.lang.Object ref = secondaryIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
secondaryIdentifier_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public com.google.protobuf.ByteString
getSecondaryIdentifierBytes() {
java.lang.Object ref = secondaryIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
secondaryIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public Builder setSecondaryIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
secondaryIdentifier_ = value;
onChanged();
return this;
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public Builder clearSecondaryIdentifier() {
bitField0_ = (bitField0_ & ~0x00000002);
secondaryIdentifier_ = getDefaultInstance().getSecondaryIdentifier();
onChanged();
return this;
}
/**
* <code>optional string secondary_identifier = 2;</code>
*/
public Builder setSecondaryIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
secondaryIdentifier_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.SourceIdentifier)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.SourceIdentifier)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<SourceIdentifier>
PARSER = new com.google.protobuf.AbstractParser<SourceIdentifier>() {
public SourceIdentifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SourceIdentifier(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<SourceIdentifier> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SourceIdentifier> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.SourceIdentifier getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LoggingEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.LoggingEvent)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 time_stamp = 1;</code>
*/
boolean hasTimeStamp();
/**
* <code>optional int64 time_stamp = 1;</code>
*/
long getTimeStamp();
/**
* <code>optional string logger_name = 2;</code>
*/
boolean hasLoggerName();
/**
* <code>optional string logger_name = 2;</code>
*/
java.lang.String getLoggerName();
/**
* <code>optional string logger_name = 2;</code>
*/
com.google.protobuf.ByteString
getLoggerNameBytes();
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
boolean hasLevel();
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level getLevel();
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
boolean hasMessage();
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getMessage();
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getMessageOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
boolean hasThreadInfo();
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getThreadInfo();
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder getThreadInfoOrBuilder();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>
getCallStackElementList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getCallStackElement(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
int getCallStackElementCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getCallStackElementOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getCallStackElementOrBuilder(
int index);
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
boolean hasThrowable();
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getThrowable();
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getThrowableOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
boolean hasLoggerContext();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getLoggerContext();
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder getLoggerContextOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
boolean hasMappedDiagnosticContext();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getMappedDiagnosticContext();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getMappedDiagnosticContextOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
boolean hasNestedDiagnosticContext();
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getNestedDiagnosticContext();
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder getNestedDiagnosticContextOrBuilder();
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
boolean hasMarker();
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getMarker();
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getMarkerOrBuilder();
/**
* <code>optional int64 sequence_number = 12;</code>
*/
boolean hasSequenceNumber();
/**
* <code>optional int64 sequence_number = 12;</code>
*/
long getSequenceNumber();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.LoggingEvent}
*/
public static final class LoggingEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.LoggingEvent)
LoggingEventOrBuilder {
// Use LoggingEvent.newBuilder() to construct.
private LoggingEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LoggingEvent() {
timeStamp_ = 0L;
loggerName_ = "";
level_ = 1;
callStackElement_ = java.util.Collections.emptyList();
sequenceNumber_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LoggingEvent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
timeStamp_ = input.readInt64();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
loggerName_ = bs;
break;
}
case 24: {
int rawValue = input.readEnum();
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level value = de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(3, rawValue);
} else {
bitField0_ |= 0x00000004;
level_ = rawValue;
}
break;
}
case 34: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = message_.toBuilder();
}
message_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(message_);
message_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = threadInfo_.toBuilder();
}
threadInfo_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(threadInfo_);
threadInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
callStackElement_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>();
mutable_bitField0_ |= 0x00000020;
}
callStackElement_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.PARSER, extensionRegistry));
break;
}
case 58: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = throwable_.toBuilder();
}
throwable_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(throwable_);
throwable_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 66: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = loggerContext_.toBuilder();
}
loggerContext_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(loggerContext_);
loggerContext_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 74: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = mappedDiagnosticContext_.toBuilder();
}
mappedDiagnosticContext_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mappedDiagnosticContext_);
mappedDiagnosticContext_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 82: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = nestedDiagnosticContext_.toBuilder();
}
nestedDiagnosticContext_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(nestedDiagnosticContext_);
nestedDiagnosticContext_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 90: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder subBuilder = null;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
subBuilder = marker_.toBuilder();
}
marker_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(marker_);
marker_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000200;
break;
}
case 96: {
bitField0_ |= 0x00000400;
sequenceNumber_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
callStackElement_ = java.util.Collections.unmodifiableList(callStackElement_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggingEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder.class);
}
private int bitField0_;
public static final int TIME_STAMP_FIELD_NUMBER = 1;
private long timeStamp_;
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public long getTimeStamp() {
return timeStamp_;
}
public static final int LOGGER_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object loggerName_;
/**
* <code>optional string logger_name = 2;</code>
*/
public boolean hasLoggerName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string logger_name = 2;</code>
*/
public java.lang.String getLoggerName() {
java.lang.Object ref = loggerName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
loggerName_ = s;
}
return s;
}
}
/**
* <code>optional string logger_name = 2;</code>
*/
public com.google.protobuf.ByteString
getLoggerNameBytes() {
java.lang.Object ref = loggerName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LEVEL_FIELD_NUMBER = 3;
private int level_;
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level getLevel() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level result = de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level.valueOf(level_);
return result == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level.TRACE : result;
}
public static final int MESSAGE_FIELD_NUMBER = 4;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message message_;
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getMessage() {
return message_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance() : message_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getMessageOrBuilder() {
return message_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance() : message_;
}
public static final int THREAD_INFO_FIELD_NUMBER = 5;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo threadInfo_;
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public boolean hasThreadInfo() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getThreadInfo() {
return threadInfo_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance() : threadInfo_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder getThreadInfoOrBuilder() {
return threadInfo_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance() : threadInfo_;
}
public static final int CALL_STACK_ELEMENT_FIELD_NUMBER = 6;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> callStackElement_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> getCallStackElementList() {
return callStackElement_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getCallStackElementOrBuilderList() {
return callStackElement_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public int getCallStackElementCount() {
return callStackElement_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getCallStackElement(int index) {
return callStackElement_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getCallStackElementOrBuilder(
int index) {
return callStackElement_.get(index);
}
public static final int THROWABLE_FIELD_NUMBER = 7;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable throwable_;
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public boolean hasThrowable() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getThrowable() {
return throwable_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : throwable_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getThrowableOrBuilder() {
return throwable_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : throwable_;
}
public static final int LOGGER_CONTEXT_FIELD_NUMBER = 8;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext loggerContext_;
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public boolean hasLoggerContext() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getLoggerContext() {
return loggerContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance() : loggerContext_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder getLoggerContextOrBuilder() {
return loggerContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance() : loggerContext_;
}
public static final int MAPPED_DIAGNOSTIC_CONTEXT_FIELD_NUMBER = 9;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap mappedDiagnosticContext_;
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public boolean hasMappedDiagnosticContext() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getMappedDiagnosticContext() {
return mappedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : mappedDiagnosticContext_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getMappedDiagnosticContextOrBuilder() {
return mappedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : mappedDiagnosticContext_;
}
public static final int NESTED_DIAGNOSTIC_CONTEXT_FIELD_NUMBER = 10;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext nestedDiagnosticContext_;
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public boolean hasNestedDiagnosticContext() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getNestedDiagnosticContext() {
return nestedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance() : nestedDiagnosticContext_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder getNestedDiagnosticContextOrBuilder() {
return nestedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance() : nestedDiagnosticContext_;
}
public static final int MARKER_FIELD_NUMBER = 11;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker marker_;
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public boolean hasMarker() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getMarker() {
return marker_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance() : marker_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getMarkerOrBuilder() {
return marker_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance() : marker_;
}
public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 12;
private long sequenceNumber_;
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public long getSequenceNumber() {
return sequenceNumber_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasLoggerContext()) {
if (!getLoggerContext().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasMappedDiagnosticContext()) {
if (!getMappedDiagnosticContext().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasMarker()) {
if (!getMarker().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, timeStamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, loggerName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeEnum(3, level_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, getMessage());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, getThreadInfo());
}
for (int i = 0; i < callStackElement_.size(); i++) {
output.writeMessage(6, callStackElement_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(7, getThrowable());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(8, getLoggerContext());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(9, getMappedDiagnosticContext());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(10, getNestedDiagnosticContext());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeMessage(11, getMarker());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeInt64(12, sequenceNumber_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, timeStamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, loggerName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, level_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getMessage());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getThreadInfo());
}
for (int i = 0; i < callStackElement_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, callStackElement_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getThrowable());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getLoggerContext());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getMappedDiagnosticContext());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getNestedDiagnosticContext());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getMarker());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, sequenceNumber_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent) obj;
boolean result = true;
result = result && (hasTimeStamp() == other.hasTimeStamp());
if (hasTimeStamp()) {
result = result && (getTimeStamp()
== other.getTimeStamp());
}
result = result && (hasLoggerName() == other.hasLoggerName());
if (hasLoggerName()) {
result = result && getLoggerName()
.equals(other.getLoggerName());
}
result = result && (hasLevel() == other.hasLevel());
if (hasLevel()) {
result = result && level_ == other.level_;
}
result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
result = result && getMessage()
.equals(other.getMessage());
}
result = result && (hasThreadInfo() == other.hasThreadInfo());
if (hasThreadInfo()) {
result = result && getThreadInfo()
.equals(other.getThreadInfo());
}
result = result && getCallStackElementList()
.equals(other.getCallStackElementList());
result = result && (hasThrowable() == other.hasThrowable());
if (hasThrowable()) {
result = result && getThrowable()
.equals(other.getThrowable());
}
result = result && (hasLoggerContext() == other.hasLoggerContext());
if (hasLoggerContext()) {
result = result && getLoggerContext()
.equals(other.getLoggerContext());
}
result = result && (hasMappedDiagnosticContext() == other.hasMappedDiagnosticContext());
if (hasMappedDiagnosticContext()) {
result = result && getMappedDiagnosticContext()
.equals(other.getMappedDiagnosticContext());
}
result = result && (hasNestedDiagnosticContext() == other.hasNestedDiagnosticContext());
if (hasNestedDiagnosticContext()) {
result = result && getNestedDiagnosticContext()
.equals(other.getNestedDiagnosticContext());
}
result = result && (hasMarker() == other.hasMarker());
if (hasMarker()) {
result = result && getMarker()
.equals(other.getMarker());
}
result = result && (hasSequenceNumber() == other.hasSequenceNumber());
if (hasSequenceNumber()) {
result = result && (getSequenceNumber()
== other.getSequenceNumber());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTimeStamp()) {
hash = (37 * hash) + TIME_STAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeStamp());
}
if (hasLoggerName()) {
hash = (37 * hash) + LOGGER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getLoggerName().hashCode();
}
if (hasLevel()) {
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + level_;
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (hasThreadInfo()) {
hash = (37 * hash) + THREAD_INFO_FIELD_NUMBER;
hash = (53 * hash) + getThreadInfo().hashCode();
}
if (getCallStackElementCount() > 0) {
hash = (37 * hash) + CALL_STACK_ELEMENT_FIELD_NUMBER;
hash = (53 * hash) + getCallStackElementList().hashCode();
}
if (hasThrowable()) {
hash = (37 * hash) + THROWABLE_FIELD_NUMBER;
hash = (53 * hash) + getThrowable().hashCode();
}
if (hasLoggerContext()) {
hash = (37 * hash) + LOGGER_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getLoggerContext().hashCode();
}
if (hasMappedDiagnosticContext()) {
hash = (37 * hash) + MAPPED_DIAGNOSTIC_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getMappedDiagnosticContext().hashCode();
}
if (hasNestedDiagnosticContext()) {
hash = (37 * hash) + NESTED_DIAGNOSTIC_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getNestedDiagnosticContext().hashCode();
}
if (hasMarker()) {
hash = (37 * hash) + MARKER_FIELD_NUMBER;
hash = (53 * hash) + getMarker().hashCode();
}
if (hasSequenceNumber()) {
hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSequenceNumber());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.LoggingEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.LoggingEvent)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggingEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMessageFieldBuilder();
getThreadInfoFieldBuilder();
getCallStackElementFieldBuilder();
getThrowableFieldBuilder();
getLoggerContextFieldBuilder();
getMappedDiagnosticContextFieldBuilder();
getNestedDiagnosticContextFieldBuilder();
getMarkerFieldBuilder();
}
}
public Builder clear() {
super.clear();
timeStamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
loggerName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
level_ = 1;
bitField0_ = (bitField0_ & ~0x00000004);
if (messageBuilder_ == null) {
message_ = null;
} else {
messageBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (threadInfoBuilder_ == null) {
threadInfo_ = null;
} else {
threadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (callStackElementBuilder_ == null) {
callStackElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
callStackElementBuilder_.clear();
}
if (throwableBuilder_ == null) {
throwable_ = null;
} else {
throwableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (loggerContextBuilder_ == null) {
loggerContext_ = null;
} else {
loggerContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (mappedDiagnosticContextBuilder_ == null) {
mappedDiagnosticContext_ = null;
} else {
mappedDiagnosticContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
if (nestedDiagnosticContextBuilder_ == null) {
nestedDiagnosticContext_ = null;
} else {
nestedDiagnosticContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
if (markerBuilder_ == null) {
marker_ = null;
} else {
markerBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
sequenceNumber_ = 0L;
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.timeStamp_ = timeStamp_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.loggerName_ = loggerName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.level_ = level_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (messageBuilder_ == null) {
result.message_ = message_;
} else {
result.message_ = messageBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (threadInfoBuilder_ == null) {
result.threadInfo_ = threadInfo_;
} else {
result.threadInfo_ = threadInfoBuilder_.build();
}
if (callStackElementBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
callStackElement_ = java.util.Collections.unmodifiableList(callStackElement_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.callStackElement_ = callStackElement_;
} else {
result.callStackElement_ = callStackElementBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
if (throwableBuilder_ == null) {
result.throwable_ = throwable_;
} else {
result.throwable_ = throwableBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000040;
}
if (loggerContextBuilder_ == null) {
result.loggerContext_ = loggerContext_;
} else {
result.loggerContext_ = loggerContextBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000080;
}
if (mappedDiagnosticContextBuilder_ == null) {
result.mappedDiagnosticContext_ = mappedDiagnosticContext_;
} else {
result.mappedDiagnosticContext_ = mappedDiagnosticContextBuilder_.build();
}
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000100;
}
if (nestedDiagnosticContextBuilder_ == null) {
result.nestedDiagnosticContext_ = nestedDiagnosticContext_;
} else {
result.nestedDiagnosticContext_ = nestedDiagnosticContextBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
if (markerBuilder_ == null) {
result.marker_ = marker_;
} else {
result.marker_ = markerBuilder_.build();
}
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000400;
}
result.sequenceNumber_ = sequenceNumber_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent.getDefaultInstance()) return this;
if (other.hasTimeStamp()) {
setTimeStamp(other.getTimeStamp());
}
if (other.hasLoggerName()) {
bitField0_ |= 0x00000002;
loggerName_ = other.loggerName_;
onChanged();
}
if (other.hasLevel()) {
setLevel(other.getLevel());
}
if (other.hasMessage()) {
mergeMessage(other.getMessage());
}
if (other.hasThreadInfo()) {
mergeThreadInfo(other.getThreadInfo());
}
if (callStackElementBuilder_ == null) {
if (!other.callStackElement_.isEmpty()) {
if (callStackElement_.isEmpty()) {
callStackElement_ = other.callStackElement_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCallStackElementIsMutable();
callStackElement_.addAll(other.callStackElement_);
}
onChanged();
}
} else {
if (!other.callStackElement_.isEmpty()) {
if (callStackElementBuilder_.isEmpty()) {
callStackElementBuilder_.dispose();
callStackElementBuilder_ = null;
callStackElement_ = other.callStackElement_;
bitField0_ = (bitField0_ & ~0x00000020);
callStackElementBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCallStackElementFieldBuilder() : null;
} else {
callStackElementBuilder_.addAllMessages(other.callStackElement_);
}
}
}
if (other.hasThrowable()) {
mergeThrowable(other.getThrowable());
}
if (other.hasLoggerContext()) {
mergeLoggerContext(other.getLoggerContext());
}
if (other.hasMappedDiagnosticContext()) {
mergeMappedDiagnosticContext(other.getMappedDiagnosticContext());
}
if (other.hasNestedDiagnosticContext()) {
mergeNestedDiagnosticContext(other.getNestedDiagnosticContext());
}
if (other.hasMarker()) {
mergeMarker(other.getMarker());
}
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasLoggerContext()) {
if (!getLoggerContext().isInitialized()) {
return false;
}
}
if (hasMappedDiagnosticContext()) {
if (!getMappedDiagnosticContext().isInitialized()) {
return false;
}
}
if (hasMarker()) {
if (!getMarker().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long timeStamp_ ;
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public long getTimeStamp() {
return timeStamp_;
}
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public Builder setTimeStamp(long value) {
bitField0_ |= 0x00000001;
timeStamp_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 time_stamp = 1;</code>
*/
public Builder clearTimeStamp() {
bitField0_ = (bitField0_ & ~0x00000001);
timeStamp_ = 0L;
onChanged();
return this;
}
private java.lang.Object loggerName_ = "";
/**
* <code>optional string logger_name = 2;</code>
*/
public boolean hasLoggerName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string logger_name = 2;</code>
*/
public java.lang.String getLoggerName() {
java.lang.Object ref = loggerName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
loggerName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string logger_name = 2;</code>
*/
public com.google.protobuf.ByteString
getLoggerNameBytes() {
java.lang.Object ref = loggerName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string logger_name = 2;</code>
*/
public Builder setLoggerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
loggerName_ = value;
onChanged();
return this;
}
/**
* <code>optional string logger_name = 2;</code>
*/
public Builder clearLoggerName() {
bitField0_ = (bitField0_ & ~0x00000002);
loggerName_ = getDefaultInstance().getLoggerName();
onChanged();
return this;
}
/**
* <code>optional string logger_name = 2;</code>
*/
public Builder setLoggerNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
loggerName_ = value;
onChanged();
return this;
}
private int level_ = 1;
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level getLevel() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level result = de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level.valueOf(level_);
return result == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level.TRACE : result;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public Builder setLevel(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
level_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Level level = 3;</code>
*/
public Builder clearLevel() {
bitField0_ = (bitField0_ & ~0x00000004);
level_ = 1;
onChanged();
return this;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message message_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder> messageBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getMessage() {
if (messageBuilder_ == null) {
return message_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance() : message_;
} else {
return messageBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public Builder setMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message value) {
if (messageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
} else {
messageBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public Builder setMessage(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder builderForValue) {
if (messageBuilder_ == null) {
message_ = builderForValue.build();
onChanged();
} else {
messageBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public Builder mergeMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message value) {
if (messageBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
message_ != null &&
message_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance()) {
message_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.newBuilder(message_).mergeFrom(value).buildPartial();
} else {
message_ = value;
}
onChanged();
} else {
messageBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public Builder clearMessage() {
if (messageBuilder_ == null) {
message_ = null;
onChanged();
} else {
messageBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder getMessageBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getMessageFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getMessageOrBuilder() {
if (messageBuilder_ != null) {
return messageBuilder_.getMessageOrBuilder();
} else {
return message_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance() : message_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Message message = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>
getMessageFieldBuilder() {
if (messageBuilder_ == null) {
messageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>(
getMessage(),
getParentForChildren(),
isClean());
message_ = null;
}
return messageBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo threadInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder> threadInfoBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public boolean hasThreadInfo() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getThreadInfo() {
if (threadInfoBuilder_ == null) {
return threadInfo_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance() : threadInfo_;
} else {
return threadInfoBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public Builder setThreadInfo(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo value) {
if (threadInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
threadInfo_ = value;
onChanged();
} else {
threadInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public Builder setThreadInfo(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder builderForValue) {
if (threadInfoBuilder_ == null) {
threadInfo_ = builderForValue.build();
onChanged();
} else {
threadInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public Builder mergeThreadInfo(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo value) {
if (threadInfoBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
threadInfo_ != null &&
threadInfo_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance()) {
threadInfo_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.newBuilder(threadInfo_).mergeFrom(value).buildPartial();
} else {
threadInfo_ = value;
}
onChanged();
} else {
threadInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public Builder clearThreadInfo() {
if (threadInfoBuilder_ == null) {
threadInfo_ = null;
onChanged();
} else {
threadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder getThreadInfoBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getThreadInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder getThreadInfoOrBuilder() {
if (threadInfoBuilder_ != null) {
return threadInfoBuilder_.getMessageOrBuilder();
} else {
return threadInfo_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance() : threadInfo_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.ThreadInfo thread_info = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder>
getThreadInfoFieldBuilder() {
if (threadInfoBuilder_ == null) {
threadInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder>(
getThreadInfo(),
getParentForChildren(),
isClean());
threadInfo_ = null;
}
return threadInfoBuilder_;
}
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> callStackElement_ =
java.util.Collections.emptyList();
private void ensureCallStackElementIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
callStackElement_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>(callStackElement_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder> callStackElementBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> getCallStackElementList() {
if (callStackElementBuilder_ == null) {
return java.util.Collections.unmodifiableList(callStackElement_);
} else {
return callStackElementBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public int getCallStackElementCount() {
if (callStackElementBuilder_ == null) {
return callStackElement_.size();
} else {
return callStackElementBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getCallStackElement(int index) {
if (callStackElementBuilder_ == null) {
return callStackElement_.get(index);
} else {
return callStackElementBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder setCallStackElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (callStackElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackElementIsMutable();
callStackElement_.set(index, value);
onChanged();
} else {
callStackElementBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder setCallStackElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (callStackElementBuilder_ == null) {
ensureCallStackElementIsMutable();
callStackElement_.set(index, builderForValue.build());
onChanged();
} else {
callStackElementBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder addCallStackElement(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (callStackElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackElementIsMutable();
callStackElement_.add(value);
onChanged();
} else {
callStackElementBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder addCallStackElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (callStackElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackElementIsMutable();
callStackElement_.add(index, value);
onChanged();
} else {
callStackElementBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder addCallStackElement(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (callStackElementBuilder_ == null) {
ensureCallStackElementIsMutable();
callStackElement_.add(builderForValue.build());
onChanged();
} else {
callStackElementBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder addCallStackElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (callStackElementBuilder_ == null) {
ensureCallStackElementIsMutable();
callStackElement_.add(index, builderForValue.build());
onChanged();
} else {
callStackElementBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder addAllCallStackElement(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> values) {
if (callStackElementBuilder_ == null) {
ensureCallStackElementIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, callStackElement_);
onChanged();
} else {
callStackElementBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder clearCallStackElement() {
if (callStackElementBuilder_ == null) {
callStackElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
callStackElementBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public Builder removeCallStackElement(int index) {
if (callStackElementBuilder_ == null) {
ensureCallStackElementIsMutable();
callStackElement_.remove(index);
onChanged();
} else {
callStackElementBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder getCallStackElementBuilder(
int index) {
return getCallStackElementFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getCallStackElementOrBuilder(
int index) {
if (callStackElementBuilder_ == null) {
return callStackElement_.get(index); } else {
return callStackElementBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getCallStackElementOrBuilderList() {
if (callStackElementBuilder_ != null) {
return callStackElementBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(callStackElement_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder addCallStackElementBuilder() {
return getCallStackElementFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder addCallStackElementBuilder(
int index) {
return getCallStackElementFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement call_stack_element = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder>
getCallStackElementBuilderList() {
return getCallStackElementFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getCallStackElementFieldBuilder() {
if (callStackElementBuilder_ == null) {
callStackElementBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>(
callStackElement_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
callStackElement_ = null;
}
return callStackElementBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable throwable_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder> throwableBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public boolean hasThrowable() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getThrowable() {
if (throwableBuilder_ == null) {
return throwable_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : throwable_;
} else {
return throwableBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public Builder setThrowable(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (throwableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
throwable_ = value;
onChanged();
} else {
throwableBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public Builder setThrowable(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder builderForValue) {
if (throwableBuilder_ == null) {
throwable_ = builderForValue.build();
onChanged();
} else {
throwableBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public Builder mergeThrowable(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (throwableBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
throwable_ != null &&
throwable_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance()) {
throwable_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.newBuilder(throwable_).mergeFrom(value).buildPartial();
} else {
throwable_ = value;
}
onChanged();
} else {
throwableBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public Builder clearThrowable() {
if (throwableBuilder_ == null) {
throwable_ = null;
onChanged();
} else {
throwableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder getThrowableBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getThrowableFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getThrowableOrBuilder() {
if (throwableBuilder_ != null) {
return throwableBuilder_.getMessageOrBuilder();
} else {
return throwable_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : throwable_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable throwable = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getThrowableFieldBuilder() {
if (throwableBuilder_ == null) {
throwableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>(
getThrowable(),
getParentForChildren(),
isClean());
throwable_ = null;
}
return throwableBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext loggerContext_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder> loggerContextBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public boolean hasLoggerContext() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getLoggerContext() {
if (loggerContextBuilder_ == null) {
return loggerContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance() : loggerContext_;
} else {
return loggerContextBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public Builder setLoggerContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext value) {
if (loggerContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
loggerContext_ = value;
onChanged();
} else {
loggerContextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public Builder setLoggerContext(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder builderForValue) {
if (loggerContextBuilder_ == null) {
loggerContext_ = builderForValue.build();
onChanged();
} else {
loggerContextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public Builder mergeLoggerContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext value) {
if (loggerContextBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
loggerContext_ != null &&
loggerContext_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance()) {
loggerContext_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.newBuilder(loggerContext_).mergeFrom(value).buildPartial();
} else {
loggerContext_ = value;
}
onChanged();
} else {
loggerContextBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public Builder clearLoggerContext() {
if (loggerContextBuilder_ == null) {
loggerContext_ = null;
onChanged();
} else {
loggerContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder getLoggerContextBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getLoggerContextFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder getLoggerContextOrBuilder() {
if (loggerContextBuilder_ != null) {
return loggerContextBuilder_.getMessageOrBuilder();
} else {
return loggerContext_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance() : loggerContext_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.LoggerContext logger_context = 8;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder>
getLoggerContextFieldBuilder() {
if (loggerContextBuilder_ == null) {
loggerContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder>(
getLoggerContext(),
getParentForChildren(),
isClean());
loggerContext_ = null;
}
return loggerContextBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap mappedDiagnosticContext_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder> mappedDiagnosticContextBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public boolean hasMappedDiagnosticContext() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getMappedDiagnosticContext() {
if (mappedDiagnosticContextBuilder_ == null) {
return mappedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : mappedDiagnosticContext_;
} else {
return mappedDiagnosticContextBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public Builder setMappedDiagnosticContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap value) {
if (mappedDiagnosticContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mappedDiagnosticContext_ = value;
onChanged();
} else {
mappedDiagnosticContextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public Builder setMappedDiagnosticContext(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder builderForValue) {
if (mappedDiagnosticContextBuilder_ == null) {
mappedDiagnosticContext_ = builderForValue.build();
onChanged();
} else {
mappedDiagnosticContextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public Builder mergeMappedDiagnosticContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap value) {
if (mappedDiagnosticContextBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100) &&
mappedDiagnosticContext_ != null &&
mappedDiagnosticContext_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance()) {
mappedDiagnosticContext_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.newBuilder(mappedDiagnosticContext_).mergeFrom(value).buildPartial();
} else {
mappedDiagnosticContext_ = value;
}
onChanged();
} else {
mappedDiagnosticContextBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public Builder clearMappedDiagnosticContext() {
if (mappedDiagnosticContextBuilder_ == null) {
mappedDiagnosticContext_ = null;
onChanged();
} else {
mappedDiagnosticContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder getMappedDiagnosticContextBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getMappedDiagnosticContextFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getMappedDiagnosticContextOrBuilder() {
if (mappedDiagnosticContextBuilder_ != null) {
return mappedDiagnosticContextBuilder_.getMessageOrBuilder();
} else {
return mappedDiagnosticContext_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : mappedDiagnosticContext_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap mapped_diagnostic_context = 9;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder>
getMappedDiagnosticContextFieldBuilder() {
if (mappedDiagnosticContextBuilder_ == null) {
mappedDiagnosticContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder>(
getMappedDiagnosticContext(),
getParentForChildren(),
isClean());
mappedDiagnosticContext_ = null;
}
return mappedDiagnosticContextBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext nestedDiagnosticContext_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder> nestedDiagnosticContextBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public boolean hasNestedDiagnosticContext() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getNestedDiagnosticContext() {
if (nestedDiagnosticContextBuilder_ == null) {
return nestedDiagnosticContext_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance() : nestedDiagnosticContext_;
} else {
return nestedDiagnosticContextBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public Builder setNestedDiagnosticContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext value) {
if (nestedDiagnosticContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
nestedDiagnosticContext_ = value;
onChanged();
} else {
nestedDiagnosticContextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public Builder setNestedDiagnosticContext(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder builderForValue) {
if (nestedDiagnosticContextBuilder_ == null) {
nestedDiagnosticContext_ = builderForValue.build();
onChanged();
} else {
nestedDiagnosticContextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public Builder mergeNestedDiagnosticContext(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext value) {
if (nestedDiagnosticContextBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200) &&
nestedDiagnosticContext_ != null &&
nestedDiagnosticContext_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance()) {
nestedDiagnosticContext_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.newBuilder(nestedDiagnosticContext_).mergeFrom(value).buildPartial();
} else {
nestedDiagnosticContext_ = value;
}
onChanged();
} else {
nestedDiagnosticContextBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public Builder clearNestedDiagnosticContext() {
if (nestedDiagnosticContextBuilder_ == null) {
nestedDiagnosticContext_ = null;
onChanged();
} else {
nestedDiagnosticContextBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder getNestedDiagnosticContextBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getNestedDiagnosticContextFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder getNestedDiagnosticContextOrBuilder() {
if (nestedDiagnosticContextBuilder_ != null) {
return nestedDiagnosticContextBuilder_.getMessageOrBuilder();
} else {
return nestedDiagnosticContext_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance() : nestedDiagnosticContext_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.NestedDiagnosticContext nested_diagnostic_context = 10;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder>
getNestedDiagnosticContextFieldBuilder() {
if (nestedDiagnosticContextBuilder_ == null) {
nestedDiagnosticContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder>(
getNestedDiagnosticContext(),
getParentForChildren(),
isClean());
nestedDiagnosticContext_ = null;
}
return nestedDiagnosticContextBuilder_;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker marker_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder> markerBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public boolean hasMarker() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getMarker() {
if (markerBuilder_ == null) {
return marker_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance() : marker_;
} else {
return markerBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public Builder setMarker(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker value) {
if (markerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
marker_ = value;
onChanged();
} else {
markerBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public Builder setMarker(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder builderForValue) {
if (markerBuilder_ == null) {
marker_ = builderForValue.build();
onChanged();
} else {
markerBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public Builder mergeMarker(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker value) {
if (markerBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400) &&
marker_ != null &&
marker_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance()) {
marker_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.newBuilder(marker_).mergeFrom(value).buildPartial();
} else {
marker_ = value;
}
onChanged();
} else {
markerBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public Builder clearMarker() {
if (markerBuilder_ == null) {
marker_ = null;
onChanged();
} else {
markerBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder getMarkerBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getMarkerFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getMarkerOrBuilder() {
if (markerBuilder_ != null) {
return markerBuilder_.getMessageOrBuilder();
} else {
return marker_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance() : marker_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Marker marker = 11;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>
getMarkerFieldBuilder() {
if (markerBuilder_ == null) {
markerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>(
getMarker(),
getParentForChildren(),
isClean());
marker_ = null;
}
return markerBuilder_;
}
private long sequenceNumber_ ;
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public long getSequenceNumber() {
return sequenceNumber_;
}
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public Builder setSequenceNumber(long value) {
bitField0_ |= 0x00000800;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 sequence_number = 12;</code>
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000800);
sequenceNumber_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.LoggingEvent)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.LoggingEvent)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LoggingEvent>
PARSER = new com.google.protobuf.AbstractParser<LoggingEvent>() {
public LoggingEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LoggingEvent(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<LoggingEvent> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LoggingEvent> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggingEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LoggerContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.LoggerContext)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 birth_time = 1;</code>
*/
boolean hasBirthTime();
/**
* <code>optional int64 birth_time = 1;</code>
*/
long getBirthTime();
/**
* <code>optional string name = 2;</code>
*/
boolean hasName();
/**
* <code>optional string name = 2;</code>
*/
java.lang.String getName();
/**
* <code>optional string name = 2;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
boolean hasProperties();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getProperties();
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getPropertiesOrBuilder();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.LoggerContext}
*/
public static final class LoggerContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.LoggerContext)
LoggerContextOrBuilder {
// Use LoggerContext.newBuilder() to construct.
private LoggerContext(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LoggerContext() {
birthTime_ = 0L;
name_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LoggerContext(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
birthTime_ = input.readInt64();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 26: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = properties_.toBuilder();
}
properties_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(properties_);
properties_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggerContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder.class);
}
private int bitField0_;
public static final int BIRTH_TIME_FIELD_NUMBER = 1;
private long birthTime_;
/**
* <code>optional int64 birth_time = 1;</code>
*/
public boolean hasBirthTime() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 birth_time = 1;</code>
*/
public long getBirthTime() {
return birthTime_;
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* <code>optional string name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 2;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROPERTIES_FIELD_NUMBER = 3;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap properties_;
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public boolean hasProperties() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getProperties() {
return properties_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : properties_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getPropertiesOrBuilder() {
return properties_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : properties_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasProperties()) {
if (!getProperties().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, birthTime_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, getProperties());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, birthTime_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getProperties());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext) obj;
boolean result = true;
result = result && (hasBirthTime() == other.hasBirthTime());
if (hasBirthTime()) {
result = result && (getBirthTime()
== other.getBirthTime());
}
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasProperties() == other.hasProperties());
if (hasProperties()) {
result = result && getProperties()
.equals(other.getProperties());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBirthTime()) {
hash = (37 * hash) + BIRTH_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBirthTime());
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasProperties()) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.LoggerContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.LoggerContext)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggerContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPropertiesFieldBuilder();
}
}
public Builder clear() {
super.clear();
birthTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (propertiesBuilder_ == null) {
properties_ = null;
} else {
propertiesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.birthTime_ = birthTime_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (propertiesBuilder_ == null) {
result.properties_ = properties_;
} else {
result.properties_ = propertiesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext.getDefaultInstance()) return this;
if (other.hasBirthTime()) {
setBirthTime(other.getBirthTime());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasProperties()) {
mergeProperties(other.getProperties());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasProperties()) {
if (!getProperties().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long birthTime_ ;
/**
* <code>optional int64 birth_time = 1;</code>
*/
public boolean hasBirthTime() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 birth_time = 1;</code>
*/
public long getBirthTime() {
return birthTime_;
}
/**
* <code>optional int64 birth_time = 1;</code>
*/
public Builder setBirthTime(long value) {
bitField0_ |= 0x00000001;
birthTime_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 birth_time = 1;</code>
*/
public Builder clearBirthTime() {
bitField0_ = (bitField0_ & ~0x00000001);
birthTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 2;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 2;</code>
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap properties_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder> propertiesBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public boolean hasProperties() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getProperties() {
if (propertiesBuilder_ == null) {
return properties_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : properties_;
} else {
return propertiesBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public Builder setProperties(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
propertiesBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public Builder setProperties(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder builderForValue) {
if (propertiesBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
propertiesBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public Builder mergeProperties(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap value) {
if (propertiesBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
properties_ != null &&
properties_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance()) {
properties_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.newBuilder(properties_).mergeFrom(value).buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
propertiesBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
properties_ = null;
onChanged();
} else {
propertiesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder getPropertiesBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getPropertiesFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder getPropertiesOrBuilder() {
if (propertiesBuilder_ != null) {
return propertiesBuilder_.getMessageOrBuilder();
} else {
return properties_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance() : properties_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.StringMap properties = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder>(
getProperties(),
getParentForChildren(),
isClean());
properties_ = null;
}
return propertiesBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.LoggerContext)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.LoggerContext)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LoggerContext>
PARSER = new com.google.protobuf.AbstractParser<LoggerContext>() {
public LoggerContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LoggerContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<LoggerContext> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LoggerContext> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.LoggerContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ThreadInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.ThreadInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 id = 1;</code>
*/
boolean hasId();
/**
* <code>optional int64 id = 1;</code>
*/
long getId();
/**
* <code>optional string name = 2;</code>
*/
boolean hasName();
/**
* <code>optional string name = 2;</code>
*/
java.lang.String getName();
/**
* <code>optional string name = 2;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional int64 group_id = 3;</code>
*/
boolean hasGroupId();
/**
* <code>optional int64 group_id = 3;</code>
*/
long getGroupId();
/**
* <code>optional string group_name = 4;</code>
*/
boolean hasGroupName();
/**
* <code>optional string group_name = 4;</code>
*/
java.lang.String getGroupName();
/**
* <code>optional string group_name = 4;</code>
*/
com.google.protobuf.ByteString
getGroupNameBytes();
/**
* <code>optional int32 priority = 5;</code>
*/
boolean hasPriority();
/**
* <code>optional int32 priority = 5;</code>
*/
int getPriority();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.ThreadInfo}
*/
public static final class ThreadInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.ThreadInfo)
ThreadInfoOrBuilder {
// Use ThreadInfo.newBuilder() to construct.
private ThreadInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ThreadInfo() {
id_ = 0L;
name_ = "";
groupId_ = 0L;
groupName_ = "";
priority_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ThreadInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt64();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
groupId_ = input.readInt64();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
groupName_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
priority_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_ThreadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* <code>optional int64 id = 1;</code>
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 id = 1;</code>
*/
public long getId() {
return id_;
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* <code>optional string name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 2;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_FIELD_NUMBER = 3;
private long groupId_;
/**
* <code>optional int64 group_id = 3;</code>
*/
public boolean hasGroupId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional int64 group_id = 3;</code>
*/
public long getGroupId() {
return groupId_;
}
public static final int GROUP_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object groupName_;
/**
* <code>optional string group_name = 4;</code>
*/
public boolean hasGroupName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional string group_name = 4;</code>
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
groupName_ = s;
}
return s;
}
}
/**
* <code>optional string group_name = 4;</code>
*/
public com.google.protobuf.ByteString
getGroupNameBytes() {
java.lang.Object ref = groupName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIORITY_FIELD_NUMBER = 5;
private int priority_;
/**
* <code>optional int32 priority = 5;</code>
*/
public boolean hasPriority() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional int32 priority = 5;</code>
*/
public int getPriority() {
return priority_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, groupId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, groupName_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, priority_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, groupId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, groupName_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, priority_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo) obj;
boolean result = true;
result = result && (hasId() == other.hasId());
if (hasId()) {
result = result && (getId()
== other.getId());
}
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasGroupId() == other.hasGroupId());
if (hasGroupId()) {
result = result && (getGroupId()
== other.getGroupId());
}
result = result && (hasGroupName() == other.hasGroupName());
if (hasGroupName()) {
result = result && getGroupName()
.equals(other.getGroupName());
}
result = result && (hasPriority() == other.hasPriority());
if (hasPriority()) {
result = result && (getPriority()
== other.getPriority());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasGroupId()) {
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGroupId());
}
if (hasGroupName()) {
hash = (37 * hash) + GROUP_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGroupName().hashCode();
}
if (hasPriority()) {
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getPriority();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.ThreadInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.ThreadInfo)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_ThreadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
groupId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
groupName_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
priority_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.groupId_ = groupId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.groupName_ = groupName_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.priority_ = priority_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
if (other.hasGroupName()) {
bitField0_ |= 0x00000008;
groupName_ = other.groupName_;
onChanged();
}
if (other.hasPriority()) {
setPriority(other.getPriority());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long id_ ;
/**
* <code>optional int64 id = 1;</code>
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int64 id = 1;</code>
*/
public long getId() {
return id_;
}
/**
* <code>optional int64 id = 1;</code>
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 id = 1;</code>
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 2;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 2;</code>
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private long groupId_ ;
/**
* <code>optional int64 group_id = 3;</code>
*/
public boolean hasGroupId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional int64 group_id = 3;</code>
*/
public long getGroupId() {
return groupId_;
}
/**
* <code>optional int64 group_id = 3;</code>
*/
public Builder setGroupId(long value) {
bitField0_ |= 0x00000004;
groupId_ = value;
onChanged();
return this;
}
/**
* <code>optional int64 group_id = 3;</code>
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000004);
groupId_ = 0L;
onChanged();
return this;
}
private java.lang.Object groupName_ = "";
/**
* <code>optional string group_name = 4;</code>
*/
public boolean hasGroupName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional string group_name = 4;</code>
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
groupName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string group_name = 4;</code>
*/
public com.google.protobuf.ByteString
getGroupNameBytes() {
java.lang.Object ref = groupName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string group_name = 4;</code>
*/
public Builder setGroupName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
groupName_ = value;
onChanged();
return this;
}
/**
* <code>optional string group_name = 4;</code>
*/
public Builder clearGroupName() {
bitField0_ = (bitField0_ & ~0x00000008);
groupName_ = getDefaultInstance().getGroupName();
onChanged();
return this;
}
/**
* <code>optional string group_name = 4;</code>
*/
public Builder setGroupNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
groupName_ = value;
onChanged();
return this;
}
private int priority_ ;
/**
* <code>optional int32 priority = 5;</code>
*/
public boolean hasPriority() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional int32 priority = 5;</code>
*/
public int getPriority() {
return priority_;
}
/**
* <code>optional int32 priority = 5;</code>
*/
public Builder setPriority(int value) {
bitField0_ |= 0x00000010;
priority_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 priority = 5;</code>
*/
public Builder clearPriority() {
bitField0_ = (bitField0_ & ~0x00000010);
priority_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.ThreadInfo)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.ThreadInfo)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ThreadInfo>
PARSER = new com.google.protobuf.AbstractParser<ThreadInfo>() {
public ThreadInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ThreadInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ThreadInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ThreadInfo> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThreadInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.Message)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string message_pattern = 1;</code>
*/
boolean hasMessagePattern();
/**
* <code>optional string message_pattern = 1;</code>
*/
java.lang.String getMessagePattern();
/**
* <code>optional string message_pattern = 1;</code>
*/
com.google.protobuf.ByteString
getMessagePatternBytes();
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument>
getArgumentList();
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getArgument(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
int getArgumentCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder>
getArgumentOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder getArgumentOrBuilder(
int index);
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Message}
*/
public static final class Message extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.Message)
MessageOrBuilder {
// Use Message.newBuilder() to construct.
private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Message() {
messagePattern_ = "";
argument_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Message(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
messagePattern_ = bs;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument>();
mutable_bitField0_ |= 0x00000002;
}
argument_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Message_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Message_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder.class);
}
private int bitField0_;
public static final int MESSAGE_PATTERN_FIELD_NUMBER = 1;
private volatile java.lang.Object messagePattern_;
/**
* <code>optional string message_pattern = 1;</code>
*/
public boolean hasMessagePattern() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public java.lang.String getMessagePattern() {
java.lang.Object ref = messagePattern_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
messagePattern_ = s;
}
return s;
}
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public com.google.protobuf.ByteString
getMessagePatternBytes() {
java.lang.Object ref = messagePattern_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
messagePattern_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ARGUMENT_FIELD_NUMBER = 2;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument> argument_;
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument> getArgumentList() {
return argument_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder>
getArgumentOrBuilderList() {
return argument_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getArgument(int index) {
return argument_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder getArgumentOrBuilder(
int index) {
return argument_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, messagePattern_);
}
for (int i = 0; i < argument_.size(); i++) {
output.writeMessage(2, argument_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, messagePattern_);
}
for (int i = 0; i < argument_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, argument_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message) obj;
boolean result = true;
result = result && (hasMessagePattern() == other.hasMessagePattern());
if (hasMessagePattern()) {
result = result && getMessagePattern()
.equals(other.getMessagePattern());
}
result = result && getArgumentList()
.equals(other.getArgumentList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMessagePattern()) {
hash = (37 * hash) + MESSAGE_PATTERN_FIELD_NUMBER;
hash = (53 * hash) + getMessagePattern().hashCode();
}
if (getArgumentCount() > 0) {
hash = (37 * hash) + ARGUMENT_FIELD_NUMBER;
hash = (53 * hash) + getArgumentList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Message}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.Message)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Message_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Message_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getArgumentFieldBuilder();
}
}
public Builder clear() {
super.clear();
messagePattern_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (argumentBuilder_ == null) {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
argumentBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Message_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.messagePattern_ = messagePattern_;
if (argumentBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.argument_ = argument_;
} else {
result.argument_ = argumentBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance()) return this;
if (other.hasMessagePattern()) {
bitField0_ |= 0x00000001;
messagePattern_ = other.messagePattern_;
onChanged();
}
if (argumentBuilder_ == null) {
if (!other.argument_.isEmpty()) {
if (argument_.isEmpty()) {
argument_ = other.argument_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgumentIsMutable();
argument_.addAll(other.argument_);
}
onChanged();
}
} else {
if (!other.argument_.isEmpty()) {
if (argumentBuilder_.isEmpty()) {
argumentBuilder_.dispose();
argumentBuilder_ = null;
argument_ = other.argument_;
bitField0_ = (bitField0_ & ~0x00000002);
argumentBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgumentFieldBuilder() : null;
} else {
argumentBuilder_.addAllMessages(other.argument_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object messagePattern_ = "";
/**
* <code>optional string message_pattern = 1;</code>
*/
public boolean hasMessagePattern() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public java.lang.String getMessagePattern() {
java.lang.Object ref = messagePattern_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
messagePattern_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public com.google.protobuf.ByteString
getMessagePatternBytes() {
java.lang.Object ref = messagePattern_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
messagePattern_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public Builder setMessagePattern(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
messagePattern_ = value;
onChanged();
return this;
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public Builder clearMessagePattern() {
bitField0_ = (bitField0_ & ~0x00000001);
messagePattern_ = getDefaultInstance().getMessagePattern();
onChanged();
return this;
}
/**
* <code>optional string message_pattern = 1;</code>
*/
public Builder setMessagePatternBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
messagePattern_ = value;
onChanged();
return this;
}
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument> argument_ =
java.util.Collections.emptyList();
private void ensureArgumentIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument>(argument_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder> argumentBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument> getArgumentList() {
if (argumentBuilder_ == null) {
return java.util.Collections.unmodifiableList(argument_);
} else {
return argumentBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public int getArgumentCount() {
if (argumentBuilder_ == null) {
return argument_.size();
} else {
return argumentBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getArgument(int index) {
if (argumentBuilder_ == null) {
return argument_.get(index);
} else {
return argumentBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder setArgument(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument value) {
if (argumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.set(index, value);
onChanged();
} else {
argumentBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder setArgument(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder builderForValue) {
if (argumentBuilder_ == null) {
ensureArgumentIsMutable();
argument_.set(index, builderForValue.build());
onChanged();
} else {
argumentBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder addArgument(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument value) {
if (argumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(value);
onChanged();
} else {
argumentBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder addArgument(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument value) {
if (argumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(index, value);
onChanged();
} else {
argumentBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder addArgument(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder builderForValue) {
if (argumentBuilder_ == null) {
ensureArgumentIsMutable();
argument_.add(builderForValue.build());
onChanged();
} else {
argumentBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder addArgument(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder builderForValue) {
if (argumentBuilder_ == null) {
ensureArgumentIsMutable();
argument_.add(index, builderForValue.build());
onChanged();
} else {
argumentBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder addAllArgument(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument> values) {
if (argumentBuilder_ == null) {
ensureArgumentIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, argument_);
onChanged();
} else {
argumentBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder clearArgument() {
if (argumentBuilder_ == null) {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
argumentBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public Builder removeArgument(int index) {
if (argumentBuilder_ == null) {
ensureArgumentIsMutable();
argument_.remove(index);
onChanged();
} else {
argumentBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder getArgumentBuilder(
int index) {
return getArgumentFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder getArgumentOrBuilder(
int index) {
if (argumentBuilder_ == null) {
return argument_.get(index); } else {
return argumentBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder>
getArgumentOrBuilderList() {
if (argumentBuilder_ != null) {
return argumentBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(argument_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder addArgumentBuilder() {
return getArgumentFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder addArgumentBuilder(
int index) {
return getArgumentFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.MessageArgument argument = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder>
getArgumentBuilderList() {
return getArgumentFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder>
getArgumentFieldBuilder() {
if (argumentBuilder_ == null) {
argumentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder>(
argument_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
argument_ = null;
}
return argumentBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.Message)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.Message)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<Message>
PARSER = new com.google.protobuf.AbstractParser<Message>() {
public Message parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Message(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Message> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Message> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MessageArgumentOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.MessageArgument)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string value = 1;</code>
*/
boolean hasValue();
/**
* <code>optional string value = 1;</code>
*/
java.lang.String getValue();
/**
* <code>optional string value = 1;</code>
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* <pre>
* this is necessary to support null arguments
* </pre>
*
* Protobuf type {@code de.huxhorn.lilith.logging.MessageArgument}
*/
public static final class MessageArgument extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.MessageArgument)
MessageArgumentOrBuilder {
// Use MessageArgument.newBuilder() to construct.
private MessageArgument(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MessageArgument() {
value_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MessageArgument(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
value_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_MessageArgument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object value_;
/**
* <code>optional string value = 1;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string value = 1;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* <code>optional string value = 1;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument) obj;
boolean result = true;
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && getValue()
.equals(other.getValue());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* this is necessary to support null arguments
* </pre>
*
* Protobuf type {@code de.huxhorn.lilith.logging.MessageArgument}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.MessageArgument)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgumentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_MessageArgument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
value_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument.getDefaultInstance()) return this;
if (other.hasValue()) {
bitField0_ |= 0x00000001;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object value_ = "";
/**
* <code>optional string value = 1;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string value = 1;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string value = 1;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string value = 1;</code>
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* <code>optional string value = 1;</code>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* <code>optional string value = 1;</code>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.MessageArgument)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.MessageArgument)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<MessageArgument>
PARSER = new com.google.protobuf.AbstractParser<MessageArgument>() {
public MessageArgument parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MessageArgument(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<MessageArgument> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MessageArgument> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageArgument getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StackTraceElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.StackTraceElement)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string method_name = 1;</code>
*/
boolean hasMethodName();
/**
* <code>optional string method_name = 1;</code>
*/
java.lang.String getMethodName();
/**
* <code>optional string method_name = 1;</code>
*/
com.google.protobuf.ByteString
getMethodNameBytes();
/**
* <code>optional string class_name = 2;</code>
*/
boolean hasClassName();
/**
* <code>optional string class_name = 2;</code>
*/
java.lang.String getClassName();
/**
* <code>optional string class_name = 2;</code>
*/
com.google.protobuf.ByteString
getClassNameBytes();
/**
* <code>optional string file_name = 3;</code>
*/
boolean hasFileName();
/**
* <code>optional string file_name = 3;</code>
*/
java.lang.String getFileName();
/**
* <code>optional string file_name = 3;</code>
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
* <code>optional int32 line_number = 4;</code>
*/
boolean hasLineNumber();
/**
* <code>optional int32 line_number = 4;</code>
*/
int getLineNumber();
/**
* <code>optional string code_location = 5;</code>
*/
boolean hasCodeLocation();
/**
* <code>optional string code_location = 5;</code>
*/
java.lang.String getCodeLocation();
/**
* <code>optional string code_location = 5;</code>
*/
com.google.protobuf.ByteString
getCodeLocationBytes();
/**
* <code>optional string version = 6;</code>
*/
boolean hasVersion();
/**
* <code>optional string version = 6;</code>
*/
java.lang.String getVersion();
/**
* <code>optional string version = 6;</code>
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* <code>optional bool exact = 7;</code>
*/
boolean hasExact();
/**
* <code>optional bool exact = 7;</code>
*/
boolean getExact();
/**
* <code>optional string class_loader_name = 8;</code>
*/
boolean hasClassLoaderName();
/**
* <code>optional string class_loader_name = 8;</code>
*/
java.lang.String getClassLoaderName();
/**
* <code>optional string class_loader_name = 8;</code>
*/
com.google.protobuf.ByteString
getClassLoaderNameBytes();
/**
* <code>optional string module_name = 9;</code>
*/
boolean hasModuleName();
/**
* <code>optional string module_name = 9;</code>
*/
java.lang.String getModuleName();
/**
* <code>optional string module_name = 9;</code>
*/
com.google.protobuf.ByteString
getModuleNameBytes();
/**
* <code>optional string module_version = 10;</code>
*/
boolean hasModuleVersion();
/**
* <code>optional string module_version = 10;</code>
*/
java.lang.String getModuleVersion();
/**
* <code>optional string module_version = 10;</code>
*/
com.google.protobuf.ByteString
getModuleVersionBytes();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StackTraceElement}
*/
public static final class StackTraceElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.StackTraceElement)
StackTraceElementOrBuilder {
// Use StackTraceElement.newBuilder() to construct.
private StackTraceElement(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StackTraceElement() {
methodName_ = "";
className_ = "";
fileName_ = "";
lineNumber_ = 0;
codeLocation_ = "";
version_ = "";
exact_ = false;
classLoaderName_ = "";
moduleName_ = "";
moduleVersion_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StackTraceElement(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
methodName_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
className_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
fileName_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
lineNumber_ = input.readInt32();
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
codeLocation_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
version_ = bs;
break;
}
case 56: {
bitField0_ |= 0x00000040;
exact_ = input.readBool();
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
classLoaderName_ = bs;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
moduleName_ = bs;
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
moduleVersion_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StackTraceElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder.class);
}
private int bitField0_;
public static final int METHOD_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object methodName_;
/**
* <code>optional string method_name = 1;</code>
*/
public boolean hasMethodName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string method_name = 1;</code>
*/
public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
methodName_ = s;
}
return s;
}
}
/**
* <code>optional string method_name = 1;</code>
*/
public com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLASS_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object className_;
/**
* <code>optional string class_name = 2;</code>
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string class_name = 2;</code>
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
className_ = s;
}
return s;
}
}
/**
* <code>optional string class_name = 2;</code>
*/
public com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILE_NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object fileName_;
/**
* <code>optional string file_name = 3;</code>
*/
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string file_name = 3;</code>
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fileName_ = s;
}
return s;
}
}
/**
* <code>optional string file_name = 3;</code>
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINE_NUMBER_FIELD_NUMBER = 4;
private int lineNumber_;
/**
* <code>optional int32 line_number = 4;</code>
*/
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional int32 line_number = 4;</code>
*/
public int getLineNumber() {
return lineNumber_;
}
public static final int CODE_LOCATION_FIELD_NUMBER = 5;
private volatile java.lang.Object codeLocation_;
/**
* <code>optional string code_location = 5;</code>
*/
public boolean hasCodeLocation() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string code_location = 5;</code>
*/
public java.lang.String getCodeLocation() {
java.lang.Object ref = codeLocation_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
codeLocation_ = s;
}
return s;
}
}
/**
* <code>optional string code_location = 5;</code>
*/
public com.google.protobuf.ByteString
getCodeLocationBytes() {
java.lang.Object ref = codeLocation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codeLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 6;
private volatile java.lang.Object version_;
/**
* <code>optional string version = 6;</code>
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional string version = 6;</code>
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
version_ = s;
}
return s;
}
}
/**
* <code>optional string version = 6;</code>
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXACT_FIELD_NUMBER = 7;
private boolean exact_;
/**
* <code>optional bool exact = 7;</code>
*/
public boolean hasExact() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional bool exact = 7;</code>
*/
public boolean getExact() {
return exact_;
}
public static final int CLASS_LOADER_NAME_FIELD_NUMBER = 8;
private volatile java.lang.Object classLoaderName_;
/**
* <code>optional string class_loader_name = 8;</code>
*/
public boolean hasClassLoaderName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public java.lang.String getClassLoaderName() {
java.lang.Object ref = classLoaderName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
classLoaderName_ = s;
}
return s;
}
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public com.google.protobuf.ByteString
getClassLoaderNameBytes() {
java.lang.Object ref = classLoaderName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classLoaderName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODULE_NAME_FIELD_NUMBER = 9;
private volatile java.lang.Object moduleName_;
/**
* <code>optional string module_name = 9;</code>
*/
public boolean hasModuleName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional string module_name = 9;</code>
*/
public java.lang.String getModuleName() {
java.lang.Object ref = moduleName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleName_ = s;
}
return s;
}
}
/**
* <code>optional string module_name = 9;</code>
*/
public com.google.protobuf.ByteString
getModuleNameBytes() {
java.lang.Object ref = moduleName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODULE_VERSION_FIELD_NUMBER = 10;
private volatile java.lang.Object moduleVersion_;
/**
* <code>optional string module_version = 10;</code>
*/
public boolean hasModuleVersion() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string module_version = 10;</code>
*/
public java.lang.String getModuleVersion() {
java.lang.Object ref = moduleVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleVersion_ = s;
}
return s;
}
}
/**
* <code>optional string module_version = 10;</code>
*/
public com.google.protobuf.ByteString
getModuleVersionBytes() {
java.lang.Object ref = moduleVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, methodName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, className_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, lineNumber_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, codeLocation_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBool(7, exact_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, classLoaderName_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, moduleName_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, moduleVersion_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, methodName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, className_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, lineNumber_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, codeLocation_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, exact_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, classLoaderName_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, moduleName_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, moduleVersion_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement) obj;
boolean result = true;
result = result && (hasMethodName() == other.hasMethodName());
if (hasMethodName()) {
result = result && getMethodName()
.equals(other.getMethodName());
}
result = result && (hasClassName() == other.hasClassName());
if (hasClassName()) {
result = result && getClassName()
.equals(other.getClassName());
}
result = result && (hasFileName() == other.hasFileName());
if (hasFileName()) {
result = result && getFileName()
.equals(other.getFileName());
}
result = result && (hasLineNumber() == other.hasLineNumber());
if (hasLineNumber()) {
result = result && (getLineNumber()
== other.getLineNumber());
}
result = result && (hasCodeLocation() == other.hasCodeLocation());
if (hasCodeLocation()) {
result = result && getCodeLocation()
.equals(other.getCodeLocation());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && (hasExact() == other.hasExact());
if (hasExact()) {
result = result && (getExact()
== other.getExact());
}
result = result && (hasClassLoaderName() == other.hasClassLoaderName());
if (hasClassLoaderName()) {
result = result && getClassLoaderName()
.equals(other.getClassLoaderName());
}
result = result && (hasModuleName() == other.hasModuleName());
if (hasModuleName()) {
result = result && getModuleName()
.equals(other.getModuleName());
}
result = result && (hasModuleVersion() == other.hasModuleVersion());
if (hasModuleVersion()) {
result = result && getModuleVersion()
.equals(other.getModuleVersion());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMethodName()) {
hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodName().hashCode();
}
if (hasClassName()) {
hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasLineNumber()) {
hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getLineNumber();
}
if (hasCodeLocation()) {
hash = (37 * hash) + CODE_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getCodeLocation().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasExact()) {
hash = (37 * hash) + EXACT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExact());
}
if (hasClassLoaderName()) {
hash = (37 * hash) + CLASS_LOADER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClassLoaderName().hashCode();
}
if (hasModuleName()) {
hash = (37 * hash) + MODULE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getModuleName().hashCode();
}
if (hasModuleVersion()) {
hash = (37 * hash) + MODULE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getModuleVersion().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StackTraceElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.StackTraceElement)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StackTraceElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
methodName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
className_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
fileName_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
lineNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
codeLocation_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
version_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
exact_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
classLoaderName_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
moduleName_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
moduleVersion_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.methodName_ = methodName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.className_ = className_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.fileName_ = fileName_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.lineNumber_ = lineNumber_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.codeLocation_ = codeLocation_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.version_ = version_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.exact_ = exact_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.classLoaderName_ = classLoaderName_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.moduleName_ = moduleName_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.moduleVersion_ = moduleVersion_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance()) return this;
if (other.hasMethodName()) {
bitField0_ |= 0x00000001;
methodName_ = other.methodName_;
onChanged();
}
if (other.hasClassName()) {
bitField0_ |= 0x00000002;
className_ = other.className_;
onChanged();
}
if (other.hasFileName()) {
bitField0_ |= 0x00000004;
fileName_ = other.fileName_;
onChanged();
}
if (other.hasLineNumber()) {
setLineNumber(other.getLineNumber());
}
if (other.hasCodeLocation()) {
bitField0_ |= 0x00000010;
codeLocation_ = other.codeLocation_;
onChanged();
}
if (other.hasVersion()) {
bitField0_ |= 0x00000020;
version_ = other.version_;
onChanged();
}
if (other.hasExact()) {
setExact(other.getExact());
}
if (other.hasClassLoaderName()) {
bitField0_ |= 0x00000080;
classLoaderName_ = other.classLoaderName_;
onChanged();
}
if (other.hasModuleName()) {
bitField0_ |= 0x00000100;
moduleName_ = other.moduleName_;
onChanged();
}
if (other.hasModuleVersion()) {
bitField0_ |= 0x00000200;
moduleVersion_ = other.moduleVersion_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object methodName_ = "";
/**
* <code>optional string method_name = 1;</code>
*/
public boolean hasMethodName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string method_name = 1;</code>
*/
public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
methodName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string method_name = 1;</code>
*/
public com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string method_name = 1;</code>
*/
public Builder setMethodName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
methodName_ = value;
onChanged();
return this;
}
/**
* <code>optional string method_name = 1;</code>
*/
public Builder clearMethodName() {
bitField0_ = (bitField0_ & ~0x00000001);
methodName_ = getDefaultInstance().getMethodName();
onChanged();
return this;
}
/**
* <code>optional string method_name = 1;</code>
*/
public Builder setMethodNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
methodName_ = value;
onChanged();
return this;
}
private java.lang.Object className_ = "";
/**
* <code>optional string class_name = 2;</code>
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string class_name = 2;</code>
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
className_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string class_name = 2;</code>
*/
public com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string class_name = 2;</code>
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
/**
* <code>optional string class_name = 2;</code>
*/
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000002);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
/**
* <code>optional string class_name = 2;</code>
*/
public Builder setClassNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
* <code>optional string file_name = 3;</code>
*/
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string file_name = 3;</code>
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fileName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string file_name = 3;</code>
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string file_name = 3;</code>
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
fileName_ = value;
onChanged();
return this;
}
/**
* <code>optional string file_name = 3;</code>
*/
public Builder clearFileName() {
bitField0_ = (bitField0_ & ~0x00000004);
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
* <code>optional string file_name = 3;</code>
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
fileName_ = value;
onChanged();
return this;
}
private int lineNumber_ ;
/**
* <code>optional int32 line_number = 4;</code>
*/
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional int32 line_number = 4;</code>
*/
public int getLineNumber() {
return lineNumber_;
}
/**
* <code>optional int32 line_number = 4;</code>
*/
public Builder setLineNumber(int value) {
bitField0_ |= 0x00000008;
lineNumber_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 line_number = 4;</code>
*/
public Builder clearLineNumber() {
bitField0_ = (bitField0_ & ~0x00000008);
lineNumber_ = 0;
onChanged();
return this;
}
private java.lang.Object codeLocation_ = "";
/**
* <code>optional string code_location = 5;</code>
*/
public boolean hasCodeLocation() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string code_location = 5;</code>
*/
public java.lang.String getCodeLocation() {
java.lang.Object ref = codeLocation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
codeLocation_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string code_location = 5;</code>
*/
public com.google.protobuf.ByteString
getCodeLocationBytes() {
java.lang.Object ref = codeLocation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codeLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string code_location = 5;</code>
*/
public Builder setCodeLocation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
codeLocation_ = value;
onChanged();
return this;
}
/**
* <code>optional string code_location = 5;</code>
*/
public Builder clearCodeLocation() {
bitField0_ = (bitField0_ & ~0x00000010);
codeLocation_ = getDefaultInstance().getCodeLocation();
onChanged();
return this;
}
/**
* <code>optional string code_location = 5;</code>
*/
public Builder setCodeLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
codeLocation_ = value;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
* <code>optional string version = 6;</code>
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional string version = 6;</code>
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
version_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string version = 6;</code>
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string version = 6;</code>
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
version_ = value;
onChanged();
return this;
}
/**
* <code>optional string version = 6;</code>
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000020);
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* <code>optional string version = 6;</code>
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
version_ = value;
onChanged();
return this;
}
private boolean exact_ ;
/**
* <code>optional bool exact = 7;</code>
*/
public boolean hasExact() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional bool exact = 7;</code>
*/
public boolean getExact() {
return exact_;
}
/**
* <code>optional bool exact = 7;</code>
*/
public Builder setExact(boolean value) {
bitField0_ |= 0x00000040;
exact_ = value;
onChanged();
return this;
}
/**
* <code>optional bool exact = 7;</code>
*/
public Builder clearExact() {
bitField0_ = (bitField0_ & ~0x00000040);
exact_ = false;
onChanged();
return this;
}
private java.lang.Object classLoaderName_ = "";
/**
* <code>optional string class_loader_name = 8;</code>
*/
public boolean hasClassLoaderName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public java.lang.String getClassLoaderName() {
java.lang.Object ref = classLoaderName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
classLoaderName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public com.google.protobuf.ByteString
getClassLoaderNameBytes() {
java.lang.Object ref = classLoaderName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classLoaderName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public Builder setClassLoaderName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
classLoaderName_ = value;
onChanged();
return this;
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public Builder clearClassLoaderName() {
bitField0_ = (bitField0_ & ~0x00000080);
classLoaderName_ = getDefaultInstance().getClassLoaderName();
onChanged();
return this;
}
/**
* <code>optional string class_loader_name = 8;</code>
*/
public Builder setClassLoaderNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
classLoaderName_ = value;
onChanged();
return this;
}
private java.lang.Object moduleName_ = "";
/**
* <code>optional string module_name = 9;</code>
*/
public boolean hasModuleName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional string module_name = 9;</code>
*/
public java.lang.String getModuleName() {
java.lang.Object ref = moduleName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string module_name = 9;</code>
*/
public com.google.protobuf.ByteString
getModuleNameBytes() {
java.lang.Object ref = moduleName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string module_name = 9;</code>
*/
public Builder setModuleName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
moduleName_ = value;
onChanged();
return this;
}
/**
* <code>optional string module_name = 9;</code>
*/
public Builder clearModuleName() {
bitField0_ = (bitField0_ & ~0x00000100);
moduleName_ = getDefaultInstance().getModuleName();
onChanged();
return this;
}
/**
* <code>optional string module_name = 9;</code>
*/
public Builder setModuleNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
moduleName_ = value;
onChanged();
return this;
}
private java.lang.Object moduleVersion_ = "";
/**
* <code>optional string module_version = 10;</code>
*/
public boolean hasModuleVersion() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string module_version = 10;</code>
*/
public java.lang.String getModuleVersion() {
java.lang.Object ref = moduleVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleVersion_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string module_version = 10;</code>
*/
public com.google.protobuf.ByteString
getModuleVersionBytes() {
java.lang.Object ref = moduleVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string module_version = 10;</code>
*/
public Builder setModuleVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
moduleVersion_ = value;
onChanged();
return this;
}
/**
* <code>optional string module_version = 10;</code>
*/
public Builder clearModuleVersion() {
bitField0_ = (bitField0_ & ~0x00000200);
moduleVersion_ = getDefaultInstance().getModuleVersion();
onChanged();
return this;
}
/**
* <code>optional string module_version = 10;</code>
*/
public Builder setModuleVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
moduleVersion_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.StackTraceElement)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.StackTraceElement)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StackTraceElement>
PARSER = new com.google.protobuf.AbstractParser<StackTraceElement>() {
public StackTraceElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StackTraceElement(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<StackTraceElement> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StackTraceElement> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ThrowableOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.Throwable)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string throwable_class = 1;</code>
*/
boolean hasThrowableClass();
/**
* <code>optional string throwable_class = 1;</code>
*/
java.lang.String getThrowableClass();
/**
* <code>optional string throwable_class = 1;</code>
*/
com.google.protobuf.ByteString
getThrowableClassBytes();
/**
* <code>optional string message = 2;</code>
*/
boolean hasMessage();
/**
* <code>optional string message = 2;</code>
*/
java.lang.String getMessage();
/**
* <code>optional string message = 2;</code>
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>
getStackTraceElementList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getStackTraceElement(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
int getStackTraceElementCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getStackTraceElementOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getStackTraceElementOrBuilder(
int index);
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
boolean hasOmittedElements();
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
int getOmittedElements();
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
boolean hasCause();
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getCause();
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getCauseOrBuilder();
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable>
getSuppressedList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getSuppressed(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
int getSuppressedCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getSuppressedOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getSuppressedOrBuilder(
int index);
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Throwable}
*/
public static final class Throwable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.Throwable)
ThrowableOrBuilder {
// Use Throwable.newBuilder() to construct.
private Throwable(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Throwable() {
throwableClass_ = "";
message_ = "";
stackTraceElement_ = java.util.Collections.emptyList();
omittedElements_ = 0;
suppressed_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Throwable(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
throwableClass_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
message_ = bs;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
stackTraceElement_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>();
mutable_bitField0_ |= 0x00000004;
}
stackTraceElement_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.PARSER, extensionRegistry));
break;
}
case 32: {
bitField0_ |= 0x00000004;
omittedElements_ = input.readInt32();
break;
}
case 42: {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = cause_.toBuilder();
}
cause_ = input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cause_);
cause_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
suppressed_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable>();
mutable_bitField0_ |= 0x00000020;
}
suppressed_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
suppressed_ = java.util.Collections.unmodifiableList(suppressed_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Throwable_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Throwable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder.class);
}
private int bitField0_;
public static final int THROWABLE_CLASS_FIELD_NUMBER = 1;
private volatile java.lang.Object throwableClass_;
/**
* <code>optional string throwable_class = 1;</code>
*/
public boolean hasThrowableClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public java.lang.String getThrowableClass() {
java.lang.Object ref = throwableClass_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
throwableClass_ = s;
}
return s;
}
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public com.google.protobuf.ByteString
getThrowableClassBytes() {
java.lang.Object ref = throwableClass_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
throwableClass_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object message_;
/**
* <code>optional string message = 2;</code>
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string message = 2;</code>
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
message_ = s;
}
return s;
}
}
/**
* <code>optional string message = 2;</code>
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STACK_TRACE_ELEMENT_FIELD_NUMBER = 3;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> stackTraceElement_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> getStackTraceElementList() {
return stackTraceElement_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getStackTraceElementOrBuilderList() {
return stackTraceElement_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public int getStackTraceElementCount() {
return stackTraceElement_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getStackTraceElement(int index) {
return stackTraceElement_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getStackTraceElementOrBuilder(
int index) {
return stackTraceElement_.get(index);
}
public static final int OMITTED_ELEMENTS_FIELD_NUMBER = 4;
private int omittedElements_;
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public boolean hasOmittedElements() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public int getOmittedElements() {
return omittedElements_;
}
public static final int CAUSE_FIELD_NUMBER = 5;
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable cause_;
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public boolean hasCause() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getCause() {
return cause_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : cause_;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getCauseOrBuilder() {
return cause_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : cause_;
}
public static final int SUPPRESSED_FIELD_NUMBER = 6;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable> suppressed_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable> getSuppressedList() {
return suppressed_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getSuppressedOrBuilderList() {
return suppressed_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public int getSuppressedCount() {
return suppressed_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getSuppressed(int index) {
return suppressed_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getSuppressedOrBuilder(
int index) {
return suppressed_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, throwableClass_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
for (int i = 0; i < stackTraceElement_.size(); i++) {
output.writeMessage(3, stackTraceElement_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, omittedElements_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(5, getCause());
}
for (int i = 0; i < suppressed_.size(); i++) {
output.writeMessage(6, suppressed_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, throwableClass_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
for (int i = 0; i < stackTraceElement_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, stackTraceElement_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, omittedElements_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getCause());
}
for (int i = 0; i < suppressed_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, suppressed_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable) obj;
boolean result = true;
result = result && (hasThrowableClass() == other.hasThrowableClass());
if (hasThrowableClass()) {
result = result && getThrowableClass()
.equals(other.getThrowableClass());
}
result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
result = result && getMessage()
.equals(other.getMessage());
}
result = result && getStackTraceElementList()
.equals(other.getStackTraceElementList());
result = result && (hasOmittedElements() == other.hasOmittedElements());
if (hasOmittedElements()) {
result = result && (getOmittedElements()
== other.getOmittedElements());
}
result = result && (hasCause() == other.hasCause());
if (hasCause()) {
result = result && getCause()
.equals(other.getCause());
}
result = result && getSuppressedList()
.equals(other.getSuppressedList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasThrowableClass()) {
hash = (37 * hash) + THROWABLE_CLASS_FIELD_NUMBER;
hash = (53 * hash) + getThrowableClass().hashCode();
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (getStackTraceElementCount() > 0) {
hash = (37 * hash) + STACK_TRACE_ELEMENT_FIELD_NUMBER;
hash = (53 * hash) + getStackTraceElementList().hashCode();
}
if (hasOmittedElements()) {
hash = (37 * hash) + OMITTED_ELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getOmittedElements();
}
if (hasCause()) {
hash = (37 * hash) + CAUSE_FIELD_NUMBER;
hash = (53 * hash) + getCause().hashCode();
}
if (getSuppressedCount() > 0) {
hash = (37 * hash) + SUPPRESSED_FIELD_NUMBER;
hash = (53 * hash) + getSuppressedList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Throwable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.Throwable)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Throwable_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Throwable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStackTraceElementFieldBuilder();
getCauseFieldBuilder();
getSuppressedFieldBuilder();
}
}
public Builder clear() {
super.clear();
throwableClass_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
message_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (stackTraceElementBuilder_ == null) {
stackTraceElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
stackTraceElementBuilder_.clear();
}
omittedElements_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (causeBuilder_ == null) {
cause_ = null;
} else {
causeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (suppressedBuilder_ == null) {
suppressed_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
suppressedBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Throwable_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.throwableClass_ = throwableClass_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.message_ = message_;
if (stackTraceElementBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.stackTraceElement_ = stackTraceElement_;
} else {
result.stackTraceElement_ = stackTraceElementBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.omittedElements_ = omittedElements_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
if (causeBuilder_ == null) {
result.cause_ = cause_;
} else {
result.cause_ = causeBuilder_.build();
}
if (suppressedBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
suppressed_ = java.util.Collections.unmodifiableList(suppressed_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.suppressed_ = suppressed_;
} else {
result.suppressed_ = suppressedBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance()) return this;
if (other.hasThrowableClass()) {
bitField0_ |= 0x00000001;
throwableClass_ = other.throwableClass_;
onChanged();
}
if (other.hasMessage()) {
bitField0_ |= 0x00000002;
message_ = other.message_;
onChanged();
}
if (stackTraceElementBuilder_ == null) {
if (!other.stackTraceElement_.isEmpty()) {
if (stackTraceElement_.isEmpty()) {
stackTraceElement_ = other.stackTraceElement_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureStackTraceElementIsMutable();
stackTraceElement_.addAll(other.stackTraceElement_);
}
onChanged();
}
} else {
if (!other.stackTraceElement_.isEmpty()) {
if (stackTraceElementBuilder_.isEmpty()) {
stackTraceElementBuilder_.dispose();
stackTraceElementBuilder_ = null;
stackTraceElement_ = other.stackTraceElement_;
bitField0_ = (bitField0_ & ~0x00000004);
stackTraceElementBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStackTraceElementFieldBuilder() : null;
} else {
stackTraceElementBuilder_.addAllMessages(other.stackTraceElement_);
}
}
}
if (other.hasOmittedElements()) {
setOmittedElements(other.getOmittedElements());
}
if (other.hasCause()) {
mergeCause(other.getCause());
}
if (suppressedBuilder_ == null) {
if (!other.suppressed_.isEmpty()) {
if (suppressed_.isEmpty()) {
suppressed_ = other.suppressed_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSuppressedIsMutable();
suppressed_.addAll(other.suppressed_);
}
onChanged();
}
} else {
if (!other.suppressed_.isEmpty()) {
if (suppressedBuilder_.isEmpty()) {
suppressedBuilder_.dispose();
suppressedBuilder_ = null;
suppressed_ = other.suppressed_;
bitField0_ = (bitField0_ & ~0x00000020);
suppressedBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSuppressedFieldBuilder() : null;
} else {
suppressedBuilder_.addAllMessages(other.suppressed_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object throwableClass_ = "";
/**
* <code>optional string throwable_class = 1;</code>
*/
public boolean hasThrowableClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public java.lang.String getThrowableClass() {
java.lang.Object ref = throwableClass_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
throwableClass_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public com.google.protobuf.ByteString
getThrowableClassBytes() {
java.lang.Object ref = throwableClass_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
throwableClass_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public Builder setThrowableClass(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
throwableClass_ = value;
onChanged();
return this;
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public Builder clearThrowableClass() {
bitField0_ = (bitField0_ & ~0x00000001);
throwableClass_ = getDefaultInstance().getThrowableClass();
onChanged();
return this;
}
/**
* <code>optional string throwable_class = 1;</code>
*/
public Builder setThrowableClassBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
throwableClass_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* <code>optional string message = 2;</code>
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string message = 2;</code>
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
message_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string message = 2;</code>
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string message = 2;</code>
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
message_ = value;
onChanged();
return this;
}
/**
* <code>optional string message = 2;</code>
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000002);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* <code>optional string message = 2;</code>
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
message_ = value;
onChanged();
return this;
}
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> stackTraceElement_ =
java.util.Collections.emptyList();
private void ensureStackTraceElementIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
stackTraceElement_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement>(stackTraceElement_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder> stackTraceElementBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> getStackTraceElementList() {
if (stackTraceElementBuilder_ == null) {
return java.util.Collections.unmodifiableList(stackTraceElement_);
} else {
return stackTraceElementBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public int getStackTraceElementCount() {
if (stackTraceElementBuilder_ == null) {
return stackTraceElement_.size();
} else {
return stackTraceElementBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement getStackTraceElement(int index) {
if (stackTraceElementBuilder_ == null) {
return stackTraceElement_.get(index);
} else {
return stackTraceElementBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder setStackTraceElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (stackTraceElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceElementIsMutable();
stackTraceElement_.set(index, value);
onChanged();
} else {
stackTraceElementBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder setStackTraceElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (stackTraceElementBuilder_ == null) {
ensureStackTraceElementIsMutable();
stackTraceElement_.set(index, builderForValue.build());
onChanged();
} else {
stackTraceElementBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder addStackTraceElement(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (stackTraceElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceElementIsMutable();
stackTraceElement_.add(value);
onChanged();
} else {
stackTraceElementBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder addStackTraceElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement value) {
if (stackTraceElementBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceElementIsMutable();
stackTraceElement_.add(index, value);
onChanged();
} else {
stackTraceElementBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder addStackTraceElement(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (stackTraceElementBuilder_ == null) {
ensureStackTraceElementIsMutable();
stackTraceElement_.add(builderForValue.build());
onChanged();
} else {
stackTraceElementBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder addStackTraceElement(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder builderForValue) {
if (stackTraceElementBuilder_ == null) {
ensureStackTraceElementIsMutable();
stackTraceElement_.add(index, builderForValue.build());
onChanged();
} else {
stackTraceElementBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder addAllStackTraceElement(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement> values) {
if (stackTraceElementBuilder_ == null) {
ensureStackTraceElementIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stackTraceElement_);
onChanged();
} else {
stackTraceElementBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder clearStackTraceElement() {
if (stackTraceElementBuilder_ == null) {
stackTraceElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
stackTraceElementBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public Builder removeStackTraceElement(int index) {
if (stackTraceElementBuilder_ == null) {
ensureStackTraceElementIsMutable();
stackTraceElement_.remove(index);
onChanged();
} else {
stackTraceElementBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder getStackTraceElementBuilder(
int index) {
return getStackTraceElementFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder getStackTraceElementOrBuilder(
int index) {
if (stackTraceElementBuilder_ == null) {
return stackTraceElement_.get(index); } else {
return stackTraceElementBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getStackTraceElementOrBuilderList() {
if (stackTraceElementBuilder_ != null) {
return stackTraceElementBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stackTraceElement_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder addStackTraceElementBuilder() {
return getStackTraceElementFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder addStackTraceElementBuilder(
int index) {
return getStackTraceElementFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StackTraceElement stack_trace_element = 3;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder>
getStackTraceElementBuilderList() {
return getStackTraceElementFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>
getStackTraceElementFieldBuilder() {
if (stackTraceElementBuilder_ == null) {
stackTraceElementBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElement.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StackTraceElementOrBuilder>(
stackTraceElement_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
stackTraceElement_ = null;
}
return stackTraceElementBuilder_;
}
private int omittedElements_ ;
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public boolean hasOmittedElements() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public int getOmittedElements() {
return omittedElements_;
}
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public Builder setOmittedElements(int value) {
bitField0_ |= 0x00000008;
omittedElements_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 omitted_elements = 4;</code>
*/
public Builder clearOmittedElements() {
bitField0_ = (bitField0_ & ~0x00000008);
omittedElements_ = 0;
onChanged();
return this;
}
private de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable cause_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder> causeBuilder_;
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public boolean hasCause() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getCause() {
if (causeBuilder_ == null) {
return cause_ == null ? de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : cause_;
} else {
return causeBuilder_.getMessage();
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public Builder setCause(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (causeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cause_ = value;
onChanged();
} else {
causeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public Builder setCause(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder builderForValue) {
if (causeBuilder_ == null) {
cause_ = builderForValue.build();
onChanged();
} else {
causeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public Builder mergeCause(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (causeBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
cause_ != null &&
cause_ != de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance()) {
cause_ =
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.newBuilder(cause_).mergeFrom(value).buildPartial();
} else {
cause_ = value;
}
onChanged();
} else {
causeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public Builder clearCause() {
if (causeBuilder_ == null) {
cause_ = null;
onChanged();
} else {
causeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder getCauseBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getCauseFieldBuilder().getBuilder();
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getCauseOrBuilder() {
if (causeBuilder_ != null) {
return causeBuilder_.getMessageOrBuilder();
} else {
return cause_ == null ?
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance() : cause_;
}
}
/**
* <code>optional .de.huxhorn.lilith.logging.Throwable cause = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getCauseFieldBuilder() {
if (causeBuilder_ == null) {
causeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>(
getCause(),
getParentForChildren(),
isClean());
cause_ = null;
}
return causeBuilder_;
}
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable> suppressed_ =
java.util.Collections.emptyList();
private void ensureSuppressedIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
suppressed_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable>(suppressed_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder> suppressedBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable> getSuppressedList() {
if (suppressedBuilder_ == null) {
return java.util.Collections.unmodifiableList(suppressed_);
} else {
return suppressedBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public int getSuppressedCount() {
if (suppressedBuilder_ == null) {
return suppressed_.size();
} else {
return suppressedBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getSuppressed(int index) {
if (suppressedBuilder_ == null) {
return suppressed_.get(index);
} else {
return suppressedBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder setSuppressed(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.set(index, value);
onChanged();
} else {
suppressedBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder setSuppressed(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.set(index, builderForValue.build());
onChanged();
} else {
suppressedBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder addSuppressed(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.add(value);
onChanged();
} else {
suppressedBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder addSuppressed(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.add(index, value);
onChanged();
} else {
suppressedBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder addSuppressed(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.add(builderForValue.build());
onChanged();
} else {
suppressedBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder addSuppressed(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.add(index, builderForValue.build());
onChanged();
} else {
suppressedBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder addAllSuppressed(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable> values) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, suppressed_);
onChanged();
} else {
suppressedBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder clearSuppressed() {
if (suppressedBuilder_ == null) {
suppressed_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
suppressedBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public Builder removeSuppressed(int index) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.remove(index);
onChanged();
} else {
suppressedBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder getSuppressedBuilder(
int index) {
return getSuppressedFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder getSuppressedOrBuilder(
int index) {
if (suppressedBuilder_ == null) {
return suppressed_.get(index); } else {
return suppressedBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getSuppressedOrBuilderList() {
if (suppressedBuilder_ != null) {
return suppressedBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(suppressed_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder addSuppressedBuilder() {
return getSuppressedFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder addSuppressedBuilder(
int index) {
return getSuppressedFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Throwable suppressed = 6;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder>
getSuppressedBuilderList() {
return getSuppressedFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>
getSuppressedFieldBuilder() {
if (suppressedBuilder_ == null) {
suppressedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.ThrowableOrBuilder>(
suppressed_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
suppressed_ = null;
}
return suppressedBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.Throwable)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.Throwable)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<Throwable>
PARSER = new com.google.protobuf.AbstractParser<Throwable>() {
public Throwable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Throwable(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Throwable> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Throwable> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Throwable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NestedDiagnosticContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.NestedDiagnosticContext)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message>
getEntryList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getEntry(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
int getEntryCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>
getEntryOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getEntryOrBuilder(
int index);
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.NestedDiagnosticContext}
*/
public static final class NestedDiagnosticContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.NestedDiagnosticContext)
NestedDiagnosticContextOrBuilder {
// Use NestedDiagnosticContext.newBuilder() to construct.
private NestedDiagnosticContext(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private NestedDiagnosticContext() {
entry_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NestedDiagnosticContext(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message>();
mutable_bitField0_ |= 0x00000001;
}
entry_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder.class);
}
public static final int ENTRY_FIELD_NUMBER = 1;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message> entry_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message> getEntryList() {
return entry_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public int getEntryCount() {
return entry_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getEntry(int index) {
return entry_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entry_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entry_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext) obj;
boolean result = true;
result = result && getEntryList()
.equals(other.getEntryList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getEntryCount() > 0) {
hash = (37 * hash) + ENTRY_FIELD_NUMBER;
hash = (53 * hash) + getEntryList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.NestedDiagnosticContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.NestedDiagnosticContext)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEntryFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
entryBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext(this);
int from_bitField0_ = bitField0_;
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
} else {
result.entry_ = entryBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext.getDefaultInstance()) return this;
if (entryBuilder_ == null) {
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntryIsMutable();
entry_.addAll(other.entry_);
}
onChanged();
}
} else {
if (!other.entry_.isEmpty()) {
if (entryBuilder_.isEmpty()) {
entryBuilder_.dispose();
entryBuilder_ = null;
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
entryBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntryFieldBuilder() : null;
} else {
entryBuilder_.addAllMessages(other.entry_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message> entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message>(entry_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder> entryBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message> getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder setEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.set(index, value);
onChanged();
} else {
entryBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder setEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder addEntry(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(value);
onChanged();
} else {
entryBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder addEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(index, value);
onChanged();
} else {
entryBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder addEntry(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder addEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder addAllEntry(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Message entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder>
getEntryBuilderList() {
return getEntryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Message.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MessageOrBuilder>(
entry_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
entry_ = null;
}
return entryBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.NestedDiagnosticContext)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.NestedDiagnosticContext)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<NestedDiagnosticContext>
PARSER = new com.google.protobuf.AbstractParser<NestedDiagnosticContext>() {
public NestedDiagnosticContext parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NestedDiagnosticContext(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<NestedDiagnosticContext> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<NestedDiagnosticContext> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.NestedDiagnosticContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StringMapOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.StringMap)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry>
getEntryList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getEntry(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
int getEntryCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder>
getEntryOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder getEntryOrBuilder(
int index);
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StringMap}
*/
public static final class StringMap extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.StringMap)
StringMapOrBuilder {
// Use StringMap.newBuilder() to construct.
private StringMap(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StringMap() {
entry_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StringMap(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry>();
mutable_bitField0_ |= 0x00000001;
}
entry_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMap_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder.class);
}
public static final int ENTRY_FIELD_NUMBER = 1;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry> entry_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry> getEntryList() {
return entry_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public int getEntryCount() {
return entry_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getEntry(int index) {
return entry_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getEntryCount(); i++) {
if (!getEntry(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entry_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entry_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap) obj;
boolean result = true;
result = result && getEntryList()
.equals(other.getEntryList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getEntryCount() > 0) {
hash = (37 * hash) + ENTRY_FIELD_NUMBER;
hash = (53 * hash) + getEntryList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StringMap}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.StringMap)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMap_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEntryFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
entryBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMap_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap(this);
int from_bitField0_ = bitField0_;
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
} else {
result.entry_ = entryBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap.getDefaultInstance()) return this;
if (entryBuilder_ == null) {
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntryIsMutable();
entry_.addAll(other.entry_);
}
onChanged();
}
} else {
if (!other.entry_.isEmpty()) {
if (entryBuilder_.isEmpty()) {
entryBuilder_.dispose();
entryBuilder_ = null;
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
entryBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntryFieldBuilder() : null;
} else {
entryBuilder_.addAllMessages(other.entry_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getEntryCount(); i++) {
if (!getEntry(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry> entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry>(entry_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder> entryBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry> getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder setEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.set(index, value);
onChanged();
} else {
entryBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder setEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder addEntry(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(value);
onChanged();
} else {
entryBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder addEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(index, value);
onChanged();
} else {
entryBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder addEntry(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder addEntry(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder addAllEntry(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.StringMapEntry entry = 1;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder>
getEntryBuilderList() {
return getEntryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder>(
entry_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
entry_ = null;
}
return entryBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.StringMap)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.StringMap)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StringMap>
PARSER = new com.google.protobuf.AbstractParser<StringMap>() {
public StringMap parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StringMap(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<StringMap> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StringMap> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMap getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StringMapEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.StringMapEntry)
com.google.protobuf.MessageOrBuilder {
/**
* <code>required string key = 1;</code>
*/
boolean hasKey();
/**
* <code>required string key = 1;</code>
*/
java.lang.String getKey();
/**
* <code>required string key = 1;</code>
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* <code>optional string value = 2;</code>
*/
boolean hasValue();
/**
* <code>optional string value = 2;</code>
*/
java.lang.String getValue();
/**
* <code>optional string value = 2;</code>
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StringMapEntry}
*/
public static final class StringMapEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.StringMapEntry)
StringMapEntryOrBuilder {
// Use StringMapEntry.newBuilder() to construct.
private StringMapEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StringMapEntry() {
key_ = "";
value_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StringMapEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
key_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
value_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMapEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* <code>required string key = 1;</code>
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string key = 1;</code>
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* <code>required string key = 1;</code>
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object value_;
/**
* <code>optional string value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string value = 2;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* <code>optional string value = 2;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry) obj;
boolean result = true;
result = result && (hasKey() == other.hasKey());
if (hasKey()) {
result = result && getKey()
.equals(other.getKey());
}
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && getValue()
.equals(other.getValue());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.StringMapEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.StringMapEntry)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMapEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object key_ = "";
/**
* <code>required string key = 1;</code>
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string key = 1;</code>
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>required string key = 1;</code>
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>required string key = 1;</code>
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* <code>required string key = 1;</code>
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* <code>required string key = 1;</code>
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* <code>optional string value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string value = 2;</code>
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string value = 2;</code>
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string value = 2;</code>
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* <code>optional string value = 2;</code>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* <code>optional string value = 2;</code>
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.StringMapEntry)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.StringMapEntry)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StringMapEntry>
PARSER = new com.google.protobuf.AbstractParser<StringMapEntry>() {
public StringMapEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StringMapEntry(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<StringMapEntry> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StringMapEntry> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.StringMapEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MarkerOrBuilder extends
// @@protoc_insertion_point(interface_extends:de.huxhorn.lilith.logging.Marker)
com.google.protobuf.MessageOrBuilder {
/**
* <code>required string name = 1;</code>
*/
boolean hasName();
/**
* <code>required string name = 1;</code>
*/
java.lang.String getName();
/**
* <code>required string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker>
getReferenceList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getReference(int index);
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
int getReferenceCount();
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>
getReferenceOrBuilderList();
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getReferenceOrBuilder(
int index);
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Marker}
*/
public static final class Marker extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:de.huxhorn.lilith.logging.Marker)
MarkerOrBuilder {
// Use Marker.newBuilder() to construct.
private Marker(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Marker() {
name_ = "";
reference_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Marker(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
reference_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker>();
mutable_bitField0_ |= 0x00000002;
}
reference_.add(
input.readMessage(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
reference_ = java.util.Collections.unmodifiableList(reference_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Marker_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Marker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* <code>required string name = 1;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>required string name = 1;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REFERENCE_FIELD_NUMBER = 2;
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker> reference_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker> getReferenceList() {
return reference_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>
getReferenceOrBuilderList() {
return reference_;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public int getReferenceCount() {
return reference_.size();
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getReference(int index) {
return reference_.get(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getReferenceOrBuilder(
int index) {
return reference_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getReferenceCount(); i++) {
if (!getReference(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < reference_.size(); i++) {
output.writeMessage(2, reference_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < reference_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, reference_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker)) {
return super.equals(obj);
}
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker other = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getReferenceList()
.equals(other.getReferenceList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getReferenceCount() > 0) {
hash = (37 * hash) + REFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getReferenceList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code de.huxhorn.lilith.logging.Marker}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:de.huxhorn.lilith.logging.Marker)
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Marker_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Marker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.class, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder.class);
}
// Construct using de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getReferenceFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (referenceBuilder_ == null) {
reference_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
referenceBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.internal_static_de_huxhorn_lilith_logging_Marker_descriptor;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getDefaultInstanceForType() {
return de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance();
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker build() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker buildPartial() {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker result = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (referenceBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
reference_ = java.util.Collections.unmodifiableList(reference_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.reference_ = reference_;
} else {
result.reference_ = referenceBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker) {
return mergeFrom((de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker other) {
if (other == de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (referenceBuilder_ == null) {
if (!other.reference_.isEmpty()) {
if (reference_.isEmpty()) {
reference_ = other.reference_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureReferenceIsMutable();
reference_.addAll(other.reference_);
}
onChanged();
}
} else {
if (!other.reference_.isEmpty()) {
if (referenceBuilder_.isEmpty()) {
referenceBuilder_.dispose();
referenceBuilder_ = null;
reference_ = other.reference_;
bitField0_ = (bitField0_ & ~0x00000002);
referenceBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReferenceFieldBuilder() : null;
} else {
referenceBuilder_.addAllMessages(other.reference_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
for (int i = 0; i < getReferenceCount(); i++) {
if (!getReference(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>required string name = 1;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>required string name = 1;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>required string name = 1;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>required string name = 1;</code>
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* <code>required string name = 1;</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>required string name = 1;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker> reference_ =
java.util.Collections.emptyList();
private void ensureReferenceIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
reference_ = new java.util.ArrayList<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker>(reference_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder> referenceBuilder_;
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker> getReferenceList() {
if (referenceBuilder_ == null) {
return java.util.Collections.unmodifiableList(reference_);
} else {
return referenceBuilder_.getMessageList();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public int getReferenceCount() {
if (referenceBuilder_ == null) {
return reference_.size();
} else {
return referenceBuilder_.getCount();
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getReference(int index) {
if (referenceBuilder_ == null) {
return reference_.get(index);
} else {
return referenceBuilder_.getMessage(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder setReference(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker value) {
if (referenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferenceIsMutable();
reference_.set(index, value);
onChanged();
} else {
referenceBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder setReference(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder builderForValue) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
reference_.set(index, builderForValue.build());
onChanged();
} else {
referenceBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder addReference(de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker value) {
if (referenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferenceIsMutable();
reference_.add(value);
onChanged();
} else {
referenceBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder addReference(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker value) {
if (referenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReferenceIsMutable();
reference_.add(index, value);
onChanged();
} else {
referenceBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder addReference(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder builderForValue) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
reference_.add(builderForValue.build());
onChanged();
} else {
referenceBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder addReference(
int index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder builderForValue) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
reference_.add(index, builderForValue.build());
onChanged();
} else {
referenceBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder addAllReference(
java.lang.Iterable<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker> values) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reference_);
onChanged();
} else {
referenceBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder clearReference() {
if (referenceBuilder_ == null) {
reference_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
referenceBuilder_.clear();
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public Builder removeReference(int index) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
reference_.remove(index);
onChanged();
} else {
referenceBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder getReferenceBuilder(
int index) {
return getReferenceFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder getReferenceOrBuilder(
int index) {
if (referenceBuilder_ == null) {
return reference_.get(index); } else {
return referenceBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public java.util.List<? extends de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>
getReferenceOrBuilderList() {
if (referenceBuilder_ != null) {
return referenceBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reference_);
}
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder addReferenceBuilder() {
return getReferenceFieldBuilder().addBuilder(
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder addReferenceBuilder(
int index) {
return getReferenceFieldBuilder().addBuilder(
index, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.getDefaultInstance());
}
/**
* <code>repeated .de.huxhorn.lilith.logging.Marker reference = 2;</code>
*/
public java.util.List<de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder>
getReferenceBuilderList() {
return getReferenceFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>
getReferenceFieldBuilder() {
if (referenceBuilder_ == null) {
referenceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker.Builder, de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.MarkerOrBuilder>(
reference_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
reference_ = null;
}
return referenceBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:de.huxhorn.lilith.logging.Marker)
}
// @@protoc_insertion_point(class_scope:de.huxhorn.lilith.logging.Marker)
private static final de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker();
}
public static de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<Marker>
PARSER = new com.google.protobuf.AbstractParser<Marker>() {
public Marker parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Marker(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Marker> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Marker> getParserForType() {
return PARSER;
}
public de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Marker getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_EventWrapper_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_EventIdentifier_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_SourceIdentifier_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_LoggingEvent_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_LoggerContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_ThreadInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_Message_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_Message_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_MessageArgument_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_StackTraceElement_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_Throwable_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_Throwable_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_StringMap_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_StringMap_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_StringMapEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_de_huxhorn_lilith_logging_Marker_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_de_huxhorn_lilith_logging_Marker_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n$src/main/protobuf/LoggingProto.proto\022\031" +
"de.huxhorn.lilith.logging\"\214\001\n\014EventWrapp" +
"er\022D\n\020event_identifier\030\001 \001(\0132*.de.huxhor" +
"n.lilith.logging.EventIdentifier\0226\n\005even" +
"t\030\002 \001(\0132\'.de.huxhorn.lilith.logging.Logg" +
"ingEvent\"k\n\017EventIdentifier\022\020\n\010local_id\030" +
"\001 \001(\003\022F\n\021source_identifier\030\002 \001(\0132+.de.hu" +
"xhorn.lilith.logging.SourceIdentifier\"D\n" +
"\020SourceIdentifier\022\022\n\nidentifier\030\001 \001(\t\022\034\n" +
"\024secondary_identifier\030\002 \001(\t\"\212\005\n\014LoggingE",
"vent\022\022\n\ntime_stamp\030\001 \001(\003\022\023\n\013logger_name\030" +
"\002 \001(\t\022/\n\005level\030\003 \001(\0162 .de.huxhorn.lilith" +
".logging.Level\0223\n\007message\030\004 \001(\0132\".de.hux" +
"horn.lilith.logging.Message\022:\n\013thread_in" +
"fo\030\005 \001(\0132%.de.huxhorn.lilith.logging.Thr" +
"eadInfo\022H\n\022call_stack_element\030\006 \003(\0132,.de" +
".huxhorn.lilith.logging.StackTraceElemen" +
"t\0227\n\tthrowable\030\007 \001(\0132$.de.huxhorn.lilith" +
".logging.Throwable\022@\n\016logger_context\030\010 \001" +
"(\0132(.de.huxhorn.lilith.logging.LoggerCon",
"text\022G\n\031mapped_diagnostic_context\030\t \001(\0132" +
"$.de.huxhorn.lilith.logging.StringMap\022U\n" +
"\031nested_diagnostic_context\030\n \001(\01322.de.hu" +
"xhorn.lilith.logging.NestedDiagnosticCon" +
"text\0221\n\006marker\030\013 \001(\0132!.de.huxhorn.lilith" +
".logging.Marker\022\027\n\017sequence_number\030\014 \001(\003" +
"\"k\n\rLoggerContext\022\022\n\nbirth_time\030\001 \001(\003\022\014\n" +
"\004name\030\002 \001(\t\0228\n\nproperties\030\003 \001(\0132$.de.hux" +
"horn.lilith.logging.StringMap\"^\n\nThreadI" +
"nfo\022\n\n\002id\030\001 \001(\003\022\014\n\004name\030\002 \001(\t\022\020\n\010group_i",
"d\030\003 \001(\003\022\022\n\ngroup_name\030\004 \001(\t\022\020\n\010priority\030" +
"\005 \001(\005\"`\n\007Message\022\027\n\017message_pattern\030\001 \001(" +
"\t\022<\n\010argument\030\002 \003(\0132*.de.huxhorn.lilith." +
"logging.MessageArgument\" \n\017MessageArgume" +
"nt\022\r\n\005value\030\001 \001(\t\"\343\001\n\021StackTraceElement\022" +
"\023\n\013method_name\030\001 \001(\t\022\022\n\nclass_name\030\002 \001(\t" +
"\022\021\n\tfile_name\030\003 \001(\t\022\023\n\013line_number\030\004 \001(\005" +
"\022\025\n\rcode_location\030\005 \001(\t\022\017\n\007version\030\006 \001(\t" +
"\022\r\n\005exact\030\007 \001(\010\022\031\n\021class_loader_name\030\010 \001" +
"(\t\022\023\n\013module_name\030\t \001(\t\022\026\n\016module_versio",
"n\030\n \001(\t\"\211\002\n\tThrowable\022\027\n\017throwable_class" +
"\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022I\n\023stack_trace_e" +
"lement\030\003 \003(\0132,.de.huxhorn.lilith.logging" +
".StackTraceElement\022\030\n\020omitted_elements\030\004" +
" \001(\005\0223\n\005cause\030\005 \001(\0132$.de.huxhorn.lilith." +
"logging.Throwable\0228\n\nsuppressed\030\006 \003(\0132$." +
"de.huxhorn.lilith.logging.Throwable\"L\n\027N" +
"estedDiagnosticContext\0221\n\005entry\030\001 \003(\0132\"." +
"de.huxhorn.lilith.logging.Message\"E\n\tStr" +
"ingMap\0228\n\005entry\030\001 \003(\0132).de.huxhorn.lilit",
"h.logging.StringMapEntry\",\n\016StringMapEnt" +
"ry\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \001(\t\"L\n\006Marker" +
"\022\014\n\004name\030\001 \002(\t\0224\n\treference\030\002 \003(\0132!.de.h" +
"uxhorn.lilith.logging.Marker*<\n\005Level\022\t\n" +
"\005TRACE\020\001\022\t\n\005DEBUG\020\002\022\010\n\004INFO\020\003\022\010\n\004WARN\020\004\022" +
"\t\n\005ERROR\020\005B5\n1de.huxhorn.lilith.data.log" +
"ging.protobuf.generatedH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_de_huxhorn_lilith_logging_EventWrapper_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_EventWrapper_descriptor,
new java.lang.String[] { "EventIdentifier", "Event", });
internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_de_huxhorn_lilith_logging_EventIdentifier_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_EventIdentifier_descriptor,
new java.lang.String[] { "LocalId", "SourceIdentifier", });
internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_de_huxhorn_lilith_logging_SourceIdentifier_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_SourceIdentifier_descriptor,
new java.lang.String[] { "Identifier", "SecondaryIdentifier", });
internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_de_huxhorn_lilith_logging_LoggingEvent_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_LoggingEvent_descriptor,
new java.lang.String[] { "TimeStamp", "LoggerName", "Level", "Message", "ThreadInfo", "CallStackElement", "Throwable", "LoggerContext", "MappedDiagnosticContext", "NestedDiagnosticContext", "Marker", "SequenceNumber", });
internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_de_huxhorn_lilith_logging_LoggerContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_LoggerContext_descriptor,
new java.lang.String[] { "BirthTime", "Name", "Properties", });
internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_de_huxhorn_lilith_logging_ThreadInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_ThreadInfo_descriptor,
new java.lang.String[] { "Id", "Name", "GroupId", "GroupName", "Priority", });
internal_static_de_huxhorn_lilith_logging_Message_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_de_huxhorn_lilith_logging_Message_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_Message_descriptor,
new java.lang.String[] { "MessagePattern", "Argument", });
internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_de_huxhorn_lilith_logging_MessageArgument_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_MessageArgument_descriptor,
new java.lang.String[] { "Value", });
internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_de_huxhorn_lilith_logging_StackTraceElement_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_StackTraceElement_descriptor,
new java.lang.String[] { "MethodName", "ClassName", "FileName", "LineNumber", "CodeLocation", "Version", "Exact", "ClassLoaderName", "ModuleName", "ModuleVersion", });
internal_static_de_huxhorn_lilith_logging_Throwable_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_de_huxhorn_lilith_logging_Throwable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_Throwable_descriptor,
new java.lang.String[] { "ThrowableClass", "Message", "StackTraceElement", "OmittedElements", "Cause", "Suppressed", });
internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_NestedDiagnosticContext_descriptor,
new java.lang.String[] { "Entry", });
internal_static_de_huxhorn_lilith_logging_StringMap_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_de_huxhorn_lilith_logging_StringMap_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_StringMap_descriptor,
new java.lang.String[] { "Entry", });
internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_de_huxhorn_lilith_logging_StringMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_StringMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_de_huxhorn_lilith_logging_Marker_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_de_huxhorn_lilith_logging_Marker_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_de_huxhorn_lilith_logging_Marker_descriptor,
new java.lang.String[] { "Name", "Reference", });
}
// @@protoc_insertion_point(outer_class_scope)
}