org.graylog2.plugin.journal.JournalMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog2-plugin Show documentation
Show all versions of graylog2-plugin Show documentation
Graylog interfaces for plugin development
/**
* The MIT License
* Copyright (c) 2012 Graylog, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: raw_message.proto
package org.graylog2.plugin.journal;
@SuppressWarnings("all")
public final class JournalMessages {
private JournalMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface JournalMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.graylog2.plugin.journal.JournalMessage)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 version = 1;
*/
boolean hasVersion();
/**
* optional uint32 version = 1;
*/
int getVersion();
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
boolean hasUuidTime();
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
long getUuidTime();
/**
* optional fixed64 uuid_clockseq = 3;
*/
boolean hasUuidClockseq();
/**
* optional fixed64 uuid_clockseq = 3;
*/
long getUuidClockseq();
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
boolean hasTimestamp();
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
long getTimestamp();
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
boolean hasCodec();
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
org.graylog2.plugin.journal.JournalMessages.CodecInfo getCodec();
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder getCodecOrBuilder();
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
java.util.List
getSourceNodesList();
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
org.graylog2.plugin.journal.JournalMessages.SourceNode getSourceNodes(int index);
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
int getSourceNodesCount();
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
java.util.List extends org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder>
getSourceNodesOrBuilderList();
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder getSourceNodesOrBuilder(
int index);
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
boolean hasRemote();
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
org.graylog2.plugin.journal.JournalMessages.RemoteAddress getRemote();
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder getRemoteOrBuilder();
/**
* optional bytes payload = 8;
*/
boolean hasPayload();
/**
* optional bytes payload = 8;
*/
com.google.protobuf.ByteString getPayload();
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.JournalMessage}
*/
public static final class JournalMessage extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org.graylog2.plugin.journal.JournalMessage)
JournalMessageOrBuilder {
// Use JournalMessage.newBuilder() to construct.
private JournalMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private JournalMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final JournalMessage defaultInstance;
public static JournalMessage getDefaultInstance() {
return defaultInstance;
}
public JournalMessage getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JournalMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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;
version_ = input.readUInt32();
break;
}
case 17: {
bitField0_ |= 0x00000002;
uuidTime_ = input.readFixed64();
break;
}
case 25: {
bitField0_ |= 0x00000004;
uuidClockseq_ = input.readFixed64();
break;
}
case 33: {
bitField0_ |= 0x00000008;
timestamp_ = input.readFixed64();
break;
}
case 42: {
org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = codec_.toBuilder();
}
codec_ = input.readMessage(org.graylog2.plugin.journal.JournalMessages.CodecInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(codec_);
codec_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
sourceNodes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
sourceNodes_.add(input.readMessage(org.graylog2.plugin.journal.JournalMessages.SourceNode.PARSER, extensionRegistry));
break;
}
case 58: {
org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = remote_.toBuilder();
}
remote_ = input.readMessage(org.graylog2.plugin.journal.JournalMessages.RemoteAddress.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(remote_);
remote_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 66: {
bitField0_ |= 0x00000040;
payload_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
sourceNodes_ = java.util.Collections.unmodifiableList(sourceNodes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_JournalMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_JournalMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.JournalMessage.class, org.graylog2.plugin.journal.JournalMessages.JournalMessage.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public JournalMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JournalMessage(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
private int version_;
/**
* optional uint32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 version = 1;
*/
public int getVersion() {
return version_;
}
public static final int UUID_TIME_FIELD_NUMBER = 2;
private long uuidTime_;
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public boolean hasUuidTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public long getUuidTime() {
return uuidTime_;
}
public static final int UUID_CLOCKSEQ_FIELD_NUMBER = 3;
private long uuidClockseq_;
/**
* optional fixed64 uuid_clockseq = 3;
*/
public boolean hasUuidClockseq() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional fixed64 uuid_clockseq = 3;
*/
public long getUuidClockseq() {
return uuidClockseq_;
}
public static final int TIMESTAMP_FIELD_NUMBER = 4;
private long timestamp_;
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public long getTimestamp() {
return timestamp_;
}
public static final int CODEC_FIELD_NUMBER = 5;
private org.graylog2.plugin.journal.JournalMessages.CodecInfo codec_;
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public boolean hasCodec() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public org.graylog2.plugin.journal.JournalMessages.CodecInfo getCodec() {
return codec_;
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder getCodecOrBuilder() {
return codec_;
}
public static final int SOURCE_NODES_FIELD_NUMBER = 6;
private java.util.List sourceNodes_;
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public java.util.List getSourceNodesList() {
return sourceNodes_;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public java.util.List extends org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder>
getSourceNodesOrBuilderList() {
return sourceNodes_;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public int getSourceNodesCount() {
return sourceNodes_.size();
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode getSourceNodes(int index) {
return sourceNodes_.get(index);
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder getSourceNodesOrBuilder(
int index) {
return sourceNodes_.get(index);
}
public static final int REMOTE_FIELD_NUMBER = 7;
private org.graylog2.plugin.journal.JournalMessages.RemoteAddress remote_;
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public boolean hasRemote() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress getRemote() {
return remote_;
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder getRemoteOrBuilder() {
return remote_;
}
public static final int PAYLOAD_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString payload_;
/**
* optional bytes payload = 8;
*/
public boolean hasPayload() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional bytes payload = 8;
*/
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
private void initFields() {
version_ = 0;
uuidTime_ = 0L;
uuidClockseq_ = 0L;
timestamp_ = 0L;
codec_ = org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance();
sourceNodes_ = java.util.Collections.emptyList();
remote_ = org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance();
payload_ = com.google.protobuf.ByteString.EMPTY;
}
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 {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFixed64(2, uuidTime_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFixed64(3, uuidClockseq_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFixed64(4, timestamp_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, codec_);
}
for (int i = 0; i < sourceNodes_.size(); i++) {
output.writeMessage(6, sourceNodes_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(7, remote_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(8, payload_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(2, uuidTime_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(3, uuidClockseq_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(4, timestamp_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, codec_);
}
for (int i = 0; i < sourceNodes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, sourceNodes_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, remote_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, payload_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.JournalMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.graylog2.plugin.journal.JournalMessages.JournalMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.JournalMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org.graylog2.plugin.journal.JournalMessage)
org.graylog2.plugin.journal.JournalMessages.JournalMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_JournalMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_JournalMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.JournalMessage.class, org.graylog2.plugin.journal.JournalMessages.JournalMessage.Builder.class);
}
// Construct using org.graylog2.plugin.journal.JournalMessages.JournalMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCodecFieldBuilder();
getSourceNodesFieldBuilder();
getRemoteFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
version_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
uuidTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
uuidClockseq_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
timestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
if (codecBuilder_ == null) {
codec_ = org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance();
} else {
codecBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (sourceNodesBuilder_ == null) {
sourceNodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
sourceNodesBuilder_.clear();
}
if (remoteBuilder_ == null) {
remote_ = org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance();
} else {
remoteBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
payload_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_JournalMessage_descriptor;
}
public org.graylog2.plugin.journal.JournalMessages.JournalMessage getDefaultInstanceForType() {
return org.graylog2.plugin.journal.JournalMessages.JournalMessage.getDefaultInstance();
}
public org.graylog2.plugin.journal.JournalMessages.JournalMessage build() {
org.graylog2.plugin.journal.JournalMessages.JournalMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.graylog2.plugin.journal.JournalMessages.JournalMessage buildPartial() {
org.graylog2.plugin.journal.JournalMessages.JournalMessage result = new org.graylog2.plugin.journal.JournalMessages.JournalMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.version_ = version_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.uuidTime_ = uuidTime_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.uuidClockseq_ = uuidClockseq_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.timestamp_ = timestamp_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (codecBuilder_ == null) {
result.codec_ = codec_;
} else {
result.codec_ = codecBuilder_.build();
}
if (sourceNodesBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
sourceNodes_ = java.util.Collections.unmodifiableList(sourceNodes_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.sourceNodes_ = sourceNodes_;
} else {
result.sourceNodes_ = sourceNodesBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
if (remoteBuilder_ == null) {
result.remote_ = remote_;
} else {
result.remote_ = remoteBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000040;
}
result.payload_ = payload_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.graylog2.plugin.journal.JournalMessages.JournalMessage) {
return mergeFrom((org.graylog2.plugin.journal.JournalMessages.JournalMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.graylog2.plugin.journal.JournalMessages.JournalMessage other) {
if (other == org.graylog2.plugin.journal.JournalMessages.JournalMessage.getDefaultInstance()) return this;
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasUuidTime()) {
setUuidTime(other.getUuidTime());
}
if (other.hasUuidClockseq()) {
setUuidClockseq(other.getUuidClockseq());
}
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (other.hasCodec()) {
mergeCodec(other.getCodec());
}
if (sourceNodesBuilder_ == null) {
if (!other.sourceNodes_.isEmpty()) {
if (sourceNodes_.isEmpty()) {
sourceNodes_ = other.sourceNodes_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSourceNodesIsMutable();
sourceNodes_.addAll(other.sourceNodes_);
}
onChanged();
}
} else {
if (!other.sourceNodes_.isEmpty()) {
if (sourceNodesBuilder_.isEmpty()) {
sourceNodesBuilder_.dispose();
sourceNodesBuilder_ = null;
sourceNodes_ = other.sourceNodes_;
bitField0_ = (bitField0_ & ~0x00000020);
sourceNodesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSourceNodesFieldBuilder() : null;
} else {
sourceNodesBuilder_.addAllMessages(other.sourceNodes_);
}
}
}
if (other.hasRemote()) {
mergeRemote(other.getRemote());
}
if (other.hasPayload()) {
setPayload(other.getPayload());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
org.graylog2.plugin.journal.JournalMessages.JournalMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.graylog2.plugin.journal.JournalMessages.JournalMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int version_ ;
/**
* optional uint32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 version = 1;
*/
public int getVersion() {
return version_;
}
/**
* optional uint32 version = 1;
*/
public Builder setVersion(int value) {
bitField0_ |= 0x00000001;
version_ = value;
onChanged();
return this;
}
/**
* optional uint32 version = 1;
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = 0;
onChanged();
return this;
}
private long uuidTime_ ;
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public boolean hasUuidTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public long getUuidTime() {
return uuidTime_;
}
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public Builder setUuidTime(long value) {
bitField0_ |= 0x00000002;
uuidTime_ = value;
onChanged();
return this;
}
/**
* optional fixed64 uuid_time = 2;
*
*
* uuid, time is upper 64 bits, clockseq is lower 64 bits of the 128 bit uuid value
*
*/
public Builder clearUuidTime() {
bitField0_ = (bitField0_ & ~0x00000002);
uuidTime_ = 0L;
onChanged();
return this;
}
private long uuidClockseq_ ;
/**
* optional fixed64 uuid_clockseq = 3;
*/
public boolean hasUuidClockseq() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional fixed64 uuid_clockseq = 3;
*/
public long getUuidClockseq() {
return uuidClockseq_;
}
/**
* optional fixed64 uuid_clockseq = 3;
*/
public Builder setUuidClockseq(long value) {
bitField0_ |= 0x00000004;
uuidClockseq_ = value;
onChanged();
return this;
}
/**
* optional fixed64 uuid_clockseq = 3;
*/
public Builder clearUuidClockseq() {
bitField0_ = (bitField0_ & ~0x00000004);
uuidClockseq_ = 0L;
onChanged();
return this;
}
private long timestamp_ ;
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public long getTimestamp() {
return timestamp_;
}
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000008;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional fixed64 timestamp = 4;
*
*
* milliseconds since Java epoch (1970/01/01 00:00:00.000)
*
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
timestamp_ = 0L;
onChanged();
return this;
}
private org.graylog2.plugin.journal.JournalMessages.CodecInfo codec_ = org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.CodecInfo, org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder, org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder> codecBuilder_;
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public boolean hasCodec() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public org.graylog2.plugin.journal.JournalMessages.CodecInfo getCodec() {
if (codecBuilder_ == null) {
return codec_;
} else {
return codecBuilder_.getMessage();
}
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public Builder setCodec(org.graylog2.plugin.journal.JournalMessages.CodecInfo value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
codec_ = value;
onChanged();
} else {
codecBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public Builder setCodec(
org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder builderForValue) {
if (codecBuilder_ == null) {
codec_ = builderForValue.build();
onChanged();
} else {
codecBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public Builder mergeCodec(org.graylog2.plugin.journal.JournalMessages.CodecInfo value) {
if (codecBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
codec_ != org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance()) {
codec_ =
org.graylog2.plugin.journal.JournalMessages.CodecInfo.newBuilder(codec_).mergeFrom(value).buildPartial();
} else {
codec_ = value;
}
onChanged();
} else {
codecBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public Builder clearCodec() {
if (codecBuilder_ == null) {
codec_ = org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance();
onChanged();
} else {
codecBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder getCodecBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getCodecFieldBuilder().getBuilder();
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
public org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder getCodecOrBuilder() {
if (codecBuilder_ != null) {
return codecBuilder_.getMessageOrBuilder();
} else {
return codec_;
}
}
/**
* optional .org.graylog2.plugin.journal.CodecInfo codec = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.CodecInfo, org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder, org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder>
getCodecFieldBuilder() {
if (codecBuilder_ == null) {
codecBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.CodecInfo, org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder, org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder>(
getCodec(),
getParentForChildren(),
isClean());
codec_ = null;
}
return codecBuilder_;
}
private java.util.List sourceNodes_ =
java.util.Collections.emptyList();
private void ensureSourceNodesIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
sourceNodes_ = new java.util.ArrayList(sourceNodes_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.SourceNode, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder, org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder> sourceNodesBuilder_;
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public java.util.List getSourceNodesList() {
if (sourceNodesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sourceNodes_);
} else {
return sourceNodesBuilder_.getMessageList();
}
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public int getSourceNodesCount() {
if (sourceNodesBuilder_ == null) {
return sourceNodes_.size();
} else {
return sourceNodesBuilder_.getCount();
}
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode getSourceNodes(int index) {
if (sourceNodesBuilder_ == null) {
return sourceNodes_.get(index);
} else {
return sourceNodesBuilder_.getMessage(index);
}
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder setSourceNodes(
int index, org.graylog2.plugin.journal.JournalMessages.SourceNode value) {
if (sourceNodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceNodesIsMutable();
sourceNodes_.set(index, value);
onChanged();
} else {
sourceNodesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder setSourceNodes(
int index, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder builderForValue) {
if (sourceNodesBuilder_ == null) {
ensureSourceNodesIsMutable();
sourceNodes_.set(index, builderForValue.build());
onChanged();
} else {
sourceNodesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder addSourceNodes(org.graylog2.plugin.journal.JournalMessages.SourceNode value) {
if (sourceNodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceNodesIsMutable();
sourceNodes_.add(value);
onChanged();
} else {
sourceNodesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder addSourceNodes(
int index, org.graylog2.plugin.journal.JournalMessages.SourceNode value) {
if (sourceNodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceNodesIsMutable();
sourceNodes_.add(index, value);
onChanged();
} else {
sourceNodesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder addSourceNodes(
org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder builderForValue) {
if (sourceNodesBuilder_ == null) {
ensureSourceNodesIsMutable();
sourceNodes_.add(builderForValue.build());
onChanged();
} else {
sourceNodesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder addSourceNodes(
int index, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder builderForValue) {
if (sourceNodesBuilder_ == null) {
ensureSourceNodesIsMutable();
sourceNodes_.add(index, builderForValue.build());
onChanged();
} else {
sourceNodesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder addAllSourceNodes(
java.lang.Iterable extends org.graylog2.plugin.journal.JournalMessages.SourceNode> values) {
if (sourceNodesBuilder_ == null) {
ensureSourceNodesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sourceNodes_);
onChanged();
} else {
sourceNodesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder clearSourceNodes() {
if (sourceNodesBuilder_ == null) {
sourceNodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
sourceNodesBuilder_.clear();
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public Builder removeSourceNodes(int index) {
if (sourceNodesBuilder_ == null) {
ensureSourceNodesIsMutable();
sourceNodes_.remove(index);
onChanged();
} else {
sourceNodesBuilder_.remove(index);
}
return this;
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder getSourceNodesBuilder(
int index) {
return getSourceNodesFieldBuilder().getBuilder(index);
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder getSourceNodesOrBuilder(
int index) {
if (sourceNodesBuilder_ == null) {
return sourceNodes_.get(index); } else {
return sourceNodesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public java.util.List extends org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder>
getSourceNodesOrBuilderList() {
if (sourceNodesBuilder_ != null) {
return sourceNodesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sourceNodes_);
}
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder addSourceNodesBuilder() {
return getSourceNodesFieldBuilder().addBuilder(
org.graylog2.plugin.journal.JournalMessages.SourceNode.getDefaultInstance());
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder addSourceNodesBuilder(
int index) {
return getSourceNodesFieldBuilder().addBuilder(
index, org.graylog2.plugin.journal.JournalMessages.SourceNode.getDefaultInstance());
}
/**
* repeated .org.graylog2.plugin.journal.SourceNode source_nodes = 6;
*
*
* the list of graylog2 nodes which have handled the message (radios, servers) in receive order
*
*/
public java.util.List
getSourceNodesBuilderList() {
return getSourceNodesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.SourceNode, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder, org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder>
getSourceNodesFieldBuilder() {
if (sourceNodesBuilder_ == null) {
sourceNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.SourceNode, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder, org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder>(
sourceNodes_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
sourceNodes_ = null;
}
return sourceNodesBuilder_;
}
private org.graylog2.plugin.journal.JournalMessages.RemoteAddress remote_ = org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.RemoteAddress, org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder, org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder> remoteBuilder_;
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public boolean hasRemote() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress getRemote() {
if (remoteBuilder_ == null) {
return remote_;
} else {
return remoteBuilder_.getMessage();
}
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public Builder setRemote(org.graylog2.plugin.journal.JournalMessages.RemoteAddress value) {
if (remoteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
remote_ = value;
onChanged();
} else {
remoteBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public Builder setRemote(
org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder builderForValue) {
if (remoteBuilder_ == null) {
remote_ = builderForValue.build();
onChanged();
} else {
remoteBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public Builder mergeRemote(org.graylog2.plugin.journal.JournalMessages.RemoteAddress value) {
if (remoteBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
remote_ != org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance()) {
remote_ =
org.graylog2.plugin.journal.JournalMessages.RemoteAddress.newBuilder(remote_).mergeFrom(value).buildPartial();
} else {
remote_ = value;
}
onChanged();
} else {
remoteBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public Builder clearRemote() {
if (remoteBuilder_ == null) {
remote_ = org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance();
onChanged();
} else {
remoteBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder getRemoteBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getRemoteFieldBuilder().getBuilder();
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
public org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder getRemoteOrBuilder() {
if (remoteBuilder_ != null) {
return remoteBuilder_.getMessageOrBuilder();
} else {
return remote_;
}
}
/**
* optional .org.graylog2.plugin.journal.RemoteAddress remote = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.RemoteAddress, org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder, org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder>
getRemoteFieldBuilder() {
if (remoteBuilder_ == null) {
remoteBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.graylog2.plugin.journal.JournalMessages.RemoteAddress, org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder, org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder>(
getRemote(),
getParentForChildren(),
isClean());
remote_ = null;
}
return remoteBuilder_;
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes payload = 8;
*/
public boolean hasPayload() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional bytes payload = 8;
*/
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* optional bytes payload = 8;
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
payload_ = value;
onChanged();
return this;
}
/**
* optional bytes payload = 8;
*/
public Builder clearPayload() {
bitField0_ = (bitField0_ & ~0x00000080);
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.graylog2.plugin.journal.JournalMessage)
}
static {
defaultInstance = new JournalMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.graylog2.plugin.journal.JournalMessage)
}
public interface RemoteAddressOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.graylog2.plugin.journal.RemoteAddress)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
boolean hasAddress();
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
com.google.protobuf.ByteString getAddress();
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
boolean hasPort();
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
int getPort();
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
boolean hasResolved();
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
java.lang.String getResolved();
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
com.google.protobuf.ByteString
getResolvedBytes();
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.RemoteAddress}
*/
public static final class RemoteAddress extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org.graylog2.plugin.journal.RemoteAddress)
RemoteAddressOrBuilder {
// Use RemoteAddress.newBuilder() to construct.
private RemoteAddress(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoteAddress(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoteAddress defaultInstance;
public static RemoteAddress getDefaultInstance() {
return defaultInstance;
}
public RemoteAddress getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoteAddress(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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: {
bitField0_ |= 0x00000001;
address_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
port_ = input.readUInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
resolved_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_RemoteAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.RemoteAddress.class, org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RemoteAddress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RemoteAddress(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ADDRESS_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString address_;
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public boolean hasAddress() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
public static final int PORT_FIELD_NUMBER = 2;
private int port_;
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public int getPort() {
return port_;
}
public static final int RESOLVED_FIELD_NUMBER = 3;
private java.lang.Object resolved_;
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public boolean hasResolved() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public java.lang.String getResolved() {
java.lang.Object ref = resolved_;
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()) {
resolved_ = s;
}
return s;
}
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public com.google.protobuf.ByteString
getResolvedBytes() {
java.lang.Object ref = resolved_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resolved_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
address_ = com.google.protobuf.ByteString.EMPTY;
port_ = 0;
resolved_ = "";
}
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 {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, address_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, port_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getResolvedBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, address_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, port_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getResolvedBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.RemoteAddress parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.graylog2.plugin.journal.JournalMessages.RemoteAddress prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.RemoteAddress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org.graylog2.plugin.journal.RemoteAddress)
org.graylog2.plugin.journal.JournalMessages.RemoteAddressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_RemoteAddress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.RemoteAddress.class, org.graylog2.plugin.journal.JournalMessages.RemoteAddress.Builder.class);
}
// Construct using org.graylog2.plugin.journal.JournalMessages.RemoteAddress.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
address_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
port_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
resolved_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor;
}
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress getDefaultInstanceForType() {
return org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance();
}
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress build() {
org.graylog2.plugin.journal.JournalMessages.RemoteAddress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.graylog2.plugin.journal.JournalMessages.RemoteAddress buildPartial() {
org.graylog2.plugin.journal.JournalMessages.RemoteAddress result = new org.graylog2.plugin.journal.JournalMessages.RemoteAddress(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.address_ = address_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.port_ = port_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.resolved_ = resolved_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.graylog2.plugin.journal.JournalMessages.RemoteAddress) {
return mergeFrom((org.graylog2.plugin.journal.JournalMessages.RemoteAddress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.graylog2.plugin.journal.JournalMessages.RemoteAddress other) {
if (other == org.graylog2.plugin.journal.JournalMessages.RemoteAddress.getDefaultInstance()) return this;
if (other.hasAddress()) {
setAddress(other.getAddress());
}
if (other.hasPort()) {
setPort(other.getPort());
}
if (other.hasResolved()) {
bitField0_ |= 0x00000004;
resolved_ = other.resolved_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
org.graylog2.plugin.journal.JournalMessages.RemoteAddress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.graylog2.plugin.journal.JournalMessages.RemoteAddress) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public boolean hasAddress() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public Builder setAddress(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
address_ = value;
onChanged();
return this;
}
/**
* optional bytes address = 1;
*
*
* the original remote (IP) address of the message sender, unresolved
*
*/
public Builder clearAddress() {
bitField0_ = (bitField0_ & ~0x00000001);
address_ = getDefaultInstance().getAddress();
onChanged();
return this;
}
private int port_ ;
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public int getPort() {
return port_;
}
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public Builder setPort(int value) {
bitField0_ |= 0x00000002;
port_ = value;
onChanged();
return this;
}
/**
* optional uint32 port = 2;
*
*
* the port of the sender, if available/applicable
*
*/
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000002);
port_ = 0;
onChanged();
return this;
}
private java.lang.Object resolved_ = "";
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public boolean hasResolved() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public java.lang.String getResolved() {
java.lang.Object ref = resolved_;
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()) {
resolved_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public com.google.protobuf.ByteString
getResolvedBytes() {
java.lang.Object ref = resolved_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resolved_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public Builder setResolved(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
resolved_ = value;
onChanged();
return this;
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public Builder clearResolved() {
bitField0_ = (bitField0_ & ~0x00000004);
resolved_ = getDefaultInstance().getResolved();
onChanged();
return this;
}
/**
* optional string resolved = 3;
*
*
* a processing node can optionally resolve the address early
*
*/
public Builder setResolvedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
resolved_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.graylog2.plugin.journal.RemoteAddress)
}
static {
defaultInstance = new RemoteAddress(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.graylog2.plugin.journal.RemoteAddress)
}
public interface CodecInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.graylog2.plugin.journal.CodecInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
boolean hasConfig();
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
java.lang.String getConfig();
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.CodecInfo}
*/
public static final class CodecInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org.graylog2.plugin.journal.CodecInfo)
CodecInfoOrBuilder {
// Use CodecInfo.newBuilder() to construct.
private CodecInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CodecInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CodecInfo defaultInstance;
public static CodecInfo getDefaultInstance() {
return defaultInstance;
}
public CodecInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CodecInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
config_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_CodecInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.CodecInfo.class, org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CodecInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CodecInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
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;
}
}
/**
* optional string name = 1;
*/
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 CONFIG_FIELD_NUMBER = 2;
private java.lang.Object config_;
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public boolean hasConfig() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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()) {
config_ = s;
}
return s;
}
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
config_ = "";
}
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 {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getConfigBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getConfigBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.CodecInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.graylog2.plugin.journal.JournalMessages.CodecInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.CodecInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org.graylog2.plugin.journal.CodecInfo)
org.graylog2.plugin.journal.JournalMessages.CodecInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_CodecInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.CodecInfo.class, org.graylog2.plugin.journal.JournalMessages.CodecInfo.Builder.class);
}
// Construct using org.graylog2.plugin.journal.JournalMessages.CodecInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
config_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor;
}
public org.graylog2.plugin.journal.JournalMessages.CodecInfo getDefaultInstanceForType() {
return org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance();
}
public org.graylog2.plugin.journal.JournalMessages.CodecInfo build() {
org.graylog2.plugin.journal.JournalMessages.CodecInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.graylog2.plugin.journal.JournalMessages.CodecInfo buildPartial() {
org.graylog2.plugin.journal.JournalMessages.CodecInfo result = new org.graylog2.plugin.journal.JournalMessages.CodecInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.config_ = config_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.graylog2.plugin.journal.JournalMessages.CodecInfo) {
return mergeFrom((org.graylog2.plugin.journal.JournalMessages.CodecInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.graylog2.plugin.journal.JournalMessages.CodecInfo other) {
if (other == org.graylog2.plugin.journal.JournalMessages.CodecInfo.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasConfig()) {
bitField0_ |= 0x00000002;
config_ = other.config_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
org.graylog2.plugin.journal.JournalMessages.CodecInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.graylog2.plugin.journal.JournalMessages.CodecInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
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;
}
}
/**
* optional string name = 1;
*/
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;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.lang.Object config_ = "";
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public boolean hasConfig() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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()) {
config_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
config_ = value;
onChanged();
return this;
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public Builder clearConfig() {
bitField0_ = (bitField0_ & ~0x00000002);
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* optional string config = 2;
*
*
* JSON description of configuration settings necessary to create the codec with
* for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
*
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
config_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.graylog2.plugin.journal.CodecInfo)
}
static {
defaultInstance = new CodecInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.graylog2.plugin.journal.CodecInfo)
}
public interface SourceNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.graylog2.plugin.journal.SourceNode)
com.google.protobuf.MessageOrBuilder {
/**
* optional string id = 1;
*/
boolean hasId();
/**
* optional string id = 1;
*/
java.lang.String getId();
/**
* optional string id = 1;
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
boolean hasType();
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
org.graylog2.plugin.journal.JournalMessages.SourceNode.Type getType();
/**
* optional string input_id = 3;
*/
boolean hasInputId();
/**
* optional string input_id = 3;
*/
java.lang.String getInputId();
/**
* optional string input_id = 3;
*/
com.google.protobuf.ByteString
getInputIdBytes();
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.SourceNode}
*/
public static final class SourceNode extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org.graylog2.plugin.journal.SourceNode)
SourceNodeOrBuilder {
// Use SourceNode.newBuilder() to construct.
private SourceNode(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SourceNode(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SourceNode defaultInstance;
public static SourceNode getDefaultInstance() {
return defaultInstance;
}
public SourceNode getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SourceNode(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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;
id_ = bs;
break;
}
case 16: {
int rawValue = input.readEnum();
org.graylog2.plugin.journal.JournalMessages.SourceNode.Type value = org.graylog2.plugin.journal.JournalMessages.SourceNode.Type.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
type_ = value;
}
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
inputId_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_SourceNode_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_SourceNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.SourceNode.class, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public SourceNode parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SourceNode(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.graylog2.plugin.journal.SourceNode.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* SERVER = 0;
*/
SERVER(0, 0),
/**
* RADIO = 1;
*/
RADIO(1, 1),
;
/**
* SERVER = 0;
*/
public static final int SERVER_VALUE = 0;
/**
* RADIO = 1;
*/
public static final int RADIO_VALUE = 1;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 0: return SERVER;
case 1: return RADIO;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.SourceNode.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type 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 index;
private final int value;
private Type(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.graylog2.plugin.journal.SourceNode.Type)
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.Object id_;
/**
* optional string id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
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()) {
id_ = s;
}
return s;
}
}
/**
* optional string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 2;
private org.graylog2.plugin.journal.JournalMessages.SourceNode.Type type_;
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode.Type getType() {
return type_;
}
public static final int INPUT_ID_FIELD_NUMBER = 3;
private java.lang.Object inputId_;
/**
* optional string input_id = 3;
*/
public boolean hasInputId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string input_id = 3;
*/
public java.lang.String getInputId() {
java.lang.Object ref = inputId_;
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()) {
inputId_ = s;
}
return s;
}
}
/**
* optional string input_id = 3;
*/
public com.google.protobuf.ByteString
getInputIdBytes() {
java.lang.Object ref = inputId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inputId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
id_ = "";
type_ = org.graylog2.plugin.journal.JournalMessages.SourceNode.Type.SERVER;
inputId_ = "";
}
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 {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, type_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getInputIdBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, type_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getInputIdBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.graylog2.plugin.journal.JournalMessages.SourceNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.graylog2.plugin.journal.JournalMessages.SourceNode prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.graylog2.plugin.journal.SourceNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org.graylog2.plugin.journal.SourceNode)
org.graylog2.plugin.journal.JournalMessages.SourceNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_SourceNode_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_SourceNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.graylog2.plugin.journal.JournalMessages.SourceNode.class, org.graylog2.plugin.journal.JournalMessages.SourceNode.Builder.class);
}
// Construct using org.graylog2.plugin.journal.JournalMessages.SourceNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.graylog2.plugin.journal.JournalMessages.SourceNode.Type.SERVER;
bitField0_ = (bitField0_ & ~0x00000002);
inputId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.graylog2.plugin.journal.JournalMessages.internal_static_org_graylog2_plugin_journal_SourceNode_descriptor;
}
public org.graylog2.plugin.journal.JournalMessages.SourceNode getDefaultInstanceForType() {
return org.graylog2.plugin.journal.JournalMessages.SourceNode.getDefaultInstance();
}
public org.graylog2.plugin.journal.JournalMessages.SourceNode build() {
org.graylog2.plugin.journal.JournalMessages.SourceNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.graylog2.plugin.journal.JournalMessages.SourceNode buildPartial() {
org.graylog2.plugin.journal.JournalMessages.SourceNode result = new org.graylog2.plugin.journal.JournalMessages.SourceNode(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.type_ = type_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.inputId_ = inputId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.graylog2.plugin.journal.JournalMessages.SourceNode) {
return mergeFrom((org.graylog2.plugin.journal.JournalMessages.SourceNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.graylog2.plugin.journal.JournalMessages.SourceNode other) {
if (other == org.graylog2.plugin.journal.JournalMessages.SourceNode.getDefaultInstance()) return this;
if (other.hasId()) {
bitField0_ |= 0x00000001;
id_ = other.id_;
onChanged();
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasInputId()) {
bitField0_ |= 0x00000004;
inputId_ = other.inputId_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
org.graylog2.plugin.journal.JournalMessages.SourceNode parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.graylog2.plugin.journal.JournalMessages.SourceNode) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* optional string id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
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()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string id = 1;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional string id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* optional string id = 1;
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
private org.graylog2.plugin.journal.JournalMessages.SourceNode.Type type_ = org.graylog2.plugin.journal.JournalMessages.SourceNode.Type.SERVER;
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public org.graylog2.plugin.journal.JournalMessages.SourceNode.Type getType() {
return type_;
}
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public Builder setType(org.graylog2.plugin.journal.JournalMessages.SourceNode.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
type_ = value;
onChanged();
return this;
}
/**
* optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = org.graylog2.plugin.journal.JournalMessages.SourceNode.Type.SERVER;
onChanged();
return this;
}
private java.lang.Object inputId_ = "";
/**
* optional string input_id = 3;
*/
public boolean hasInputId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string input_id = 3;
*/
public java.lang.String getInputId() {
java.lang.Object ref = inputId_;
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()) {
inputId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string input_id = 3;
*/
public com.google.protobuf.ByteString
getInputIdBytes() {
java.lang.Object ref = inputId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inputId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string input_id = 3;
*/
public Builder setInputId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
inputId_ = value;
onChanged();
return this;
}
/**
* optional string input_id = 3;
*/
public Builder clearInputId() {
bitField0_ = (bitField0_ & ~0x00000004);
inputId_ = getDefaultInstance().getInputId();
onChanged();
return this;
}
/**
* optional string input_id = 3;
*/
public Builder setInputIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
inputId_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.graylog2.plugin.journal.SourceNode)
}
static {
defaultInstance = new SourceNode(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.graylog2.plugin.journal.SourceNode)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_graylog2_plugin_journal_JournalMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_graylog2_plugin_journal_JournalMessage_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_graylog2_plugin_journal_RemoteAddress_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_graylog2_plugin_journal_CodecInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_graylog2_plugin_journal_SourceNode_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_graylog2_plugin_journal_SourceNode_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\021raw_message.proto\022\033org.graylog2.plugin" +
".journal\"\241\002\n\016JournalMessage\022\017\n\007version\030\001" +
" \001(\r\022\021\n\tuuid_time\030\002 \001(\006\022\025\n\ruuid_clockseq" +
"\030\003 \001(\006\022\021\n\ttimestamp\030\004 \001(\006\0225\n\005codec\030\005 \001(\013" +
"2&.org.graylog2.plugin.journal.CodecInfo" +
"\022=\n\014source_nodes\030\006 \003(\0132\'.org.graylog2.pl" +
"ugin.journal.SourceNode\022:\n\006remote\030\007 \001(\0132" +
"*.org.graylog2.plugin.journal.RemoteAddr" +
"ess\022\017\n\007payload\030\010 \001(\014\"@\n\rRemoteAddress\022\017\n" +
"\007address\030\001 \001(\014\022\014\n\004port\030\002 \001(\r\022\020\n\010resolved",
"\030\003 \001(\t\")\n\tCodecInfo\022\014\n\004name\030\001 \001(\t\022\016\n\006con" +
"fig\030\002 \001(\t\"\215\001\n\nSourceNode\022\n\n\002id\030\001 \001(\t\022B\n\004" +
"type\030\002 \001(\0162,.org.graylog2.plugin.journal" +
".SourceNode.Type:\006SERVER\022\020\n\010input_id\030\003 \001" +
"(\t\"\035\n\004Type\022\n\n\006SERVER\020\000\022\t\n\005RADIO\020\001B.\n\033org" +
".graylog2.plugin.journalB\017JournalMessage" +
"s"
};
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_org_graylog2_plugin_journal_JournalMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_graylog2_plugin_journal_JournalMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_graylog2_plugin_journal_JournalMessage_descriptor,
new java.lang.String[] { "Version", "UuidTime", "UuidClockseq", "Timestamp", "Codec", "SourceNodes", "Remote", "Payload", });
internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_graylog2_plugin_journal_RemoteAddress_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_graylog2_plugin_journal_RemoteAddress_descriptor,
new java.lang.String[] { "Address", "Port", "Resolved", });
internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_org_graylog2_plugin_journal_CodecInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_graylog2_plugin_journal_CodecInfo_descriptor,
new java.lang.String[] { "Name", "Config", });
internal_static_org_graylog2_plugin_journal_SourceNode_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_org_graylog2_plugin_journal_SourceNode_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_graylog2_plugin_journal_SourceNode_descriptor,
new java.lang.String[] { "Id", "Type", "InputId", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy