2011-04-27 01:10:00 +02:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
|
// source: ClusterProtocol.proto
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
package akka.cluster;
|
2011-04-27 01:10:00 +02:00
|
|
|
|
|
|
|
|
public final class ClusterProtocol {
|
|
|
|
|
private ClusterProtocol() {}
|
|
|
|
|
public static void registerAllExtensions(
|
|
|
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
|
|
|
}
|
|
|
|
|
public enum RemoteDaemonMessageType
|
|
|
|
|
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
|
|
START(0, 1),
|
|
|
|
|
STOP(1, 2),
|
|
|
|
|
USE(2, 3),
|
|
|
|
|
RELEASE(3, 4),
|
|
|
|
|
MAKE_AVAILABLE(4, 5),
|
|
|
|
|
MAKE_UNAVAILABLE(5, 6),
|
|
|
|
|
DISCONNECT(6, 7),
|
|
|
|
|
RECONNECT(7, 8),
|
|
|
|
|
RESIGN(8, 9),
|
|
|
|
|
FAIL_OVER_CONNECTIONS(9, 10),
|
|
|
|
|
FUNCTION_FUN0_UNIT(10, 11),
|
|
|
|
|
FUNCTION_FUN0_ANY(11, 12),
|
|
|
|
|
FUNCTION_FUN1_ARG_UNIT(12, 13),
|
|
|
|
|
FUNCTION_FUN1_ARG_ANY(13, 14),
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public final int getNumber() { return value; }
|
|
|
|
|
|
|
|
|
|
public static RemoteDaemonMessageType valueOf(int value) {
|
|
|
|
|
switch (value) {
|
|
|
|
|
case 1: return START;
|
|
|
|
|
case 2: return STOP;
|
|
|
|
|
case 3: return USE;
|
|
|
|
|
case 4: return RELEASE;
|
|
|
|
|
case 5: return MAKE_AVAILABLE;
|
|
|
|
|
case 6: return MAKE_UNAVAILABLE;
|
|
|
|
|
case 7: return DISCONNECT;
|
|
|
|
|
case 8: return RECONNECT;
|
|
|
|
|
case 9: return RESIGN;
|
|
|
|
|
case 10: return FAIL_OVER_CONNECTIONS;
|
|
|
|
|
case 11: return FUNCTION_FUN0_UNIT;
|
|
|
|
|
case 12: return FUNCTION_FUN0_ANY;
|
|
|
|
|
case 13: return FUNCTION_FUN1_ARG_UNIT;
|
|
|
|
|
case 14: return FUNCTION_FUN1_ARG_ANY;
|
|
|
|
|
default: return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Internal.EnumLiteMap<RemoteDaemonMessageType>
|
|
|
|
|
internalGetValueMap() {
|
|
|
|
|
return internalValueMap;
|
|
|
|
|
}
|
|
|
|
|
private static com.google.protobuf.Internal.EnumLiteMap<RemoteDaemonMessageType>
|
|
|
|
|
internalValueMap =
|
|
|
|
|
new com.google.protobuf.Internal.EnumLiteMap<RemoteDaemonMessageType>() {
|
|
|
|
|
public RemoteDaemonMessageType findValueByNumber(int number) {
|
|
|
|
|
return RemoteDaemonMessageType.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() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.getDescriptor().getEnumTypes().get(0);
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static final RemoteDaemonMessageType[] VALUES = {
|
|
|
|
|
START, STOP, USE, RELEASE, MAKE_AVAILABLE, MAKE_UNAVAILABLE, DISCONNECT, RECONNECT, RESIGN, FAIL_OVER_CONNECTIONS, FUNCTION_FUN0_UNIT, FUNCTION_FUN0_ANY, FUNCTION_FUN1_ARG_UNIT, FUNCTION_FUN1_ARG_ANY,
|
|
|
|
|
};
|
|
|
|
|
public static RemoteDaemonMessageType 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 RemoteDaemonMessageType(int index, int value) {
|
|
|
|
|
this.index = index;
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.getDescriptor();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(enum_scope:RemoteDaemonMessageType)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final class RemoteDaemonMessageProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage {
|
|
|
|
|
// Use RemoteDaemonMessageProtocol.newBuilder() to construct.
|
|
|
|
|
private RemoteDaemonMessageProtocol() {
|
|
|
|
|
initFields();
|
|
|
|
|
}
|
|
|
|
|
private RemoteDaemonMessageProtocol(boolean noInit) {}
|
|
|
|
|
|
|
|
|
|
private static final RemoteDaemonMessageProtocol defaultInstance;
|
|
|
|
|
public static RemoteDaemonMessageProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public RemoteDaemonMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_RemoteDaemonMessageProtocol_descriptor;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_RemoteDaemonMessageProtocol_fieldAccessorTable;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required .RemoteDaemonMessageType messageType = 1;
|
|
|
|
|
public static final int MESSAGETYPE_FIELD_NUMBER = 1;
|
|
|
|
|
private boolean hasMessageType;
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.RemoteDaemonMessageType messageType_;
|
2011-04-27 01:10:00 +02:00
|
|
|
public boolean hasMessageType() { return hasMessageType; }
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.RemoteDaemonMessageType getMessageType() { return messageType_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
|
|
|
|
// optional .UuidProtocol actorUuid = 2;
|
|
|
|
|
public static final int ACTORUUID_FIELD_NUMBER = 2;
|
|
|
|
|
private boolean hasActorUuid;
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.UuidProtocol actorUuid_;
|
2011-04-27 01:10:00 +02:00
|
|
|
public boolean hasActorUuid() { return hasActorUuid; }
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol getActorUuid() { return actorUuid_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// optional string actorAddress = 3;
|
|
|
|
|
public static final int ACTORADDRESS_FIELD_NUMBER = 3;
|
|
|
|
|
private boolean hasActorAddress;
|
|
|
|
|
private java.lang.String actorAddress_ = "";
|
|
|
|
|
public boolean hasActorAddress() { return hasActorAddress; }
|
|
|
|
|
public java.lang.String getActorAddress() { return actorAddress_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
|
|
|
|
// optional string actorClassName = 4;
|
|
|
|
|
public static final int ACTORCLASSNAME_FIELD_NUMBER = 4;
|
|
|
|
|
private boolean hasActorClassName;
|
|
|
|
|
private java.lang.String actorClassName_ = "";
|
|
|
|
|
public boolean hasActorClassName() { return hasActorClassName; }
|
|
|
|
|
public java.lang.String getActorClassName() { return actorClassName_; }
|
|
|
|
|
|
|
|
|
|
// optional bytes payload = 5;
|
|
|
|
|
public static final int PAYLOAD_FIELD_NUMBER = 5;
|
|
|
|
|
private boolean hasPayload;
|
|
|
|
|
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasPayload() { return hasPayload; }
|
|
|
|
|
public com.google.protobuf.ByteString getPayload() { return payload_; }
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
2011-04-28 20:12:37 +02:00
|
|
|
messageType_ = akka.cluster.ClusterProtocol.RemoteDaemonMessageType.START;
|
|
|
|
|
actorUuid_ = akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (!hasMessageType) return false;
|
|
|
|
|
if (hasActorUuid()) {
|
|
|
|
|
if (!getActorUuid().isInitialized()) return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (hasMessageType()) {
|
|
|
|
|
output.writeEnum(1, getMessageType().getNumber());
|
|
|
|
|
}
|
|
|
|
|
if (hasActorUuid()) {
|
|
|
|
|
output.writeMessage(2, getActorUuid());
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasActorAddress()) {
|
|
|
|
|
output.writeString(3, getActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (hasActorClassName()) {
|
|
|
|
|
output.writeString(4, getActorClassName());
|
|
|
|
|
}
|
|
|
|
|
if (hasPayload()) {
|
|
|
|
|
output.writeBytes(5, getPayload());
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
|
|
|
|
size = 0;
|
|
|
|
|
if (hasMessageType()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeEnumSize(1, getMessageType().getNumber());
|
|
|
|
|
}
|
|
|
|
|
if (hasActorUuid()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(2, getActorUuid());
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasActorAddress()) {
|
2011-04-27 01:10:00 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-04-28 20:12:37 +02:00
|
|
|
.computeStringSize(3, getActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (hasActorClassName()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeStringSize(4, getActorClassName());
|
|
|
|
|
}
|
|
|
|
|
if (hasPayload()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(5, getPayload());
|
|
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(byte[] data)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseDelimitedFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-04-28 20:12:37 +02:00
|
|
|
public static Builder newBuilder(akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol prototype) {
|
2011-04-27 01:10:00 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
|
|
|
|
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder> {
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol result;
|
2011-04-27 01:10:00 +02:00
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// Construct using akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.newBuilder()
|
2011-04-27 01:10:00 +02:00
|
|
|
private Builder() {}
|
|
|
|
|
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
Builder builder = new Builder();
|
2011-04-28 20:12:37 +02:00
|
|
|
builder.result = new akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
protected akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol internalGetResult() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"Cannot call clear() after build().");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result = new akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.getDescriptor();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isInitialized() {
|
|
|
|
|
return result.isInitialized();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol build() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result != null && !isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol buildParsed()
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
if (!isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol buildPartial() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"build() has already been called on this Builder.");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol returnMe = result;
|
2011-04-27 01:10:00 +02:00
|
|
|
result = null;
|
|
|
|
|
return returnMe;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-04-28 20:12:37 +02:00
|
|
|
if (other instanceof akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol) {
|
|
|
|
|
return mergeFrom((akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol)other);
|
2011-04-27 01:10:00 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder mergeFrom(akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol other) {
|
|
|
|
|
if (other == akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.getDefaultInstance()) return this;
|
2011-04-27 01:10:00 +02:00
|
|
|
if (other.hasMessageType()) {
|
|
|
|
|
setMessageType(other.getMessageType());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasActorUuid()) {
|
|
|
|
|
mergeActorUuid(other.getActorUuid());
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (other.hasActorAddress()) {
|
|
|
|
|
setActorAddress(other.getActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (other.hasActorClassName()) {
|
|
|
|
|
setActorClassName(other.getActorClassName());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasPayload()) {
|
|
|
|
|
setPayload(other.getPayload());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
|
|
this.getUnknownFields());
|
|
|
|
|
while (true) {
|
|
|
|
|
int tag = input.readTag();
|
|
|
|
|
switch (tag) {
|
|
|
|
|
case 0:
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 8: {
|
|
|
|
|
int rawValue = input.readEnum();
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.RemoteDaemonMessageType value = akka.cluster.ClusterProtocol.RemoteDaemonMessageType.valueOf(rawValue);
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
unknownFields.mergeVarintField(1, rawValue);
|
|
|
|
|
} else {
|
|
|
|
|
setMessageType(value);
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.Builder subBuilder = akka.cluster.ClusterProtocol.UuidProtocol.newBuilder();
|
2011-04-27 01:10:00 +02:00
|
|
|
if (hasActorUuid()) {
|
|
|
|
|
subBuilder.mergeFrom(getActorUuid());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setActorUuid(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2011-04-28 20:12:37 +02:00
|
|
|
setActorAddress(input.readString());
|
2011-04-27 01:10:00 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
|
|
|
|
setActorClassName(input.readString());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 42: {
|
|
|
|
|
setPayload(input.readBytes());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// required .RemoteDaemonMessageType messageType = 1;
|
|
|
|
|
public boolean hasMessageType() {
|
|
|
|
|
return result.hasMessageType();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.RemoteDaemonMessageType getMessageType() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result.getMessageType();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setMessageType(akka.cluster.ClusterProtocol.RemoteDaemonMessageType value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasMessageType = true;
|
|
|
|
|
result.messageType_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMessageType() {
|
|
|
|
|
result.hasMessageType = false;
|
2011-04-28 20:12:37 +02:00
|
|
|
result.messageType_ = akka.cluster.ClusterProtocol.RemoteDaemonMessageType.START;
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional .UuidProtocol actorUuid = 2;
|
|
|
|
|
public boolean hasActorUuid() {
|
|
|
|
|
return result.hasActorUuid();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol getActorUuid() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result.getActorUuid();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setActorUuid(akka.cluster.ClusterProtocol.UuidProtocol value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasActorUuid = true;
|
|
|
|
|
result.actorUuid_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setActorUuid(akka.cluster.ClusterProtocol.UuidProtocol.Builder builderForValue) {
|
2011-04-27 01:10:00 +02:00
|
|
|
result.hasActorUuid = true;
|
|
|
|
|
result.actorUuid_ = builderForValue.build();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder mergeActorUuid(akka.cluster.ClusterProtocol.UuidProtocol value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result.hasActorUuid() &&
|
2011-04-28 20:12:37 +02:00
|
|
|
result.actorUuid_ != akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance()) {
|
2011-04-27 01:10:00 +02:00
|
|
|
result.actorUuid_ =
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.newBuilder(result.actorUuid_).mergeFrom(value).buildPartial();
|
2011-04-27 01:10:00 +02:00
|
|
|
} else {
|
|
|
|
|
result.actorUuid_ = value;
|
|
|
|
|
}
|
|
|
|
|
result.hasActorUuid = true;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearActorUuid() {
|
|
|
|
|
result.hasActorUuid = false;
|
2011-04-28 20:12:37 +02:00
|
|
|
result.actorUuid_ = akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// optional string actorAddress = 3;
|
|
|
|
|
public boolean hasActorAddress() {
|
|
|
|
|
return result.hasActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public java.lang.String getActorAddress() {
|
|
|
|
|
return result.getActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setActorAddress(java.lang.String value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result.hasActorAddress = true;
|
|
|
|
|
result.actorAddress_ = value;
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder clearActorAddress() {
|
|
|
|
|
result.hasActorAddress = false;
|
|
|
|
|
result.actorAddress_ = getDefaultInstance().getActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string actorClassName = 4;
|
|
|
|
|
public boolean hasActorClassName() {
|
|
|
|
|
return result.hasActorClassName();
|
|
|
|
|
}
|
|
|
|
|
public java.lang.String getActorClassName() {
|
|
|
|
|
return result.getActorClassName();
|
|
|
|
|
}
|
|
|
|
|
public Builder setActorClassName(java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasActorClassName = true;
|
|
|
|
|
result.actorClassName_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearActorClassName() {
|
|
|
|
|
result.hasActorClassName = false;
|
|
|
|
|
result.actorClassName_ = getDefaultInstance().getActorClassName();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional bytes payload = 5;
|
|
|
|
|
public boolean hasPayload() {
|
|
|
|
|
return result.hasPayload();
|
|
|
|
|
}
|
|
|
|
|
public com.google.protobuf.ByteString getPayload() {
|
|
|
|
|
return result.getPayload();
|
|
|
|
|
}
|
|
|
|
|
public Builder setPayload(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasPayload = true;
|
|
|
|
|
result.payload_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearPayload() {
|
|
|
|
|
result.hasPayload = false;
|
|
|
|
|
result.payload_ = getDefaultInstance().getPayload();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:RemoteDaemonMessageProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new RemoteDaemonMessageProtocol(true);
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.internalForceInit();
|
2011-04-27 01:10:00 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:RemoteDaemonMessageProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final class DurableMailboxMessageProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage {
|
|
|
|
|
// Use DurableMailboxMessageProtocol.newBuilder() to construct.
|
|
|
|
|
private DurableMailboxMessageProtocol() {
|
|
|
|
|
initFields();
|
|
|
|
|
}
|
|
|
|
|
private DurableMailboxMessageProtocol(boolean noInit) {}
|
|
|
|
|
|
|
|
|
|
private static final DurableMailboxMessageProtocol defaultInstance;
|
|
|
|
|
public static DurableMailboxMessageProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DurableMailboxMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_DurableMailboxMessageProtocol_descriptor;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_DurableMailboxMessageProtocol_fieldAccessorTable;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// required string ownerActorAddress = 1;
|
|
|
|
|
public static final int OWNERACTORADDRESS_FIELD_NUMBER = 1;
|
|
|
|
|
private boolean hasOwnerActorAddress;
|
|
|
|
|
private java.lang.String ownerActorAddress_ = "";
|
|
|
|
|
public boolean hasOwnerActorAddress() { return hasOwnerActorAddress; }
|
|
|
|
|
public java.lang.String getOwnerActorAddress() { return ownerActorAddress_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// optional string senderActorAddress = 2;
|
|
|
|
|
public static final int SENDERACTORADDRESS_FIELD_NUMBER = 2;
|
|
|
|
|
private boolean hasSenderActorAddress;
|
|
|
|
|
private java.lang.String senderActorAddress_ = "";
|
|
|
|
|
public boolean hasSenderActorAddress() { return hasSenderActorAddress; }
|
|
|
|
|
public java.lang.String getSenderActorAddress() { return senderActorAddress_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
|
|
|
|
// optional .UuidProtocol futureUuid = 3;
|
|
|
|
|
public static final int FUTUREUUID_FIELD_NUMBER = 3;
|
|
|
|
|
private boolean hasFutureUuid;
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.UuidProtocol futureUuid_;
|
2011-04-27 01:10:00 +02:00
|
|
|
public boolean hasFutureUuid() { return hasFutureUuid; }
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol getFutureUuid() { return futureUuid_; }
|
2011-04-27 01:10:00 +02:00
|
|
|
|
|
|
|
|
// required bytes message = 4;
|
|
|
|
|
public static final int MESSAGE_FIELD_NUMBER = 4;
|
|
|
|
|
private boolean hasMessage;
|
|
|
|
|
private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasMessage() { return hasMessage; }
|
|
|
|
|
public com.google.protobuf.ByteString getMessage() { return message_; }
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
2011-04-28 20:12:37 +02:00
|
|
|
futureUuid_ = akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
public final boolean isInitialized() {
|
2011-04-28 20:12:37 +02:00
|
|
|
if (!hasOwnerActorAddress) return false;
|
2011-04-27 01:10:00 +02:00
|
|
|
if (!hasMessage) return false;
|
|
|
|
|
if (hasFutureUuid()) {
|
|
|
|
|
if (!getFutureUuid().isInitialized()) return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasOwnerActorAddress()) {
|
|
|
|
|
output.writeString(1, getOwnerActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasSenderActorAddress()) {
|
|
|
|
|
output.writeString(2, getSenderActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (hasFutureUuid()) {
|
|
|
|
|
output.writeMessage(3, getFutureUuid());
|
|
|
|
|
}
|
|
|
|
|
if (hasMessage()) {
|
|
|
|
|
output.writeBytes(4, getMessage());
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
|
|
|
|
size = 0;
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasOwnerActorAddress()) {
|
2011-04-27 01:10:00 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-04-28 20:12:37 +02:00
|
|
|
.computeStringSize(1, getOwnerActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (hasSenderActorAddress()) {
|
2011-04-27 01:10:00 +02:00
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-04-28 20:12:37 +02:00
|
|
|
.computeStringSize(2, getSenderActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (hasFutureUuid()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(3, getFutureUuid());
|
|
|
|
|
}
|
|
|
|
|
if (hasMessage()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(4, getMessage());
|
|
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(byte[] data)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseDelimitedFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-04-28 20:12:37 +02:00
|
|
|
public static Builder newBuilder(akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol prototype) {
|
2011-04-27 01:10:00 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
|
|
|
|
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder> {
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol result;
|
2011-04-27 01:10:00 +02:00
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// Construct using akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.newBuilder()
|
2011-04-27 01:10:00 +02:00
|
|
|
private Builder() {}
|
|
|
|
|
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
Builder builder = new Builder();
|
2011-04-28 20:12:37 +02:00
|
|
|
builder.result = new akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
protected akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol internalGetResult() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"Cannot call clear() after build().");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result = new akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.getDescriptor();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isInitialized() {
|
|
|
|
|
return result.isInitialized();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol build() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result != null && !isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol buildParsed()
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
if (!isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol buildPartial() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"build() has already been called on this Builder.");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol returnMe = result;
|
2011-04-27 01:10:00 +02:00
|
|
|
result = null;
|
|
|
|
|
return returnMe;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-04-28 20:12:37 +02:00
|
|
|
if (other instanceof akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol) {
|
|
|
|
|
return mergeFrom((akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol)other);
|
2011-04-27 01:10:00 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder mergeFrom(akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol other) {
|
|
|
|
|
if (other == akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasOwnerActorAddress()) {
|
|
|
|
|
setOwnerActorAddress(other.getOwnerActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
if (other.hasSenderActorAddress()) {
|
|
|
|
|
setSenderActorAddress(other.getSenderActorAddress());
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
if (other.hasFutureUuid()) {
|
|
|
|
|
mergeFutureUuid(other.getFutureUuid());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasMessage()) {
|
|
|
|
|
setMessage(other.getMessage());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
|
|
this.getUnknownFields());
|
|
|
|
|
while (true) {
|
|
|
|
|
int tag = input.readTag();
|
|
|
|
|
switch (tag) {
|
|
|
|
|
case 0:
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
2011-04-28 20:12:37 +02:00
|
|
|
setOwnerActorAddress(input.readString());
|
2011-04-27 01:10:00 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2011-04-28 20:12:37 +02:00
|
|
|
setSenderActorAddress(input.readString());
|
2011-04-27 01:10:00 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.Builder subBuilder = akka.cluster.ClusterProtocol.UuidProtocol.newBuilder();
|
2011-04-27 01:10:00 +02:00
|
|
|
if (hasFutureUuid()) {
|
|
|
|
|
subBuilder.mergeFrom(getFutureUuid());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setFutureUuid(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
|
|
|
|
setMessage(input.readBytes());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// required string ownerActorAddress = 1;
|
|
|
|
|
public boolean hasOwnerActorAddress() {
|
|
|
|
|
return result.hasOwnerActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public java.lang.String getOwnerActorAddress() {
|
|
|
|
|
return result.getOwnerActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setOwnerActorAddress(java.lang.String value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result.hasOwnerActorAddress = true;
|
|
|
|
|
result.ownerActorAddress_ = value;
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder clearOwnerActorAddress() {
|
|
|
|
|
result.hasOwnerActorAddress = false;
|
|
|
|
|
result.ownerActorAddress_ = getDefaultInstance().getOwnerActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// optional string senderActorAddress = 2;
|
|
|
|
|
public boolean hasSenderActorAddress() {
|
|
|
|
|
return result.hasSenderActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public java.lang.String getSenderActorAddress() {
|
|
|
|
|
return result.getSenderActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setSenderActorAddress(java.lang.String value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result.hasSenderActorAddress = true;
|
|
|
|
|
result.senderActorAddress_ = value;
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder clearSenderActorAddress() {
|
|
|
|
|
result.hasSenderActorAddress = false;
|
|
|
|
|
result.senderActorAddress_ = getDefaultInstance().getSenderActorAddress();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional .UuidProtocol futureUuid = 3;
|
|
|
|
|
public boolean hasFutureUuid() {
|
|
|
|
|
return result.hasFutureUuid();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol getFutureUuid() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result.getFutureUuid();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setFutureUuid(akka.cluster.ClusterProtocol.UuidProtocol value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasFutureUuid = true;
|
|
|
|
|
result.futureUuid_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder setFutureUuid(akka.cluster.ClusterProtocol.UuidProtocol.Builder builderForValue) {
|
2011-04-27 01:10:00 +02:00
|
|
|
result.hasFutureUuid = true;
|
|
|
|
|
result.futureUuid_ = builderForValue.build();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder mergeFutureUuid(akka.cluster.ClusterProtocol.UuidProtocol value) {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result.hasFutureUuid() &&
|
2011-04-28 20:12:37 +02:00
|
|
|
result.futureUuid_ != akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance()) {
|
2011-04-27 01:10:00 +02:00
|
|
|
result.futureUuid_ =
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.newBuilder(result.futureUuid_).mergeFrom(value).buildPartial();
|
2011-04-27 01:10:00 +02:00
|
|
|
} else {
|
|
|
|
|
result.futureUuid_ = value;
|
|
|
|
|
}
|
|
|
|
|
result.hasFutureUuid = true;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearFutureUuid() {
|
|
|
|
|
result.hasFutureUuid = false;
|
2011-04-28 20:12:37 +02:00
|
|
|
result.futureUuid_ = akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required bytes message = 4;
|
|
|
|
|
public boolean hasMessage() {
|
|
|
|
|
return result.hasMessage();
|
|
|
|
|
}
|
|
|
|
|
public com.google.protobuf.ByteString getMessage() {
|
|
|
|
|
return result.getMessage();
|
|
|
|
|
}
|
|
|
|
|
public Builder setMessage(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
result.hasMessage = true;
|
|
|
|
|
result.message_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMessage() {
|
|
|
|
|
result.hasMessage = false;
|
|
|
|
|
result.message_ = getDefaultInstance().getMessage();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:DurableMailboxMessageProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new DurableMailboxMessageProtocol(true);
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.internalForceInit();
|
2011-04-27 01:10:00 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:DurableMailboxMessageProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final class UuidProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage {
|
|
|
|
|
// Use UuidProtocol.newBuilder() to construct.
|
|
|
|
|
private UuidProtocol() {
|
|
|
|
|
initFields();
|
|
|
|
|
}
|
|
|
|
|
private UuidProtocol(boolean noInit) {}
|
|
|
|
|
|
|
|
|
|
private static final UuidProtocol defaultInstance;
|
|
|
|
|
public static UuidProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public UuidProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_UuidProtocol_descriptor;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.internal_static_UuidProtocol_fieldAccessorTable;
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 high = 1;
|
|
|
|
|
public static final int HIGH_FIELD_NUMBER = 1;
|
|
|
|
|
private boolean hasHigh;
|
|
|
|
|
private long high_ = 0L;
|
|
|
|
|
public boolean hasHigh() { return hasHigh; }
|
|
|
|
|
public long getHigh() { return high_; }
|
|
|
|
|
|
|
|
|
|
// required uint64 low = 2;
|
|
|
|
|
public static final int LOW_FIELD_NUMBER = 2;
|
|
|
|
|
private boolean hasLow;
|
|
|
|
|
private long low_ = 0L;
|
|
|
|
|
public boolean hasLow() { return hasLow; }
|
|
|
|
|
public long getLow() { return low_; }
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
}
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (!hasHigh) return false;
|
|
|
|
|
if (!hasLow) return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (hasHigh()) {
|
|
|
|
|
output.writeUInt64(1, getHigh());
|
|
|
|
|
}
|
|
|
|
|
if (hasLow()) {
|
|
|
|
|
output.writeUInt64(2, getLow());
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
|
|
|
|
size = 0;
|
|
|
|
|
if (hasHigh()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeUInt64Size(1, getHigh());
|
|
|
|
|
}
|
|
|
|
|
if (hasLow()) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeUInt64Size(2, getLow());
|
|
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(byte[] data)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-04-27 01:10:00 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseDelimitedFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public static akka.cluster.ClusterProtocol.UuidProtocol parseFrom(
|
2011-04-27 01:10:00 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-04-28 20:12:37 +02:00
|
|
|
public static Builder newBuilder(akka.cluster.ClusterProtocol.UuidProtocol prototype) {
|
2011-04-27 01:10:00 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
|
|
|
|
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder> {
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.UuidProtocol result;
|
2011-04-27 01:10:00 +02:00
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
// Construct using akka.cluster.ClusterProtocol.UuidProtocol.newBuilder()
|
2011-04-27 01:10:00 +02:00
|
|
|
private Builder() {}
|
|
|
|
|
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
Builder builder = new Builder();
|
2011-04-28 20:12:37 +02:00
|
|
|
builder.result = new akka.cluster.ClusterProtocol.UuidProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
protected akka.cluster.ClusterProtocol.UuidProtocol internalGetResult() {
|
2011-04-27 01:10:00 +02:00
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clear() {
|
|
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"Cannot call clear() after build().");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
result = new akka.cluster.ClusterProtocol.UuidProtocol();
|
2011-04-27 01:10:00 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-04-28 20:12:37 +02:00
|
|
|
return akka.cluster.ClusterProtocol.UuidProtocol.getDescriptor();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance();
|
2011-04-27 01:10:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isInitialized() {
|
|
|
|
|
return result.isInitialized();
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol build() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result != null && !isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
private akka.cluster.ClusterProtocol.UuidProtocol buildParsed()
|
2011-04-27 01:10:00 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
if (!isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return buildPartial();
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public akka.cluster.ClusterProtocol.UuidProtocol buildPartial() {
|
2011-04-27 01:10:00 +02:00
|
|
|
if (result == null) {
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
|
"build() has already been called on this Builder.");
|
|
|
|
|
}
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol returnMe = result;
|
2011-04-27 01:10:00 +02:00
|
|
|
result = null;
|
|
|
|
|
return returnMe;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-04-28 20:12:37 +02:00
|
|
|
if (other instanceof akka.cluster.ClusterProtocol.UuidProtocol) {
|
|
|
|
|
return mergeFrom((akka.cluster.ClusterProtocol.UuidProtocol)other);
|
2011-04-27 01:10:00 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-04-28 20:12:37 +02:00
|
|
|
public Builder mergeFrom(akka.cluster.ClusterProtocol.UuidProtocol other) {
|
|
|
|
|
if (other == akka.cluster.ClusterProtocol.UuidProtocol.getDefaultInstance()) return this;
|
2011-04-27 01:10:00 +02:00
|
|
|
if (other.hasHigh()) {
|
|
|
|
|
setHigh(other.getHigh());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasLow()) {
|
|
|
|
|
setLow(other.getLow());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
|
|
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
|
|
this.getUnknownFields());
|
|
|
|
|
while (true) {
|
|
|
|
|
int tag = input.readTag();
|
|
|
|
|
switch (tag) {
|
|
|
|
|
case 0:
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 8: {
|
|
|
|
|
setHigh(input.readUInt64());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
setLow(input.readUInt64());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// required uint64 high = 1;
|
|
|
|
|
public boolean hasHigh() {
|
|
|
|
|
return result.hasHigh();
|
|
|
|
|
}
|
|
|
|
|
public long getHigh() {
|
|
|
|
|
return result.getHigh();
|
|
|
|
|
}
|
|
|
|
|
public Builder setHigh(long value) {
|
|
|
|
|
result.hasHigh = true;
|
|
|
|
|
result.high_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearHigh() {
|
|
|
|
|
result.hasHigh = false;
|
|
|
|
|
result.high_ = 0L;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// required uint64 low = 2;
|
|
|
|
|
public boolean hasLow() {
|
|
|
|
|
return result.hasLow();
|
|
|
|
|
}
|
|
|
|
|
public long getLow() {
|
|
|
|
|
return result.getLow();
|
|
|
|
|
}
|
|
|
|
|
public Builder setLow(long value) {
|
|
|
|
|
result.hasLow = true;
|
|
|
|
|
result.low_ = value;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearLow() {
|
|
|
|
|
result.hasLow = false;
|
|
|
|
|
result.low_ = 0L;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:UuidProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new UuidProtocol(true);
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.internalForceInit();
|
2011-04-27 01:10:00 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:UuidProtocol)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_RemoteDaemonMessageProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_RemoteDaemonMessageProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_UuidProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_UuidProtocol_fieldAccessorTable;
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return descriptor;
|
|
|
|
|
}
|
|
|
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
descriptor;
|
|
|
|
|
static {
|
|
|
|
|
java.lang.String[] descriptorData = {
|
2011-04-28 20:12:37 +02:00
|
|
|
"\n\025ClusterProtocol.proto\"\255\001\n\033RemoteDaemon" +
|
2011-04-27 01:10:00 +02:00
|
|
|
"MessageProtocol\022-\n\013messageType\030\001 \002(\0162\030.R" +
|
|
|
|
|
"emoteDaemonMessageType\022 \n\tactorUuid\030\002 \001(" +
|
2011-04-28 20:12:37 +02:00
|
|
|
"\0132\r.UuidProtocol\022\024\n\014actorAddress\030\003 \001(\t\022\026" +
|
|
|
|
|
"\n\016actorClassName\030\004 \001(\t\022\017\n\007payload\030\005 \001(\014\"" +
|
|
|
|
|
"\212\001\n\035DurableMailboxMessageProtocol\022\031\n\021own" +
|
|
|
|
|
"erActorAddress\030\001 \002(\t\022\032\n\022senderActorAddre" +
|
|
|
|
|
"ss\030\002 \001(\t\022!\n\nfutureUuid\030\003 \001(\0132\r.UuidProto" +
|
|
|
|
|
"col\022\017\n\007message\030\004 \002(\014\")\n\014UuidProtocol\022\014\n\004" +
|
|
|
|
|
"high\030\001 \002(\004\022\013\n\003low\030\002 \002(\004*\232\002\n\027RemoteDaemon",
|
|
|
|
|
"MessageType\022\t\n\005START\020\001\022\010\n\004STOP\020\002\022\007\n\003USE\020" +
|
|
|
|
|
"\003\022\013\n\007RELEASE\020\004\022\022\n\016MAKE_AVAILABLE\020\005\022\024\n\020MA" +
|
|
|
|
|
"KE_UNAVAILABLE\020\006\022\016\n\nDISCONNECT\020\007\022\r\n\tRECO" +
|
|
|
|
|
"NNECT\020\010\022\n\n\006RESIGN\020\t\022\031\n\025FAIL_OVER_CONNECT" +
|
|
|
|
|
"IONS\020\n\022\026\n\022FUNCTION_FUN0_UNIT\020\013\022\025\n\021FUNCTI" +
|
|
|
|
|
"ON_FUN0_ANY\020\014\022\032\n\026FUNCTION_FUN1_ARG_UNIT\020" +
|
|
|
|
|
"\r\022\031\n\025FUNCTION_FUN1_ARG_ANY\020\016B\020\n\014akka.clu" +
|
|
|
|
|
"sterH\001"
|
2011-04-27 01:10:00 +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;
|
|
|
|
|
internal_static_RemoteDaemonMessageProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(0);
|
|
|
|
|
internal_static_RemoteDaemonMessageProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_RemoteDaemonMessageProtocol_descriptor,
|
2011-04-28 20:12:37 +02:00
|
|
|
new java.lang.String[] { "MessageType", "ActorUuid", "ActorAddress", "ActorClassName", "Payload", },
|
|
|
|
|
akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.class,
|
|
|
|
|
akka.cluster.ClusterProtocol.RemoteDaemonMessageProtocol.Builder.class);
|
2011-04-27 01:10:00 +02:00
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(1);
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor,
|
2011-04-28 20:12:37 +02:00
|
|
|
new java.lang.String[] { "OwnerActorAddress", "SenderActorAddress", "FutureUuid", "Message", },
|
|
|
|
|
akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.class,
|
|
|
|
|
akka.cluster.ClusterProtocol.DurableMailboxMessageProtocol.Builder.class);
|
2011-04-27 01:10:00 +02:00
|
|
|
internal_static_UuidProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(2);
|
|
|
|
|
internal_static_UuidProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_UuidProtocol_descriptor,
|
|
|
|
|
new java.lang.String[] { "High", "Low", },
|
2011-04-28 20:12:37 +02:00
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.class,
|
|
|
|
|
akka.cluster.ClusterProtocol.UuidProtocol.Builder.class);
|
2011-04-27 01:10:00 +02:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
|
|
}, assigner);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void internalForceInit() {}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
|
}
|