2013-10-09 13:11:53 +02:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
|
// source: MessageFormats.proto
|
|
|
|
|
|
|
|
|
|
package akka.persistence.serialization;
|
|
|
|
|
|
|
|
|
|
public final class MessageFormats {
|
|
|
|
|
private MessageFormats() {}
|
|
|
|
|
public static void registerAllExtensions(
|
|
|
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
|
|
|
}
|
2013-10-27 08:01:14 +01:00
|
|
|
public interface PersistentMessageBatchOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
// repeated .PersistentMessage batch = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage>
|
|
|
|
|
getBatchList();
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage getBatch(int index);
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
int getBatchCount();
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.util.List<? extends akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>
|
|
|
|
|
getBatchOrBuilderList();
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getBatchOrBuilder(
|
|
|
|
|
int index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code PersistentMessageBatch}
|
|
|
|
|
*/
|
|
|
|
|
public static final class PersistentMessageBatch extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements PersistentMessageBatchOrBuilder {
|
|
|
|
|
// Use PersistentMessageBatch.newBuilder() to construct.
|
|
|
|
|
private PersistentMessageBatch(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private PersistentMessageBatch(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final PersistentMessageBatch defaultInstance;
|
|
|
|
|
public static PersistentMessageBatch getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PersistentMessageBatch getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private PersistentMessageBatch(
|
|
|
|
|
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: {
|
|
|
|
|
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
batch_ = new java.util.ArrayList<akka.persistence.serialization.MessageFormats.PersistentMessage>();
|
|
|
|
|
mutable_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
batch_.add(input.readMessage(akka.persistence.serialization.MessageFormats.PersistentMessage.PARSER, extensionRegistry));
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
throw e.setUnfinishedMessage(this);
|
|
|
|
|
} catch (java.io.IOException e) {
|
|
|
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
|
|
|
e.getMessage()).setUnfinishedMessage(this);
|
|
|
|
|
} finally {
|
|
|
|
|
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
batch_ = java.util.Collections.unmodifiableList(batch_);
|
|
|
|
|
}
|
|
|
|
|
this.unknownFields = unknownFields.build();
|
|
|
|
|
makeExtensionsImmutable();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessageBatch_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessageBatch_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageBatch.class, akka.persistence.serialization.MessageFormats.PersistentMessageBatch.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<PersistentMessageBatch> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<PersistentMessageBatch>() {
|
|
|
|
|
public PersistentMessageBatch parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new PersistentMessageBatch(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<PersistentMessageBatch> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// repeated .PersistentMessage batch = 1;
|
|
|
|
|
public static final int BATCH_FIELD_NUMBER = 1;
|
|
|
|
|
private java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage> batch_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage> getBatchList() {
|
|
|
|
|
return batch_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.util.List<? extends akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>
|
|
|
|
|
getBatchOrBuilderList() {
|
|
|
|
|
return batch_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getBatchCount() {
|
|
|
|
|
return batch_.size();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage getBatch(int index) {
|
|
|
|
|
return batch_.get(index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getBatchOrBuilder(
|
|
|
|
|
int index) {
|
|
|
|
|
return batch_.get(index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
batch_ = java.util.Collections.emptyList();
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < getBatchCount(); i++) {
|
|
|
|
|
if (!getBatch(i).isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
for (int i = 0; i < batch_.size(); i++) {
|
|
|
|
|
output.writeMessage(1, batch_.get(i));
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
|
|
|
|
size = 0;
|
|
|
|
|
for (int i = 0; i < batch_.size(); i++) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(1, batch_.get(i));
|
|
|
|
|
}
|
|
|
|
|
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 akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessageBatch 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(akka.persistence.serialization.MessageFormats.PersistentMessageBatch 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 PersistentMessageBatch}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.persistence.serialization.MessageFormats.PersistentMessageBatchOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessageBatch_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessageBatch_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageBatch.class, akka.persistence.serialization.MessageFormats.PersistentMessageBatch.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using akka.persistence.serialization.MessageFormats.PersistentMessageBatch.newBuilder()
|
|
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Builder(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
getBatchFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
batch_ = java.util.Collections.emptyList();
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessageBatch_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageBatch getDefaultInstanceForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.PersistentMessageBatch.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageBatch build() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageBatch result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageBatch buildPartial() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageBatch result = new akka.persistence.serialization.MessageFormats.PersistentMessageBatch(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
batch_ = java.util.Collections.unmodifiableList(batch_);
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
}
|
|
|
|
|
result.batch_ = batch_;
|
|
|
|
|
} else {
|
|
|
|
|
result.batch_ = batchBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.persistence.serialization.MessageFormats.PersistentMessageBatch) {
|
|
|
|
|
return mergeFrom((akka.persistence.serialization.MessageFormats.PersistentMessageBatch)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.PersistentMessageBatch other) {
|
|
|
|
|
if (other == akka.persistence.serialization.MessageFormats.PersistentMessageBatch.getDefaultInstance()) return this;
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
if (!other.batch_.isEmpty()) {
|
|
|
|
|
if (batch_.isEmpty()) {
|
|
|
|
|
batch_ = other.batch_;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
} else {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.addAll(other.batch_);
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (!other.batch_.isEmpty()) {
|
|
|
|
|
if (batchBuilder_.isEmpty()) {
|
|
|
|
|
batchBuilder_.dispose();
|
|
|
|
|
batchBuilder_ = null;
|
|
|
|
|
batch_ = other.batch_;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
batchBuilder_ =
|
|
|
|
|
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
|
|
getBatchFieldBuilder() : null;
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addAllMessages(other.batch_);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
for (int i = 0; i < getBatchCount(); i++) {
|
|
|
|
|
if (!getBatch(i).isInitialized()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageBatch parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (akka.persistence.serialization.MessageFormats.PersistentMessageBatch) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// repeated .PersistentMessage batch = 1;
|
|
|
|
|
private java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage> batch_ =
|
|
|
|
|
java.util.Collections.emptyList();
|
|
|
|
|
private void ensureBatchIsMutable() {
|
|
|
|
|
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
batch_ = new java.util.ArrayList<akka.persistence.serialization.MessageFormats.PersistentMessage>(batch_);
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder> batchBuilder_;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage> getBatchList() {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
return java.util.Collections.unmodifiableList(batch_);
|
|
|
|
|
} else {
|
|
|
|
|
return batchBuilder_.getMessageList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getBatchCount() {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
return batch_.size();
|
|
|
|
|
} else {
|
|
|
|
|
return batchBuilder_.getCount();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage getBatch(int index) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
return batch_.get(index);
|
|
|
|
|
} else {
|
|
|
|
|
return batchBuilder_.getMessage(index);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setBatch(
|
|
|
|
|
int index, akka.persistence.serialization.MessageFormats.PersistentMessage value) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.set(index, value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.setMessage(index, value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setBatch(
|
|
|
|
|
int index, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder builderForValue) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.set(index, builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.setMessage(index, builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder addBatch(akka.persistence.serialization.MessageFormats.PersistentMessage value) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.add(value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addMessage(value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder addBatch(
|
|
|
|
|
int index, akka.persistence.serialization.MessageFormats.PersistentMessage value) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.add(index, value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addMessage(index, value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder addBatch(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.Builder builderForValue) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.add(builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder addBatch(
|
|
|
|
|
int index, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder builderForValue) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.add(index, builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addMessage(index, builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder addAllBatch(
|
|
|
|
|
java.lang.Iterable<? extends akka.persistence.serialization.MessageFormats.PersistentMessage> values) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
super.addAll(values, batch_);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.addAllMessages(values);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearBatch() {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
batch_ = java.util.Collections.emptyList();
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder removeBatch(int index) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
ensureBatchIsMutable();
|
|
|
|
|
batch_.remove(index);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
batchBuilder_.remove(index);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage.Builder getBatchBuilder(
|
|
|
|
|
int index) {
|
|
|
|
|
return getBatchFieldBuilder().getBuilder(index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getBatchOrBuilder(
|
|
|
|
|
int index) {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
return batch_.get(index); } else {
|
|
|
|
|
return batchBuilder_.getMessageOrBuilder(index);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.util.List<? extends akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>
|
|
|
|
|
getBatchOrBuilderList() {
|
|
|
|
|
if (batchBuilder_ != null) {
|
|
|
|
|
return batchBuilder_.getMessageOrBuilderList();
|
|
|
|
|
} else {
|
|
|
|
|
return java.util.Collections.unmodifiableList(batch_);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage.Builder addBatchBuilder() {
|
|
|
|
|
return getBatchFieldBuilder().addBuilder(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance());
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage.Builder addBatchBuilder(
|
|
|
|
|
int index) {
|
|
|
|
|
return getBatchFieldBuilder().addBuilder(
|
|
|
|
|
index, akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance());
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated .PersistentMessage batch = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.util.List<akka.persistence.serialization.MessageFormats.PersistentMessage.Builder>
|
|
|
|
|
getBatchBuilderList() {
|
|
|
|
|
return getBatchFieldBuilder().getBuilderList();
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>
|
|
|
|
|
getBatchFieldBuilder() {
|
|
|
|
|
if (batchBuilder_ == null) {
|
|
|
|
|
batchBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>(
|
|
|
|
|
batch_,
|
|
|
|
|
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
batch_ = null;
|
|
|
|
|
}
|
|
|
|
|
return batchBuilder_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:PersistentMessageBatch)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new PersistentMessageBatch(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:PersistentMessageBatch)
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-09 13:11:53 +02:00
|
|
|
public interface PersistentMessageOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
// optional .PersistentPayload payload = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasPayload();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload getPayload();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder getPayloadOrBuilder();
|
|
|
|
|
|
|
|
|
|
// optional int64 sequenceNr = 2;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasSequenceNr();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
long getSequenceNr();
|
|
|
|
|
|
|
|
|
|
// optional string processorId = 3;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasProcessorId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getProcessorId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool deleted = 4;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean hasDeleted();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean getDeleted();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool resolved = 5;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean hasResolved();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean getResolved();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int32 redeliveries = 6;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasRedeliveries();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
int getRedeliveries();
|
|
|
|
|
|
|
|
|
|
// repeated string confirms = 7;
|
|
|
|
|
/**
|
|
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
java.util.List<java.lang.String>
|
|
|
|
|
getConfirmsList();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
int getConfirmsCount();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
java.lang.String getConfirms(int index);
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getConfirmsBytes(int index);
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool confirmable = 8;
|
2013-11-07 10:45:02 +01:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
boolean hasConfirmable();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
boolean getConfirmable();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional .ConfirmMessage confirmMessage = 9;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean hasConfirmMessage();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage getConfirmMessage();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder getConfirmMessageOrBuilder();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string confirmTarget = 10;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean hasConfirmTarget();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
java.lang.String getConfirmTarget();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getConfirmTargetBytes();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string sender = 11;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
boolean hasSender();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
java.lang.String getSender();
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getSenderBytes();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code PersistentMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class PersistentMessage extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements PersistentMessageOrBuilder {
|
|
|
|
|
// Use PersistentMessage.newBuilder() to construct.
|
|
|
|
|
private PersistentMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private PersistentMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final PersistentMessage defaultInstance;
|
|
|
|
|
public static PersistentMessage getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PersistentMessage getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private PersistentMessage(
|
|
|
|
|
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: {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload.Builder subBuilder = null;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
subBuilder = payload_.toBuilder();
|
|
|
|
|
}
|
|
|
|
|
payload_ = input.readMessage(akka.persistence.serialization.MessageFormats.PersistentPayload.PARSER, extensionRegistry);
|
|
|
|
|
if (subBuilder != null) {
|
|
|
|
|
subBuilder.mergeFrom(payload_);
|
|
|
|
|
payload_ = subBuilder.buildPartial();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
sequenceNr_ = input.readInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
processorId_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 32: {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ |= 0x00000008;
|
2013-10-09 13:11:53 +02:00
|
|
|
deleted_ = input.readBool();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 40: {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ |= 0x00000010;
|
2013-10-09 13:11:53 +02:00
|
|
|
resolved_ = input.readBool();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 48: {
|
|
|
|
|
bitField0_ |= 0x00000020;
|
|
|
|
|
redeliveries_ = input.readInt32();
|
2013-10-09 13:11:53 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 58: {
|
|
|
|
|
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
confirms_ = new com.google.protobuf.LazyStringArrayList();
|
2013-12-06 12:48:44 +01:00
|
|
|
mutable_bitField0_ |= 0x00000040;
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
confirms_.add(input.readBytes());
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 64: {
|
|
|
|
|
bitField0_ |= 0x00000040;
|
|
|
|
|
confirmable_ = input.readBool();
|
2013-10-09 13:11:53 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 74: {
|
2013-10-09 13:11:53 +02:00
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder subBuilder = null;
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
subBuilder = confirmMessage_.toBuilder();
|
|
|
|
|
}
|
|
|
|
|
confirmMessage_ = input.readMessage(akka.persistence.serialization.MessageFormats.ConfirmMessage.PARSER, extensionRegistry);
|
|
|
|
|
if (subBuilder != null) {
|
|
|
|
|
subBuilder.mergeFrom(confirmMessage_);
|
|
|
|
|
confirmMessage_ = subBuilder.buildPartial();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000080;
|
2013-10-09 13:11:53 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 82: {
|
|
|
|
|
bitField0_ |= 0x00000100;
|
|
|
|
|
confirmTarget_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 90: {
|
|
|
|
|
bitField0_ |= 0x00000200;
|
|
|
|
|
sender_ = input.readBytes();
|
2013-11-07 10:45:02 +01:00
|
|
|
break;
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} 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 {
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
confirms_ = new com.google.protobuf.UnmodifiableLazyStringList(confirms_);
|
|
|
|
|
}
|
|
|
|
|
this.unknownFields = unknownFields.build();
|
|
|
|
|
makeExtensionsImmutable();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.class, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<PersistentMessage> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<PersistentMessage>() {
|
|
|
|
|
public PersistentMessage parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new PersistentMessage(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<PersistentMessage> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
// optional .PersistentPayload payload = 1;
|
|
|
|
|
public static final int PAYLOAD_FIELD_NUMBER = 1;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.PersistentPayload payload_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayload() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload getPayload() {
|
|
|
|
|
return payload_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder getPayloadOrBuilder() {
|
|
|
|
|
return payload_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int64 sequenceNr = 2;
|
|
|
|
|
public static final int SEQUENCENR_FIELD_NUMBER = 2;
|
|
|
|
|
private long sequenceNr_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasSequenceNr() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public long getSequenceNr() {
|
|
|
|
|
return sequenceNr_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string processorId = 3;
|
|
|
|
|
public static final int PROCESSORID_FIELD_NUMBER = 3;
|
|
|
|
|
private java.lang.Object processorId_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasProcessorId() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getProcessorId() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
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()) {
|
|
|
|
|
processorId_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
processorId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool deleted = 4;
|
|
|
|
|
public static final int DELETED_FIELD_NUMBER = 4;
|
2013-10-09 13:11:53 +02:00
|
|
|
private boolean deleted_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasDeleted() {
|
2013-11-07 10:45:02 +01:00
|
|
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean getDeleted() {
|
|
|
|
|
return deleted_;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool resolved = 5;
|
|
|
|
|
public static final int RESOLVED_FIELD_NUMBER = 5;
|
2013-10-09 13:11:53 +02:00
|
|
|
private boolean resolved_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasResolved() {
|
2013-11-07 10:45:02 +01:00
|
|
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean getResolved() {
|
|
|
|
|
return resolved_;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int32 redeliveries = 6;
|
|
|
|
|
public static final int REDELIVERIES_FIELD_NUMBER = 6;
|
|
|
|
|
private int redeliveries_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasRedeliveries() {
|
|
|
|
|
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getRedeliveries() {
|
|
|
|
|
return redeliveries_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// repeated string confirms = 7;
|
|
|
|
|
public static final int CONFIRMS_FIELD_NUMBER = 7;
|
2013-10-09 13:11:53 +02:00
|
|
|
private com.google.protobuf.LazyStringList confirms_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.util.List<java.lang.String>
|
|
|
|
|
getConfirmsList() {
|
|
|
|
|
return confirms_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public int getConfirmsCount() {
|
|
|
|
|
return confirms_.size();
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getConfirms(int index) {
|
|
|
|
|
return confirms_.get(index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getConfirmsBytes(int index) {
|
|
|
|
|
return confirms_.getByteString(index);
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool confirmable = 8;
|
|
|
|
|
public static final int CONFIRMABLE_FIELD_NUMBER = 8;
|
2013-11-07 10:45:02 +01:00
|
|
|
private boolean confirmable_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmable() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000040) == 0x00000040);
|
2013-11-07 10:45:02 +01:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public boolean getConfirmable() {
|
|
|
|
|
return confirmable_;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional .ConfirmMessage confirmMessage = 9;
|
|
|
|
|
public static final int CONFIRMMESSAGE_FIELD_NUMBER = 9;
|
2013-10-09 13:11:53 +02:00
|
|
|
private akka.persistence.serialization.MessageFormats.ConfirmMessage confirmMessage_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmMessage() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000080) == 0x00000080);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage getConfirmMessage() {
|
|
|
|
|
return confirmMessage_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder getConfirmMessageOrBuilder() {
|
|
|
|
|
return confirmMessage_;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string confirmTarget = 10;
|
|
|
|
|
public static final int CONFIRMTARGET_FIELD_NUMBER = 10;
|
2013-10-09 13:11:53 +02:00
|
|
|
private java.lang.Object confirmTarget_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmTarget() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000100) == 0x00000100);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getConfirmTarget() {
|
|
|
|
|
java.lang.Object ref = confirmTarget_;
|
|
|
|
|
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()) {
|
|
|
|
|
confirmTarget_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getConfirmTargetBytes() {
|
|
|
|
|
java.lang.Object ref = confirmTarget_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
confirmTarget_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string sender = 11;
|
|
|
|
|
public static final int SENDER_FIELD_NUMBER = 11;
|
2013-10-09 13:11:53 +02:00
|
|
|
private java.lang.Object sender_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasSender() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000200) == 0x00000200);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getSender() {
|
|
|
|
|
java.lang.Object ref = sender_;
|
|
|
|
|
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()) {
|
|
|
|
|
sender_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getSenderBytes() {
|
|
|
|
|
java.lang.Object ref = sender_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
sender_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
payload_ = akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance();
|
|
|
|
|
sequenceNr_ = 0L;
|
|
|
|
|
processorId_ = "";
|
|
|
|
|
deleted_ = false;
|
|
|
|
|
resolved_ = false;
|
2013-12-06 12:48:44 +01:00
|
|
|
redeliveries_ = 0;
|
2013-10-09 13:11:53 +02:00
|
|
|
confirms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
2013-11-07 10:45:02 +01:00
|
|
|
confirmable_ = false;
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmMessage_ = akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance();
|
|
|
|
|
confirmTarget_ = "";
|
|
|
|
|
sender_ = "";
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
if (hasPayload()) {
|
|
|
|
|
if (!getPayload().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 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.writeMessage(1, payload_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeInt64(2, sequenceNr_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeBytes(3, getProcessorIdBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
2013-12-06 12:48:44 +01:00
|
|
|
output.writeBool(4, deleted_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-11-07 10:45:02 +01:00
|
|
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
2013-12-06 12:48:44 +01:00
|
|
|
output.writeBool(5, resolved_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
|
|
output.writeInt32(6, redeliveries_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
for (int i = 0; i < confirms_.size(); i++) {
|
2013-12-06 12:48:44 +01:00
|
|
|
output.writeBytes(7, confirms_.getByteString(i));
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
|
|
output.writeBool(8, confirmable_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
2013-12-06 12:48:44 +01:00
|
|
|
output.writeMessage(9, confirmMessage_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
|
|
|
|
output.writeBytes(10, getConfirmTargetBytes());
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
|
|
|
|
output.writeBytes(11, getSenderBytes());
|
2013-11-07 10:45:02 +01:00
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
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
|
|
|
|
|
.computeMessageSize(1, payload_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeInt64Size(2, sequenceNr_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(3, getProcessorIdBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeBoolSize(4, deleted_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-11-07 10:45:02 +01:00
|
|
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeBoolSize(5, resolved_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeInt32Size(6, redeliveries_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
int dataSize = 0;
|
|
|
|
|
for (int i = 0; i < confirms_.size(); i++) {
|
|
|
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSizeNoTag(confirms_.getByteString(i));
|
|
|
|
|
}
|
|
|
|
|
size += dataSize;
|
|
|
|
|
size += 1 * getConfirmsList().size();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBoolSize(8, confirmable_);
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeMessageSize(9, confirmMessage_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeBytesSize(10, getConfirmTargetBytes());
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
2013-11-07 10:45:02 +01:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeBytesSize(11, getSenderBytes());
|
2013-11-07 10:45:02 +01:00
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
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 akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentMessage 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(akka.persistence.serialization.MessageFormats.PersistentMessage 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 PersistentMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.class, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using akka.persistence.serialization.MessageFormats.PersistentMessage.newBuilder()
|
|
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Builder(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
getPayloadFieldBuilder();
|
|
|
|
|
getConfirmMessageFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
payload_ = akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance();
|
|
|
|
|
} else {
|
|
|
|
|
payloadBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
sequenceNr_ = 0L;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
processorId_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
deleted_ = false;
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2013-10-09 13:11:53 +02:00
|
|
|
resolved_ = false;
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000010);
|
2013-12-06 12:48:44 +01:00
|
|
|
redeliveries_ = 0;
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
2013-12-06 12:48:44 +01:00
|
|
|
confirms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
2013-10-09 13:11:53 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2013-12-06 12:48:44 +01:00
|
|
|
confirmable_ = false;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000080);
|
2013-10-09 13:11:53 +02:00
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
confirmMessage_ = akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessageBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
2013-12-06 12:48:44 +01:00
|
|
|
confirmTarget_ = "";
|
2013-10-09 13:11:53 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
2013-12-06 12:48:44 +01:00
|
|
|
sender_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage getDefaultInstanceForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage build() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage buildPartial() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage result = new akka.persistence.serialization.MessageFormats.PersistentMessage(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
result.payload_ = payload_;
|
|
|
|
|
} else {
|
|
|
|
|
result.payload_ = payloadBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
result.sequenceNr_ = sequenceNr_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
result.processorId_ = processorId_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
|
|
to_bitField0_ |= 0x00000008;
|
|
|
|
|
}
|
2013-11-07 10:45:02 +01:00
|
|
|
result.deleted_ = deleted_;
|
2013-10-09 13:11:53 +02:00
|
|
|
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
|
|
to_bitField0_ |= 0x00000010;
|
|
|
|
|
}
|
|
|
|
|
result.resolved_ = resolved_;
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
|
|
to_bitField0_ |= 0x00000020;
|
|
|
|
|
}
|
|
|
|
|
result.redeliveries_ = redeliveries_;
|
|
|
|
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
confirms_ = new com.google.protobuf.UnmodifiableLazyStringList(
|
|
|
|
|
confirms_);
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
result.confirms_ = confirms_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
|
|
to_bitField0_ |= 0x00000040;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
result.confirmable_ = confirmable_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
|
|
|
|
|
to_bitField0_ |= 0x00000080;
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
result.confirmMessage_ = confirmMessage_;
|
|
|
|
|
} else {
|
|
|
|
|
result.confirmMessage_ = confirmMessageBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
|
|
|
|
|
to_bitField0_ |= 0x00000100;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
result.confirmTarget_ = confirmTarget_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
|
|
|
|
|
to_bitField0_ |= 0x00000200;
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
result.sender_ = sender_;
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.persistence.serialization.MessageFormats.PersistentMessage) {
|
|
|
|
|
return mergeFrom((akka.persistence.serialization.MessageFormats.PersistentMessage)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.PersistentMessage other) {
|
|
|
|
|
if (other == akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasPayload()) {
|
|
|
|
|
mergePayload(other.getPayload());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasSequenceNr()) {
|
|
|
|
|
setSequenceNr(other.getSequenceNr());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasProcessorId()) {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
processorId_ = other.processorId_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
if (other.hasDeleted()) {
|
|
|
|
|
setDeleted(other.getDeleted());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasResolved()) {
|
|
|
|
|
setResolved(other.getResolved());
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (other.hasRedeliveries()) {
|
|
|
|
|
setRedeliveries(other.getRedeliveries());
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
if (!other.confirms_.isEmpty()) {
|
|
|
|
|
if (confirms_.isEmpty()) {
|
|
|
|
|
confirms_ = other.confirms_;
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2013-10-09 13:11:53 +02:00
|
|
|
} else {
|
|
|
|
|
ensureConfirmsIsMutable();
|
|
|
|
|
confirms_.addAll(other.confirms_);
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2013-11-07 10:45:02 +01:00
|
|
|
if (other.hasConfirmable()) {
|
|
|
|
|
setConfirmable(other.getConfirmable());
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
if (other.hasConfirmMessage()) {
|
|
|
|
|
mergeConfirmMessage(other.getConfirmMessage());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasConfirmTarget()) {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000200;
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmTarget_ = other.confirmTarget_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
if (other.hasSender()) {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000400;
|
2013-10-09 13:11:53 +02:00
|
|
|
sender_ = other.sender_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (hasPayload()) {
|
|
|
|
|
if (!getPayload().isInitialized()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (akka.persistence.serialization.MessageFormats.PersistentMessage) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// optional .PersistentPayload payload = 1;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.PersistentPayload payload_ = akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance();
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload, akka.persistence.serialization.MessageFormats.PersistentPayload.Builder, akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder> payloadBuilder_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayload() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload getPayload() {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
return payload_;
|
|
|
|
|
} else {
|
|
|
|
|
return payloadBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPayload(akka.persistence.serialization.MessageFormats.PersistentPayload value) {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
payload_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
payloadBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPayload(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload.Builder builderForValue) {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
payload_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
payloadBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder mergePayload(akka.persistence.serialization.MessageFormats.PersistentPayload value) {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
|
|
|
|
payload_ != akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance()) {
|
|
|
|
|
payload_ =
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload.newBuilder(payload_).mergeFrom(value).buildPartial();
|
|
|
|
|
} else {
|
|
|
|
|
payload_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
payloadBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearPayload() {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
payload_ = akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
payloadBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload.Builder getPayloadBuilder() {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
onChanged();
|
|
|
|
|
return getPayloadFieldBuilder().getBuilder();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder getPayloadOrBuilder() {
|
|
|
|
|
if (payloadBuilder_ != null) {
|
|
|
|
|
return payloadBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return payload_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentPayload payload = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload, akka.persistence.serialization.MessageFormats.PersistentPayload.Builder, akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder>
|
|
|
|
|
getPayloadFieldBuilder() {
|
|
|
|
|
if (payloadBuilder_ == null) {
|
|
|
|
|
payloadBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload, akka.persistence.serialization.MessageFormats.PersistentPayload.Builder, akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder>(
|
|
|
|
|
payload_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
payload_ = null;
|
|
|
|
|
}
|
|
|
|
|
return payloadBuilder_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional int64 sequenceNr = 2;
|
|
|
|
|
private long sequenceNr_ ;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasSequenceNr() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public long getSequenceNr() {
|
|
|
|
|
return sequenceNr_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setSequenceNr(long value) {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
sequenceNr_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 sequenceNr = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearSequenceNr() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
sequenceNr_ = 0L;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string processorId = 3;
|
|
|
|
|
private java.lang.Object processorId_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasProcessorId() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getProcessorId() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
processorId_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
processorId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setProcessorId(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
processorId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearProcessorId() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
processorId_ = getDefaultInstance().getProcessorId();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setProcessorIdBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
processorId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool deleted = 4;
|
2013-10-09 13:11:53 +02:00
|
|
|
private boolean deleted_ ;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasDeleted() {
|
2013-11-07 10:45:02 +01:00
|
|
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean getDeleted() {
|
|
|
|
|
return deleted_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setDeleted(boolean value) {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ |= 0x00000008;
|
2013-10-09 13:11:53 +02:00
|
|
|
deleted_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool deleted = 4;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearDeleted() {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2013-10-09 13:11:53 +02:00
|
|
|
deleted_ = false;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool resolved = 5;
|
2013-10-09 13:11:53 +02:00
|
|
|
private boolean resolved_ ;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasResolved() {
|
2013-11-07 10:45:02 +01:00
|
|
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean getResolved() {
|
|
|
|
|
return resolved_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setResolved(boolean value) {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ |= 0x00000010;
|
2013-10-09 13:11:53 +02:00
|
|
|
resolved_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool resolved = 5;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearResolved() {
|
2013-11-07 10:45:02 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000010);
|
2013-10-09 13:11:53 +02:00
|
|
|
resolved_ = false;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int32 redeliveries = 6;
|
|
|
|
|
private int redeliveries_ ;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasRedeliveries() {
|
|
|
|
|
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getRedeliveries() {
|
|
|
|
|
return redeliveries_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setRedeliveries(int value) {
|
|
|
|
|
bitField0_ |= 0x00000020;
|
|
|
|
|
redeliveries_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int32 redeliveries = 6;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearRedeliveries() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
|
|
redeliveries_ = 0;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// repeated string confirms = 7;
|
2013-10-09 13:11:53 +02:00
|
|
|
private com.google.protobuf.LazyStringList confirms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
|
|
private void ensureConfirmsIsMutable() {
|
2013-12-06 12:48:44 +01:00
|
|
|
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
|
2013-10-09 13:11:53 +02:00
|
|
|
confirms_ = new com.google.protobuf.LazyStringArrayList(confirms_);
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000040;
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.util.List<java.lang.String>
|
|
|
|
|
getConfirmsList() {
|
|
|
|
|
return java.util.Collections.unmodifiableList(confirms_);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public int getConfirmsCount() {
|
|
|
|
|
return confirms_.size();
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getConfirms(int index) {
|
|
|
|
|
return confirms_.get(index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getConfirmsBytes(int index) {
|
|
|
|
|
return confirms_.getByteString(index);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirms(
|
|
|
|
|
int index, java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureConfirmsIsMutable();
|
|
|
|
|
confirms_.set(index, value);
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder addConfirms(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureConfirmsIsMutable();
|
|
|
|
|
confirms_.add(value);
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder addAllConfirms(
|
|
|
|
|
java.lang.Iterable<java.lang.String> values) {
|
|
|
|
|
ensureConfirmsIsMutable();
|
|
|
|
|
super.addAll(values, confirms_);
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearConfirms() {
|
|
|
|
|
confirms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2013-10-09 13:11:53 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>repeated string confirms = 7;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder addConfirmsBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureConfirmsIsMutable();
|
|
|
|
|
confirms_.add(value);
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional bool confirmable = 8;
|
2013-11-07 10:45:02 +01:00
|
|
|
private boolean confirmable_ ;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmable() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000080) == 0x00000080);
|
2013-11-07 10:45:02 +01:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public boolean getConfirmable() {
|
|
|
|
|
return confirmable_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirmable(boolean value) {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000080;
|
2013-11-07 10:45:02 +01:00
|
|
|
confirmable_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional bool confirmable = 8;</code>
|
2013-11-07 10:45:02 +01:00
|
|
|
*/
|
|
|
|
|
public Builder clearConfirmable() {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000080);
|
2013-11-07 10:45:02 +01:00
|
|
|
confirmable_ = false;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional .ConfirmMessage confirmMessage = 9;
|
2013-10-09 13:11:53 +02:00
|
|
|
private akka.persistence.serialization.MessageFormats.ConfirmMessage confirmMessage_ = akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance();
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage, akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder, akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder> confirmMessageBuilder_;
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmMessage() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000100) == 0x00000100);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage getConfirmMessage() {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
return confirmMessage_;
|
|
|
|
|
} else {
|
|
|
|
|
return confirmMessageBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirmMessage(akka.persistence.serialization.MessageFormats.ConfirmMessage value) {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
confirmMessage_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessageBuilder_.setMessage(value);
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000100;
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirmMessage(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder builderForValue) {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
confirmMessage_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessageBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000100;
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder mergeConfirmMessage(akka.persistence.serialization.MessageFormats.ConfirmMessage value) {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000100) == 0x00000100) &&
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmMessage_ != akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance()) {
|
|
|
|
|
confirmMessage_ =
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage.newBuilder(confirmMessage_).mergeFrom(value).buildPartial();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessage_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessageBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000100;
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearConfirmMessage() {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
confirmMessage_ = akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
confirmMessageBuilder_.clear();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder getConfirmMessageBuilder() {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000100;
|
2013-10-09 13:11:53 +02:00
|
|
|
onChanged();
|
|
|
|
|
return getConfirmMessageFieldBuilder().getBuilder();
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder getConfirmMessageOrBuilder() {
|
|
|
|
|
if (confirmMessageBuilder_ != null) {
|
|
|
|
|
return confirmMessageBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return confirmMessage_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional .ConfirmMessage confirmMessage = 9;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage, akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder, akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder>
|
|
|
|
|
getConfirmMessageFieldBuilder() {
|
|
|
|
|
if (confirmMessageBuilder_ == null) {
|
|
|
|
|
confirmMessageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage, akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder, akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder>(
|
|
|
|
|
confirmMessage_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
confirmMessage_ = null;
|
|
|
|
|
}
|
|
|
|
|
return confirmMessageBuilder_;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string confirmTarget = 10;
|
2013-10-09 13:11:53 +02:00
|
|
|
private java.lang.Object confirmTarget_ = "";
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasConfirmTarget() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000200) == 0x00000200);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getConfirmTarget() {
|
|
|
|
|
java.lang.Object ref = confirmTarget_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
confirmTarget_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getConfirmTargetBytes() {
|
|
|
|
|
java.lang.Object ref = confirmTarget_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
confirmTarget_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirmTarget(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000200;
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmTarget_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearConfirmTarget() {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmTarget_ = getDefaultInstance().getConfirmTarget();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string confirmTarget = 10;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setConfirmTargetBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000200;
|
2013-10-09 13:11:53 +02:00
|
|
|
confirmTarget_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional string sender = 11;
|
2013-10-09 13:11:53 +02:00
|
|
|
private java.lang.Object sender_ = "";
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public boolean hasSender() {
|
2013-12-06 12:48:44 +01:00
|
|
|
return ((bitField0_ & 0x00000400) == 0x00000400);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public java.lang.String getSender() {
|
|
|
|
|
java.lang.Object ref = sender_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
sender_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getSenderBytes() {
|
|
|
|
|
java.lang.Object ref = sender_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
sender_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setSender(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000400;
|
2013-10-09 13:11:53 +02:00
|
|
|
sender_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder clearSender() {
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
2013-10-09 13:11:53 +02:00
|
|
|
sender_ = getDefaultInstance().getSender();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional string sender = 11;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
|
|
|
|
public Builder setSenderBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
bitField0_ |= 0x00000400;
|
2013-10-09 13:11:53 +02:00
|
|
|
sender_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:PersistentMessage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new PersistentMessage(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:PersistentMessage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface PersistentPayloadOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
// required int32 serializerId = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasSerializerId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
int getSerializerId();
|
|
|
|
|
|
|
|
|
|
// required bytes payload = 2;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasPayload();
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString getPayload();
|
|
|
|
|
|
|
|
|
|
// optional bytes payloadManifest = 3;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasPayloadManifest();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString getPayloadManifest();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code PersistentPayload}
|
|
|
|
|
*/
|
|
|
|
|
public static final class PersistentPayload extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements PersistentPayloadOrBuilder {
|
|
|
|
|
// Use PersistentPayload.newBuilder() to construct.
|
|
|
|
|
private PersistentPayload(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private PersistentPayload(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final PersistentPayload defaultInstance;
|
|
|
|
|
public static PersistentPayload getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PersistentPayload getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private PersistentPayload(
|
|
|
|
|
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;
|
|
|
|
|
serializerId_ = input.readInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
payload_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
payloadManifest_ = 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 {
|
|
|
|
|
this.unknownFields = unknownFields.build();
|
|
|
|
|
makeExtensionsImmutable();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentPayload_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentPayload_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload.class, akka.persistence.serialization.MessageFormats.PersistentPayload.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<PersistentPayload> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<PersistentPayload>() {
|
|
|
|
|
public PersistentPayload parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new PersistentPayload(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<PersistentPayload> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
// required int32 serializerId = 1;
|
|
|
|
|
public static final int SERIALIZERID_FIELD_NUMBER = 1;
|
|
|
|
|
private int serializerId_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasSerializerId() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getSerializerId() {
|
|
|
|
|
return serializerId_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required bytes payload = 2;
|
|
|
|
|
public static final int PAYLOAD_FIELD_NUMBER = 2;
|
|
|
|
|
private com.google.protobuf.ByteString payload_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayload() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString getPayload() {
|
|
|
|
|
return payload_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional bytes payloadManifest = 3;
|
|
|
|
|
public static final int PAYLOADMANIFEST_FIELD_NUMBER = 3;
|
|
|
|
|
private com.google.protobuf.ByteString payloadManifest_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayloadManifest() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString getPayloadManifest() {
|
|
|
|
|
return payloadManifest_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
serializerId_ = 0;
|
|
|
|
|
payload_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
payloadManifest_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
if (!hasSerializerId()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasPayload()) {
|
|
|
|
|
memoizedIsInitialized = 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.writeInt32(1, serializerId_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeBytes(2, payload_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeBytes(3, payloadManifest_);
|
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
.computeInt32Size(1, serializerId_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(2, payload_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(3, payloadManifest_);
|
|
|
|
|
}
|
|
|
|
|
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 akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.PersistentPayload 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(akka.persistence.serialization.MessageFormats.PersistentPayload 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 PersistentPayload}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.persistence.serialization.MessageFormats.PersistentPayloadOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentPayload_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentPayload_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload.class, akka.persistence.serialization.MessageFormats.PersistentPayload.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using akka.persistence.serialization.MessageFormats.PersistentPayload.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();
|
|
|
|
|
serializerId_ = 0;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
payload_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
payloadManifest_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_PersistentPayload_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload getDefaultInstanceForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload build() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentPayload buildPartial() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload result = new akka.persistence.serialization.MessageFormats.PersistentPayload(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
result.serializerId_ = serializerId_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
result.payload_ = payload_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
result.payloadManifest_ = payloadManifest_;
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.persistence.serialization.MessageFormats.PersistentPayload) {
|
|
|
|
|
return mergeFrom((akka.persistence.serialization.MessageFormats.PersistentPayload)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.PersistentPayload other) {
|
|
|
|
|
if (other == akka.persistence.serialization.MessageFormats.PersistentPayload.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasSerializerId()) {
|
|
|
|
|
setSerializerId(other.getSerializerId());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasPayload()) {
|
|
|
|
|
setPayload(other.getPayload());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasPayloadManifest()) {
|
|
|
|
|
setPayloadManifest(other.getPayloadManifest());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (!hasSerializerId()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasPayload()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentPayload parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (akka.persistence.serialization.MessageFormats.PersistentPayload) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// required int32 serializerId = 1;
|
|
|
|
|
private int serializerId_ ;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasSerializerId() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public int getSerializerId() {
|
|
|
|
|
return serializerId_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setSerializerId(int value) {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
serializerId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required int32 serializerId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearSerializerId() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
serializerId_ = 0;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required bytes payload = 2;
|
|
|
|
|
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayload() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString getPayload() {
|
|
|
|
|
return payload_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPayload(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
payload_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required bytes payload = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearPayload() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
payload_ = getDefaultInstance().getPayload();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional bytes payloadManifest = 3;
|
|
|
|
|
private com.google.protobuf.ByteString payloadManifest_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPayloadManifest() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString getPayloadManifest() {
|
|
|
|
|
return payloadManifest_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPayloadManifest(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
payloadManifest_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional bytes payloadManifest = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearPayloadManifest() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
payloadManifest_ = getDefaultInstance().getPayloadManifest();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:PersistentPayload)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new PersistentPayload(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:PersistentPayload)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface ConfirmMessageOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
// optional string processorId = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasProcessorId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getProcessorId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes();
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int64 messageSequenceNr = 2;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
boolean hasMessageSequenceNr();
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
long getMessageSequenceNr();
|
2013-10-09 13:11:53 +02:00
|
|
|
|
|
|
|
|
// optional string channelId = 3;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasChannelId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getChannelId();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getChannelIdBytes();
|
2013-12-06 12:48:44 +01:00
|
|
|
|
|
|
|
|
// optional int64 wrapperSequenceNr = 4;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasWrapperSequenceNr();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
long getWrapperSequenceNr();
|
|
|
|
|
|
|
|
|
|
// optional string channelEndpoint = 5;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasChannelEndpoint();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getChannelEndpoint();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getChannelEndpointBytes();
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code ConfirmMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class ConfirmMessage extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements ConfirmMessageOrBuilder {
|
|
|
|
|
// Use ConfirmMessage.newBuilder() to construct.
|
|
|
|
|
private ConfirmMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private ConfirmMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final ConfirmMessage defaultInstance;
|
|
|
|
|
public static ConfirmMessage getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ConfirmMessage getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private ConfirmMessage(
|
|
|
|
|
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;
|
|
|
|
|
processorId_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
2013-12-06 12:48:44 +01:00
|
|
|
messageSequenceNr_ = input.readInt64();
|
2013-10-09 13:11:53 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
channelId_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
case 32: {
|
|
|
|
|
bitField0_ |= 0x00000008;
|
|
|
|
|
wrapperSequenceNr_ = input.readInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 42: {
|
|
|
|
|
bitField0_ |= 0x00000010;
|
|
|
|
|
channelEndpoint_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} 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 akka.persistence.serialization.MessageFormats.internal_static_ConfirmMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_ConfirmMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage.class, akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<ConfirmMessage> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<ConfirmMessage>() {
|
|
|
|
|
public ConfirmMessage parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new ConfirmMessage(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<ConfirmMessage> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
// optional string processorId = 1;
|
|
|
|
|
public static final int PROCESSORID_FIELD_NUMBER = 1;
|
|
|
|
|
private java.lang.Object processorId_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasProcessorId() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getProcessorId() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
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()) {
|
|
|
|
|
processorId_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
processorId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int64 messageSequenceNr = 2;
|
|
|
|
|
public static final int MESSAGESEQUENCENR_FIELD_NUMBER = 2;
|
|
|
|
|
private long messageSequenceNr_;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public boolean hasMessageSequenceNr() {
|
2013-10-09 13:11:53 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public long getMessageSequenceNr() {
|
|
|
|
|
return messageSequenceNr_;
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string channelId = 3;
|
|
|
|
|
public static final int CHANNELID_FIELD_NUMBER = 3;
|
|
|
|
|
private java.lang.Object channelId_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasChannelId() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getChannelId() {
|
|
|
|
|
java.lang.Object ref = channelId_;
|
|
|
|
|
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()) {
|
|
|
|
|
channelId_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getChannelIdBytes() {
|
|
|
|
|
java.lang.Object ref = channelId_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
channelId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int64 wrapperSequenceNr = 4;
|
|
|
|
|
public static final int WRAPPERSEQUENCENR_FIELD_NUMBER = 4;
|
|
|
|
|
private long wrapperSequenceNr_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasWrapperSequenceNr() {
|
|
|
|
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public long getWrapperSequenceNr() {
|
|
|
|
|
return wrapperSequenceNr_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string channelEndpoint = 5;
|
|
|
|
|
public static final int CHANNELENDPOINT_FIELD_NUMBER = 5;
|
|
|
|
|
private java.lang.Object channelEndpoint_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasChannelEndpoint() {
|
|
|
|
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getChannelEndpoint() {
|
|
|
|
|
java.lang.Object ref = channelEndpoint_;
|
|
|
|
|
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()) {
|
|
|
|
|
channelEndpoint_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getChannelEndpointBytes() {
|
|
|
|
|
java.lang.Object ref = channelEndpoint_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
channelEndpoint_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-09 13:11:53 +02:00
|
|
|
private void initFields() {
|
|
|
|
|
processorId_ = "";
|
2013-12-06 12:48:44 +01:00
|
|
|
messageSequenceNr_ = 0L;
|
2013-10-09 13:11:53 +02:00
|
|
|
channelId_ = "";
|
2013-12-06 12:48:44 +01:00
|
|
|
wrapperSequenceNr_ = 0L;
|
|
|
|
|
channelEndpoint_ = "";
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
output.writeBytes(1, getProcessorIdBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2013-12-06 12:48:44 +01:00
|
|
|
output.writeInt64(2, messageSequenceNr_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeBytes(3, getChannelIdBytes());
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
|
|
output.writeInt64(4, wrapperSequenceNr_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
|
|
output.writeBytes(5, getChannelEndpointBytes());
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
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, getProcessorIdBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2013-12-06 12:48:44 +01:00
|
|
|
.computeInt64Size(2, messageSequenceNr_);
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(3, getChannelIdBytes());
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeInt64Size(4, wrapperSequenceNr_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(5, getChannelEndpointBytes());
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
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 akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.ConfirmMessage 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(akka.persistence.serialization.MessageFormats.ConfirmMessage 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 ConfirmMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.persistence.serialization.MessageFormats.ConfirmMessageOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_ConfirmMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_ConfirmMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage.class, akka.persistence.serialization.MessageFormats.ConfirmMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using akka.persistence.serialization.MessageFormats.ConfirmMessage.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();
|
|
|
|
|
processorId_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2013-12-06 12:48:44 +01:00
|
|
|
messageSequenceNr_ = 0L;
|
2013-10-09 13:11:53 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
channelId_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2013-12-06 12:48:44 +01:00
|
|
|
wrapperSequenceNr_ = 0L;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
|
|
channelEndpoint_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000010);
|
2013-10-09 13:11:53 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_ConfirmMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage getDefaultInstanceForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage build() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.ConfirmMessage buildPartial() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage result = new akka.persistence.serialization.MessageFormats.ConfirmMessage(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
result.processorId_ = processorId_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
result.messageSequenceNr_ = messageSequenceNr_;
|
2013-10-09 13:11:53 +02:00
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
result.channelId_ = channelId_;
|
2013-12-06 12:48:44 +01:00
|
|
|
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
|
|
to_bitField0_ |= 0x00000008;
|
|
|
|
|
}
|
|
|
|
|
result.wrapperSequenceNr_ = wrapperSequenceNr_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
|
|
to_bitField0_ |= 0x00000010;
|
|
|
|
|
}
|
|
|
|
|
result.channelEndpoint_ = channelEndpoint_;
|
2013-10-09 13:11:53 +02:00
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.persistence.serialization.MessageFormats.ConfirmMessage) {
|
|
|
|
|
return mergeFrom((akka.persistence.serialization.MessageFormats.ConfirmMessage)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.ConfirmMessage other) {
|
|
|
|
|
if (other == akka.persistence.serialization.MessageFormats.ConfirmMessage.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasProcessorId()) {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
processorId_ = other.processorId_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (other.hasMessageSequenceNr()) {
|
|
|
|
|
setMessageSequenceNr(other.getMessageSequenceNr());
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
if (other.hasChannelId()) {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
channelId_ = other.channelId_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2013-12-06 12:48:44 +01:00
|
|
|
if (other.hasWrapperSequenceNr()) {
|
|
|
|
|
setWrapperSequenceNr(other.getWrapperSequenceNr());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasChannelEndpoint()) {
|
|
|
|
|
bitField0_ |= 0x00000010;
|
|
|
|
|
channelEndpoint_ = other.channelEndpoint_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2013-10-09 13:11:53 +02:00
|
|
|
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 {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.ConfirmMessage parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (akka.persistence.serialization.MessageFormats.ConfirmMessage) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// optional string processorId = 1;
|
|
|
|
|
private java.lang.Object processorId_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasProcessorId() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getProcessorId() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
processorId_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getProcessorIdBytes() {
|
|
|
|
|
java.lang.Object ref = processorId_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
processorId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setProcessorId(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
processorId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearProcessorId() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
processorId_ = getDefaultInstance().getProcessorId();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string processorId = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setProcessorIdBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
processorId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int64 messageSequenceNr = 2;
|
|
|
|
|
private long messageSequenceNr_ ;
|
2013-10-09 13:11:53 +02:00
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public boolean hasMessageSequenceNr() {
|
2013-10-09 13:11:53 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public long getMessageSequenceNr() {
|
|
|
|
|
return messageSequenceNr_;
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public Builder setMessageSequenceNr(long value) {
|
2013-10-09 13:11:53 +02:00
|
|
|
bitField0_ |= 0x00000002;
|
2013-12-06 12:48:44 +01:00
|
|
|
messageSequenceNr_ = value;
|
2013-10-09 13:11:53 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
2013-12-06 12:48:44 +01:00
|
|
|
* <code>optional int64 messageSequenceNr = 2;</code>
|
2013-10-09 13:11:53 +02:00
|
|
|
*/
|
2013-12-06 12:48:44 +01:00
|
|
|
public Builder clearMessageSequenceNr() {
|
2013-10-09 13:11:53 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2013-12-06 12:48:44 +01:00
|
|
|
messageSequenceNr_ = 0L;
|
2013-10-09 13:11:53 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string channelId = 3;
|
|
|
|
|
private java.lang.Object channelId_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasChannelId() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getChannelId() {
|
|
|
|
|
java.lang.Object ref = channelId_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
channelId_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getChannelIdBytes() {
|
|
|
|
|
java.lang.Object ref = channelId_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
channelId_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setChannelId(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
channelId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearChannelId() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
channelId_ = getDefaultInstance().getChannelId();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelId = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setChannelIdBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
channelId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-06 12:48:44 +01:00
|
|
|
// optional int64 wrapperSequenceNr = 4;
|
|
|
|
|
private long wrapperSequenceNr_ ;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasWrapperSequenceNr() {
|
|
|
|
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public long getWrapperSequenceNr() {
|
|
|
|
|
return wrapperSequenceNr_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setWrapperSequenceNr(long value) {
|
|
|
|
|
bitField0_ |= 0x00000008;
|
|
|
|
|
wrapperSequenceNr_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional int64 wrapperSequenceNr = 4;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearWrapperSequenceNr() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
|
|
wrapperSequenceNr_ = 0L;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string channelEndpoint = 5;
|
|
|
|
|
private java.lang.Object channelEndpoint_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasChannelEndpoint() {
|
|
|
|
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getChannelEndpoint() {
|
|
|
|
|
java.lang.Object ref = channelEndpoint_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
channelEndpoint_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getChannelEndpointBytes() {
|
|
|
|
|
java.lang.Object ref = channelEndpoint_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
channelEndpoint_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setChannelEndpoint(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000010;
|
|
|
|
|
channelEndpoint_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearChannelEndpoint() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
|
|
channelEndpoint_ = getDefaultInstance().getChannelEndpoint();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string channelEndpoint = 5;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setChannelEndpointBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000010;
|
|
|
|
|
channelEndpoint_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-09 13:11:53 +02:00
|
|
|
// @@protoc_insertion_point(builder_scope:ConfirmMessage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new ConfirmMessage(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:ConfirmMessage)
|
|
|
|
|
}
|
|
|
|
|
|
2013-11-07 10:45:02 +01:00
|
|
|
public interface DeliverMessageOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2013-10-09 13:11:53 +02:00
|
|
|
|
2013-11-07 10:45:02 +01:00
|
|
|
// optional .PersistentMessage persistent = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasPersistent();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage getPersistent();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getPersistentOrBuilder();
|
|
|
|
|
|
|
|
|
|
// optional string destination = 2;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasDestination();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getDestination();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getDestinationBytes();
|
|
|
|
|
|
|
|
|
|
// optional .DeliverMessage.ResolveStrategy resolve = 3;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasResolve();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy getResolve();
|
2013-10-09 13:11:53 +02:00
|
|
|
}
|
2013-11-07 10:45:02 +01:00
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code DeliverMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class DeliverMessage extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements DeliverMessageOrBuilder {
|
|
|
|
|
// Use DeliverMessage.newBuilder() to construct.
|
|
|
|
|
private DeliverMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private DeliverMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final DeliverMessage defaultInstance;
|
|
|
|
|
public static DeliverMessage getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DeliverMessage getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private DeliverMessage(
|
|
|
|
|
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: {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.Builder subBuilder = null;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
subBuilder = persistent_.toBuilder();
|
|
|
|
|
}
|
|
|
|
|
persistent_ = input.readMessage(akka.persistence.serialization.MessageFormats.PersistentMessage.PARSER, extensionRegistry);
|
|
|
|
|
if (subBuilder != null) {
|
|
|
|
|
subBuilder.mergeFrom(persistent_);
|
|
|
|
|
persistent_ = subBuilder.buildPartial();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
destination_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
int rawValue = input.readEnum();
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy value = akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy.valueOf(rawValue);
|
|
|
|
|
if (value == null) {
|
|
|
|
|
unknownFields.mergeVarintField(3, rawValue);
|
|
|
|
|
} else {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
resolve_ = value;
|
|
|
|
|
}
|
|
|
|
|
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 akka.persistence.serialization.MessageFormats.internal_static_DeliverMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_DeliverMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage.class, akka.persistence.serialization.MessageFormats.DeliverMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<DeliverMessage> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<DeliverMessage>() {
|
|
|
|
|
public DeliverMessage parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new DeliverMessage(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<DeliverMessage> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf enum {@code DeliverMessage.ResolveStrategy}
|
|
|
|
|
*/
|
|
|
|
|
public enum ResolveStrategy
|
|
|
|
|
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
|
|
/**
|
|
|
|
|
* <code>Off = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
Off(0, 1),
|
|
|
|
|
/**
|
|
|
|
|
* <code>Sender = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
Sender(1, 2),
|
|
|
|
|
/**
|
|
|
|
|
* <code>Destination = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
Destination(2, 3),
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <code>Off = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public static final int Off_VALUE = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>Sender = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public static final int Sender_VALUE = 2;
|
|
|
|
|
/**
|
|
|
|
|
* <code>Destination = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public static final int Destination_VALUE = 3;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public final int getNumber() { return value; }
|
|
|
|
|
|
|
|
|
|
public static ResolveStrategy valueOf(int value) {
|
|
|
|
|
switch (value) {
|
|
|
|
|
case 1: return Off;
|
|
|
|
|
case 2: return Sender;
|
|
|
|
|
case 3: return Destination;
|
|
|
|
|
default: return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Internal.EnumLiteMap<ResolveStrategy>
|
|
|
|
|
internalGetValueMap() {
|
|
|
|
|
return internalValueMap;
|
|
|
|
|
}
|
|
|
|
|
private static com.google.protobuf.Internal.EnumLiteMap<ResolveStrategy>
|
|
|
|
|
internalValueMap =
|
|
|
|
|
new com.google.protobuf.Internal.EnumLiteMap<ResolveStrategy>() {
|
|
|
|
|
public ResolveStrategy findValueByNumber(int number) {
|
|
|
|
|
return ResolveStrategy.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 akka.persistence.serialization.MessageFormats.DeliverMessage.getDescriptor().getEnumTypes().get(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static final ResolveStrategy[] VALUES = values();
|
|
|
|
|
|
|
|
|
|
public static ResolveStrategy 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 ResolveStrategy(int index, int value) {
|
|
|
|
|
this.index = index;
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(enum_scope:DeliverMessage.ResolveStrategy)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
// optional .PersistentMessage persistent = 1;
|
|
|
|
|
public static final int PERSISTENT_FIELD_NUMBER = 1;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.PersistentMessage persistent_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPersistent() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage getPersistent() {
|
|
|
|
|
return persistent_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getPersistentOrBuilder() {
|
|
|
|
|
return persistent_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string destination = 2;
|
|
|
|
|
public static final int DESTINATION_FIELD_NUMBER = 2;
|
|
|
|
|
private java.lang.Object destination_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasDestination() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getDestination() {
|
|
|
|
|
java.lang.Object ref = destination_;
|
|
|
|
|
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()) {
|
|
|
|
|
destination_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getDestinationBytes() {
|
|
|
|
|
java.lang.Object ref = destination_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
destination_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional .DeliverMessage.ResolveStrategy resolve = 3;
|
|
|
|
|
public static final int RESOLVE_FIELD_NUMBER = 3;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy resolve_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasResolve() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy getResolve() {
|
|
|
|
|
return resolve_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
persistent_ = akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance();
|
|
|
|
|
destination_ = "";
|
|
|
|
|
resolve_ = akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy.Off;
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
if (hasPersistent()) {
|
|
|
|
|
if (!getPersistent().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 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.writeMessage(1, persistent_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeBytes(2, getDestinationBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeEnum(3, resolve_.getNumber());
|
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
.computeMessageSize(1, persistent_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(2, getDestinationBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeEnumSize(3, resolve_.getNumber());
|
|
|
|
|
}
|
|
|
|
|
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 akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static akka.persistence.serialization.MessageFormats.DeliverMessage 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(akka.persistence.serialization.MessageFormats.DeliverMessage 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 DeliverMessage}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.persistence.serialization.MessageFormats.DeliverMessageOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_DeliverMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_DeliverMessage_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage.class, akka.persistence.serialization.MessageFormats.DeliverMessage.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using akka.persistence.serialization.MessageFormats.DeliverMessage.newBuilder()
|
|
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Builder(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
getPersistentFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
persistent_ = akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance();
|
|
|
|
|
} else {
|
|
|
|
|
persistentBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
destination_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
resolve_ = akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy.Off;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.internal_static_DeliverMessage_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.DeliverMessage getDefaultInstanceForType() {
|
|
|
|
|
return akka.persistence.serialization.MessageFormats.DeliverMessage.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.DeliverMessage build() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.DeliverMessage buildPartial() {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage result = new akka.persistence.serialization.MessageFormats.DeliverMessage(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
result.persistent_ = persistent_;
|
|
|
|
|
} else {
|
|
|
|
|
result.persistent_ = persistentBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
result.destination_ = destination_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
result.resolve_ = resolve_;
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.persistence.serialization.MessageFormats.DeliverMessage) {
|
|
|
|
|
return mergeFrom((akka.persistence.serialization.MessageFormats.DeliverMessage)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(akka.persistence.serialization.MessageFormats.DeliverMessage other) {
|
|
|
|
|
if (other == akka.persistence.serialization.MessageFormats.DeliverMessage.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasPersistent()) {
|
|
|
|
|
mergePersistent(other.getPersistent());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasDestination()) {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
destination_ = other.destination_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
if (other.hasResolve()) {
|
|
|
|
|
setResolve(other.getResolve());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (hasPersistent()) {
|
|
|
|
|
if (!getPersistent().isInitialized()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
akka.persistence.serialization.MessageFormats.DeliverMessage parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (akka.persistence.serialization.MessageFormats.DeliverMessage) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// optional .PersistentMessage persistent = 1;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.PersistentMessage persistent_ = akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance();
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder> persistentBuilder_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasPersistent() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage getPersistent() {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
return persistent_;
|
|
|
|
|
} else {
|
|
|
|
|
return persistentBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPersistent(akka.persistence.serialization.MessageFormats.PersistentMessage value) {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
persistent_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
persistentBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setPersistent(
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.Builder builderForValue) {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
persistent_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
persistentBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder mergePersistent(akka.persistence.serialization.MessageFormats.PersistentMessage value) {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
|
|
|
|
persistent_ != akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance()) {
|
|
|
|
|
persistent_ =
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage.newBuilder(persistent_).mergeFrom(value).buildPartial();
|
|
|
|
|
} else {
|
|
|
|
|
persistent_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
persistentBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearPersistent() {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
persistent_ = akka.persistence.serialization.MessageFormats.PersistentMessage.getDefaultInstance();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
persistentBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessage.Builder getPersistentBuilder() {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
onChanged();
|
|
|
|
|
return getPersistentFieldBuilder().getBuilder();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder getPersistentOrBuilder() {
|
|
|
|
|
if (persistentBuilder_ != null) {
|
|
|
|
|
return persistentBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return persistent_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .PersistentMessage persistent = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>
|
|
|
|
|
getPersistentFieldBuilder() {
|
|
|
|
|
if (persistentBuilder_ == null) {
|
|
|
|
|
persistentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.persistence.serialization.MessageFormats.PersistentMessage, akka.persistence.serialization.MessageFormats.PersistentMessage.Builder, akka.persistence.serialization.MessageFormats.PersistentMessageOrBuilder>(
|
|
|
|
|
persistent_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
persistent_ = null;
|
|
|
|
|
}
|
|
|
|
|
return persistentBuilder_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string destination = 2;
|
|
|
|
|
private java.lang.Object destination_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasDestination() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getDestination() {
|
|
|
|
|
java.lang.Object ref = destination_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
destination_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getDestinationBytes() {
|
|
|
|
|
java.lang.Object ref = destination_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
destination_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setDestination(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
destination_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearDestination() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
destination_ = getDefaultInstance().getDestination();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string destination = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setDestinationBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
destination_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional .DeliverMessage.ResolveStrategy resolve = 3;
|
|
|
|
|
private akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy resolve_ = akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy.Off;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasResolve() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy getResolve() {
|
|
|
|
|
return resolve_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setResolve(akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
resolve_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional .DeliverMessage.ResolveStrategy resolve = 3;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearResolve() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
resolve_ = akka.persistence.serialization.MessageFormats.DeliverMessage.ResolveStrategy.Off;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:DeliverMessage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new DeliverMessage(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:DeliverMessage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_PersistentMessageBatch_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_PersistentMessageBatch_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_PersistentMessage_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_PersistentMessage_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_PersistentPayload_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_PersistentPayload_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_ConfirmMessage_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_ConfirmMessage_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_DeliverMessage_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_DeliverMessage_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\024MessageFormats.proto\";\n\026PersistentMess" +
|
|
|
|
|
"ageBatch\022!\n\005batch\030\001 \003(\0132\022.PersistentMess" +
|
2013-12-06 12:48:44 +01:00
|
|
|
"age\"\221\002\n\021PersistentMessage\022#\n\007payload\030\001 \001" +
|
2013-11-07 10:45:02 +01:00
|
|
|
"(\0132\022.PersistentPayload\022\022\n\nsequenceNr\030\002 \001" +
|
2013-12-06 12:48:44 +01:00
|
|
|
"(\003\022\023\n\013processorId\030\003 \001(\t\022\017\n\007deleted\030\004 \001(\010" +
|
|
|
|
|
"\022\020\n\010resolved\030\005 \001(\010\022\024\n\014redeliveries\030\006 \001(\005" +
|
|
|
|
|
"\022\020\n\010confirms\030\007 \003(\t\022\023\n\013confirmable\030\010 \001(\010\022" +
|
|
|
|
|
"\'\n\016confirmMessage\030\t \001(\0132\017.ConfirmMessage" +
|
|
|
|
|
"\022\025\n\rconfirmTarget\030\n \001(\t\022\016\n\006sender\030\013 \001(\t\"" +
|
|
|
|
|
"S\n\021PersistentPayload\022\024\n\014serializerId\030\001 \002",
|
|
|
|
|
"(\005\022\017\n\007payload\030\002 \002(\014\022\027\n\017payloadManifest\030\003" +
|
|
|
|
|
" \001(\014\"\207\001\n\016ConfirmMessage\022\023\n\013processorId\030\001" +
|
|
|
|
|
" \001(\t\022\031\n\021messageSequenceNr\030\002 \001(\003\022\021\n\tchann" +
|
|
|
|
|
"elId\030\003 \001(\t\022\031\n\021wrapperSequenceNr\030\004 \001(\003\022\027\n" +
|
|
|
|
|
"\017channelEndpoint\030\005 \001(\t\"\270\001\n\016DeliverMessag" +
|
|
|
|
|
"e\022&\n\npersistent\030\001 \001(\0132\022.PersistentMessag" +
|
|
|
|
|
"e\022\023\n\013destination\030\002 \001(\t\0220\n\007resolve\030\003 \001(\0162" +
|
|
|
|
|
"\037.DeliverMessage.ResolveStrategy\"7\n\017Reso" +
|
|
|
|
|
"lveStrategy\022\007\n\003Off\020\001\022\n\n\006Sender\020\002\022\017\n\013Dest" +
|
|
|
|
|
"ination\020\003B\"\n\036akka.persistence.serializat",
|
|
|
|
|
"ionH\001"
|
2013-11-07 10:45:02 +01:00
|
|
|
};
|
2013-10-09 13:11:53 +02:00
|
|
|
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;
|
2013-10-27 08:01:14 +01:00
|
|
|
internal_static_PersistentMessageBatch_descriptor =
|
2013-10-09 13:11:53 +02:00
|
|
|
getDescriptor().getMessageTypes().get(0);
|
2013-10-27 08:01:14 +01:00
|
|
|
internal_static_PersistentMessageBatch_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_PersistentMessageBatch_descriptor,
|
|
|
|
|
new java.lang.String[] { "Batch", });
|
|
|
|
|
internal_static_PersistentMessage_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(1);
|
2013-10-09 13:11:53 +02:00
|
|
|
internal_static_PersistentMessage_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_PersistentMessage_descriptor,
|
2013-12-06 12:48:44 +01:00
|
|
|
new java.lang.String[] { "Payload", "SequenceNr", "ProcessorId", "Deleted", "Resolved", "Redeliveries", "Confirms", "Confirmable", "ConfirmMessage", "ConfirmTarget", "Sender", });
|
2013-10-09 13:11:53 +02:00
|
|
|
internal_static_PersistentPayload_descriptor =
|
2013-10-27 08:01:14 +01:00
|
|
|
getDescriptor().getMessageTypes().get(2);
|
2013-10-09 13:11:53 +02:00
|
|
|
internal_static_PersistentPayload_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_PersistentPayload_descriptor,
|
|
|
|
|
new java.lang.String[] { "SerializerId", "Payload", "PayloadManifest", });
|
|
|
|
|
internal_static_ConfirmMessage_descriptor =
|
2013-10-27 08:01:14 +01:00
|
|
|
getDescriptor().getMessageTypes().get(3);
|
2013-10-09 13:11:53 +02:00
|
|
|
internal_static_ConfirmMessage_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_ConfirmMessage_descriptor,
|
2013-12-06 12:48:44 +01:00
|
|
|
new java.lang.String[] { "ProcessorId", "MessageSequenceNr", "ChannelId", "WrapperSequenceNr", "ChannelEndpoint", });
|
2013-11-07 10:45:02 +01:00
|
|
|
internal_static_DeliverMessage_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(4);
|
|
|
|
|
internal_static_DeliverMessage_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_DeliverMessage_descriptor,
|
|
|
|
|
new java.lang.String[] { "Persistent", "Destination", "Resolve", });
|
2013-10-09 13:11:53 +02:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
|
|
}, assigner);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
|
}
|