2011-09-09 13:46:36 +02:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
|
// source: RemoteProtocol.proto
|
|
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
package akka.remote;
|
2011-09-09 13:46:36 +02:00
|
|
|
|
|
|
|
|
public final class RemoteProtocol {
|
|
|
|
|
private RemoteProtocol() {}
|
|
|
|
|
public static void registerAllExtensions(
|
|
|
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
|
|
|
}
|
|
|
|
|
public enum CommandType
|
|
|
|
|
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
|
|
CONNECT(0, 1),
|
|
|
|
|
SHUTDOWN(1, 2),
|
2012-02-01 16:06:30 +01:00
|
|
|
HEARTBEAT(2, 3),
|
2011-09-09 13:46:36 +02:00
|
|
|
;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final int CONNECT_VALUE = 1;
|
|
|
|
|
public static final int SHUTDOWN_VALUE = 2;
|
2012-02-01 16:06:30 +01:00
|
|
|
public static final int HEARTBEAT_VALUE = 3;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
|
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final int getNumber() { return value; }
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static CommandType valueOf(int value) {
|
|
|
|
|
switch (value) {
|
|
|
|
|
case 1: return CONNECT;
|
|
|
|
|
case 2: return SHUTDOWN;
|
2012-02-01 16:06:30 +01:00
|
|
|
case 3: return HEARTBEAT;
|
2011-09-09 13:46:36 +02:00
|
|
|
default: return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static com.google.protobuf.Internal.EnumLiteMap<CommandType>
|
|
|
|
|
internalGetValueMap() {
|
|
|
|
|
return internalValueMap;
|
|
|
|
|
}
|
|
|
|
|
private static com.google.protobuf.Internal.EnumLiteMap<CommandType>
|
|
|
|
|
internalValueMap =
|
|
|
|
|
new com.google.protobuf.Internal.EnumLiteMap<CommandType>() {
|
|
|
|
|
public CommandType findValueByNumber(int number) {
|
|
|
|
|
return CommandType.valueOf(number);
|
|
|
|
|
}
|
|
|
|
|
};
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.getDescriptor().getEnumTypes().get(0);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final CommandType[] VALUES = {
|
2012-02-01 16:06:30 +01:00
|
|
|
CONNECT, SHUTDOWN, HEARTBEAT,
|
2011-09-09 13:46:36 +02:00
|
|
|
};
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static CommandType 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()];
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private final int index;
|
|
|
|
|
private final int value;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private CommandType(int index, int value) {
|
|
|
|
|
this.index = index;
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(enum_scope:CommandType)
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public interface AkkaRemoteProtocolOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// optional .RemoteMessageProtocol message = 1;
|
|
|
|
|
boolean hasMessage();
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol getMessage();
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder getMessageOrBuilder();
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// optional .RemoteControlProtocol instruction = 2;
|
|
|
|
|
boolean hasInstruction();
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol getInstruction();
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder getInstructionOrBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
public static final class AkkaRemoteProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements AkkaRemoteProtocolOrBuilder {
|
|
|
|
|
// Use AkkaRemoteProtocol.newBuilder() to construct.
|
|
|
|
|
private AkkaRemoteProtocol(Builder builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
}
|
|
|
|
|
private AkkaRemoteProtocol(boolean noInit) {}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final AkkaRemoteProtocol defaultInstance;
|
|
|
|
|
public static AkkaRemoteProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public AkkaRemoteProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AkkaRemoteProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AkkaRemoteProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
|
|
|
|
// optional .RemoteMessageProtocol message = 1;
|
|
|
|
|
public static final int MESSAGE_FIELD_NUMBER = 1;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.RemoteMessageProtocol message_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasMessage() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol getMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return message_;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder getMessageOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return message_;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// optional .RemoteControlProtocol instruction = 2;
|
|
|
|
|
public static final int INSTRUCTION_FIELD_NUMBER = 2;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.RemoteControlProtocol instruction_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasInstruction() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol getInstruction() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return instruction_;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder getInstructionOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return instruction_;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance();
|
|
|
|
|
instruction_ = akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
if (hasMessage()) {
|
|
|
|
|
if (!getMessage().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (hasInstruction()) {
|
|
|
|
|
if (!getInstruction().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
output.writeMessage(1, message_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeMessage(2, instruction_);
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(1, message_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(2, instruction_);
|
|
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.AkkaRemoteProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-09-20 21:44:50 +02:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.AkkaRemoteProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-09-20 21:44:50 +02:00
|
|
|
implements akka.remote.RemoteProtocol.AkkaRemoteProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AkkaRemoteProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AkkaRemoteProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
// Construct using akka.remote.RemoteProtocol.AkkaRemoteProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
getMessageFieldBuilder();
|
|
|
|
|
getInstructionFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
|
|
|
|
if (messageBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
messageBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
if (instructionBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
instruction_ = akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
instructionBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.AkkaRemoteProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.AkkaRemoteProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.AkkaRemoteProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.AkkaRemoteProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.AkkaRemoteProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.AkkaRemoteProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.AkkaRemoteProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.AkkaRemoteProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.AkkaRemoteProtocol result = new akka.remote.RemoteProtocol.AkkaRemoteProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
result.message_ = message_;
|
|
|
|
|
} else {
|
|
|
|
|
result.message_ = messageBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
result.instruction_ = instruction_;
|
|
|
|
|
} else {
|
|
|
|
|
result.instruction_ = instructionBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-09-20 21:44:50 +02:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.AkkaRemoteProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.AkkaRemoteProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.AkkaRemoteProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.AkkaRemoteProtocol.getDefaultInstance()) return this;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (other.hasMessage()) {
|
|
|
|
|
mergeMessage(other.getMessage());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasInstruction()) {
|
|
|
|
|
mergeInstruction(other.getInstruction());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (hasMessage()) {
|
|
|
|
|
if (!getMessage().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (hasInstruction()) {
|
|
|
|
|
if (!getInstruction().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder subBuilder = akka.remote.RemoteProtocol.RemoteMessageProtocol.newBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (hasMessage()) {
|
|
|
|
|
subBuilder.mergeFrom(getMessage());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setMessage(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol.Builder subBuilder = akka.remote.RemoteProtocol.RemoteControlProtocol.newBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (hasInstruction()) {
|
|
|
|
|
subBuilder.mergeFrom(getInstruction());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setInstruction(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// optional .RemoteMessageProtocol message = 1;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.RemoteMessageProtocol message_ = akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol, akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder, akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder> messageBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasMessage() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol getMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
return message_;
|
|
|
|
|
} else {
|
|
|
|
|
return messageBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder setMessage(akka.remote.RemoteProtocol.RemoteMessageProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
message_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setMessage(
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
message_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeMessage(akka.remote.RemoteProtocol.RemoteMessageProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ != akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ =
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol.newBuilder(message_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
message_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMessage() {
|
|
|
|
|
if (messageBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder getMessageBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
onChanged();
|
|
|
|
|
return getMessageFieldBuilder().getBuilder();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder getMessageOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ != null) {
|
|
|
|
|
return messageBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return message_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol, akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder, akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMessageFieldBuilder() {
|
|
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
messageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol, akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder, akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder>(
|
2011-09-09 13:46:36 +02:00
|
|
|
message_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
message_ = null;
|
|
|
|
|
}
|
|
|
|
|
return messageBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// optional .RemoteControlProtocol instruction = 2;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.RemoteControlProtocol instruction_ = akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol, akka.remote.RemoteProtocol.RemoteControlProtocol.Builder, akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder> instructionBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasInstruction() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol getInstruction() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
return instruction_;
|
|
|
|
|
} else {
|
|
|
|
|
return instructionBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder setInstruction(akka.remote.RemoteProtocol.RemoteControlProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
instruction_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
instructionBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setInstruction(
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
instruction_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
instructionBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeInstruction(akka.remote.RemoteProtocol.RemoteControlProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
2011-09-20 21:44:50 +02:00
|
|
|
instruction_ != akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
instruction_ =
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol.newBuilder(instruction_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
instruction_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
instructionBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearInstruction() {
|
|
|
|
|
if (instructionBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
instruction_ = akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
instructionBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol.Builder getInstructionBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
onChanged();
|
|
|
|
|
return getInstructionFieldBuilder().getBuilder();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder getInstructionOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (instructionBuilder_ != null) {
|
|
|
|
|
return instructionBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return instruction_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol, akka.remote.RemoteProtocol.RemoteControlProtocol.Builder, akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getInstructionFieldBuilder() {
|
|
|
|
|
if (instructionBuilder_ == null) {
|
|
|
|
|
instructionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol, akka.remote.RemoteProtocol.RemoteControlProtocol.Builder, akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder>(
|
2011-09-09 13:46:36 +02:00
|
|
|
instruction_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
instruction_ = null;
|
|
|
|
|
}
|
|
|
|
|
return instructionBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(builder_scope:AkkaRemoteProtocol)
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
|
|
|
|
defaultInstance = new AkkaRemoteProtocol(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(class_scope:AkkaRemoteProtocol)
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public interface RemoteMessageProtocolOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
boolean hasRecipient();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol getRecipient();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-08 14:44:05 +01:00
|
|
|
// required .MessageProtocol message = 2;
|
2011-09-09 13:46:36 +02:00
|
|
|
boolean hasMessage();
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol getMessage();
|
|
|
|
|
akka.remote.RemoteProtocol.MessageProtocolOrBuilder getMessageOrBuilder();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// optional .ActorRefProtocol sender = 4;
|
2011-09-09 13:46:36 +02:00
|
|
|
boolean hasSender();
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol getSender();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// repeated .MetadataEntryProtocol metadata = 5;
|
2012-02-01 16:06:30 +01:00
|
|
|
java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataList();
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol getMetadata(int index);
|
2011-09-09 13:46:36 +02:00
|
|
|
int getMetadataCount();
|
2012-02-01 16:06:30 +01:00
|
|
|
java.util.List<? extends akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataOrBuilderList();
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder getMetadataOrBuilder(
|
2011-09-09 13:46:36 +02:00
|
|
|
int index);
|
|
|
|
|
}
|
|
|
|
|
public static final class RemoteMessageProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements RemoteMessageProtocolOrBuilder {
|
|
|
|
|
// Use RemoteMessageProtocol.newBuilder() to construct.
|
|
|
|
|
private RemoteMessageProtocol(Builder builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
}
|
|
|
|
|
private RemoteMessageProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final RemoteMessageProtocol defaultInstance;
|
|
|
|
|
public static RemoteMessageProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public RemoteMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteMessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteMessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-11-03 14:53:38 +01:00
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
public static final int RECIPIENT_FIELD_NUMBER = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol recipient_;
|
|
|
|
|
public boolean hasRecipient() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getRecipient() {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder() {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-08 14:44:05 +01:00
|
|
|
// required .MessageProtocol message = 2;
|
2011-11-03 14:53:38 +01:00
|
|
|
public static final int MESSAGE_FIELD_NUMBER = 2;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.MessageProtocol message_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasMessage() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol getMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return message_;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocolOrBuilder getMessageOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return message_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// optional .ActorRefProtocol sender = 4;
|
|
|
|
|
public static final int SENDER_FIELD_NUMBER = 4;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasSender() {
|
2011-12-08 14:44:05 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getSender() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return sender_;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return sender_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// repeated .MetadataEntryProtocol metadata = 5;
|
|
|
|
|
public static final int METADATA_FIELD_NUMBER = 5;
|
2011-09-20 21:44:50 +02:00
|
|
|
private java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol> metadata_;
|
|
|
|
|
public java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol> getMetadataList() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return metadata_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
public java.util.List<? extends akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataOrBuilderList() {
|
|
|
|
|
return metadata_;
|
|
|
|
|
}
|
|
|
|
|
public int getMetadataCount() {
|
|
|
|
|
return metadata_.size();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol getMetadata(int index) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return metadata_.get(index);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder getMetadataOrBuilder(
|
2011-09-09 13:46:36 +02:00
|
|
|
int index) {
|
|
|
|
|
return metadata_.get(index);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance();
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
metadata_ = java.util.Collections.emptyList();
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasRecipient()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!hasMessage()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!getRecipient().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!getMessage().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (hasSender()) {
|
|
|
|
|
if (!getSender().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for (int i = 0; i < getMetadataCount(); i++) {
|
|
|
|
|
if (!getMetadata(i).isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(1, recipient_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(2, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(4, sender_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
for (int i = 0; i < metadata_.size(); i++) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(5, metadata_.get(i));
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(1, recipient_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(2, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(4, sender_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
for (int i = 0; i < metadata_.size(); i++) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(5, metadata_.get(i));
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-09-20 21:44:50 +02:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.RemoteMessageProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-09-20 21:44:50 +02:00
|
|
|
implements akka.remote.RemoteProtocol.RemoteMessageProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteMessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteMessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
// Construct using akka.remote.RemoteProtocol.RemoteMessageProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
2011-11-03 14:53:38 +01:00
|
|
|
getRecipientFieldBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
getMessageFieldBuilder();
|
|
|
|
|
getSenderFieldBuilder();
|
|
|
|
|
getMetadataFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-11-03 14:53:38 +01:00
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.clear();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
if (messageBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
messageBuilder_.clear();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ == null) {
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
senderBuilder_.clear();
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
metadata_ = java.util.Collections.emptyList();
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.RemoteMessageProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.RemoteMessageProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.RemoteMessageProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol result = new akka.remote.RemoteProtocol.RemoteMessageProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
result.recipient_ = recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
result.recipient_ = recipientBuilder_.build();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
result.message_ = message_;
|
|
|
|
|
} else {
|
|
|
|
|
result.message_ = messageBuilder_.build();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
result.sender_ = sender_;
|
|
|
|
|
} else {
|
|
|
|
|
result.sender_ = senderBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
if (metadataBuilder_ == null) {
|
2011-12-08 14:44:05 +01:00
|
|
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
2011-09-09 13:46:36 +02:00
|
|
|
metadata_ = java.util.Collections.unmodifiableList(metadata_);
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
result.metadata_ = metadata_;
|
|
|
|
|
} else {
|
|
|
|
|
result.metadata_ = metadataBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-09-20 21:44:50 +02:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.RemoteMessageProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.RemoteMessageProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.RemoteMessageProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.RemoteMessageProtocol.getDefaultInstance()) return this;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other.hasRecipient()) {
|
|
|
|
|
mergeRecipient(other.getRecipient());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (other.hasMessage()) {
|
|
|
|
|
mergeMessage(other.getMessage());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasSender()) {
|
|
|
|
|
mergeSender(other.getSender());
|
|
|
|
|
}
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
if (!other.metadata_.isEmpty()) {
|
|
|
|
|
if (metadata_.isEmpty()) {
|
|
|
|
|
metadata_ = other.metadata_;
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.addAll(other.metadata_);
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (!other.metadata_.isEmpty()) {
|
|
|
|
|
if (metadataBuilder_.isEmpty()) {
|
|
|
|
|
metadataBuilder_.dispose();
|
|
|
|
|
metadataBuilder_ = null;
|
|
|
|
|
metadata_ = other.metadata_;
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2012-02-01 16:06:30 +01:00
|
|
|
metadataBuilder_ =
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
|
|
getMetadataFieldBuilder() : null;
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addAllMessages(other.metadata_);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasRecipient()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!hasMessage()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!getRecipient().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-08 14:44:05 +01:00
|
|
|
return false;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!getMessage().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-08 14:44:05 +01:00
|
|
|
return false;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (hasSender()) {
|
|
|
|
|
if (!getSender().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for (int i = 0; i < getMetadataCount(); i++) {
|
|
|
|
|
if (!getMetadata(i).isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder subBuilder = akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder();
|
|
|
|
|
if (hasRecipient()) {
|
|
|
|
|
subBuilder.mergeFrom(getRecipient());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
2011-11-03 14:53:38 +01:00
|
|
|
setRecipient(subBuilder.buildPartial());
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol.Builder subBuilder = akka.remote.RemoteProtocol.MessageProtocol.newBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (hasMessage()) {
|
|
|
|
|
subBuilder.mergeFrom(getMessage());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setMessage(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
case 34: {
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder subBuilder = akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (hasSender()) {
|
|
|
|
|
subBuilder.mergeFrom(getSender());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setSender(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
case 42: {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder subBuilder = akka.remote.RemoteProtocol.MetadataEntryProtocol.newBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
addMetadata(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder> recipientBuilder_;
|
|
|
|
|
public boolean hasRecipient() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getRecipient() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
return recipientBuilder_.getMessage();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setRecipient(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.setMessage(value);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setRecipient(
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder builderForValue) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = builderForValue.build();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.setMessage(builderForValue.build());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeRecipient(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ != akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance()) {
|
|
|
|
|
recipient_ =
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder(recipient_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.mergeFrom(value);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder clearRecipient() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.clear();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol.Builder getRecipientBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
onChanged();
|
2011-11-03 14:53:38 +01:00
|
|
|
return getRecipientFieldBuilder().getBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder() {
|
|
|
|
|
if (recipientBuilder_ != null) {
|
|
|
|
|
return recipientBuilder_.getMessageOrBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>
|
2011-11-03 14:53:38 +01:00
|
|
|
getRecipientFieldBuilder() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipientBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>(
|
|
|
|
|
recipient_,
|
2011-09-09 13:46:36 +02:00
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ = null;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
return recipientBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-08 14:44:05 +01:00
|
|
|
// required .MessageProtocol message = 2;
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.MessageProtocol message_ = akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol, akka.remote.RemoteProtocol.MessageProtocol.Builder, akka.remote.RemoteProtocol.MessageProtocolOrBuilder> messageBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasMessage() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol getMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
return message_;
|
|
|
|
|
} else {
|
|
|
|
|
return messageBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder setMessage(akka.remote.RemoteProtocol.MessageProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
message_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.setMessage(value);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setMessage(
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
message_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeMessage(akka.remote.RemoteProtocol.MessageProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ == null) {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ != akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ =
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol.newBuilder(message_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
message_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMessage() {
|
|
|
|
|
if (messageBuilder_ == null) {
|
2011-09-20 21:44:50 +02:00
|
|
|
message_ = akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
messageBuilder_.clear();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol.Builder getMessageBuilder() {
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return getMessageFieldBuilder().getBuilder();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocolOrBuilder getMessageOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (messageBuilder_ != null) {
|
|
|
|
|
return messageBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return message_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol, akka.remote.RemoteProtocol.MessageProtocol.Builder, akka.remote.RemoteProtocol.MessageProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMessageFieldBuilder() {
|
|
|
|
|
if (messageBuilder_ == null) {
|
|
|
|
|
messageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol, akka.remote.RemoteProtocol.MessageProtocol.Builder, akka.remote.RemoteProtocol.MessageProtocolOrBuilder>(
|
2011-09-09 13:46:36 +02:00
|
|
|
message_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
message_ = null;
|
|
|
|
|
}
|
|
|
|
|
return messageBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// optional .ActorRefProtocol sender = 4;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder> senderBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
public boolean hasSender() {
|
2011-12-08 14:44:05 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getSender() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
return sender_;
|
|
|
|
|
} else {
|
|
|
|
|
return senderBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setSender(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
sender_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
senderBuilder_.setMessage(value);
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setSender(
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
sender_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
senderBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeSender(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ == null) {
|
2011-12-08 14:44:05 +01:00
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ != akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
sender_ =
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder(sender_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
sender_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
senderBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearSender() {
|
|
|
|
|
if (senderBuilder_ == null) {
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
senderBuilder_.clear();
|
|
|
|
|
}
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol.Builder getSenderBuilder() {
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return getSenderFieldBuilder().getBuilder();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (senderBuilder_ != null) {
|
|
|
|
|
return senderBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return sender_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getSenderFieldBuilder() {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
senderBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>(
|
2011-09-09 13:46:36 +02:00
|
|
|
sender_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
sender_ = null;
|
|
|
|
|
}
|
|
|
|
|
return senderBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// repeated .MetadataEntryProtocol metadata = 5;
|
2011-09-20 21:44:50 +02:00
|
|
|
private java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol> metadata_ =
|
2011-09-09 13:46:36 +02:00
|
|
|
java.util.Collections.emptyList();
|
|
|
|
|
private void ensureMetadataIsMutable() {
|
2011-12-08 14:44:05 +01:00
|
|
|
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
2011-09-20 21:44:50 +02:00
|
|
|
metadata_ = new java.util.ArrayList<akka.remote.RemoteProtocol.MetadataEntryProtocol>(metadata_);
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ |= 0x00000008;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.RepeatedFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol, akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder, akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder> metadataBuilder_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol> getMetadataList() {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
return java.util.Collections.unmodifiableList(metadata_);
|
|
|
|
|
} else {
|
|
|
|
|
return metadataBuilder_.getMessageList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public int getMetadataCount() {
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
return metadata_.size();
|
|
|
|
|
} else {
|
|
|
|
|
return metadataBuilder_.getCount();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol getMetadata(int index) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
return metadata_.get(index);
|
|
|
|
|
} else {
|
|
|
|
|
return metadataBuilder_.getMessage(index);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public Builder setMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
int index, akka.remote.RemoteProtocol.MetadataEntryProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.set(index, value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.setMessage(index, value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
int index, akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.set(index, builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.setMessage(index, builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder addMetadata(akka.remote.RemoteProtocol.MetadataEntryProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.add(value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addMessage(value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder addMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
int index, akka.remote.RemoteProtocol.MetadataEntryProtocol value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.add(index, value);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addMessage(index, value);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder addMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.add(builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder addMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
int index, akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder builderForValue) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.add(index, builderForValue.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addMessage(index, builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder addAllMetadata(
|
2011-09-20 21:44:50 +02:00
|
|
|
java.lang.Iterable<? extends akka.remote.RemoteProtocol.MetadataEntryProtocol> values) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
super.addAll(values, metadata_);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.addAllMessages(values);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMetadata() {
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
metadata_ = java.util.Collections.emptyList();
|
2011-12-08 14:44:05 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder removeMetadata(int index) {
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
ensureMetadataIsMutable();
|
|
|
|
|
metadata_.remove(index);
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
metadataBuilder_.remove(index);
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder getMetadataBuilder(
|
2011-09-09 13:46:36 +02:00
|
|
|
int index) {
|
|
|
|
|
return getMetadataFieldBuilder().getBuilder(index);
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder getMetadataOrBuilder(
|
2011-09-09 13:46:36 +02:00
|
|
|
int index) {
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
return metadata_.get(index); } else {
|
|
|
|
|
return metadataBuilder_.getMessageOrBuilder(index);
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
public java.util.List<? extends akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataOrBuilderList() {
|
|
|
|
|
if (metadataBuilder_ != null) {
|
|
|
|
|
return metadataBuilder_.getMessageOrBuilderList();
|
|
|
|
|
} else {
|
|
|
|
|
return java.util.Collections.unmodifiableList(metadata_);
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder addMetadataBuilder() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return getMetadataFieldBuilder().addBuilder(
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol.getDefaultInstance());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder addMetadataBuilder(
|
2011-09-09 13:46:36 +02:00
|
|
|
int index) {
|
|
|
|
|
return getMetadataFieldBuilder().addBuilder(
|
2011-09-20 21:44:50 +02:00
|
|
|
index, akka.remote.RemoteProtocol.MetadataEntryProtocol.getDefaultInstance());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
public java.util.List<akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataBuilderList() {
|
|
|
|
|
return getMetadataFieldBuilder().getBuilderList();
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol, akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder, akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder>
|
2011-09-09 13:46:36 +02:00
|
|
|
getMetadataFieldBuilder() {
|
|
|
|
|
if (metadataBuilder_ == null) {
|
|
|
|
|
metadataBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol, akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder, akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder>(
|
2011-09-09 13:46:36 +02:00
|
|
|
metadata_,
|
2011-12-08 14:44:05 +01:00
|
|
|
((bitField0_ & 0x00000008) == 0x00000008),
|
2011-09-09 13:46:36 +02:00
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
metadata_ = null;
|
|
|
|
|
}
|
|
|
|
|
return metadataBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(builder_scope:RemoteMessageProtocol)
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
|
|
|
|
defaultInstance = new RemoteMessageProtocol(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(class_scope:RemoteMessageProtocol)
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public interface RemoteControlProtocolOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// required .CommandType commandType = 1;
|
|
|
|
|
boolean hasCommandType();
|
|
|
|
|
akka.remote.RemoteProtocol.CommandType getCommandType();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// optional string cookie = 2;
|
2011-09-09 13:46:36 +02:00
|
|
|
boolean hasCookie();
|
|
|
|
|
String getCookie();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 19:32:53 +01:00
|
|
|
// optional .AddressProtocol origin = 3;
|
2011-11-03 18:33:57 +01:00
|
|
|
boolean hasOrigin();
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol getOrigin();
|
|
|
|
|
akka.remote.RemoteProtocol.AddressProtocolOrBuilder getOriginOrBuilder();
|
2011-11-03 18:33:57 +01:00
|
|
|
}
|
|
|
|
|
public static final class RemoteControlProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements RemoteControlProtocolOrBuilder {
|
|
|
|
|
// Use RemoteControlProtocol.newBuilder() to construct.
|
|
|
|
|
private RemoteControlProtocol(Builder builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
}
|
|
|
|
|
private RemoteControlProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private static final RemoteControlProtocol defaultInstance;
|
|
|
|
|
public static RemoteControlProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public RemoteControlProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteControlProtocol_descriptor;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteControlProtocol_fieldAccessorTable;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private int bitField0_;
|
|
|
|
|
// required .CommandType commandType = 1;
|
|
|
|
|
public static final int COMMANDTYPE_FIELD_NUMBER = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.CommandType commandType_;
|
|
|
|
|
public boolean hasCommandType() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
public akka.remote.RemoteProtocol.CommandType getCommandType() {
|
|
|
|
|
return commandType_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// optional string cookie = 2;
|
|
|
|
|
public static final int COOKIE_FIELD_NUMBER = 2;
|
|
|
|
|
private java.lang.Object cookie_;
|
|
|
|
|
public boolean hasCookie() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
public String getCookie() {
|
|
|
|
|
java.lang.Object ref = cookie_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
} else {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString bs =
|
2011-11-03 18:33:57 +01:00
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
|
String s = bs.toStringUtf8();
|
|
|
|
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
|
|
cookie_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.ByteString getCookieBytes() {
|
|
|
|
|
java.lang.Object ref = cookie_;
|
|
|
|
|
if (ref instanceof String) {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString b =
|
2011-11-03 18:33:57 +01:00
|
|
|
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
|
|
cookie_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 19:32:53 +01:00
|
|
|
// optional .AddressProtocol origin = 3;
|
2011-11-03 18:33:57 +01:00
|
|
|
public static final int ORIGIN_FIELD_NUMBER = 3;
|
2011-11-03 19:32:53 +01:00
|
|
|
private akka.remote.RemoteProtocol.AddressProtocol origin_;
|
2011-11-03 18:33:57 +01:00
|
|
|
public boolean hasOrigin() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol getOrigin() {
|
2011-11-03 18:33:57 +01:00
|
|
|
return origin_;
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocolOrBuilder getOriginOrBuilder() {
|
2011-11-03 18:33:57 +01:00
|
|
|
return origin_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private void initFields() {
|
|
|
|
|
commandType_ = akka.remote.RemoteProtocol.CommandType.CONNECT;
|
|
|
|
|
cookie_ = "";
|
2011-11-03 19:32:53 +01:00
|
|
|
origin_ = akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance();
|
2011-11-03 18:33:57 +01:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
if (!hasCommandType()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (hasOrigin()) {
|
|
|
|
|
if (!getOrigin().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
output.writeEnum(1, commandType_.getNumber());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeBytes(2, getCookieBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeMessage(3, origin_);
|
|
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeEnumSize(1, commandType_.getNumber());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(2, getCookieBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeMessageSize(3, origin_);
|
|
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseDelimitedFrom(
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
|
|
|
|
public static akka.remote.RemoteProtocol.RemoteControlProtocol parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.RemoteControlProtocol prototype) {
|
|
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements akka.remote.RemoteProtocol.RemoteControlProtocolOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteControlProtocol_descriptor;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.remote.RemoteProtocol.internal_static_RemoteControlProtocol_fieldAccessorTable;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// Construct using akka.remote.RemoteProtocol.RemoteControlProtocol.newBuilder()
|
|
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-11-03 18:33:57 +01:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
getOriginFieldBuilder();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
|
|
|
|
commandType_ = akka.remote.RemoteProtocol.CommandType.CONNECT;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
cookie_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
if (originBuilder_ == null) {
|
2011-11-03 19:32:53 +01:00
|
|
|
origin_ = akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance();
|
2011-11-03 18:33:57 +01:00
|
|
|
} else {
|
|
|
|
|
originBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.RemoteControlProtocol.getDescriptor();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private akka.remote.RemoteProtocol.RemoteControlProtocol buildParsed()
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public akka.remote.RemoteProtocol.RemoteControlProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol result = new akka.remote.RemoteProtocol.RemoteControlProtocol(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
result.commandType_ = commandType_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
result.cookie_ = cookie_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
result.origin_ = origin_;
|
|
|
|
|
} else {
|
|
|
|
|
result.origin_ = originBuilder_.build();
|
|
|
|
|
}
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof akka.remote.RemoteProtocol.RemoteControlProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.RemoteControlProtocol)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.RemoteControlProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.RemoteControlProtocol.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasCommandType()) {
|
|
|
|
|
setCommandType(other.getCommandType());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasCookie()) {
|
|
|
|
|
setCookie(other.getCookie());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasOrigin()) {
|
|
|
|
|
mergeOrigin(other.getOrigin());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (!hasCommandType()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (hasOrigin()) {
|
|
|
|
|
if (!getOrigin().isInitialized()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 8: {
|
|
|
|
|
int rawValue = input.readEnum();
|
|
|
|
|
akka.remote.RemoteProtocol.CommandType value = akka.remote.RemoteProtocol.CommandType.valueOf(rawValue);
|
|
|
|
|
if (value == null) {
|
|
|
|
|
unknownFields.mergeVarintField(1, rawValue);
|
|
|
|
|
} else {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
commandType_ = value;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
cookie_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol.Builder subBuilder = akka.remote.RemoteProtocol.AddressProtocol.newBuilder();
|
2011-11-03 18:33:57 +01:00
|
|
|
if (hasOrigin()) {
|
|
|
|
|
subBuilder.mergeFrom(getOrigin());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setOrigin(subBuilder.buildPartial());
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// required .CommandType commandType = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.CommandType commandType_ = akka.remote.RemoteProtocol.CommandType.CONNECT;
|
|
|
|
|
public boolean hasCommandType() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
public akka.remote.RemoteProtocol.CommandType getCommandType() {
|
|
|
|
|
return commandType_;
|
|
|
|
|
}
|
|
|
|
|
public Builder setCommandType(akka.remote.RemoteProtocol.CommandType value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
commandType_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearCommandType() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
commandType_ = akka.remote.RemoteProtocol.CommandType.CONNECT;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// optional string cookie = 2;
|
|
|
|
|
private java.lang.Object cookie_ = "";
|
|
|
|
|
public boolean hasCookie() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
public String getCookie() {
|
|
|
|
|
java.lang.Object ref = cookie_;
|
|
|
|
|
if (!(ref instanceof String)) {
|
|
|
|
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
|
|
cookie_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public Builder setCookie(String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
cookie_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearCookie() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
cookie_ = getDefaultInstance().getCookie();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
void setCookie(com.google.protobuf.ByteString value) {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
cookie_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 19:32:53 +01:00
|
|
|
// optional .AddressProtocol origin = 3;
|
|
|
|
|
private akka.remote.RemoteProtocol.AddressProtocol origin_ = akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance();
|
2011-11-03 18:33:57 +01:00
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol, akka.remote.RemoteProtocol.AddressProtocol.Builder, akka.remote.RemoteProtocol.AddressProtocolOrBuilder> originBuilder_;
|
2011-11-03 18:33:57 +01:00
|
|
|
public boolean hasOrigin() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol getOrigin() {
|
2011-11-03 18:33:57 +01:00
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
return origin_;
|
|
|
|
|
} else {
|
|
|
|
|
return originBuilder_.getMessage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public Builder setOrigin(akka.remote.RemoteProtocol.AddressProtocol value) {
|
2011-11-03 18:33:57 +01:00
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
origin_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
originBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder setOrigin(
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol.Builder builderForValue) {
|
2011-11-03 18:33:57 +01:00
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
origin_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
originBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public Builder mergeOrigin(akka.remote.RemoteProtocol.AddressProtocol value) {
|
2011-11-03 18:33:57 +01:00
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
2011-11-03 19:32:53 +01:00
|
|
|
origin_ != akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance()) {
|
2011-11-03 18:33:57 +01:00
|
|
|
origin_ =
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol.newBuilder(origin_).mergeFrom(value).buildPartial();
|
2011-11-03 18:33:57 +01:00
|
|
|
} else {
|
|
|
|
|
origin_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
originBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearOrigin() {
|
|
|
|
|
if (originBuilder_ == null) {
|
2011-11-03 19:32:53 +01:00
|
|
|
origin_ = akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance();
|
2011-11-03 18:33:57 +01:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
originBuilder_.clear();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol.Builder getOriginBuilder() {
|
2011-11-03 18:33:57 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
onChanged();
|
|
|
|
|
return getOriginFieldBuilder().getBuilder();
|
|
|
|
|
}
|
2011-11-03 19:32:53 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocolOrBuilder getOriginOrBuilder() {
|
2011-11-03 18:33:57 +01:00
|
|
|
if (originBuilder_ != null) {
|
|
|
|
|
return originBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return origin_;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2012-02-01 16:06:30 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol, akka.remote.RemoteProtocol.AddressProtocol.Builder, akka.remote.RemoteProtocol.AddressProtocolOrBuilder>
|
2011-11-03 18:33:57 +01:00
|
|
|
getOriginFieldBuilder() {
|
|
|
|
|
if (originBuilder_ == null) {
|
|
|
|
|
originBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 19:32:53 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol, akka.remote.RemoteProtocol.AddressProtocol.Builder, akka.remote.RemoteProtocol.AddressProtocolOrBuilder>(
|
2011-11-03 18:33:57 +01:00
|
|
|
origin_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
origin_ = null;
|
|
|
|
|
}
|
|
|
|
|
return originBuilder_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// @@protoc_insertion_point(builder_scope:RemoteControlProtocol)
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
static {
|
|
|
|
|
defaultInstance = new RemoteControlProtocol(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 18:33:57 +01:00
|
|
|
// @@protoc_insertion_point(class_scope:RemoteControlProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public interface ActorRefProtocolOrBuilder
|
2011-09-09 13:46:36 +02:00
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-01 14:29:33 +01:00
|
|
|
// required string path = 1;
|
2011-11-08 14:30:33 +01:00
|
|
|
boolean hasPath();
|
|
|
|
|
String getPath();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static final class ActorRefProtocol extends
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage
|
2011-11-03 14:53:38 +01:00
|
|
|
implements ActorRefProtocolOrBuilder {
|
|
|
|
|
// Use ActorRefProtocol.newBuilder() to construct.
|
|
|
|
|
private ActorRefProtocol(Builder builder) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(builder);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
private ActorRefProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private static final ActorRefProtocol defaultInstance;
|
|
|
|
|
public static ActorRefProtocol getDefaultInstance() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public ActorRefProtocol getDefaultInstanceForType() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_ActorRefProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_ActorRefProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-12-01 14:29:33 +01:00
|
|
|
// required string path = 1;
|
|
|
|
|
public static final int PATH_FIELD_NUMBER = 1;
|
2011-11-08 14:30:33 +01:00
|
|
|
private java.lang.Object path_;
|
|
|
|
|
public boolean hasPath() {
|
2011-12-01 14:29:33 +01:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
2011-11-08 14:30:33 +01:00
|
|
|
}
|
|
|
|
|
public String getPath() {
|
|
|
|
|
java.lang.Object ref = path_;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (ref instanceof String) {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
} else {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString bs =
|
2011-11-03 14:53:38 +01:00
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
|
String s = bs.toStringUtf8();
|
|
|
|
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = s;
|
2011-11-03 14:53:38 +01:00
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-08 14:30:33 +01:00
|
|
|
private com.google.protobuf.ByteString getPathBytes() {
|
|
|
|
|
java.lang.Object ref = path_;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (ref instanceof String) {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString b =
|
2011-11-03 14:53:38 +01:00
|
|
|
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = b;
|
2011-11-03 14:53:38 +01:00
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = "";
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-08 14:30:33 +01:00
|
|
|
if (!hasPath()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
2011-12-01 14:29:33 +01:00
|
|
|
output.writeBytes(1, getPathBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-01 14:29:33 +01:00
|
|
|
.computeBytesSize(1, getPathBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.ActorRefProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-11-03 14:53:38 +01:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.ActorRefProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-11-03 14:53:38 +01:00
|
|
|
implements akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_ActorRefProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_ActorRefProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// Construct using akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = "";
|
2011-12-01 14:29:33 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.ActorRefProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol result = new akka.remote.RemoteProtocol.ActorRefProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-11-08 14:30:33 +01:00
|
|
|
result.path_ = path_;
|
2011-09-09 13:46:36 +02:00
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.ActorRefProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.ActorRefProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.ActorRefProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance()) return this;
|
2011-11-08 14:30:33 +01:00
|
|
|
if (other.hasPath()) {
|
|
|
|
|
setPath(other.getPath());
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-11-08 14:30:33 +01:00
|
|
|
if (!hasPath()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-01 14:29:33 +01:00
|
|
|
// required string path = 1;
|
2011-11-08 14:30:33 +01:00
|
|
|
private java.lang.Object path_ = "";
|
|
|
|
|
public boolean hasPath() {
|
2011-12-01 14:29:33 +01:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
2011-11-08 14:30:33 +01:00
|
|
|
}
|
|
|
|
|
public String getPath() {
|
|
|
|
|
java.lang.Object ref = path_;
|
|
|
|
|
if (!(ref instanceof String)) {
|
|
|
|
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
|
|
path_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public Builder setPath(String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-12-01 14:29:33 +01:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearPath() {
|
2011-12-01 14:29:33 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = getDefaultInstance().getPath();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
void setPath(com.google.protobuf.ByteString value) {
|
2011-12-01 14:29:33 +01:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-11-08 14:30:33 +01:00
|
|
|
path_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// @@protoc_insertion_point(builder_scope:ActorRefProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
2011-11-03 14:53:38 +01:00
|
|
|
defaultInstance = new ActorRefProtocol(true);
|
2011-09-09 13:46:36 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// @@protoc_insertion_point(class_scope:ActorRefProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public interface MessageProtocolOrBuilder
|
2011-09-09 13:46:36 +02:00
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required bytes message = 1;
|
|
|
|
|
boolean hasMessage();
|
|
|
|
|
com.google.protobuf.ByteString getMessage();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// required int32 serializerId = 2;
|
|
|
|
|
boolean hasSerializerId();
|
|
|
|
|
int getSerializerId();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// optional bytes messageManifest = 3;
|
2011-11-03 14:53:38 +01:00
|
|
|
boolean hasMessageManifest();
|
|
|
|
|
com.google.protobuf.ByteString getMessageManifest();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static final class MessageProtocol extends
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage
|
2011-11-03 14:53:38 +01:00
|
|
|
implements MessageProtocolOrBuilder {
|
|
|
|
|
// Use MessageProtocol.newBuilder() to construct.
|
|
|
|
|
private MessageProtocol(Builder builder) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(builder);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
private MessageProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private static final MessageProtocol defaultInstance;
|
|
|
|
|
public static MessageProtocol getDefaultInstance() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public MessageProtocol getDefaultInstanceForType() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-11-03 14:53:38 +01:00
|
|
|
// required bytes message = 1;
|
|
|
|
|
public static final int MESSAGE_FIELD_NUMBER = 1;
|
|
|
|
|
private com.google.protobuf.ByteString message_;
|
|
|
|
|
public boolean hasMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public com.google.protobuf.ByteString getMessage() {
|
|
|
|
|
return message_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// required int32 serializerId = 2;
|
|
|
|
|
public static final int SERIALIZERID_FIELD_NUMBER = 2;
|
|
|
|
|
private int serializerId_;
|
|
|
|
|
public boolean hasSerializerId() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
public int getSerializerId() {
|
|
|
|
|
return serializerId_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// optional bytes messageManifest = 3;
|
|
|
|
|
public static final int MESSAGEMANIFEST_FIELD_NUMBER = 3;
|
2011-11-03 14:53:38 +01:00
|
|
|
private com.google.protobuf.ByteString messageManifest_;
|
|
|
|
|
public boolean hasMessageManifest() {
|
2011-12-29 16:11:56 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public com.google.protobuf.ByteString getMessageManifest() {
|
|
|
|
|
return messageManifest_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private void initFields() {
|
|
|
|
|
message_ = com.google.protobuf.ByteString.EMPTY;
|
2011-12-29 16:11:56 +01:00
|
|
|
serializerId_ = 0;
|
2011-11-03 14:53:38 +01:00
|
|
|
messageManifest_ = com.google.protobuf.ByteString.EMPTY;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasMessage()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
if (!hasSerializerId()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
output.writeBytes(1, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2011-12-29 16:11:56 +01:00
|
|
|
output.writeInt32(2, serializerId_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeBytes(3, messageManifest_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
getUnknownFields().writeTo(output);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(1, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-29 16:11:56 +01:00
|
|
|
.computeInt32Size(2, serializerId_);
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(3, messageManifest_);
|
2011-11-03 14:53:38 +01:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-11-03 14:53:38 +01:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.MessageProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-11-03 14:53:38 +01:00
|
|
|
implements akka.remote.RemoteProtocol.MessageProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// Construct using akka.remote.RemoteProtocol.MessageProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-11-03 14:53:38 +01:00
|
|
|
message_ = com.google.protobuf.ByteString.EMPTY;
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-12-29 16:11:56 +01:00
|
|
|
serializerId_ = 0;
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-12-29 16:11:56 +01:00
|
|
|
messageManifest_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return akka.remote.RemoteProtocol.MessageProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.MessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private akka.remote.RemoteProtocol.MessageProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.MessageProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.MessageProtocol result = new akka.remote.RemoteProtocol.MessageProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
result.message_ = message_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
result.serializerId_ = serializerId_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
result.messageManifest_ = messageManifest_;
|
2011-09-09 13:46:36 +02:00
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.MessageProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.MessageProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.MessageProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.MessageProtocol.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasMessage()) {
|
|
|
|
|
setMessage(other.getMessage());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
if (other.hasSerializerId()) {
|
|
|
|
|
setSerializerId(other.getSerializerId());
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other.hasMessageManifest()) {
|
|
|
|
|
setMessageManifest(other.getMessageManifest());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasMessage()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
if (!hasSerializerId()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
case 10: {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-11-03 14:53:38 +01:00
|
|
|
message_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
case 16: {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-12-29 16:11:56 +01:00
|
|
|
serializerId_ = input.readInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
2011-11-03 14:53:38 +01:00
|
|
|
messageManifest_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required bytes message = 1;
|
|
|
|
|
private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public com.google.protobuf.ByteString getMessage() {
|
|
|
|
|
return message_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setMessage(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
message_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder clearMessage() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-11-03 14:53:38 +01:00
|
|
|
message_ = getDefaultInstance().getMessage();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// required int32 serializerId = 2;
|
|
|
|
|
private int serializerId_ ;
|
|
|
|
|
public boolean hasSerializerId() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
public int getSerializerId() {
|
|
|
|
|
return serializerId_;
|
|
|
|
|
}
|
|
|
|
|
public Builder setSerializerId(int value) {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
serializerId_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearSerializerId() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
serializerId_ = 0;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-29 16:11:56 +01:00
|
|
|
// optional bytes messageManifest = 3;
|
2011-11-03 14:53:38 +01:00
|
|
|
private com.google.protobuf.ByteString messageManifest_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasMessageManifest() {
|
2011-12-29 16:11:56 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public com.google.protobuf.ByteString getMessageManifest() {
|
|
|
|
|
return messageManifest_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setMessageManifest(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-12-29 16:11:56 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-11-03 14:53:38 +01:00
|
|
|
messageManifest_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder clearMessageManifest() {
|
2011-12-29 16:11:56 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-11-03 14:53:38 +01:00
|
|
|
messageManifest_ = getDefaultInstance().getMessageManifest();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// @@protoc_insertion_point(builder_scope:MessageProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
2011-11-03 14:53:38 +01:00
|
|
|
defaultInstance = new MessageProtocol(true);
|
2011-09-09 13:46:36 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// @@protoc_insertion_point(class_scope:MessageProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public interface MetadataEntryProtocolOrBuilder
|
2011-11-03 14:53:38 +01:00
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string key = 1;
|
|
|
|
|
boolean hasKey();
|
|
|
|
|
String getKey();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required bytes value = 2;
|
|
|
|
|
boolean hasValue();
|
|
|
|
|
com.google.protobuf.ByteString getValue();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static final class MetadataEntryProtocol extends
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage
|
2011-12-26 18:23:55 +01:00
|
|
|
implements MetadataEntryProtocolOrBuilder {
|
|
|
|
|
// Use MetadataEntryProtocol.newBuilder() to construct.
|
|
|
|
|
private MetadataEntryProtocol(Builder builder) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(builder);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
private MetadataEntryProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
private static final MetadataEntryProtocol defaultInstance;
|
|
|
|
|
public static MetadataEntryProtocol getDefaultInstance() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public MetadataEntryProtocol getDefaultInstanceForType() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MetadataEntryProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MetadataEntryProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string key = 1;
|
|
|
|
|
public static final int KEY_FIELD_NUMBER = 1;
|
|
|
|
|
private java.lang.Object key_;
|
|
|
|
|
public boolean hasKey() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getKey() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
} else {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString bs =
|
2011-12-26 18:23:55 +01:00
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
|
String s = bs.toStringUtf8();
|
|
|
|
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
|
|
key_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.ByteString getKeyBytes() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (ref instanceof String) {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString b =
|
2011-12-26 18:23:55 +01:00
|
|
|
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
|
|
key_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required bytes value = 2;
|
|
|
|
|
public static final int VALUE_FIELD_NUMBER = 2;
|
|
|
|
|
private com.google.protobuf.ByteString value_;
|
|
|
|
|
public boolean hasValue() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public com.google.protobuf.ByteString getValue() {
|
|
|
|
|
return value_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-12-26 18:23:55 +01:00
|
|
|
key_ = "";
|
|
|
|
|
value_ = com.google.protobuf.ByteString.EMPTY;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasKey()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasValue()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
output.writeBytes(1, getKeyBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
output.writeBytes(2, value_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-26 18:23:55 +01:00
|
|
|
.computeBytesSize(1, getKeyBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-26 18:23:55 +01:00
|
|
|
.computeBytesSize(2, value_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.MetadataEntryProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-12-26 18:23:55 +01:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.MetadataEntryProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-12-26 18:23:55 +01:00
|
|
|
implements akka.remote.RemoteProtocol.MetadataEntryProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MetadataEntryProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_MetadataEntryProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// Construct using akka.remote.RemoteProtocol.MetadataEntryProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-12-26 18:23:55 +01:00
|
|
|
key_ = "";
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-12-26 18:23:55 +01:00
|
|
|
value_ = com.google.protobuf.ByteString.EMPTY;
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.MetadataEntryProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.MetadataEntryProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
private akka.remote.RemoteProtocol.MetadataEntryProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-12-26 18:23:55 +01:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.MetadataEntryProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol result = new akka.remote.RemoteProtocol.MetadataEntryProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
result.key_ = key_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
result.value_ = value_;
|
2011-09-09 13:46:36 +02:00
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-12-26 18:23:55 +01:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.MetadataEntryProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.MetadataEntryProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.MetadataEntryProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.MetadataEntryProtocol.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasKey()) {
|
|
|
|
|
setKey(other.getKey());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (other.hasValue()) {
|
|
|
|
|
setValue(other.getValue());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasKey()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasValue()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
case 10: {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-12-26 18:23:55 +01:00
|
|
|
key_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
case 18: {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-12-26 18:23:55 +01:00
|
|
|
value_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string key = 1;
|
|
|
|
|
private java.lang.Object key_ = "";
|
|
|
|
|
public boolean hasKey() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getKey() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (!(ref instanceof String)) {
|
|
|
|
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
|
|
key_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder setKey(String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
key_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder clearKey() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-12-26 18:23:55 +01:00
|
|
|
key_ = getDefaultInstance().getKey();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
void setKey(com.google.protobuf.ByteString value) {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
key_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required bytes value = 2;
|
|
|
|
|
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasValue() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public com.google.protobuf.ByteString getValue() {
|
|
|
|
|
return value_;
|
2011-11-03 14:53:38 +01:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder setValue(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
value_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder clearValue() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-12-26 18:23:55 +01:00
|
|
|
value_ = getDefaultInstance().getValue();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// @@protoc_insertion_point(builder_scope:MetadataEntryProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
2011-12-26 18:23:55 +01:00
|
|
|
defaultInstance = new MetadataEntryProtocol(true);
|
2011-09-09 13:46:36 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// @@protoc_insertion_point(class_scope:MetadataEntryProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public interface AddressProtocolOrBuilder
|
2011-09-09 13:46:36 +02:00
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string system = 1;
|
|
|
|
|
boolean hasSystem();
|
|
|
|
|
String getSystem();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string hostname = 2;
|
|
|
|
|
boolean hasHostname();
|
|
|
|
|
String getHostname();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required uint32 port = 3;
|
|
|
|
|
boolean hasPort();
|
|
|
|
|
int getPort();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static final class AddressProtocol extends
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage
|
2011-12-26 18:23:55 +01:00
|
|
|
implements AddressProtocolOrBuilder {
|
|
|
|
|
// Use AddressProtocol.newBuilder() to construct.
|
|
|
|
|
private AddressProtocol(Builder builder) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(builder);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
private AddressProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
private static final AddressProtocol defaultInstance;
|
|
|
|
|
public static AddressProtocol getDefaultInstance() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public AddressProtocol getDefaultInstanceForType() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AddressProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AddressProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string system = 1;
|
|
|
|
|
public static final int SYSTEM_FIELD_NUMBER = 1;
|
|
|
|
|
private java.lang.Object system_;
|
|
|
|
|
public boolean hasSystem() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getSystem() {
|
|
|
|
|
java.lang.Object ref = system_;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (ref instanceof String) {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
} else {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString bs =
|
2011-11-03 14:53:38 +01:00
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
|
String s = bs.toStringUtf8();
|
|
|
|
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = s;
|
2011-11-03 14:53:38 +01:00
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
private com.google.protobuf.ByteString getSystemBytes() {
|
|
|
|
|
java.lang.Object ref = system_;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (ref instanceof String) {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString b =
|
2011-11-03 14:53:38 +01:00
|
|
|
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = b;
|
2011-11-03 14:53:38 +01:00
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string hostname = 2;
|
|
|
|
|
public static final int HOSTNAME_FIELD_NUMBER = 2;
|
|
|
|
|
private java.lang.Object hostname_;
|
|
|
|
|
public boolean hasHostname() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getHostname() {
|
|
|
|
|
java.lang.Object ref = hostname_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (ref instanceof String) {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
} else {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString bs =
|
2011-09-09 13:46:36 +02:00
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
|
String s = bs.toStringUtf8();
|
|
|
|
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = s;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
private com.google.protobuf.ByteString getHostnameBytes() {
|
|
|
|
|
java.lang.Object ref = hostname_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (ref instanceof String) {
|
2012-02-01 16:06:30 +01:00
|
|
|
com.google.protobuf.ByteString b =
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = b;
|
2011-09-09 13:46:36 +02:00
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required uint32 port = 3;
|
|
|
|
|
public static final int PORT_FIELD_NUMBER = 3;
|
|
|
|
|
private int port_;
|
|
|
|
|
public boolean hasPort() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
public int getPort() {
|
|
|
|
|
return port_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = "";
|
|
|
|
|
hostname_ = "";
|
|
|
|
|
port_ = 0;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasSystem()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasHostname()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasPort()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
output.writeBytes(1, getSystemBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2011-12-26 18:23:55 +01:00
|
|
|
output.writeBytes(2, getHostnameBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
output.writeUInt32(3, port_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-26 18:23:55 +01:00
|
|
|
.computeBytesSize(1, getSystemBytes());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-12-26 18:23:55 +01:00
|
|
|
.computeBytesSize(2, getHostnameBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeUInt32Size(3, port_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public static akka.remote.RemoteProtocol.AddressProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-12-26 18:23:55 +01:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.AddressProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-12-26 18:23:55 +01:00
|
|
|
implements akka.remote.RemoteProtocol.AddressProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AddressProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_AddressProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// Construct using akka.remote.RemoteProtocol.AddressProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = "";
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = "";
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-12-26 18:23:55 +01:00
|
|
|
port_ = 0;
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-12-26 18:23:55 +01:00
|
|
|
return akka.remote.RemoteProtocol.AddressProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.AddressProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
private akka.remote.RemoteProtocol.AddressProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-12-26 18:23:55 +01:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public akka.remote.RemoteProtocol.AddressProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.AddressProtocol result = new akka.remote.RemoteProtocol.AddressProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
result.system_ = system_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
result.hostname_ = hostname_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
|
|
|
|
}
|
|
|
|
|
result.port_ = port_;
|
2011-09-09 13:46:36 +02:00
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-12-26 18:23:55 +01:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.AddressProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.AddressProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.AddressProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.AddressProtocol.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasSystem()) {
|
|
|
|
|
setSystem(other.getSystem());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (other.hasHostname()) {
|
|
|
|
|
setHostname(other.getHostname());
|
|
|
|
|
}
|
|
|
|
|
if (other.hasPort()) {
|
|
|
|
|
setPort(other.getPort());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasSystem()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
if (!hasHostname()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasPort()) {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = input.readBytes();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
port_ = input.readUInt32();
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string system = 1;
|
|
|
|
|
private java.lang.Object system_ = "";
|
|
|
|
|
public boolean hasSystem() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getSystem() {
|
|
|
|
|
java.lang.Object ref = system_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!(ref instanceof String)) {
|
|
|
|
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = s;
|
2011-09-09 13:46:36 +02:00
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder setSystem(String value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder clearSystem() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = getDefaultInstance().getSystem();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
void setSystem(com.google.protobuf.ByteString value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-12-26 18:23:55 +01:00
|
|
|
system_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required string hostname = 2;
|
|
|
|
|
private java.lang.Object hostname_ = "";
|
|
|
|
|
public boolean hasHostname() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public String getHostname() {
|
|
|
|
|
java.lang.Object ref = hostname_;
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!(ref instanceof String)) {
|
|
|
|
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = s;
|
2011-09-09 13:46:36 +02:00
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder setHostname(String value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
public Builder clearHostname() {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = getDefaultInstance().getHostname();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-12-26 18:23:55 +01:00
|
|
|
void setHostname(com.google.protobuf.ByteString value) {
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-12-26 18:23:55 +01:00
|
|
|
hostname_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// required uint32 port = 3;
|
|
|
|
|
private int port_ ;
|
|
|
|
|
public boolean hasPort() {
|
|
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
|
|
}
|
|
|
|
|
public int getPort() {
|
|
|
|
|
return port_;
|
|
|
|
|
}
|
|
|
|
|
public Builder setPort(int value) {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
|
|
|
|
port_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearPort() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
|
|
port_ = 0;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// @@protoc_insertion_point(builder_scope:AddressProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
2011-12-26 18:23:55 +01:00
|
|
|
defaultInstance = new AddressProtocol(true);
|
2011-09-09 13:46:36 +02:00
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-12-26 18:23:55 +01:00
|
|
|
// @@protoc_insertion_point(class_scope:AddressProtocol)
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public interface DurableMailboxMessageProtocolOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
boolean hasRecipient();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol getRecipient();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// optional .ActorRefProtocol sender = 2;
|
|
|
|
|
boolean hasSender();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol getSender();
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder();
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required bytes message = 3;
|
2011-09-09 13:46:36 +02:00
|
|
|
boolean hasMessage();
|
|
|
|
|
com.google.protobuf.ByteString getMessage();
|
|
|
|
|
}
|
|
|
|
|
public static final class DurableMailboxMessageProtocol extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements DurableMailboxMessageProtocolOrBuilder {
|
|
|
|
|
// Use DurableMailboxMessageProtocol.newBuilder() to construct.
|
|
|
|
|
private DurableMailboxMessageProtocol(Builder builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
}
|
|
|
|
|
private DurableMailboxMessageProtocol(boolean noInit) {}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final DurableMailboxMessageProtocol defaultInstance;
|
|
|
|
|
public static DurableMailboxMessageProtocol getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public DurableMailboxMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_DurableMailboxMessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
2011-11-03 14:53:38 +01:00
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return akka.remote.RemoteProtocol.internal_static_DurableMailboxMessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
private int bitField0_;
|
|
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
public static final int RECIPIENT_FIELD_NUMBER = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol recipient_;
|
|
|
|
|
public boolean hasRecipient() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getRecipient() {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder() {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// optional .ActorRefProtocol sender = 2;
|
|
|
|
|
public static final int SENDER_FIELD_NUMBER = 2;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol sender_;
|
|
|
|
|
public boolean hasSender() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getSender() {
|
|
|
|
|
return sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder() {
|
|
|
|
|
return sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
// required bytes message = 3;
|
|
|
|
|
public static final int MESSAGE_FIELD_NUMBER = 3;
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.ByteString message_;
|
|
|
|
|
public boolean hasMessage() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
public com.google.protobuf.ByteString getMessage() {
|
|
|
|
|
return message_;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private void initFields() {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
|
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasRecipient()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasMessage()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!getRecipient().isInitialized()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (hasSender()) {
|
|
|
|
|
if (!getSender().isInitialized()) {
|
2011-09-09 13:46:36 +02:00
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(1, recipient_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeMessage(2, sender_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
2011-11-03 14:53:38 +01:00
|
|
|
output.writeBytes(3, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
getUnknownFields().writeTo(output);
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int memoizedSerializedSize = -1;
|
|
|
|
|
public int getSerializedSize() {
|
|
|
|
|
int size = memoizedSerializedSize;
|
|
|
|
|
if (size != -1) return size;
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
size = 0;
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(1, recipient_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeMessageSize(2, sender_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2011-11-03 14:53:38 +01:00
|
|
|
.computeBytesSize(3, message_);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
size += getUnknownFields().getSerializedSize();
|
|
|
|
|
memoizedSerializedSize = size;
|
|
|
|
|
return size;
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
protected java.lang.Object writeReplace()
|
|
|
|
|
throws java.io.ObjectStreamException {
|
|
|
|
|
return super.writeReplace();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(byte[] data)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseDelimitedFrom(java.io.InputStream input)
|
2011-09-09 13:46:36 +02:00
|
|
|
throws java.io.IOException {
|
|
|
|
|
Builder builder = newBuilder();
|
|
|
|
|
if (builder.mergeDelimitedFrom(input)) {
|
|
|
|
|
return builder.buildParsed();
|
|
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseDelimitedFrom(
|
2011-09-09 13:46:36 +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-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
|
|
}
|
2011-09-20 21:44:50 +02:00
|
|
|
public static akka.remote.RemoteProtocol.DurableMailboxMessageProtocol parseFrom(
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
|
|
.buildParsed();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static Builder newBuilder() { return Builder.create(); }
|
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
2011-09-20 21:44:50 +02:00
|
|
|
public static Builder newBuilder(akka.remote.RemoteProtocol.DurableMailboxMessageProtocol prototype) {
|
2011-09-09 13:46:36 +02:00
|
|
|
return newBuilder().mergeFrom(prototype);
|
|
|
|
|
}
|
|
|
|
|
public Builder toBuilder() { return newBuilder(this); }
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
@java.lang.Override
|
|
|
|
|
protected Builder newBuilderForType(
|
|
|
|
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
|
|
Builder builder = new Builder(parent);
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
2011-09-20 21:44:50 +02:00
|
|
|
implements akka.remote.RemoteProtocol.DurableMailboxMessageProtocolOrBuilder {
|
2011-09-09 13:46:36 +02:00
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_DurableMailboxMessageProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.internal_static_DurableMailboxMessageProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
// Construct using akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.newBuilder()
|
2011-09-09 13:46:36 +02:00
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
2012-02-01 16:06:30 +01:00
|
|
|
|
2012-05-07 18:02:42 +02:00
|
|
|
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2011-09-09 13:46:36 +02:00
|
|
|
super(parent);
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
|
private void maybeForceBuilderInitialization() {
|
|
|
|
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
2011-11-03 14:53:38 +01:00
|
|
|
getRecipientFieldBuilder();
|
|
|
|
|
getSenderFieldBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private static Builder create() {
|
|
|
|
|
return new Builder();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clear() {
|
|
|
|
|
super.clear();
|
2011-11-03 14:53:38 +01:00
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
|
|
|
|
} else {
|
|
|
|
|
recipientBuilder_.clear();
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-11-03 14:53:38 +01:00
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
senderBuilder_.clear();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ = com.google.protobuf.ByteString.EMPTY;
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
2011-09-20 21:44:50 +02:00
|
|
|
return akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.getDescriptor();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.DurableMailboxMessageProtocol getDefaultInstanceForType() {
|
|
|
|
|
return akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.DurableMailboxMessageProtocol build() {
|
|
|
|
|
akka.remote.RemoteProtocol.DurableMailboxMessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
private akka.remote.RemoteProtocol.DurableMailboxMessageProtocol buildParsed()
|
2011-09-09 13:46:36 +02:00
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.DurableMailboxMessageProtocol result = buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(
|
|
|
|
|
result).asInvalidProtocolBufferException();
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public akka.remote.RemoteProtocol.DurableMailboxMessageProtocol buildPartial() {
|
|
|
|
|
akka.remote.RemoteProtocol.DurableMailboxMessageProtocol result = new akka.remote.RemoteProtocol.DurableMailboxMessageProtocol(this);
|
2011-09-09 13:46:36 +02:00
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
result.recipient_ = recipient_;
|
|
|
|
|
} else {
|
|
|
|
|
result.recipient_ = recipientBuilder_.build();
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
result.sender_ = sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
result.sender_ = senderBuilder_.build();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
|
|
to_bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
result.message_ = message_;
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2011-09-20 21:44:50 +02:00
|
|
|
if (other instanceof akka.remote.RemoteProtocol.DurableMailboxMessageProtocol) {
|
|
|
|
|
return mergeFrom((akka.remote.RemoteProtocol.DurableMailboxMessageProtocol)other);
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-20 21:44:50 +02:00
|
|
|
public Builder mergeFrom(akka.remote.RemoteProtocol.DurableMailboxMessageProtocol other) {
|
|
|
|
|
if (other == akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.getDefaultInstance()) return this;
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other.hasRecipient()) {
|
|
|
|
|
mergeRecipient(other.getRecipient());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (other.hasSender()) {
|
|
|
|
|
mergeSender(other.getSender());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
if (other.hasMessage()) {
|
|
|
|
|
setMessage(other.getMessage());
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public final boolean isInitialized() {
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!hasRecipient()) {
|
|
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (!hasMessage()) {
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
if (!getRecipient().isInitialized()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (hasSender()) {
|
|
|
|
|
if (!getSender().isInitialized()) {
|
|
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
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());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
default: {
|
|
|
|
|
if (!parseUnknownField(input, unknownFields,
|
|
|
|
|
extensionRegistry, tag)) {
|
|
|
|
|
this.setUnknownFields(unknownFields.build());
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 10: {
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder subBuilder = akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder();
|
|
|
|
|
if (hasRecipient()) {
|
|
|
|
|
subBuilder.mergeFrom(getRecipient());
|
|
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
|
|
|
|
setRecipient(subBuilder.buildPartial());
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder subBuilder = akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder();
|
|
|
|
|
if (hasSender()) {
|
|
|
|
|
subBuilder.mergeFrom(getSender());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
input.readMessage(subBuilder, extensionRegistry);
|
2011-11-03 14:53:38 +01:00
|
|
|
setSender(subBuilder.buildPartial());
|
2011-09-09 13:46:36 +02:00
|
|
|
break;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
case 26: {
|
|
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private int bitField0_;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
|
|
|
|
// required .ActorRefProtocol recipient = 1;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder> recipientBuilder_;
|
|
|
|
|
public boolean hasRecipient() {
|
2011-09-09 13:46:36 +02:00
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getRecipient() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
return recipient_;
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
return recipientBuilder_.getMessage();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setRecipient(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
recipient_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
recipientBuilder_.setMessage(value);
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setRecipient(
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder builderForValue) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = builderForValue.build();
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
recipientBuilder_.setMessage(builderForValue.build());
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeRecipient(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
|
|
|
|
recipient_ != akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance()) {
|
|
|
|
|
recipient_ =
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder(recipient_).mergeFrom(value).buildPartial();
|
|
|
|
|
} else {
|
|
|
|
|
recipient_ = value;
|
|
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
|
|
|
|
recipientBuilder_.mergeFrom(value);
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
bitField0_ |= 0x00000001;
|
2011-11-03 14:53:38 +01:00
|
|
|
return this;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder clearRecipient() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipient_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
|
|
|
|
onChanged();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
recipientBuilder_.clear();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol.Builder getRecipientBuilder() {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
2011-11-03 14:53:38 +01:00
|
|
|
return getRecipientFieldBuilder().getBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getRecipientOrBuilder() {
|
|
|
|
|
if (recipientBuilder_ != null) {
|
|
|
|
|
return recipientBuilder_.getMessageOrBuilder();
|
|
|
|
|
} else {
|
|
|
|
|
return recipient_;
|
|
|
|
|
}
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>
|
|
|
|
|
getRecipientFieldBuilder() {
|
|
|
|
|
if (recipientBuilder_ == null) {
|
|
|
|
|
recipientBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>(
|
|
|
|
|
recipient_,
|
|
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
|
|
|
|
recipient_ = null;
|
|
|
|
|
}
|
|
|
|
|
return recipientBuilder_;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional .ActorRefProtocol sender = 2;
|
|
|
|
|
private akka.remote.RemoteProtocol.ActorRefProtocol sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder> senderBuilder_;
|
|
|
|
|
public boolean hasSender() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol getSender() {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
return sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
return senderBuilder_.getMessage();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setSender(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (senderBuilder_ == null) {
|
2011-09-09 13:46:36 +02:00
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
senderBuilder_.setMessage(value);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder setSender(
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder builderForValue) {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
sender_ = builderForValue.build();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
senderBuilder_.setMessage(builderForValue.build());
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder mergeSender(akka.remote.RemoteProtocol.ActorRefProtocol value) {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
|
|
|
|
sender_ != akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance()) {
|
|
|
|
|
sender_ =
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.newBuilder(sender_).mergeFrom(value).buildPartial();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = value;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
senderBuilder_.mergeFrom(value);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public Builder clearSender() {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
sender_ = akka.remote.RemoteProtocol.ActorRefProtocol.getDefaultInstance();
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
|
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
senderBuilder_.clear();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2011-09-09 13:46:36 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocol.Builder getSenderBuilder() {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
2011-09-09 13:46:36 +02:00
|
|
|
onChanged();
|
2011-11-03 14:53:38 +01:00
|
|
|
return getSenderFieldBuilder().getBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
public akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder getSenderOrBuilder() {
|
|
|
|
|
if (senderBuilder_ != null) {
|
|
|
|
|
return senderBuilder_.getMessageOrBuilder();
|
2011-09-09 13:46:36 +02:00
|
|
|
} else {
|
2011-11-03 14:53:38 +01:00
|
|
|
return sender_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private com.google.protobuf.SingleFieldBuilder<
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>
|
|
|
|
|
getSenderFieldBuilder() {
|
|
|
|
|
if (senderBuilder_ == null) {
|
|
|
|
|
senderBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol, akka.remote.RemoteProtocol.ActorRefProtocol.Builder, akka.remote.RemoteProtocol.ActorRefProtocolOrBuilder>(
|
|
|
|
|
sender_,
|
2011-09-09 13:46:36 +02:00
|
|
|
getParentForChildren(),
|
|
|
|
|
isClean());
|
2011-11-03 14:53:38 +01:00
|
|
|
sender_ = null;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
return senderBuilder_;
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
|
|
|
|
// required bytes message = 3;
|
2011-09-09 13:46:36 +02:00
|
|
|
private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
|
|
public boolean hasMessage() {
|
2011-11-03 14:53:38 +01:00
|
|
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
}
|
|
|
|
|
public com.google.protobuf.ByteString getMessage() {
|
|
|
|
|
return message_;
|
|
|
|
|
}
|
|
|
|
|
public Builder setMessage(com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ |= 0x00000004;
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
public Builder clearMessage() {
|
2011-11-03 14:53:38 +01:00
|
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2011-09-09 13:46:36 +02:00
|
|
|
message_ = getDefaultInstance().getMessage();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(builder_scope:DurableMailboxMessageProtocol)
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
static {
|
|
|
|
|
defaultInstance = new DurableMailboxMessageProtocol(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(class_scope:DurableMailboxMessageProtocol)
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_AkkaRemoteProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_AkkaRemoteProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_RemoteMessageProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_RemoteMessageProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_RemoteControlProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_RemoteControlProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
2011-11-03 14:53:38 +01:00
|
|
|
internal_static_ActorRefProtocol_descriptor;
|
2011-09-09 13:46:36 +02:00
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
2011-11-03 14:53:38 +01:00
|
|
|
internal_static_ActorRefProtocol_fieldAccessorTable;
|
2011-09-09 13:46:36 +02:00
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_MessageProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_MessageProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_MetadataEntryProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_MetadataEntryProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_AddressProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_AddressProtocol_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_fieldAccessorTable;
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return descriptor;
|
|
|
|
|
}
|
|
|
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
descriptor;
|
|
|
|
|
static {
|
|
|
|
|
java.lang.String[] descriptorData = {
|
2011-12-29 16:11:56 +01:00
|
|
|
"\n\024RemoteProtocol.proto\"j\n\022AkkaRemoteProt" +
|
|
|
|
|
"ocol\022\'\n\007message\030\001 \001(\0132\026.RemoteMessagePro" +
|
|
|
|
|
"tocol\022+\n\013instruction\030\002 \001(\0132\026.RemoteContr" +
|
|
|
|
|
"olProtocol\"\255\001\n\025RemoteMessageProtocol\022$\n\t" +
|
|
|
|
|
"recipient\030\001 \002(\0132\021.ActorRefProtocol\022!\n\007me" +
|
|
|
|
|
"ssage\030\002 \002(\0132\020.MessageProtocol\022!\n\006sender\030" +
|
|
|
|
|
"\004 \001(\0132\021.ActorRefProtocol\022(\n\010metadata\030\005 \003" +
|
|
|
|
|
"(\0132\026.MetadataEntryProtocol\"l\n\025RemoteCont" +
|
|
|
|
|
"rolProtocol\022!\n\013commandType\030\001 \002(\0162\014.Comma" +
|
|
|
|
|
"ndType\022\016\n\006cookie\030\002 \001(\t\022 \n\006origin\030\003 \001(\0132\020",
|
|
|
|
|
".AddressProtocol\" \n\020ActorRefProtocol\022\014\n\004" +
|
|
|
|
|
"path\030\001 \002(\t\"Q\n\017MessageProtocol\022\017\n\007message" +
|
|
|
|
|
"\030\001 \002(\014\022\024\n\014serializerId\030\002 \002(\005\022\027\n\017messageM" +
|
|
|
|
|
"anifest\030\003 \001(\014\"3\n\025MetadataEntryProtocol\022\013" +
|
|
|
|
|
"\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\014\"A\n\017AddressPro" +
|
|
|
|
|
"tocol\022\016\n\006system\030\001 \002(\t\022\020\n\010hostname\030\002 \002(\t\022" +
|
2012-05-07 17:41:54 +02:00
|
|
|
"\014\n\004port\030\003 \002(\r\"y\n\035DurableMailboxMessagePr" +
|
|
|
|
|
"otocol\022$\n\trecipient\030\001 \002(\0132\021.ActorRefProt" +
|
|
|
|
|
"ocol\022!\n\006sender\030\002 \001(\0132\021.ActorRefProtocol\022" +
|
|
|
|
|
"\017\n\007message\030\003 \002(\014*7\n\013CommandType\022\013\n\007CONNE",
|
|
|
|
|
"CT\020\001\022\014\n\010SHUTDOWN\020\002\022\r\n\tHEARTBEAT\020\003B\017\n\013akk" +
|
|
|
|
|
"a.remoteH\001"
|
2011-09-09 13:46:36 +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_AkkaRemoteProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(0);
|
|
|
|
|
internal_static_AkkaRemoteProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_AkkaRemoteProtocol_descriptor,
|
|
|
|
|
new java.lang.String[] { "Message", "Instruction", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.AkkaRemoteProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.AkkaRemoteProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_RemoteMessageProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(1);
|
|
|
|
|
internal_static_RemoteMessageProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_RemoteMessageProtocol_descriptor,
|
2011-12-08 14:44:05 +01:00
|
|
|
new java.lang.String[] { "Recipient", "Message", "Sender", "Metadata", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteMessageProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_RemoteControlProtocol_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(2);
|
|
|
|
|
internal_static_RemoteControlProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_RemoteControlProtocol_descriptor,
|
2011-11-03 18:33:57 +01:00
|
|
|
new java.lang.String[] { "CommandType", "Cookie", "Origin", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.RemoteControlProtocol.Builder.class);
|
2011-11-03 18:33:57 +01:00
|
|
|
internal_static_ActorRefProtocol_descriptor =
|
2011-11-03 19:32:53 +01:00
|
|
|
getDescriptor().getMessageTypes().get(3);
|
2011-11-03 14:53:38 +01:00
|
|
|
internal_static_ActorRefProtocol_fieldAccessorTable = new
|
2011-09-09 13:46:36 +02:00
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
2011-11-03 14:53:38 +01:00
|
|
|
internal_static_ActorRefProtocol_descriptor,
|
2011-12-01 14:29:33 +01:00
|
|
|
new java.lang.String[] { "Path", },
|
2011-11-03 14:53:38 +01:00
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.ActorRefProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_MessageProtocol_descriptor =
|
2011-11-03 19:32:53 +01:00
|
|
|
getDescriptor().getMessageTypes().get(4);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_MessageProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_MessageProtocol_descriptor,
|
2011-12-29 16:11:56 +01:00
|
|
|
new java.lang.String[] { "Message", "SerializerId", "MessageManifest", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MessageProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.MessageProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_MetadataEntryProtocol_descriptor =
|
2011-12-26 18:23:55 +01:00
|
|
|
getDescriptor().getMessageTypes().get(5);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_MetadataEntryProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_MetadataEntryProtocol_descriptor,
|
|
|
|
|
new java.lang.String[] { "Key", "Value", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.MetadataEntryProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_AddressProtocol_descriptor =
|
2011-12-26 18:23:55 +01:00
|
|
|
getDescriptor().getMessageTypes().get(6);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_AddressProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_AddressProtocol_descriptor,
|
2011-12-08 14:44:05 +01:00
|
|
|
new java.lang.String[] { "System", "Hostname", "Port", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.AddressProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.AddressProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor =
|
2012-05-07 17:41:54 +02:00
|
|
|
getDescriptor().getMessageTypes().get(7);
|
2011-09-09 13:46:36 +02:00
|
|
|
internal_static_DurableMailboxMessageProtocol_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_DurableMailboxMessageProtocol_descriptor,
|
2011-11-03 14:53:38 +01:00
|
|
|
new java.lang.String[] { "Recipient", "Sender", "Message", },
|
2011-09-20 21:44:50 +02:00
|
|
|
akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.class,
|
|
|
|
|
akka.remote.RemoteProtocol.DurableMailboxMessageProtocol.Builder.class);
|
2011-09-09 13:46:36 +02:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
|
|
}, assigner);
|
|
|
|
|
}
|
2011-11-03 14:53:38 +01:00
|
|
|
|
2011-09-09 13:46:36 +02:00
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
|
}
|