+ implements akka.remote.ContainerFormats.SelectionOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.ContainerFormats.internal_static_Selection_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.ContainerFormats.internal_static_Selection_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.ContainerFormats.Selection.class, akka.remote.ContainerFormats.Selection.Builder.class);
+ }
+
+ // Construct using akka.remote.ContainerFormats.Selection.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ type_ = akka.remote.ContainerFormats.PatternType.PARENT;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ matcher_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return akka.remote.ContainerFormats.internal_static_Selection_descriptor;
+ }
+
+ public akka.remote.ContainerFormats.Selection getDefaultInstanceForType() {
+ return akka.remote.ContainerFormats.Selection.getDefaultInstance();
+ }
+
+ public akka.remote.ContainerFormats.Selection build() {
+ akka.remote.ContainerFormats.Selection result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public akka.remote.ContainerFormats.Selection buildPartial() {
+ akka.remote.ContainerFormats.Selection result = new akka.remote.ContainerFormats.Selection(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.type_ = type_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.matcher_ = matcher_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof akka.remote.ContainerFormats.Selection) {
+ return mergeFrom((akka.remote.ContainerFormats.Selection)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(akka.remote.ContainerFormats.Selection other) {
+ if (other == akka.remote.ContainerFormats.Selection.getDefaultInstance()) return this;
+ if (other.hasType()) {
+ setType(other.getType());
+ }
+ if (other.hasMatcher()) {
+ bitField0_ |= 0x00000002;
+ matcher_ = other.matcher_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasType()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ akka.remote.ContainerFormats.Selection parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.ContainerFormats.Selection) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
}
-
private int bitField0_;
-
+
// required .PatternType type = 1;
private akka.remote.ContainerFormats.PatternType type_ = akka.remote.ContainerFormats.PatternType.PARENT;
+ /**
+ * required .PatternType type = 1;
+ */
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .PatternType type = 1;
+ */
public akka.remote.ContainerFormats.PatternType getType() {
return type_;
}
+ /**
+ * required .PatternType type = 1;
+ */
public Builder setType(akka.remote.ContainerFormats.PatternType value) {
if (value == null) {
throw new NullPointerException();
@@ -1234,29 +1527,59 @@ public final class ContainerFormats {
onChanged();
return this;
}
+ /**
+ * required .PatternType type = 1;
+ */
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = akka.remote.ContainerFormats.PatternType.PARENT;
onChanged();
return this;
}
-
+
// optional string matcher = 2;
private java.lang.Object matcher_ = "";
+ /**
+ * optional string matcher = 2;
+ */
public boolean hasMatcher() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getMatcher() {
+ /**
+ * optional string matcher = 2;
+ */
+ public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
matcher_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setMatcher(String value) {
+ /**
+ * optional string matcher = 2;
+ */
+ public com.google.protobuf.ByteString
+ getMatcherBytes() {
+ java.lang.Object ref = matcher_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ matcher_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string matcher = 2;
+ */
+ public Builder setMatcher(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -1265,29 +1588,40 @@ public final class ContainerFormats {
onChanged();
return this;
}
+ /**
+ * optional string matcher = 2;
+ */
public Builder clearMatcher() {
bitField0_ = (bitField0_ & ~0x00000002);
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
- void setMatcher(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * optional string matcher = 2;
+ */
+ public Builder setMatcherBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
matcher_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:Selection)
}
-
+
static {
defaultInstance = new Selection(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:Selection)
}
-
+
private static com.google.protobuf.Descriptors.Descriptor
internal_static_SelectionEnvelope_descriptor;
private static
@@ -1298,7 +1632,7 @@ public final class ContainerFormats {
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Selection_fieldAccessorTable;
-
+
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
@@ -1326,17 +1660,13 @@ public final class ContainerFormats {
internal_static_SelectionEnvelope_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SelectionEnvelope_descriptor,
- new java.lang.String[] { "EnclosedMessage", "SerializerId", "Pattern", "MessageManifest", },
- akka.remote.ContainerFormats.SelectionEnvelope.class,
- akka.remote.ContainerFormats.SelectionEnvelope.Builder.class);
+ new java.lang.String[] { "EnclosedMessage", "SerializerId", "Pattern", "MessageManifest", });
internal_static_Selection_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Selection_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Selection_descriptor,
- new java.lang.String[] { "Type", "Matcher", },
- akka.remote.ContainerFormats.Selection.class,
- akka.remote.ContainerFormats.Selection.Builder.class);
+ new java.lang.String[] { "Type", "Matcher", });
return null;
}
};
@@ -1345,6 +1675,6 @@ public final class ContainerFormats {
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
-
+
// @@protoc_insertion_point(outer_class_scope)
}
diff --git a/akka-remote/src/main/java/akka/remote/WireFormats.java b/akka-remote/src/main/java/akka/remote/WireFormats.java
index 91c6afd3f6..bd6abc12e7 100644
--- a/akka-remote/src/main/java/akka/remote/WireFormats.java
+++ b/akka-remote/src/main/java/akka/remote/WireFormats.java
@@ -8,24 +8,78 @@ public final class WireFormats {
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
+ /**
+ * Protobuf enum {@code CommandType}
+ *
+ *
+ **
+ * Defines the type of the AkkaControlMessage command type
+ *
+ */
public enum CommandType
implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * ASSOCIATE = 1;
+ */
ASSOCIATE(0, 1),
+ /**
+ * DISASSOCIATE = 2;
+ */
DISASSOCIATE(1, 2),
+ /**
+ * HEARTBEAT = 3;
+ */
HEARTBEAT(2, 3),
+ /**
+ * DISASSOCIATE_SHUTTING_DOWN = 4;
+ *
+ *
+ * Remote system is going down and will not accepts new connections
+ *
+ */
DISASSOCIATE_SHUTTING_DOWN(3, 4),
+ /**
+ * DISASSOCIATE_QUARANTINED = 5;
+ *
+ *
+ * Remote system refused the association since the current system is quarantined
+ *
+ */
DISASSOCIATE_QUARANTINED(4, 5),
;
-
+
+ /**
+ * ASSOCIATE = 1;
+ */
public static final int ASSOCIATE_VALUE = 1;
+ /**
+ * DISASSOCIATE = 2;
+ */
public static final int DISASSOCIATE_VALUE = 2;
+ /**
+ * HEARTBEAT = 3;
+ */
public static final int HEARTBEAT_VALUE = 3;
+ /**
+ * DISASSOCIATE_SHUTTING_DOWN = 4;
+ *
+ *
+ * Remote system is going down and will not accepts new connections
+ *
+ */
public static final int DISASSOCIATE_SHUTTING_DOWN_VALUE = 4;
+ /**
+ * DISASSOCIATE_QUARANTINED = 5;
+ *
+ *
+ * Remote system refused the association since the current system is quarantined
+ *
+ */
public static final int DISASSOCIATE_QUARANTINED_VALUE = 5;
-
-
+
+
public final int getNumber() { return value; }
-
+
public static CommandType valueOf(int value) {
switch (value) {
case 1: return ASSOCIATE;
@@ -36,7 +90,7 @@ public final class WireFormats {
default: return null;
}
}
-
+
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
@@ -48,7 +102,7 @@ public final class WireFormats {
return CommandType.valueOf(number);
}
};
-
+
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
@@ -61,11 +115,9 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.getDescriptor().getEnumTypes().get(0);
}
-
- private static final CommandType[] VALUES = {
- ASSOCIATE, DISASSOCIATE, HEARTBEAT, DISASSOCIATE_SHUTTING_DOWN, DISASSOCIATE_QUARANTINED,
- };
-
+
+ private static final CommandType[] VALUES = values();
+
public static CommandType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
@@ -74,86 +126,210 @@ public final class WireFormats {
}
return VALUES[desc.getIndex()];
}
-
+
private final int index;
private final int value;
-
+
private CommandType(int index, int value) {
this.index = index;
this.value = value;
}
-
+
// @@protoc_insertion_point(enum_scope:CommandType)
}
-
+
public interface AckAndEnvelopeContainerOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// optional .AcknowledgementInfo ack = 1;
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
boolean hasAck();
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
akka.remote.WireFormats.AcknowledgementInfo getAck();
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
akka.remote.WireFormats.AcknowledgementInfoOrBuilder getAckOrBuilder();
-
+
// optional .RemoteEnvelope envelope = 2;
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
boolean hasEnvelope();
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
akka.remote.WireFormats.RemoteEnvelope getEnvelope();
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
akka.remote.WireFormats.RemoteEnvelopeOrBuilder getEnvelopeOrBuilder();
}
+ /**
+ * Protobuf type {@code AckAndEnvelopeContainer}
+ */
public static final class AckAndEnvelopeContainer extends
com.google.protobuf.GeneratedMessage
implements AckAndEnvelopeContainerOrBuilder {
// Use AckAndEnvelopeContainer.newBuilder() to construct.
- private AckAndEnvelopeContainer(Builder builder) {
+ private AckAndEnvelopeContainer(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AckAndEnvelopeContainer(boolean noInit) {}
-
+ private AckAndEnvelopeContainer(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AckAndEnvelopeContainer defaultInstance;
public static AckAndEnvelopeContainer getDefaultInstance() {
return defaultInstance;
}
-
+
public AckAndEnvelopeContainer getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private AckAndEnvelopeContainer(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ akka.remote.WireFormats.AcknowledgementInfo.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = ack_.toBuilder();
+ }
+ ack_ = input.readMessage(akka.remote.WireFormats.AcknowledgementInfo.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(ack_);
+ ack_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.RemoteEnvelope.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = envelope_.toBuilder();
+ }
+ envelope_ = input.readMessage(akka.remote.WireFormats.RemoteEnvelope.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(envelope_);
+ envelope_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AckAndEnvelopeContainer.class, akka.remote.WireFormats.AckAndEnvelopeContainer.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AckAndEnvelopeContainer parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AckAndEnvelopeContainer(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// optional .AcknowledgementInfo ack = 1;
public static final int ACK_FIELD_NUMBER = 1;
private akka.remote.WireFormats.AcknowledgementInfo ack_;
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public boolean hasAck() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public akka.remote.WireFormats.AcknowledgementInfo getAck() {
return ack_;
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public akka.remote.WireFormats.AcknowledgementInfoOrBuilder getAckOrBuilder() {
return ack_;
}
-
+
// optional .RemoteEnvelope envelope = 2;
public static final int ENVELOPE_FIELD_NUMBER = 2;
private akka.remote.WireFormats.RemoteEnvelope envelope_;
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public boolean hasEnvelope() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public akka.remote.WireFormats.RemoteEnvelope getEnvelope() {
return envelope_;
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public akka.remote.WireFormats.RemoteEnvelopeOrBuilder getEnvelopeOrBuilder() {
return envelope_;
}
-
+
private void initFields() {
ack_ = akka.remote.WireFormats.AcknowledgementInfo.getDefaultInstance();
envelope_ = akka.remote.WireFormats.RemoteEnvelope.getDefaultInstance();
@@ -162,7 +338,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (hasAck()) {
if (!getAck().isInitialized()) {
memoizedIsInitialized = 0;
@@ -178,7 +354,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -190,12 +366,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -209,94 +385,83 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AckAndEnvelopeContainer parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.AckAndEnvelopeContainer prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code AckAndEnvelopeContainer}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.AckAndEnvelopeContainerOrBuilder {
@@ -304,18 +469,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AckAndEnvelopeContainer.class, akka.remote.WireFormats.AckAndEnvelopeContainer.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.AckAndEnvelopeContainer.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -328,7 +496,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (ackBuilder_ == null) {
@@ -345,20 +513,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.AckAndEnvelopeContainer.getDescriptor();
+ return akka.remote.WireFormats.internal_static_AckAndEnvelopeContainer_descriptor;
}
-
+
public akka.remote.WireFormats.AckAndEnvelopeContainer getDefaultInstanceForType() {
return akka.remote.WireFormats.AckAndEnvelopeContainer.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.AckAndEnvelopeContainer build() {
akka.remote.WireFormats.AckAndEnvelopeContainer result = buildPartial();
if (!result.isInitialized()) {
@@ -366,17 +534,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.AckAndEnvelopeContainer buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AckAndEnvelopeContainer result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.AckAndEnvelopeContainer buildPartial() {
akka.remote.WireFormats.AckAndEnvelopeContainer result = new akka.remote.WireFormats.AckAndEnvelopeContainer(this);
int from_bitField0_ = bitField0_;
@@ -401,7 +559,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.AckAndEnvelopeContainer) {
return mergeFrom((akka.remote.WireFormats.AckAndEnvelopeContainer)other);
@@ -410,7 +568,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.AckAndEnvelopeContainer other) {
if (other == akka.remote.WireFormats.AckAndEnvelopeContainer.getDefaultInstance()) return this;
if (other.hasAck()) {
@@ -422,7 +580,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (hasAck()) {
if (!getAck().isInitialized()) {
@@ -438,61 +596,39 @@ public final class WireFormats {
}
return true;
}
-
+
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: {
- akka.remote.WireFormats.AcknowledgementInfo.Builder subBuilder = akka.remote.WireFormats.AcknowledgementInfo.newBuilder();
- if (hasAck()) {
- subBuilder.mergeFrom(getAck());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setAck(subBuilder.buildPartial());
- break;
- }
- case 18: {
- akka.remote.WireFormats.RemoteEnvelope.Builder subBuilder = akka.remote.WireFormats.RemoteEnvelope.newBuilder();
- if (hasEnvelope()) {
- subBuilder.mergeFrom(getEnvelope());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEnvelope(subBuilder.buildPartial());
- break;
- }
+ akka.remote.WireFormats.AckAndEnvelopeContainer parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AckAndEnvelopeContainer) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// optional .AcknowledgementInfo ack = 1;
private akka.remote.WireFormats.AcknowledgementInfo ack_ = akka.remote.WireFormats.AcknowledgementInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AcknowledgementInfo, akka.remote.WireFormats.AcknowledgementInfo.Builder, akka.remote.WireFormats.AcknowledgementInfoOrBuilder> ackBuilder_;
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public boolean hasAck() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public akka.remote.WireFormats.AcknowledgementInfo getAck() {
if (ackBuilder_ == null) {
return ack_;
@@ -500,6 +636,9 @@ public final class WireFormats {
return ackBuilder_.getMessage();
}
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public Builder setAck(akka.remote.WireFormats.AcknowledgementInfo value) {
if (ackBuilder_ == null) {
if (value == null) {
@@ -513,6 +652,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public Builder setAck(
akka.remote.WireFormats.AcknowledgementInfo.Builder builderForValue) {
if (ackBuilder_ == null) {
@@ -524,6 +666,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public Builder mergeAck(akka.remote.WireFormats.AcknowledgementInfo value) {
if (ackBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
@@ -540,6 +685,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public Builder clearAck() {
if (ackBuilder_ == null) {
ack_ = akka.remote.WireFormats.AcknowledgementInfo.getDefaultInstance();
@@ -550,11 +698,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public akka.remote.WireFormats.AcknowledgementInfo.Builder getAckBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAckFieldBuilder().getBuilder();
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
public akka.remote.WireFormats.AcknowledgementInfoOrBuilder getAckOrBuilder() {
if (ackBuilder_ != null) {
return ackBuilder_.getMessageOrBuilder();
@@ -562,6 +716,9 @@ public final class WireFormats {
return ack_;
}
}
+ /**
+ * optional .AcknowledgementInfo ack = 1;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AcknowledgementInfo, akka.remote.WireFormats.AcknowledgementInfo.Builder, akka.remote.WireFormats.AcknowledgementInfoOrBuilder>
getAckFieldBuilder() {
@@ -575,14 +732,20 @@ public final class WireFormats {
}
return ackBuilder_;
}
-
+
// optional .RemoteEnvelope envelope = 2;
private akka.remote.WireFormats.RemoteEnvelope envelope_ = akka.remote.WireFormats.RemoteEnvelope.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.RemoteEnvelope, akka.remote.WireFormats.RemoteEnvelope.Builder, akka.remote.WireFormats.RemoteEnvelopeOrBuilder> envelopeBuilder_;
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public boolean hasEnvelope() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public akka.remote.WireFormats.RemoteEnvelope getEnvelope() {
if (envelopeBuilder_ == null) {
return envelope_;
@@ -590,6 +753,9 @@ public final class WireFormats {
return envelopeBuilder_.getMessage();
}
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public Builder setEnvelope(akka.remote.WireFormats.RemoteEnvelope value) {
if (envelopeBuilder_ == null) {
if (value == null) {
@@ -603,6 +769,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public Builder setEnvelope(
akka.remote.WireFormats.RemoteEnvelope.Builder builderForValue) {
if (envelopeBuilder_ == null) {
@@ -614,6 +783,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public Builder mergeEnvelope(akka.remote.WireFormats.RemoteEnvelope value) {
if (envelopeBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -630,6 +802,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public Builder clearEnvelope() {
if (envelopeBuilder_ == null) {
envelope_ = akka.remote.WireFormats.RemoteEnvelope.getDefaultInstance();
@@ -640,11 +815,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public akka.remote.WireFormats.RemoteEnvelope.Builder getEnvelopeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getEnvelopeFieldBuilder().getBuilder();
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
public akka.remote.WireFormats.RemoteEnvelopeOrBuilder getEnvelopeOrBuilder() {
if (envelopeBuilder_ != null) {
return envelopeBuilder_.getMessageOrBuilder();
@@ -652,6 +833,9 @@ public final class WireFormats {
return envelope_;
}
}
+ /**
+ * optional .RemoteEnvelope envelope = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.RemoteEnvelope, akka.remote.WireFormats.RemoteEnvelope.Builder, akka.remote.WireFormats.RemoteEnvelopeOrBuilder>
getEnvelopeFieldBuilder() {
@@ -665,118 +849,295 @@ public final class WireFormats {
}
return envelopeBuilder_;
}
-
+
// @@protoc_insertion_point(builder_scope:AckAndEnvelopeContainer)
}
-
+
static {
defaultInstance = new AckAndEnvelopeContainer(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AckAndEnvelopeContainer)
}
-
+
public interface RemoteEnvelopeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required .ActorRefData recipient = 1;
+ /**
+ * required .ActorRefData recipient = 1;
+ */
boolean hasRecipient();
+ /**
+ * required .ActorRefData recipient = 1;
+ */
akka.remote.WireFormats.ActorRefData getRecipient();
+ /**
+ * required .ActorRefData recipient = 1;
+ */
akka.remote.WireFormats.ActorRefDataOrBuilder getRecipientOrBuilder();
-
+
// required .SerializedMessage message = 2;
+ /**
+ * required .SerializedMessage message = 2;
+ */
boolean hasMessage();
+ /**
+ * required .SerializedMessage message = 2;
+ */
akka.remote.WireFormats.SerializedMessage getMessage();
+ /**
+ * required .SerializedMessage message = 2;
+ */
akka.remote.WireFormats.SerializedMessageOrBuilder getMessageOrBuilder();
-
+
// optional .ActorRefData sender = 4;
+ /**
+ * optional .ActorRefData sender = 4;
+ */
boolean hasSender();
+ /**
+ * optional .ActorRefData sender = 4;
+ */
akka.remote.WireFormats.ActorRefData getSender();
+ /**
+ * optional .ActorRefData sender = 4;
+ */
akka.remote.WireFormats.ActorRefDataOrBuilder getSenderOrBuilder();
-
+
// optional fixed64 seq = 5;
+ /**
+ * optional fixed64 seq = 5;
+ */
boolean hasSeq();
+ /**
+ * optional fixed64 seq = 5;
+ */
long getSeq();
}
+ /**
+ * Protobuf type {@code RemoteEnvelope}
+ *
+ *
+ **
+ * Defines a remote message.
+ *
+ */
public static final class RemoteEnvelope extends
com.google.protobuf.GeneratedMessage
implements RemoteEnvelopeOrBuilder {
// Use RemoteEnvelope.newBuilder() to construct.
- private RemoteEnvelope(Builder builder) {
+ private RemoteEnvelope(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private RemoteEnvelope(boolean noInit) {}
-
+ private RemoteEnvelope(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final RemoteEnvelope defaultInstance;
public static RemoteEnvelope getDefaultInstance() {
return defaultInstance;
}
-
+
public RemoteEnvelope getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private RemoteEnvelope(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ akka.remote.WireFormats.ActorRefData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = recipient_.toBuilder();
+ }
+ recipient_ = input.readMessage(akka.remote.WireFormats.ActorRefData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(recipient_);
+ recipient_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.SerializedMessage.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = message_.toBuilder();
+ }
+ message_ = input.readMessage(akka.remote.WireFormats.SerializedMessage.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(message_);
+ message_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 34: {
+ akka.remote.WireFormats.ActorRefData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ subBuilder = sender_.toBuilder();
+ }
+ sender_ = input.readMessage(akka.remote.WireFormats.ActorRefData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sender_);
+ sender_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000004;
+ break;
+ }
+ case 41: {
+ bitField0_ |= 0x00000008;
+ seq_ = input.readFixed64();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_RemoteEnvelope_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_RemoteEnvelope_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_RemoteEnvelope_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.RemoteEnvelope.class, akka.remote.WireFormats.RemoteEnvelope.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public RemoteEnvelope parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new RemoteEnvelope(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required .ActorRefData recipient = 1;
public static final int RECIPIENT_FIELD_NUMBER = 1;
private akka.remote.WireFormats.ActorRefData recipient_;
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public boolean hasRecipient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public akka.remote.WireFormats.ActorRefData getRecipient() {
return recipient_;
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getRecipientOrBuilder() {
return recipient_;
}
-
+
// required .SerializedMessage message = 2;
public static final int MESSAGE_FIELD_NUMBER = 2;
private akka.remote.WireFormats.SerializedMessage message_;
+ /**
+ * required .SerializedMessage message = 2;
+ */
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public akka.remote.WireFormats.SerializedMessage getMessage() {
return message_;
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public akka.remote.WireFormats.SerializedMessageOrBuilder getMessageOrBuilder() {
return message_;
}
-
+
// optional .ActorRefData sender = 4;
public static final int SENDER_FIELD_NUMBER = 4;
private akka.remote.WireFormats.ActorRefData sender_;
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public boolean hasSender() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public akka.remote.WireFormats.ActorRefData getSender() {
return sender_;
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getSenderOrBuilder() {
return sender_;
}
-
+
// optional fixed64 seq = 5;
public static final int SEQ_FIELD_NUMBER = 5;
private long seq_;
+ /**
+ * optional fixed64 seq = 5;
+ */
public boolean hasSeq() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional fixed64 seq = 5;
+ */
public long getSeq() {
return seq_;
}
-
+
private void initFields() {
recipient_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
message_ = akka.remote.WireFormats.SerializedMessage.getDefaultInstance();
@@ -787,7 +1148,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasRecipient()) {
memoizedIsInitialized = 0;
return false;
@@ -813,7 +1174,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -831,12 +1192,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -858,94 +1219,88 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.RemoteEnvelope parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.RemoteEnvelope 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.RemoteEnvelope parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.RemoteEnvelope prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code RemoteEnvelope}
+ *
+ *
+ **
+ * Defines a remote message.
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.RemoteEnvelopeOrBuilder {
@@ -953,18 +1308,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_RemoteEnvelope_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_RemoteEnvelope_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_RemoteEnvelope_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.RemoteEnvelope.class, akka.remote.WireFormats.RemoteEnvelope.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.RemoteEnvelope.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -978,7 +1336,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (recipientBuilder_ == null) {
@@ -1003,20 +1361,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.RemoteEnvelope.getDescriptor();
+ return akka.remote.WireFormats.internal_static_RemoteEnvelope_descriptor;
}
-
+
public akka.remote.WireFormats.RemoteEnvelope getDefaultInstanceForType() {
return akka.remote.WireFormats.RemoteEnvelope.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.RemoteEnvelope build() {
akka.remote.WireFormats.RemoteEnvelope result = buildPartial();
if (!result.isInitialized()) {
@@ -1024,17 +1382,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.RemoteEnvelope buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.RemoteEnvelope result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.RemoteEnvelope buildPartial() {
akka.remote.WireFormats.RemoteEnvelope result = new akka.remote.WireFormats.RemoteEnvelope(this);
int from_bitField0_ = bitField0_;
@@ -1071,7 +1419,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.RemoteEnvelope) {
return mergeFrom((akka.remote.WireFormats.RemoteEnvelope)other);
@@ -1080,7 +1428,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.RemoteEnvelope other) {
if (other == akka.remote.WireFormats.RemoteEnvelope.getDefaultInstance()) return this;
if (other.hasRecipient()) {
@@ -1098,7 +1446,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasRecipient()) {
@@ -1124,75 +1472,39 @@ public final class WireFormats {
}
return true;
}
-
+
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: {
- akka.remote.WireFormats.ActorRefData.Builder subBuilder = akka.remote.WireFormats.ActorRefData.newBuilder();
- if (hasRecipient()) {
- subBuilder.mergeFrom(getRecipient());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRecipient(subBuilder.buildPartial());
- break;
- }
- case 18: {
- akka.remote.WireFormats.SerializedMessage.Builder subBuilder = akka.remote.WireFormats.SerializedMessage.newBuilder();
- if (hasMessage()) {
- subBuilder.mergeFrom(getMessage());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMessage(subBuilder.buildPartial());
- break;
- }
- case 34: {
- akka.remote.WireFormats.ActorRefData.Builder subBuilder = akka.remote.WireFormats.ActorRefData.newBuilder();
- if (hasSender()) {
- subBuilder.mergeFrom(getSender());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setSender(subBuilder.buildPartial());
- break;
- }
- case 41: {
- bitField0_ |= 0x00000008;
- seq_ = input.readFixed64();
- break;
- }
+ akka.remote.WireFormats.RemoteEnvelope parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.RemoteEnvelope) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required .ActorRefData recipient = 1;
private akka.remote.WireFormats.ActorRefData recipient_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder> recipientBuilder_;
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public boolean hasRecipient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public akka.remote.WireFormats.ActorRefData getRecipient() {
if (recipientBuilder_ == null) {
return recipient_;
@@ -1200,6 +1512,9 @@ public final class WireFormats {
return recipientBuilder_.getMessage();
}
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public Builder setRecipient(akka.remote.WireFormats.ActorRefData value) {
if (recipientBuilder_ == null) {
if (value == null) {
@@ -1213,6 +1528,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public Builder setRecipient(
akka.remote.WireFormats.ActorRefData.Builder builderForValue) {
if (recipientBuilder_ == null) {
@@ -1224,6 +1542,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public Builder mergeRecipient(akka.remote.WireFormats.ActorRefData value) {
if (recipientBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
@@ -1240,6 +1561,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public Builder clearRecipient() {
if (recipientBuilder_ == null) {
recipient_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
@@ -1250,11 +1574,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public akka.remote.WireFormats.ActorRefData.Builder getRecipientBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getRecipientFieldBuilder().getBuilder();
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getRecipientOrBuilder() {
if (recipientBuilder_ != null) {
return recipientBuilder_.getMessageOrBuilder();
@@ -1262,6 +1592,9 @@ public final class WireFormats {
return recipient_;
}
}
+ /**
+ * required .ActorRefData recipient = 1;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder>
getRecipientFieldBuilder() {
@@ -1275,14 +1608,20 @@ public final class WireFormats {
}
return recipientBuilder_;
}
-
+
// required .SerializedMessage message = 2;
private akka.remote.WireFormats.SerializedMessage message_ = akka.remote.WireFormats.SerializedMessage.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.SerializedMessage, akka.remote.WireFormats.SerializedMessage.Builder, akka.remote.WireFormats.SerializedMessageOrBuilder> messageBuilder_;
+ /**
+ * required .SerializedMessage message = 2;
+ */
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public akka.remote.WireFormats.SerializedMessage getMessage() {
if (messageBuilder_ == null) {
return message_;
@@ -1290,6 +1629,9 @@ public final class WireFormats {
return messageBuilder_.getMessage();
}
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public Builder setMessage(akka.remote.WireFormats.SerializedMessage value) {
if (messageBuilder_ == null) {
if (value == null) {
@@ -1303,6 +1645,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public Builder setMessage(
akka.remote.WireFormats.SerializedMessage.Builder builderForValue) {
if (messageBuilder_ == null) {
@@ -1314,6 +1659,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public Builder mergeMessage(akka.remote.WireFormats.SerializedMessage value) {
if (messageBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -1330,6 +1678,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public Builder clearMessage() {
if (messageBuilder_ == null) {
message_ = akka.remote.WireFormats.SerializedMessage.getDefaultInstance();
@@ -1340,11 +1691,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public akka.remote.WireFormats.SerializedMessage.Builder getMessageBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getMessageFieldBuilder().getBuilder();
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
public akka.remote.WireFormats.SerializedMessageOrBuilder getMessageOrBuilder() {
if (messageBuilder_ != null) {
return messageBuilder_.getMessageOrBuilder();
@@ -1352,6 +1709,9 @@ public final class WireFormats {
return message_;
}
}
+ /**
+ * required .SerializedMessage message = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.SerializedMessage, akka.remote.WireFormats.SerializedMessage.Builder, akka.remote.WireFormats.SerializedMessageOrBuilder>
getMessageFieldBuilder() {
@@ -1365,14 +1725,20 @@ public final class WireFormats {
}
return messageBuilder_;
}
-
+
// optional .ActorRefData sender = 4;
private akka.remote.WireFormats.ActorRefData sender_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder> senderBuilder_;
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public boolean hasSender() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public akka.remote.WireFormats.ActorRefData getSender() {
if (senderBuilder_ == null) {
return sender_;
@@ -1380,6 +1746,9 @@ public final class WireFormats {
return senderBuilder_.getMessage();
}
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public Builder setSender(akka.remote.WireFormats.ActorRefData value) {
if (senderBuilder_ == null) {
if (value == null) {
@@ -1393,6 +1762,9 @@ public final class WireFormats {
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public Builder setSender(
akka.remote.WireFormats.ActorRefData.Builder builderForValue) {
if (senderBuilder_ == null) {
@@ -1404,6 +1776,9 @@ public final class WireFormats {
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public Builder mergeSender(akka.remote.WireFormats.ActorRefData value) {
if (senderBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
@@ -1420,6 +1795,9 @@ public final class WireFormats {
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public Builder clearSender() {
if (senderBuilder_ == null) {
sender_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
@@ -1430,11 +1808,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public akka.remote.WireFormats.ActorRefData.Builder getSenderBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getSenderFieldBuilder().getBuilder();
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getSenderOrBuilder() {
if (senderBuilder_ != null) {
return senderBuilder_.getMessageOrBuilder();
@@ -1442,6 +1826,9 @@ public final class WireFormats {
return sender_;
}
}
+ /**
+ * optional .ActorRefData sender = 4;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder>
getSenderFieldBuilder() {
@@ -1455,113 +1842,246 @@ public final class WireFormats {
}
return senderBuilder_;
}
-
+
// optional fixed64 seq = 5;
private long seq_ ;
+ /**
+ * optional fixed64 seq = 5;
+ */
public boolean hasSeq() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional fixed64 seq = 5;
+ */
public long getSeq() {
return seq_;
}
+ /**
+ * optional fixed64 seq = 5;
+ */
public Builder setSeq(long value) {
bitField0_ |= 0x00000008;
seq_ = value;
onChanged();
return this;
}
+ /**
+ * optional fixed64 seq = 5;
+ */
public Builder clearSeq() {
bitField0_ = (bitField0_ & ~0x00000008);
seq_ = 0L;
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:RemoteEnvelope)
}
-
+
static {
defaultInstance = new RemoteEnvelope(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:RemoteEnvelope)
}
-
+
public interface AcknowledgementInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required fixed64 cumulativeAck = 1;
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
boolean hasCumulativeAck();
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
long getCumulativeAck();
-
+
// repeated fixed64 nacks = 2;
+ /**
+ * repeated fixed64 nacks = 2;
+ */
java.util.List getNacksList();
+ /**
+ * repeated fixed64 nacks = 2;
+ */
int getNacksCount();
+ /**
+ * repeated fixed64 nacks = 2;
+ */
long getNacks(int index);
}
+ /**
+ * Protobuf type {@code AcknowledgementInfo}
+ */
public static final class AcknowledgementInfo extends
com.google.protobuf.GeneratedMessage
implements AcknowledgementInfoOrBuilder {
// Use AcknowledgementInfo.newBuilder() to construct.
- private AcknowledgementInfo(Builder builder) {
+ private AcknowledgementInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AcknowledgementInfo(boolean noInit) {}
-
+ private AcknowledgementInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AcknowledgementInfo defaultInstance;
public static AcknowledgementInfo getDefaultInstance() {
return defaultInstance;
}
-
+
public AcknowledgementInfo getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private AcknowledgementInfo(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 9: {
+ bitField0_ |= 0x00000001;
+ cumulativeAck_ = input.readFixed64();
+ break;
+ }
+ case 17: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ nacks_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ nacks_.add(input.readFixed64());
+ break;
+ }
+ case 18: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
+ nacks_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ nacks_.add(input.readFixed64());
+ }
+ input.popLimit(limit);
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ nacks_ = java.util.Collections.unmodifiableList(nacks_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_AcknowledgementInfo_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AcknowledgementInfo_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AcknowledgementInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AcknowledgementInfo.class, akka.remote.WireFormats.AcknowledgementInfo.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AcknowledgementInfo parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AcknowledgementInfo(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required fixed64 cumulativeAck = 1;
public static final int CUMULATIVEACK_FIELD_NUMBER = 1;
private long cumulativeAck_;
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public boolean hasCumulativeAck() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public long getCumulativeAck() {
return cumulativeAck_;
}
-
+
// repeated fixed64 nacks = 2;
public static final int NACKS_FIELD_NUMBER = 2;
private java.util.List nacks_;
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public java.util.List
getNacksList() {
return nacks_;
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public int getNacksCount() {
return nacks_.size();
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public long getNacks(int index) {
return nacks_.get(index);
}
-
+
private void initFields() {
cumulativeAck_ = 0L;
- nacks_ = java.util.Collections.emptyList();;
+ nacks_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasCumulativeAck()) {
memoizedIsInitialized = 0;
return false;
@@ -1569,7 +2089,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -1581,12 +2101,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -1602,94 +2122,83 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.AcknowledgementInfo 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AcknowledgementInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.AcknowledgementInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code AcknowledgementInfo}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.AcknowledgementInfoOrBuilder {
@@ -1697,18 +2206,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_AcknowledgementInfo_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AcknowledgementInfo_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AcknowledgementInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AcknowledgementInfo.class, akka.remote.WireFormats.AcknowledgementInfo.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.AcknowledgementInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -1719,29 +2231,29 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
cumulativeAck_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
- nacks_ = java.util.Collections.emptyList();;
+ nacks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.AcknowledgementInfo.getDescriptor();
+ return akka.remote.WireFormats.internal_static_AcknowledgementInfo_descriptor;
}
-
+
public akka.remote.WireFormats.AcknowledgementInfo getDefaultInstanceForType() {
return akka.remote.WireFormats.AcknowledgementInfo.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.AcknowledgementInfo build() {
akka.remote.WireFormats.AcknowledgementInfo result = buildPartial();
if (!result.isInitialized()) {
@@ -1749,17 +2261,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.AcknowledgementInfo buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AcknowledgementInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.AcknowledgementInfo buildPartial() {
akka.remote.WireFormats.AcknowledgementInfo result = new akka.remote.WireFormats.AcknowledgementInfo(this);
int from_bitField0_ = bitField0_;
@@ -1777,7 +2279,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.AcknowledgementInfo) {
return mergeFrom((akka.remote.WireFormats.AcknowledgementInfo)other);
@@ -1786,7 +2288,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.AcknowledgementInfo other) {
if (other == akka.remote.WireFormats.AcknowledgementInfo.getDefaultInstance()) return this;
if (other.hasCumulativeAck()) {
@@ -1805,7 +2307,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasCumulativeAck()) {
@@ -1813,94 +2315,89 @@ public final class WireFormats {
}
return true;
}
-
+
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 9: {
- bitField0_ |= 0x00000001;
- cumulativeAck_ = input.readFixed64();
- break;
- }
- case 17: {
- ensureNacksIsMutable();
- nacks_.add(input.readFixed64());
- break;
- }
- case 18: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- while (input.getBytesUntilLimit() > 0) {
- addNacks(input.readFixed64());
- }
- input.popLimit(limit);
- break;
- }
+ akka.remote.WireFormats.AcknowledgementInfo parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AcknowledgementInfo) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required fixed64 cumulativeAck = 1;
private long cumulativeAck_ ;
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public boolean hasCumulativeAck() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public long getCumulativeAck() {
return cumulativeAck_;
}
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public Builder setCumulativeAck(long value) {
bitField0_ |= 0x00000001;
cumulativeAck_ = value;
onChanged();
return this;
}
+ /**
+ * required fixed64 cumulativeAck = 1;
+ */
public Builder clearCumulativeAck() {
bitField0_ = (bitField0_ & ~0x00000001);
cumulativeAck_ = 0L;
onChanged();
return this;
}
-
+
// repeated fixed64 nacks = 2;
- private java.util.List nacks_ = java.util.Collections.emptyList();;
+ private java.util.List nacks_ = java.util.Collections.emptyList();
private void ensureNacksIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
nacks_ = new java.util.ArrayList(nacks_);
bitField0_ |= 0x00000002;
}
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public java.util.List
getNacksList() {
return java.util.Collections.unmodifiableList(nacks_);
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public int getNacksCount() {
return nacks_.size();
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public long getNacks(int index) {
return nacks_.get(index);
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public Builder setNacks(
int index, long value) {
ensureNacksIsMutable();
@@ -1908,12 +2405,18 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public Builder addNacks(long value) {
ensureNacksIsMutable();
nacks_.add(value);
onChanged();
return this;
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public Builder addAllNacks(
java.lang.Iterable extends java.lang.Long> values) {
ensureNacksIsMutable();
@@ -1921,92 +2424,190 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated fixed64 nacks = 2;
+ */
public Builder clearNacks() {
- nacks_ = java.util.Collections.emptyList();;
+ nacks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:AcknowledgementInfo)
}
-
+
static {
defaultInstance = new AcknowledgementInfo(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AcknowledgementInfo)
}
-
+
public interface ActorRefDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required string path = 1;
+ /**
+ * required string path = 1;
+ */
boolean hasPath();
- String getPath();
+ /**
+ * required string path = 1;
+ */
+ java.lang.String getPath();
+ /**
+ * required string path = 1;
+ */
+ com.google.protobuf.ByteString
+ getPathBytes();
}
+ /**
+ * Protobuf type {@code ActorRefData}
+ *
+ *
+ **
+ * Defines a remote ActorRef that "remembers" and uses its original Actor instance
+ * on the original node.
+ *
+ */
public static final class ActorRefData extends
com.google.protobuf.GeneratedMessage
implements ActorRefDataOrBuilder {
// Use ActorRefData.newBuilder() to construct.
- private ActorRefData(Builder builder) {
+ private ActorRefData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private ActorRefData(boolean noInit) {}
-
+ private ActorRefData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final ActorRefData defaultInstance;
public static ActorRefData getDefaultInstance() {
return defaultInstance;
}
-
+
public ActorRefData getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ActorRefData(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ bitField0_ |= 0x00000001;
+ path_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_ActorRefData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_ActorRefData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_ActorRefData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.ActorRefData.class, akka.remote.WireFormats.ActorRefData.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public ActorRefData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ActorRefData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required string path = 1;
public static final int PATH_FIELD_NUMBER = 1;
private java.lang.Object path_;
+ /**
+ * required string path = 1;
+ */
public boolean hasPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getPath() {
+ /**
+ * required string path = 1;
+ */
+ public java.lang.String getPath() {
java.lang.Object ref = path_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getPathBytes() {
+ /**
+ * required string path = 1;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
java.lang.Object ref = path_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
private void initFields() {
path_ = "";
}
@@ -2014,7 +2615,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasPath()) {
memoizedIsInitialized = 0;
return false;
@@ -2022,7 +2623,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -2031,12 +2632,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -2046,94 +2647,89 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.ActorRefData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.ActorRefData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.ActorRefData 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.ActorRefData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.ActorRefData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code ActorRefData}
+ *
+ *
+ **
+ * Defines a remote ActorRef that "remembers" and uses its original Actor instance
+ * on the original node.
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.ActorRefDataOrBuilder {
@@ -2141,18 +2737,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_ActorRefData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_ActorRefData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_ActorRefData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.ActorRefData.class, akka.remote.WireFormats.ActorRefData.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.ActorRefData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -2163,27 +2762,27 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
path_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.ActorRefData.getDescriptor();
+ return akka.remote.WireFormats.internal_static_ActorRefData_descriptor;
}
-
+
public akka.remote.WireFormats.ActorRefData getDefaultInstanceForType() {
return akka.remote.WireFormats.ActorRefData.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.ActorRefData build() {
akka.remote.WireFormats.ActorRefData result = buildPartial();
if (!result.isInitialized()) {
@@ -2191,17 +2790,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.ActorRefData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.ActorRefData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.ActorRefData buildPartial() {
akka.remote.WireFormats.ActorRefData result = new akka.remote.WireFormats.ActorRefData(this);
int from_bitField0_ = bitField0_;
@@ -2214,7 +2803,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.ActorRefData) {
return mergeFrom((akka.remote.WireFormats.ActorRefData)other);
@@ -2223,16 +2812,18 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.ActorRefData other) {
if (other == akka.remote.WireFormats.ActorRefData.getDefaultInstance()) return this;
if (other.hasPath()) {
- setPath(other.getPath());
+ bitField0_ |= 0x00000001;
+ path_ = other.path_;
+ onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasPath()) {
@@ -2240,57 +2831,69 @@ public final class WireFormats {
}
return true;
}
-
+
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;
- path_ = input.readBytes();
- break;
- }
+ akka.remote.WireFormats.ActorRefData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.ActorRefData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required string path = 1;
private java.lang.Object path_ = "";
+ /**
+ * required string path = 1;
+ */
public boolean hasPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getPath() {
+ /**
+ * required string path = 1;
+ */
+ public java.lang.String getPath() {
java.lang.Object ref = path_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
path_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setPath(String value) {
+ /**
+ * required string path = 1;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
+ java.lang.Object ref = path_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ path_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string path = 1;
+ */
+ public Builder setPath(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -2299,399 +2902,126 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string path = 1;
+ */
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000001);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
- void setPath(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * required string path = 1;
+ */
+ public Builder setPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
path_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:ActorRefData)
}
-
+
static {
defaultInstance = new ActorRefData(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:ActorRefData)
}
-
+
public interface SerializedMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required bytes message = 1;
+ /**
+ * required bytes message = 1;
+ */
boolean hasMessage();
+ /**
+ * required bytes message = 1;
+ */
com.google.protobuf.ByteString getMessage();
-
+
// required int32 serializerId = 2;
+ /**
+ * required int32 serializerId = 2;
+ */
boolean hasSerializerId();
+ /**
+ * required int32 serializerId = 2;
+ */
int getSerializerId();
-
+
// optional bytes messageManifest = 3;
+ /**
+ * optional bytes messageManifest = 3;
+ */
boolean hasMessageManifest();
+ /**
+ * optional bytes messageManifest = 3;
+ */
com.google.protobuf.ByteString getMessageManifest();
}
+ /**
+ * Protobuf type {@code SerializedMessage}
+ *
+ *
+ **
+ * Defines a message.
+ *
+ */
public static final class SerializedMessage extends
com.google.protobuf.GeneratedMessage
implements SerializedMessageOrBuilder {
// Use SerializedMessage.newBuilder() to construct.
- private SerializedMessage(Builder builder) {
+ private SerializedMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private SerializedMessage(boolean noInit) {}
-
+ private SerializedMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final SerializedMessage defaultInstance;
public static SerializedMessage getDefaultInstance() {
return defaultInstance;
}
-
+
public SerializedMessage getDefaultInstanceForType() {
return defaultInstance;
}
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_SerializedMessage_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_SerializedMessage_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required bytes message = 1;
- public static final int MESSAGE_FIELD_NUMBER = 1;
- private com.google.protobuf.ByteString message_;
- public boolean hasMessage() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public com.google.protobuf.ByteString getMessage() {
- return message_;
- }
-
- // 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_;
- }
-
- // optional bytes messageManifest = 3;
- public static final int MESSAGEMANIFEST_FIELD_NUMBER = 3;
- private com.google.protobuf.ByteString messageManifest_;
- public boolean hasMessageManifest() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public com.google.protobuf.ByteString getMessageManifest() {
- return messageManifest_;
- }
-
- private void initFields() {
- message_ = com.google.protobuf.ByteString.EMPTY;
- serializerId_ = 0;
- messageManifest_ = com.google.protobuf.ByteString.EMPTY;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasMessage()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasSerializerId()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, message_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeInt32(2, serializerId_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, messageManifest_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, message_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, serializerId_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, messageManifest_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
}
-
- public static akka.remote.WireFormats.SerializedMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage 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.WireFormats.SerializedMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage 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.WireFormats.SerializedMessage 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.WireFormats.SerializedMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ private SerializedMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(akka.remote.WireFormats.SerializedMessage prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements akka.remote.WireFormats.SerializedMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_SerializedMessage_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_SerializedMessage_fieldAccessorTable;
- }
-
- // Construct using akka.remote.WireFormats.SerializedMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- message_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
- serializerId_ = 0;
- bitField0_ = (bitField0_ & ~0x00000002);
- messageManifest_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return akka.remote.WireFormats.SerializedMessage.getDescriptor();
- }
-
- public akka.remote.WireFormats.SerializedMessage getDefaultInstanceForType() {
- return akka.remote.WireFormats.SerializedMessage.getDefaultInstance();
- }
-
- public akka.remote.WireFormats.SerializedMessage build() {
- akka.remote.WireFormats.SerializedMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private akka.remote.WireFormats.SerializedMessage buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.SerializedMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public akka.remote.WireFormats.SerializedMessage buildPartial() {
- akka.remote.WireFormats.SerializedMessage result = new akka.remote.WireFormats.SerializedMessage(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.message_ = message_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.serializerId_ = serializerId_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.messageManifest_ = messageManifest_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof akka.remote.WireFormats.SerializedMessage) {
- return mergeFrom((akka.remote.WireFormats.SerializedMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(akka.remote.WireFormats.SerializedMessage other) {
- if (other == akka.remote.WireFormats.SerializedMessage.getDefaultInstance()) return this;
- if (other.hasMessage()) {
- setMessage(other.getMessage());
- }
- if (other.hasSerializerId()) {
- setSerializerId(other.getSerializerId());
- }
- if (other.hasMessageManifest()) {
- setMessageManifest(other.getMessageManifest());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasMessage()) {
-
- return false;
- }
- if (!hasSerializerId()) {
-
- return false;
- }
- return true;
- }
-
- 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) {
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
+ break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
}
break;
}
@@ -2712,18 +3042,391 @@ public final class WireFormats {
}
}
}
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_SerializedMessage_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_SerializedMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.SerializedMessage.class, akka.remote.WireFormats.SerializedMessage.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public SerializedMessage parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SerializedMessage(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required bytes message = 1;
+ public static final int MESSAGE_FIELD_NUMBER = 1;
+ private com.google.protobuf.ByteString message_;
+ /**
+ * required bytes message = 1;
+ */
+ public boolean hasMessage() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required bytes message = 1;
+ */
+ public com.google.protobuf.ByteString getMessage() {
+ return message_;
+ }
+
+ // required int32 serializerId = 2;
+ public static final int SERIALIZERID_FIELD_NUMBER = 2;
+ private int serializerId_;
+ /**
+ * required int32 serializerId = 2;
+ */
+ public boolean hasSerializerId() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 serializerId = 2;
+ */
+ public int getSerializerId() {
+ return serializerId_;
+ }
+
+ // optional bytes messageManifest = 3;
+ public static final int MESSAGEMANIFEST_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString messageManifest_;
+ /**
+ * optional bytes messageManifest = 3;
+ */
+ public boolean hasMessageManifest() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional bytes messageManifest = 3;
+ */
+ public com.google.protobuf.ByteString getMessageManifest() {
+ return messageManifest_;
+ }
+
+ private void initFields() {
+ message_ = com.google.protobuf.ByteString.EMPTY;
+ serializerId_ = 0;
+ messageManifest_ = com.google.protobuf.ByteString.EMPTY;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasMessage()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasSerializerId()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, message_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, serializerId_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeBytes(3, messageManifest_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, message_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, serializerId_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, messageManifest_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.SerializedMessage parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(akka.remote.WireFormats.SerializedMessage prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code SerializedMessage}
+ *
+ *
+ **
+ * Defines a message.
+ *
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements akka.remote.WireFormats.SerializedMessageOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_SerializedMessage_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_SerializedMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.SerializedMessage.class, akka.remote.WireFormats.SerializedMessage.Builder.class);
+ }
+
+ // Construct using akka.remote.WireFormats.SerializedMessage.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ message_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ serializerId_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ messageManifest_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return akka.remote.WireFormats.internal_static_SerializedMessage_descriptor;
+ }
+
+ public akka.remote.WireFormats.SerializedMessage getDefaultInstanceForType() {
+ return akka.remote.WireFormats.SerializedMessage.getDefaultInstance();
+ }
+
+ public akka.remote.WireFormats.SerializedMessage build() {
+ akka.remote.WireFormats.SerializedMessage result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public akka.remote.WireFormats.SerializedMessage buildPartial() {
+ akka.remote.WireFormats.SerializedMessage result = new akka.remote.WireFormats.SerializedMessage(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.message_ = message_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.serializerId_ = serializerId_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.messageManifest_ = messageManifest_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof akka.remote.WireFormats.SerializedMessage) {
+ return mergeFrom((akka.remote.WireFormats.SerializedMessage)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(akka.remote.WireFormats.SerializedMessage other) {
+ if (other == akka.remote.WireFormats.SerializedMessage.getDefaultInstance()) return this;
+ if (other.hasMessage()) {
+ setMessage(other.getMessage());
+ }
+ if (other.hasSerializerId()) {
+ setSerializerId(other.getSerializerId());
+ }
+ if (other.hasMessageManifest()) {
+ setMessageManifest(other.getMessageManifest());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasMessage()) {
+
+ return false;
+ }
+ if (!hasSerializerId()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ akka.remote.WireFormats.SerializedMessage parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.SerializedMessage) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
}
-
private int bitField0_;
-
+
// required bytes message = 1;
private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * required bytes message = 1;
+ */
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required bytes message = 1;
+ */
public com.google.protobuf.ByteString getMessage() {
return message_;
}
+ /**
+ * required bytes message = 1;
+ */
public Builder setMessage(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -2733,42 +3436,66 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required bytes message = 1;
+ */
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000001);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
-
+
// required int32 serializerId = 2;
private int serializerId_ ;
+ /**
+ * required int32 serializerId = 2;
+ */
public boolean hasSerializerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required int32 serializerId = 2;
+ */
public int getSerializerId() {
return serializerId_;
}
+ /**
+ * required int32 serializerId = 2;
+ */
public Builder setSerializerId(int value) {
bitField0_ |= 0x00000002;
serializerId_ = value;
onChanged();
return this;
}
+ /**
+ * required int32 serializerId = 2;
+ */
public Builder clearSerializerId() {
bitField0_ = (bitField0_ & ~0x00000002);
serializerId_ = 0;
onChanged();
return this;
}
-
+
// optional bytes messageManifest = 3;
private com.google.protobuf.ByteString messageManifest_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes messageManifest = 3;
+ */
public boolean hasMessageManifest() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional bytes messageManifest = 3;
+ */
public com.google.protobuf.ByteString getMessageManifest() {
return messageManifest_;
}
+ /**
+ * optional bytes messageManifest = 3;
+ */
public Builder setMessageManifest(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -2778,146 +3505,336 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional bytes messageManifest = 3;
+ */
public Builder clearMessageManifest() {
bitField0_ = (bitField0_ & ~0x00000004);
messageManifest_ = getDefaultInstance().getMessageManifest();
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:SerializedMessage)
}
-
+
static {
defaultInstance = new SerializedMessage(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:SerializedMessage)
}
-
+
public interface DaemonMsgCreateDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required .PropsData props = 1;
+ /**
+ * required .PropsData props = 1;
+ */
boolean hasProps();
+ /**
+ * required .PropsData props = 1;
+ */
akka.remote.WireFormats.PropsData getProps();
+ /**
+ * required .PropsData props = 1;
+ */
akka.remote.WireFormats.PropsDataOrBuilder getPropsOrBuilder();
-
+
// required .DeployData deploy = 2;
+ /**
+ * required .DeployData deploy = 2;
+ */
boolean hasDeploy();
+ /**
+ * required .DeployData deploy = 2;
+ */
akka.remote.WireFormats.DeployData getDeploy();
+ /**
+ * required .DeployData deploy = 2;
+ */
akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder();
-
+
// required string path = 3;
+ /**
+ * required string path = 3;
+ */
boolean hasPath();
- String getPath();
-
+ /**
+ * required string path = 3;
+ */
+ java.lang.String getPath();
+ /**
+ * required string path = 3;
+ */
+ com.google.protobuf.ByteString
+ getPathBytes();
+
// required .ActorRefData supervisor = 4;
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
boolean hasSupervisor();
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
akka.remote.WireFormats.ActorRefData getSupervisor();
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
akka.remote.WireFormats.ActorRefDataOrBuilder getSupervisorOrBuilder();
}
+ /**
+ * Protobuf type {@code DaemonMsgCreateData}
+ *
+ *
+ **
+ * Defines akka.remote.DaemonMsgCreate
+ *
+ */
public static final class DaemonMsgCreateData extends
com.google.protobuf.GeneratedMessage
implements DaemonMsgCreateDataOrBuilder {
// Use DaemonMsgCreateData.newBuilder() to construct.
- private DaemonMsgCreateData(Builder builder) {
+ private DaemonMsgCreateData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private DaemonMsgCreateData(boolean noInit) {}
-
+ private DaemonMsgCreateData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final DaemonMsgCreateData defaultInstance;
public static DaemonMsgCreateData getDefaultInstance() {
return defaultInstance;
}
-
+
public DaemonMsgCreateData getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DaemonMsgCreateData(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ akka.remote.WireFormats.PropsData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = props_.toBuilder();
+ }
+ props_ = input.readMessage(akka.remote.WireFormats.PropsData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(props_);
+ props_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.DeployData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = deploy_.toBuilder();
+ }
+ deploy_ = input.readMessage(akka.remote.WireFormats.DeployData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deploy_);
+ deploy_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 26: {
+ bitField0_ |= 0x00000004;
+ path_ = input.readBytes();
+ break;
+ }
+ case 34: {
+ akka.remote.WireFormats.ActorRefData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = supervisor_.toBuilder();
+ }
+ supervisor_ = input.readMessage(akka.remote.WireFormats.ActorRefData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(supervisor_);
+ supervisor_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.DaemonMsgCreateData.class, akka.remote.WireFormats.DaemonMsgCreateData.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public DaemonMsgCreateData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new DaemonMsgCreateData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required .PropsData props = 1;
public static final int PROPS_FIELD_NUMBER = 1;
private akka.remote.WireFormats.PropsData props_;
+ /**
+ * required .PropsData props = 1;
+ */
public boolean hasProps() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .PropsData props = 1;
+ */
public akka.remote.WireFormats.PropsData getProps() {
return props_;
}
+ /**
+ * required .PropsData props = 1;
+ */
public akka.remote.WireFormats.PropsDataOrBuilder getPropsOrBuilder() {
return props_;
}
-
+
// required .DeployData deploy = 2;
public static final int DEPLOY_FIELD_NUMBER = 2;
private akka.remote.WireFormats.DeployData deploy_;
+ /**
+ * required .DeployData deploy = 2;
+ */
public boolean hasDeploy() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData getDeploy() {
return deploy_;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder() {
return deploy_;
}
-
+
// required string path = 3;
public static final int PATH_FIELD_NUMBER = 3;
private java.lang.Object path_;
+ /**
+ * required string path = 3;
+ */
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getPath() {
+ /**
+ * required string path = 3;
+ */
+ public java.lang.String getPath() {
java.lang.Object ref = path_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getPathBytes() {
+ /**
+ * required string path = 3;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
java.lang.Object ref = path_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
// required .ActorRefData supervisor = 4;
public static final int SUPERVISOR_FIELD_NUMBER = 4;
private akka.remote.WireFormats.ActorRefData supervisor_;
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public boolean hasSupervisor() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public akka.remote.WireFormats.ActorRefData getSupervisor() {
return supervisor_;
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getSupervisorOrBuilder() {
return supervisor_;
}
-
+
private void initFields() {
props_ = akka.remote.WireFormats.PropsData.getDefaultInstance();
deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
@@ -2928,7 +3845,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasProps()) {
memoizedIsInitialized = 0;
return false;
@@ -2960,7 +3877,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -2978,12 +3895,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -3005,94 +3922,88 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.DaemonMsgCreateData 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.DaemonMsgCreateData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.DaemonMsgCreateData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code DaemonMsgCreateData}
+ *
+ *
+ **
+ * Defines akka.remote.DaemonMsgCreate
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.DaemonMsgCreateDataOrBuilder {
@@ -3100,18 +4011,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.DaemonMsgCreateData.class, akka.remote.WireFormats.DaemonMsgCreateData.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.DaemonMsgCreateData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -3125,7 +4039,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (propsBuilder_ == null) {
@@ -3150,20 +4064,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.DaemonMsgCreateData.getDescriptor();
+ return akka.remote.WireFormats.internal_static_DaemonMsgCreateData_descriptor;
}
-
+
public akka.remote.WireFormats.DaemonMsgCreateData getDefaultInstanceForType() {
return akka.remote.WireFormats.DaemonMsgCreateData.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.DaemonMsgCreateData build() {
akka.remote.WireFormats.DaemonMsgCreateData result = buildPartial();
if (!result.isInitialized()) {
@@ -3171,17 +4085,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.DaemonMsgCreateData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.DaemonMsgCreateData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.DaemonMsgCreateData buildPartial() {
akka.remote.WireFormats.DaemonMsgCreateData result = new akka.remote.WireFormats.DaemonMsgCreateData(this);
int from_bitField0_ = bitField0_;
@@ -3218,7 +4122,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.DaemonMsgCreateData) {
return mergeFrom((akka.remote.WireFormats.DaemonMsgCreateData)other);
@@ -3227,7 +4131,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.DaemonMsgCreateData other) {
if (other == akka.remote.WireFormats.DaemonMsgCreateData.getDefaultInstance()) return this;
if (other.hasProps()) {
@@ -3237,7 +4141,9 @@ public final class WireFormats {
mergeDeploy(other.getDeploy());
}
if (other.hasPath()) {
- setPath(other.getPath());
+ bitField0_ |= 0x00000004;
+ path_ = other.path_;
+ onChanged();
}
if (other.hasSupervisor()) {
mergeSupervisor(other.getSupervisor());
@@ -3245,7 +4151,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasProps()) {
@@ -3277,75 +4183,39 @@ public final class WireFormats {
}
return true;
}
-
+
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: {
- akka.remote.WireFormats.PropsData.Builder subBuilder = akka.remote.WireFormats.PropsData.newBuilder();
- if (hasProps()) {
- subBuilder.mergeFrom(getProps());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProps(subBuilder.buildPartial());
- break;
- }
- case 18: {
- akka.remote.WireFormats.DeployData.Builder subBuilder = akka.remote.WireFormats.DeployData.newBuilder();
- if (hasDeploy()) {
- subBuilder.mergeFrom(getDeploy());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDeploy(subBuilder.buildPartial());
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- path_ = input.readBytes();
- break;
- }
- case 34: {
- akka.remote.WireFormats.ActorRefData.Builder subBuilder = akka.remote.WireFormats.ActorRefData.newBuilder();
- if (hasSupervisor()) {
- subBuilder.mergeFrom(getSupervisor());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setSupervisor(subBuilder.buildPartial());
- break;
- }
+ akka.remote.WireFormats.DaemonMsgCreateData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.DaemonMsgCreateData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required .PropsData props = 1;
private akka.remote.WireFormats.PropsData props_ = akka.remote.WireFormats.PropsData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.PropsData, akka.remote.WireFormats.PropsData.Builder, akka.remote.WireFormats.PropsDataOrBuilder> propsBuilder_;
+ /**
+ * required .PropsData props = 1;
+ */
public boolean hasProps() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .PropsData props = 1;
+ */
public akka.remote.WireFormats.PropsData getProps() {
if (propsBuilder_ == null) {
return props_;
@@ -3353,6 +4223,9 @@ public final class WireFormats {
return propsBuilder_.getMessage();
}
}
+ /**
+ * required .PropsData props = 1;
+ */
public Builder setProps(akka.remote.WireFormats.PropsData value) {
if (propsBuilder_ == null) {
if (value == null) {
@@ -3366,6 +4239,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .PropsData props = 1;
+ */
public Builder setProps(
akka.remote.WireFormats.PropsData.Builder builderForValue) {
if (propsBuilder_ == null) {
@@ -3377,6 +4253,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .PropsData props = 1;
+ */
public Builder mergeProps(akka.remote.WireFormats.PropsData value) {
if (propsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
@@ -3393,6 +4272,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .PropsData props = 1;
+ */
public Builder clearProps() {
if (propsBuilder_ == null) {
props_ = akka.remote.WireFormats.PropsData.getDefaultInstance();
@@ -3403,11 +4285,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+ /**
+ * required .PropsData props = 1;
+ */
public akka.remote.WireFormats.PropsData.Builder getPropsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPropsFieldBuilder().getBuilder();
}
+ /**
+ * required .PropsData props = 1;
+ */
public akka.remote.WireFormats.PropsDataOrBuilder getPropsOrBuilder() {
if (propsBuilder_ != null) {
return propsBuilder_.getMessageOrBuilder();
@@ -3415,6 +4303,9 @@ public final class WireFormats {
return props_;
}
}
+ /**
+ * required .PropsData props = 1;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.PropsData, akka.remote.WireFormats.PropsData.Builder, akka.remote.WireFormats.PropsDataOrBuilder>
getPropsFieldBuilder() {
@@ -3428,14 +4319,20 @@ public final class WireFormats {
}
return propsBuilder_;
}
-
+
// required .DeployData deploy = 2;
private akka.remote.WireFormats.DeployData deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.DeployData, akka.remote.WireFormats.DeployData.Builder, akka.remote.WireFormats.DeployDataOrBuilder> deployBuilder_;
+ /**
+ * required .DeployData deploy = 2;
+ */
public boolean hasDeploy() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData getDeploy() {
if (deployBuilder_ == null) {
return deploy_;
@@ -3443,6 +4340,9 @@ public final class WireFormats {
return deployBuilder_.getMessage();
}
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder setDeploy(akka.remote.WireFormats.DeployData value) {
if (deployBuilder_ == null) {
if (value == null) {
@@ -3456,6 +4356,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder setDeploy(
akka.remote.WireFormats.DeployData.Builder builderForValue) {
if (deployBuilder_ == null) {
@@ -3467,6 +4370,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder mergeDeploy(akka.remote.WireFormats.DeployData value) {
if (deployBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -3483,6 +4389,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder clearDeploy() {
if (deployBuilder_ == null) {
deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
@@ -3493,11 +4402,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData.Builder getDeployBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDeployFieldBuilder().getBuilder();
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder() {
if (deployBuilder_ != null) {
return deployBuilder_.getMessageOrBuilder();
@@ -3505,6 +4420,9 @@ public final class WireFormats {
return deploy_;
}
}
+ /**
+ * required .DeployData deploy = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.DeployData, akka.remote.WireFormats.DeployData.Builder, akka.remote.WireFormats.DeployDataOrBuilder>
getDeployFieldBuilder() {
@@ -3518,23 +4436,50 @@ public final class WireFormats {
}
return deployBuilder_;
}
-
+
// required string path = 3;
private java.lang.Object path_ = "";
+ /**
+ * required string path = 3;
+ */
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getPath() {
+ /**
+ * required string path = 3;
+ */
+ public java.lang.String getPath() {
java.lang.Object ref = path_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
path_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setPath(String value) {
+ /**
+ * required string path = 3;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
+ java.lang.Object ref = path_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ path_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string path = 3;
+ */
+ public Builder setPath(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -3543,25 +4488,42 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string path = 3;
+ */
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000004);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
- void setPath(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
+ /**
+ * required string path = 3;
+ */
+ public Builder setPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
path_ = value;
onChanged();
+ return this;
}
-
+
// required .ActorRefData supervisor = 4;
private akka.remote.WireFormats.ActorRefData supervisor_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder> supervisorBuilder_;
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public boolean hasSupervisor() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public akka.remote.WireFormats.ActorRefData getSupervisor() {
if (supervisorBuilder_ == null) {
return supervisor_;
@@ -3569,6 +4531,9 @@ public final class WireFormats {
return supervisorBuilder_.getMessage();
}
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public Builder setSupervisor(akka.remote.WireFormats.ActorRefData value) {
if (supervisorBuilder_ == null) {
if (value == null) {
@@ -3582,6 +4547,9 @@ public final class WireFormats {
bitField0_ |= 0x00000008;
return this;
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public Builder setSupervisor(
akka.remote.WireFormats.ActorRefData.Builder builderForValue) {
if (supervisorBuilder_ == null) {
@@ -3593,6 +4561,9 @@ public final class WireFormats {
bitField0_ |= 0x00000008;
return this;
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public Builder mergeSupervisor(akka.remote.WireFormats.ActorRefData value) {
if (supervisorBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
@@ -3609,6 +4580,9 @@ public final class WireFormats {
bitField0_ |= 0x00000008;
return this;
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public Builder clearSupervisor() {
if (supervisorBuilder_ == null) {
supervisor_ = akka.remote.WireFormats.ActorRefData.getDefaultInstance();
@@ -3619,11 +4593,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public akka.remote.WireFormats.ActorRefData.Builder getSupervisorBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getSupervisorFieldBuilder().getBuilder();
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
public akka.remote.WireFormats.ActorRefDataOrBuilder getSupervisorOrBuilder() {
if (supervisorBuilder_ != null) {
return supervisorBuilder_.getMessageOrBuilder();
@@ -3631,6 +4611,9 @@ public final class WireFormats {
return supervisor_;
}
}
+ /**
+ * required .ActorRefData supervisor = 4;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.ActorRefData, akka.remote.WireFormats.ActorRefData.Builder, akka.remote.WireFormats.ActorRefDataOrBuilder>
getSupervisorFieldBuilder() {
@@ -3644,153 +4627,349 @@ public final class WireFormats {
}
return supervisorBuilder_;
}
-
+
// @@protoc_insertion_point(builder_scope:DaemonMsgCreateData)
}
-
+
static {
defaultInstance = new DaemonMsgCreateData(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:DaemonMsgCreateData)
}
-
+
public interface PropsDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required .DeployData deploy = 2;
+ /**
+ * required .DeployData deploy = 2;
+ */
boolean hasDeploy();
+ /**
+ * required .DeployData deploy = 2;
+ */
akka.remote.WireFormats.DeployData getDeploy();
+ /**
+ * required .DeployData deploy = 2;
+ */
akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder();
-
+
// required string clazz = 3;
+ /**
+ * required string clazz = 3;
+ */
boolean hasClazz();
- String getClazz();
-
+ /**
+ * required string clazz = 3;
+ */
+ java.lang.String getClazz();
+ /**
+ * required string clazz = 3;
+ */
+ com.google.protobuf.ByteString
+ getClazzBytes();
+
// repeated bytes args = 4;
+ /**
+ * repeated bytes args = 4;
+ */
java.util.List getArgsList();
+ /**
+ * repeated bytes args = 4;
+ */
int getArgsCount();
+ /**
+ * repeated bytes args = 4;
+ */
com.google.protobuf.ByteString getArgs(int index);
-
+
// repeated string classes = 5;
- java.util.List getClassesList();
+ /**
+ * repeated string classes = 5;
+ */
+ java.util.List
+ getClassesList();
+ /**
+ * repeated string classes = 5;
+ */
int getClassesCount();
- String getClasses(int index);
+ /**
+ * repeated string classes = 5;
+ */
+ java.lang.String getClasses(int index);
+ /**
+ * repeated string classes = 5;
+ */
+ com.google.protobuf.ByteString
+ getClassesBytes(int index);
}
+ /**
+ * Protobuf type {@code PropsData}
+ *
+ *
+ **
+ * Serialization of akka.actor.Props
+ *
+ */
public static final class PropsData extends
com.google.protobuf.GeneratedMessage
implements PropsDataOrBuilder {
// Use PropsData.newBuilder() to construct.
- private PropsData(Builder builder) {
+ private PropsData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private PropsData(boolean noInit) {}
-
+ private PropsData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final PropsData defaultInstance;
public static PropsData getDefaultInstance() {
return defaultInstance;
}
-
+
public PropsData getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PropsData(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.DeployData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = deploy_.toBuilder();
+ }
+ deploy_ = input.readMessage(akka.remote.WireFormats.DeployData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deploy_);
+ deploy_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 26: {
+ bitField0_ |= 0x00000002;
+ clazz_ = input.readBytes();
+ break;
+ }
+ case 34: {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ args_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ args_.add(input.readBytes());
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ classes_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000008;
+ }
+ classes_.add(input.readBytes());
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ args_ = java.util.Collections.unmodifiableList(args_);
+ }
+ if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ classes_ = new com.google.protobuf.UnmodifiableLazyStringList(classes_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_PropsData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_PropsData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_PropsData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.PropsData.class, akka.remote.WireFormats.PropsData.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public PropsData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new PropsData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required .DeployData deploy = 2;
public static final int DEPLOY_FIELD_NUMBER = 2;
private akka.remote.WireFormats.DeployData deploy_;
+ /**
+ * required .DeployData deploy = 2;
+ */
public boolean hasDeploy() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData getDeploy() {
return deploy_;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder() {
return deploy_;
}
-
+
// required string clazz = 3;
public static final int CLAZZ_FIELD_NUMBER = 3;
private java.lang.Object clazz_;
+ /**
+ * required string clazz = 3;
+ */
public boolean hasClazz() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getClazz() {
+ /**
+ * required string clazz = 3;
+ */
+ public java.lang.String getClazz() {
java.lang.Object ref = clazz_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
clazz_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getClazzBytes() {
+ /**
+ * required string clazz = 3;
+ */
+ public com.google.protobuf.ByteString
+ getClazzBytes() {
java.lang.Object ref = clazz_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
clazz_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
// repeated bytes args = 4;
public static final int ARGS_FIELD_NUMBER = 4;
private java.util.List args_;
+ /**
+ * repeated bytes args = 4;
+ */
public java.util.List
getArgsList() {
return args_;
}
+ /**
+ * repeated bytes args = 4;
+ */
public int getArgsCount() {
return args_.size();
}
+ /**
+ * repeated bytes args = 4;
+ */
public com.google.protobuf.ByteString getArgs(int index) {
return args_.get(index);
}
-
+
// repeated string classes = 5;
public static final int CLASSES_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList classes_;
- public java.util.List
+ /**
+ * repeated string classes = 5;
+ */
+ public java.util.List
getClassesList() {
return classes_;
}
+ /**
+ * repeated string classes = 5;
+ */
public int getClassesCount() {
return classes_.size();
}
- public String getClasses(int index) {
+ /**
+ * repeated string classes = 5;
+ */
+ public java.lang.String getClasses(int index) {
return classes_.get(index);
}
-
+ /**
+ * repeated string classes = 5;
+ */
+ public com.google.protobuf.ByteString
+ getClassesBytes(int index) {
+ return classes_.getByteString(index);
+ }
+
private void initFields() {
deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
clazz_ = "";
- args_ = java.util.Collections.emptyList();;
+ args_ = java.util.Collections.emptyList();
classes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasDeploy()) {
memoizedIsInitialized = 0;
return false;
@@ -3806,7 +4985,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -3824,12 +5003,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -3861,94 +5040,88 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.PropsData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.PropsData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.PropsData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.PropsData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.PropsData parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.PropsData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.PropsData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.PropsData 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.PropsData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.PropsData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.PropsData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code PropsData}
+ *
+ *
+ **
+ * Serialization of akka.actor.Props
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.PropsDataOrBuilder {
@@ -3956,18 +5129,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_PropsData_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_PropsData_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_PropsData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.PropsData.class, akka.remote.WireFormats.PropsData.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.PropsData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -3979,7 +5155,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (deployBuilder_ == null) {
@@ -3990,26 +5166,26 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
clazz_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
- args_ = java.util.Collections.emptyList();;
+ args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
classes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.PropsData.getDescriptor();
+ return akka.remote.WireFormats.internal_static_PropsData_descriptor;
}
-
+
public akka.remote.WireFormats.PropsData getDefaultInstanceForType() {
return akka.remote.WireFormats.PropsData.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.PropsData build() {
akka.remote.WireFormats.PropsData result = buildPartial();
if (!result.isInitialized()) {
@@ -4017,17 +5193,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.PropsData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.PropsData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.PropsData buildPartial() {
akka.remote.WireFormats.PropsData result = new akka.remote.WireFormats.PropsData(this);
int from_bitField0_ = bitField0_;
@@ -4059,7 +5225,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.PropsData) {
return mergeFrom((akka.remote.WireFormats.PropsData)other);
@@ -4068,14 +5234,16 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.PropsData other) {
if (other == akka.remote.WireFormats.PropsData.getDefaultInstance()) return this;
if (other.hasDeploy()) {
mergeDeploy(other.getDeploy());
}
if (other.hasClazz()) {
- setClazz(other.getClazz());
+ bitField0_ |= 0x00000002;
+ clazz_ = other.clazz_;
+ onChanged();
}
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
@@ -4100,7 +5268,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasDeploy()) {
@@ -4116,67 +5284,39 @@ public final class WireFormats {
}
return true;
}
-
+
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 18: {
- akka.remote.WireFormats.DeployData.Builder subBuilder = akka.remote.WireFormats.DeployData.newBuilder();
- if (hasDeploy()) {
- subBuilder.mergeFrom(getDeploy());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDeploy(subBuilder.buildPartial());
- break;
- }
- case 26: {
- bitField0_ |= 0x00000002;
- clazz_ = input.readBytes();
- break;
- }
- case 34: {
- ensureArgsIsMutable();
- args_.add(input.readBytes());
- break;
- }
- case 42: {
- ensureClassesIsMutable();
- classes_.add(input.readBytes());
- break;
- }
+ akka.remote.WireFormats.PropsData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.PropsData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required .DeployData deploy = 2;
private akka.remote.WireFormats.DeployData deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.DeployData, akka.remote.WireFormats.DeployData.Builder, akka.remote.WireFormats.DeployDataOrBuilder> deployBuilder_;
+ /**
+ * required .DeployData deploy = 2;
+ */
public boolean hasDeploy() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData getDeploy() {
if (deployBuilder_ == null) {
return deploy_;
@@ -4184,6 +5324,9 @@ public final class WireFormats {
return deployBuilder_.getMessage();
}
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder setDeploy(akka.remote.WireFormats.DeployData value) {
if (deployBuilder_ == null) {
if (value == null) {
@@ -4197,6 +5340,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder setDeploy(
akka.remote.WireFormats.DeployData.Builder builderForValue) {
if (deployBuilder_ == null) {
@@ -4208,6 +5354,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder mergeDeploy(akka.remote.WireFormats.DeployData value) {
if (deployBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
@@ -4224,6 +5373,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public Builder clearDeploy() {
if (deployBuilder_ == null) {
deploy_ = akka.remote.WireFormats.DeployData.getDefaultInstance();
@@ -4234,11 +5386,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployData.Builder getDeployBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getDeployFieldBuilder().getBuilder();
}
+ /**
+ * required .DeployData deploy = 2;
+ */
public akka.remote.WireFormats.DeployDataOrBuilder getDeployOrBuilder() {
if (deployBuilder_ != null) {
return deployBuilder_.getMessageOrBuilder();
@@ -4246,6 +5404,9 @@ public final class WireFormats {
return deploy_;
}
}
+ /**
+ * required .DeployData deploy = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.DeployData, akka.remote.WireFormats.DeployData.Builder, akka.remote.WireFormats.DeployDataOrBuilder>
getDeployFieldBuilder() {
@@ -4259,23 +5420,50 @@ public final class WireFormats {
}
return deployBuilder_;
}
-
+
// required string clazz = 3;
private java.lang.Object clazz_ = "";
+ /**
+ * required string clazz = 3;
+ */
public boolean hasClazz() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getClazz() {
+ /**
+ * required string clazz = 3;
+ */
+ public java.lang.String getClazz() {
java.lang.Object ref = clazz_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
clazz_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setClazz(String value) {
+ /**
+ * required string clazz = 3;
+ */
+ public com.google.protobuf.ByteString
+ getClazzBytes() {
+ java.lang.Object ref = clazz_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ clazz_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string clazz = 3;
+ */
+ public Builder setClazz(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -4284,36 +5472,59 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string clazz = 3;
+ */
public Builder clearClazz() {
bitField0_ = (bitField0_ & ~0x00000002);
clazz_ = getDefaultInstance().getClazz();
onChanged();
return this;
}
- void setClazz(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * required string clazz = 3;
+ */
+ public Builder setClazzBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
clazz_ = value;
onChanged();
+ return this;
}
-
+
// repeated bytes args = 4;
- private java.util.List args_ = java.util.Collections.emptyList();;
+ private java.util.List args_ = java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
args_ = new java.util.ArrayList(args_);
bitField0_ |= 0x00000004;
}
}
+ /**
+ * repeated bytes args = 4;
+ */
public java.util.List
getArgsList() {
return java.util.Collections.unmodifiableList(args_);
}
+ /**
+ * repeated bytes args = 4;
+ */
public int getArgsCount() {
return args_.size();
}
+ /**
+ * repeated bytes args = 4;
+ */
public com.google.protobuf.ByteString getArgs(int index) {
return args_.get(index);
}
+ /**
+ * repeated bytes args = 4;
+ */
public Builder setArgs(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
@@ -4324,6 +5535,9 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated bytes args = 4;
+ */
public Builder addArgs(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -4333,6 +5547,9 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated bytes args = 4;
+ */
public Builder addAllArgs(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureArgsIsMutable();
@@ -4340,13 +5557,16 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated bytes args = 4;
+ */
public Builder clearArgs() {
- args_ = java.util.Collections.emptyList();;
+ args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
-
+
// repeated string classes = 5;
private com.google.protobuf.LazyStringList classes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureClassesIsMutable() {
@@ -4355,18 +5575,37 @@ public final class WireFormats {
bitField0_ |= 0x00000008;
}
}
- public java.util.List
+ /**
+ * repeated string classes = 5;
+ */
+ public java.util.List
getClassesList() {
return java.util.Collections.unmodifiableList(classes_);
}
+ /**
+ * repeated string classes = 5;
+ */
public int getClassesCount() {
return classes_.size();
}
- public String getClasses(int index) {
+ /**
+ * repeated string classes = 5;
+ */
+ public java.lang.String getClasses(int index) {
return classes_.get(index);
}
+ /**
+ * repeated string classes = 5;
+ */
+ public com.google.protobuf.ByteString
+ getClassesBytes(int index) {
+ return classes_.getByteString(index);
+ }
+ /**
+ * repeated string classes = 5;
+ */
public Builder setClasses(
- int index, String value) {
+ int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -4375,7 +5614,11 @@ public final class WireFormats {
onChanged();
return this;
}
- public Builder addClasses(String value) {
+ /**
+ * repeated string classes = 5;
+ */
+ public Builder addClasses(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -4384,504 +5627,166 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * repeated string classes = 5;
+ */
public Builder addAllClasses(
- java.lang.Iterable values) {
+ java.lang.Iterable values) {
ensureClassesIsMutable();
super.addAll(values, classes_);
onChanged();
return this;
}
+ /**
+ * repeated string classes = 5;
+ */
public Builder clearClasses() {
classes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
- void addClasses(com.google.protobuf.ByteString value) {
- ensureClassesIsMutable();
+ /**
+ * repeated string classes = 5;
+ */
+ public Builder addClassesBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureClassesIsMutable();
classes_.add(value);
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:PropsData)
}
-
+
static {
defaultInstance = new PropsData(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:PropsData)
}
-
+
public interface DeployDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required string path = 1;
+ /**
+ * required string path = 1;
+ */
boolean hasPath();
- String getPath();
-
+ /**
+ * required string path = 1;
+ */
+ java.lang.String getPath();
+ /**
+ * required string path = 1;
+ */
+ com.google.protobuf.ByteString
+ getPathBytes();
+
// optional bytes config = 2;
+ /**
+ * optional bytes config = 2;
+ */
boolean hasConfig();
+ /**
+ * optional bytes config = 2;
+ */
com.google.protobuf.ByteString getConfig();
-
+
// optional bytes routerConfig = 3;
+ /**
+ * optional bytes routerConfig = 3;
+ */
boolean hasRouterConfig();
+ /**
+ * optional bytes routerConfig = 3;
+ */
com.google.protobuf.ByteString getRouterConfig();
-
+
// optional bytes scope = 4;
+ /**
+ * optional bytes scope = 4;
+ */
boolean hasScope();
+ /**
+ * optional bytes scope = 4;
+ */
com.google.protobuf.ByteString getScope();
-
+
// optional string dispatcher = 5;
+ /**
+ * optional string dispatcher = 5;
+ */
boolean hasDispatcher();
- String getDispatcher();
+ /**
+ * optional string dispatcher = 5;
+ */
+ java.lang.String getDispatcher();
+ /**
+ * optional string dispatcher = 5;
+ */
+ com.google.protobuf.ByteString
+ getDispatcherBytes();
}
+ /**
+ * Protobuf type {@code DeployData}
+ *
+ *
+ **
+ * Serialization of akka.actor.Deploy
+ *
+ */
public static final class DeployData extends
com.google.protobuf.GeneratedMessage
implements DeployDataOrBuilder {
// Use DeployData.newBuilder() to construct.
- private DeployData(Builder builder) {
+ private DeployData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private DeployData(boolean noInit) {}
-
+ private DeployData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final DeployData defaultInstance;
public static DeployData getDefaultInstance() {
return defaultInstance;
}
-
+
public DeployData getDefaultInstanceForType() {
return defaultInstance;
}
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_DeployData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_DeployData_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string path = 1;
- public static final int PATH_FIELD_NUMBER = 1;
- private java.lang.Object path_;
- public boolean hasPath() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getPath() {
- java.lang.Object ref = path_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- path_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getPathBytes() {
- java.lang.Object ref = path_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- path_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional bytes config = 2;
- public static final int CONFIG_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString config_;
- public boolean hasConfig() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public com.google.protobuf.ByteString getConfig() {
- return config_;
- }
-
- // optional bytes routerConfig = 3;
- public static final int ROUTERCONFIG_FIELD_NUMBER = 3;
- private com.google.protobuf.ByteString routerConfig_;
- public boolean hasRouterConfig() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public com.google.protobuf.ByteString getRouterConfig() {
- return routerConfig_;
- }
-
- // optional bytes scope = 4;
- public static final int SCOPE_FIELD_NUMBER = 4;
- private com.google.protobuf.ByteString scope_;
- public boolean hasScope() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public com.google.protobuf.ByteString getScope() {
- return scope_;
- }
-
- // optional string dispatcher = 5;
- public static final int DISPATCHER_FIELD_NUMBER = 5;
- private java.lang.Object dispatcher_;
- public boolean hasDispatcher() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getDispatcher() {
- java.lang.Object ref = dispatcher_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- dispatcher_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getDispatcherBytes() {
- java.lang.Object ref = dispatcher_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- dispatcher_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- path_ = "";
- config_ = com.google.protobuf.ByteString.EMPTY;
- routerConfig_ = com.google.protobuf.ByteString.EMPTY;
- scope_ = com.google.protobuf.ByteString.EMPTY;
- dispatcher_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasPath()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getPathBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, config_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, routerConfig_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, scope_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getDispatcherBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getPathBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, config_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, routerConfig_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, scope_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getDispatcherBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
}
-
- public static akka.remote.WireFormats.DeployData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.DeployData 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.WireFormats.DeployData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.DeployData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.DeployData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.DeployData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.DeployData 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.WireFormats.DeployData 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.WireFormats.DeployData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.DeployData parseFrom(
+ private DeployData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(akka.remote.WireFormats.DeployData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements akka.remote.WireFormats.DeployDataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_DeployData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_DeployData_fieldAccessorTable;
- }
-
- // Construct using akka.remote.WireFormats.DeployData.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- path_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- config_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- routerConfig_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- scope_ = com.google.protobuf.ByteString.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
- dispatcher_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return akka.remote.WireFormats.DeployData.getDescriptor();
- }
-
- public akka.remote.WireFormats.DeployData getDefaultInstanceForType() {
- return akka.remote.WireFormats.DeployData.getDefaultInstance();
- }
-
- public akka.remote.WireFormats.DeployData build() {
- akka.remote.WireFormats.DeployData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private akka.remote.WireFormats.DeployData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.DeployData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public akka.remote.WireFormats.DeployData buildPartial() {
- akka.remote.WireFormats.DeployData result = new akka.remote.WireFormats.DeployData(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.path_ = path_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.config_ = config_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.routerConfig_ = routerConfig_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.scope_ = scope_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.dispatcher_ = dispatcher_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof akka.remote.WireFormats.DeployData) {
- return mergeFrom((akka.remote.WireFormats.DeployData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(akka.remote.WireFormats.DeployData other) {
- if (other == akka.remote.WireFormats.DeployData.getDefaultInstance()) return this;
- if (other.hasPath()) {
- setPath(other.getPath());
- }
- if (other.hasConfig()) {
- setConfig(other.getConfig());
- }
- if (other.hasRouterConfig()) {
- setRouterConfig(other.getRouterConfig());
- }
- if (other.hasScope()) {
- setScope(other.getScope());
- }
- if (other.hasDispatcher()) {
- setDispatcher(other.getDispatcher());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasPath()) {
-
- return false;
- }
- return true;
- }
-
- 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) {
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
+ break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
}
break;
}
@@ -4912,26 +5817,533 @@ public final class WireFormats {
}
}
}
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_DeployData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_DeployData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.DeployData.class, akka.remote.WireFormats.DeployData.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public DeployData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new DeployData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required string path = 1;
+ public static final int PATH_FIELD_NUMBER = 1;
+ private java.lang.Object path_;
+ /**
+ * required string path = 1;
+ */
+ public boolean hasPath() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required string path = 1;
+ */
+ public java.lang.String getPath() {
+ java.lang.Object ref = path_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ path_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string path = 1;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
+ java.lang.Object ref = path_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ path_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // optional bytes config = 2;
+ public static final int CONFIG_FIELD_NUMBER = 2;
+ private com.google.protobuf.ByteString config_;
+ /**
+ * optional bytes config = 2;
+ */
+ public boolean hasConfig() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional bytes config = 2;
+ */
+ public com.google.protobuf.ByteString getConfig() {
+ return config_;
+ }
+
+ // optional bytes routerConfig = 3;
+ public static final int ROUTERCONFIG_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString routerConfig_;
+ /**
+ * optional bytes routerConfig = 3;
+ */
+ public boolean hasRouterConfig() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional bytes routerConfig = 3;
+ */
+ public com.google.protobuf.ByteString getRouterConfig() {
+ return routerConfig_;
+ }
+
+ // optional bytes scope = 4;
+ public static final int SCOPE_FIELD_NUMBER = 4;
+ private com.google.protobuf.ByteString scope_;
+ /**
+ * optional bytes scope = 4;
+ */
+ public boolean hasScope() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional bytes scope = 4;
+ */
+ public com.google.protobuf.ByteString getScope() {
+ return scope_;
+ }
+
+ // optional string dispatcher = 5;
+ public static final int DISPATCHER_FIELD_NUMBER = 5;
+ private java.lang.Object dispatcher_;
+ /**
+ * optional string dispatcher = 5;
+ */
+ public boolean hasDispatcher() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional string dispatcher = 5;
+ */
+ public java.lang.String getDispatcher() {
+ java.lang.Object ref = dispatcher_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ dispatcher_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * optional string dispatcher = 5;
+ */
+ public com.google.protobuf.ByteString
+ getDispatcherBytes() {
+ java.lang.Object ref = dispatcher_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ dispatcher_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private void initFields() {
+ path_ = "";
+ config_ = com.google.protobuf.ByteString.EMPTY;
+ routerConfig_ = com.google.protobuf.ByteString.EMPTY;
+ scope_ = com.google.protobuf.ByteString.EMPTY;
+ dispatcher_ = "";
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasPath()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getPathBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, config_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeBytes(3, routerConfig_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeBytes(4, scope_);
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeBytes(5, getDispatcherBytes());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, getPathBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, config_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, routerConfig_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(4, scope_);
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(5, getDispatcherBytes());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.DeployData parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static akka.remote.WireFormats.DeployData parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.DeployData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(akka.remote.WireFormats.DeployData prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code DeployData}
+ *
+ *
+ **
+ * Serialization of akka.actor.Deploy
+ *
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements akka.remote.WireFormats.DeployDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_DeployData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_DeployData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.DeployData.class, akka.remote.WireFormats.DeployData.Builder.class);
+ }
+
+ // Construct using akka.remote.WireFormats.DeployData.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ path_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ config_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ routerConfig_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ scope_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ dispatcher_ = "";
+ bitField0_ = (bitField0_ & ~0x00000010);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return akka.remote.WireFormats.internal_static_DeployData_descriptor;
+ }
+
+ public akka.remote.WireFormats.DeployData getDefaultInstanceForType() {
+ return akka.remote.WireFormats.DeployData.getDefaultInstance();
+ }
+
+ public akka.remote.WireFormats.DeployData build() {
+ akka.remote.WireFormats.DeployData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public akka.remote.WireFormats.DeployData buildPartial() {
+ akka.remote.WireFormats.DeployData result = new akka.remote.WireFormats.DeployData(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.path_ = path_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.config_ = config_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.routerConfig_ = routerConfig_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.scope_ = scope_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.dispatcher_ = dispatcher_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof akka.remote.WireFormats.DeployData) {
+ return mergeFrom((akka.remote.WireFormats.DeployData)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(akka.remote.WireFormats.DeployData other) {
+ if (other == akka.remote.WireFormats.DeployData.getDefaultInstance()) return this;
+ if (other.hasPath()) {
+ bitField0_ |= 0x00000001;
+ path_ = other.path_;
+ onChanged();
+ }
+ if (other.hasConfig()) {
+ setConfig(other.getConfig());
+ }
+ if (other.hasRouterConfig()) {
+ setRouterConfig(other.getRouterConfig());
+ }
+ if (other.hasScope()) {
+ setScope(other.getScope());
+ }
+ if (other.hasDispatcher()) {
+ bitField0_ |= 0x00000010;
+ dispatcher_ = other.dispatcher_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasPath()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ akka.remote.WireFormats.DeployData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.DeployData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
}
-
private int bitField0_;
-
+
// required string path = 1;
private java.lang.Object path_ = "";
+ /**
+ * required string path = 1;
+ */
public boolean hasPath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getPath() {
+ /**
+ * required string path = 1;
+ */
+ public java.lang.String getPath() {
java.lang.Object ref = path_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
path_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setPath(String value) {
+ /**
+ * required string path = 1;
+ */
+ public com.google.protobuf.ByteString
+ getPathBytes() {
+ java.lang.Object ref = path_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ path_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string path = 1;
+ */
+ public Builder setPath(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -4940,26 +6352,46 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string path = 1;
+ */
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000001);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
- void setPath(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * required string path = 1;
+ */
+ public Builder setPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
path_ = value;
onChanged();
+ return this;
}
-
+
// optional bytes config = 2;
private com.google.protobuf.ByteString config_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes config = 2;
+ */
public boolean hasConfig() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional bytes config = 2;
+ */
public com.google.protobuf.ByteString getConfig() {
return config_;
}
+ /**
+ * optional bytes config = 2;
+ */
public Builder setConfig(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -4969,21 +6401,33 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional bytes config = 2;
+ */
public Builder clearConfig() {
bitField0_ = (bitField0_ & ~0x00000002);
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
-
+
// optional bytes routerConfig = 3;
private com.google.protobuf.ByteString routerConfig_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes routerConfig = 3;
+ */
public boolean hasRouterConfig() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional bytes routerConfig = 3;
+ */
public com.google.protobuf.ByteString getRouterConfig() {
return routerConfig_;
}
+ /**
+ * optional bytes routerConfig = 3;
+ */
public Builder setRouterConfig(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -4993,21 +6437,33 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional bytes routerConfig = 3;
+ */
public Builder clearRouterConfig() {
bitField0_ = (bitField0_ & ~0x00000004);
routerConfig_ = getDefaultInstance().getRouterConfig();
onChanged();
return this;
}
-
+
// optional bytes scope = 4;
private com.google.protobuf.ByteString scope_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes scope = 4;
+ */
public boolean hasScope() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional bytes scope = 4;
+ */
public com.google.protobuf.ByteString getScope() {
return scope_;
}
+ /**
+ * optional bytes scope = 4;
+ */
public Builder setScope(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -5017,29 +6473,59 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional bytes scope = 4;
+ */
public Builder clearScope() {
bitField0_ = (bitField0_ & ~0x00000008);
scope_ = getDefaultInstance().getScope();
onChanged();
return this;
}
-
+
// optional string dispatcher = 5;
private java.lang.Object dispatcher_ = "";
+ /**
+ * optional string dispatcher = 5;
+ */
public boolean hasDispatcher() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
- public String getDispatcher() {
+ /**
+ * optional string dispatcher = 5;
+ */
+ public java.lang.String getDispatcher() {
java.lang.Object ref = dispatcher_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
dispatcher_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setDispatcher(String value) {
+ /**
+ * optional string dispatcher = 5;
+ */
+ public com.google.protobuf.ByteString
+ getDispatcherBytes() {
+ java.lang.Object ref = dispatcher_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ dispatcher_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string dispatcher = 5;
+ */
+ public Builder setDispatcher(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -5048,93 +6534,220 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional string dispatcher = 5;
+ */
public Builder clearDispatcher() {
bitField0_ = (bitField0_ & ~0x00000010);
dispatcher_ = getDefaultInstance().getDispatcher();
onChanged();
return this;
}
- void setDispatcher(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
+ /**
+ * optional string dispatcher = 5;
+ */
+ public Builder setDispatcherBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
dispatcher_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:DeployData)
}
-
+
static {
defaultInstance = new DeployData(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:DeployData)
}
-
+
public interface AkkaProtocolMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// optional bytes payload = 1;
+ /**
+ * optional bytes payload = 1;
+ */
boolean hasPayload();
+ /**
+ * optional bytes payload = 1;
+ */
com.google.protobuf.ByteString getPayload();
-
+
// optional .AkkaControlMessage instruction = 2;
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
boolean hasInstruction();
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
akka.remote.WireFormats.AkkaControlMessage getInstruction();
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
akka.remote.WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder();
}
+ /**
+ * Protobuf type {@code AkkaProtocolMessage}
+ *
+ *
+ **
+ * Message format of Akka Protocol.
+ * Message contains either a payload or an instruction.
+ *
+ */
public static final class AkkaProtocolMessage extends
com.google.protobuf.GeneratedMessage
implements AkkaProtocolMessageOrBuilder {
// Use AkkaProtocolMessage.newBuilder() to construct.
- private AkkaProtocolMessage(Builder builder) {
+ private AkkaProtocolMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AkkaProtocolMessage(boolean noInit) {}
-
+ private AkkaProtocolMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AkkaProtocolMessage defaultInstance;
public static AkkaProtocolMessage getDefaultInstance() {
return defaultInstance;
}
-
+
public AkkaProtocolMessage getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private AkkaProtocolMessage(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ bitField0_ |= 0x00000001;
+ payload_ = input.readBytes();
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.AkkaControlMessage.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = instruction_.toBuilder();
+ }
+ instruction_ = input.readMessage(akka.remote.WireFormats.AkkaControlMessage.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(instruction_);
+ instruction_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaProtocolMessage.class, akka.remote.WireFormats.AkkaProtocolMessage.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AkkaProtocolMessage parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AkkaProtocolMessage(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// optional bytes payload = 1;
public static final int PAYLOAD_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString payload_;
+ /**
+ * optional bytes payload = 1;
+ */
public boolean hasPayload() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional bytes payload = 1;
+ */
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
-
+
// optional .AkkaControlMessage instruction = 2;
public static final int INSTRUCTION_FIELD_NUMBER = 2;
private akka.remote.WireFormats.AkkaControlMessage instruction_;
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public boolean hasInstruction() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public akka.remote.WireFormats.AkkaControlMessage getInstruction() {
return instruction_;
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public akka.remote.WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder() {
return instruction_;
}
-
+
private void initFields() {
payload_ = com.google.protobuf.ByteString.EMPTY;
instruction_ = akka.remote.WireFormats.AkkaControlMessage.getDefaultInstance();
@@ -5143,7 +6756,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (hasInstruction()) {
if (!getInstruction().isInitialized()) {
memoizedIsInitialized = 0;
@@ -5153,7 +6766,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -5165,12 +6778,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -5184,94 +6797,89 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.AkkaProtocolMessage 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaProtocolMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.AkkaProtocolMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code AkkaProtocolMessage}
+ *
+ *
+ **
+ * Message format of Akka Protocol.
+ * Message contains either a payload or an instruction.
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.AkkaProtocolMessageOrBuilder {
@@ -5279,18 +6887,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaProtocolMessage.class, akka.remote.WireFormats.AkkaProtocolMessage.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.AkkaProtocolMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -5302,7 +6913,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
payload_ = com.google.protobuf.ByteString.EMPTY;
@@ -5315,20 +6926,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.AkkaProtocolMessage.getDescriptor();
+ return akka.remote.WireFormats.internal_static_AkkaProtocolMessage_descriptor;
}
-
+
public akka.remote.WireFormats.AkkaProtocolMessage getDefaultInstanceForType() {
return akka.remote.WireFormats.AkkaProtocolMessage.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.AkkaProtocolMessage build() {
akka.remote.WireFormats.AkkaProtocolMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -5336,17 +6947,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.AkkaProtocolMessage buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AkkaProtocolMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.AkkaProtocolMessage buildPartial() {
akka.remote.WireFormats.AkkaProtocolMessage result = new akka.remote.WireFormats.AkkaProtocolMessage(this);
int from_bitField0_ = bitField0_;
@@ -5367,7 +6968,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.AkkaProtocolMessage) {
return mergeFrom((akka.remote.WireFormats.AkkaProtocolMessage)other);
@@ -5376,7 +6977,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.AkkaProtocolMessage other) {
if (other == akka.remote.WireFormats.AkkaProtocolMessage.getDefaultInstance()) return this;
if (other.hasPayload()) {
@@ -5388,7 +6989,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (hasInstruction()) {
if (!getInstruction().isInitialized()) {
@@ -5398,58 +6999,43 @@ public final class WireFormats {
}
return true;
}
-
+
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;
- payload_ = input.readBytes();
- break;
- }
- case 18: {
- akka.remote.WireFormats.AkkaControlMessage.Builder subBuilder = akka.remote.WireFormats.AkkaControlMessage.newBuilder();
- if (hasInstruction()) {
- subBuilder.mergeFrom(getInstruction());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setInstruction(subBuilder.buildPartial());
- break;
- }
+ akka.remote.WireFormats.AkkaProtocolMessage parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AkkaProtocolMessage) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// optional bytes payload = 1;
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes payload = 1;
+ */
public boolean hasPayload() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional bytes payload = 1;
+ */
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
+ /**
+ * optional bytes payload = 1;
+ */
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -5459,20 +7045,29 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional bytes payload = 1;
+ */
public Builder clearPayload() {
bitField0_ = (bitField0_ & ~0x00000001);
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
-
+
// optional .AkkaControlMessage instruction = 2;
private akka.remote.WireFormats.AkkaControlMessage instruction_ = akka.remote.WireFormats.AkkaControlMessage.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AkkaControlMessage, akka.remote.WireFormats.AkkaControlMessage.Builder, akka.remote.WireFormats.AkkaControlMessageOrBuilder> instructionBuilder_;
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public boolean hasInstruction() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public akka.remote.WireFormats.AkkaControlMessage getInstruction() {
if (instructionBuilder_ == null) {
return instruction_;
@@ -5480,6 +7075,9 @@ public final class WireFormats {
return instructionBuilder_.getMessage();
}
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public Builder setInstruction(akka.remote.WireFormats.AkkaControlMessage value) {
if (instructionBuilder_ == null) {
if (value == null) {
@@ -5493,6 +7091,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public Builder setInstruction(
akka.remote.WireFormats.AkkaControlMessage.Builder builderForValue) {
if (instructionBuilder_ == null) {
@@ -5504,6 +7105,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public Builder mergeInstruction(akka.remote.WireFormats.AkkaControlMessage value) {
if (instructionBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -5520,6 +7124,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public Builder clearInstruction() {
if (instructionBuilder_ == null) {
instruction_ = akka.remote.WireFormats.AkkaControlMessage.getDefaultInstance();
@@ -5530,11 +7137,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public akka.remote.WireFormats.AkkaControlMessage.Builder getInstructionBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getInstructionFieldBuilder().getBuilder();
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
public akka.remote.WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder() {
if (instructionBuilder_ != null) {
return instructionBuilder_.getMessageOrBuilder();
@@ -5542,6 +7155,9 @@ public final class WireFormats {
return instruction_;
}
}
+ /**
+ * optional .AkkaControlMessage instruction = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AkkaControlMessage, akka.remote.WireFormats.AkkaControlMessage.Builder, akka.remote.WireFormats.AkkaControlMessageOrBuilder>
getInstructionFieldBuilder() {
@@ -5555,82 +7171,203 @@ public final class WireFormats {
}
return instructionBuilder_;
}
-
+
// @@protoc_insertion_point(builder_scope:AkkaProtocolMessage)
}
-
+
static {
defaultInstance = new AkkaProtocolMessage(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AkkaProtocolMessage)
}
-
+
public interface AkkaControlMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required .CommandType commandType = 1;
+ /**
+ * required .CommandType commandType = 1;
+ */
boolean hasCommandType();
+ /**
+ * required .CommandType commandType = 1;
+ */
akka.remote.WireFormats.CommandType getCommandType();
-
+
// optional .AkkaHandshakeInfo handshakeInfo = 2;
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
boolean hasHandshakeInfo();
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
akka.remote.WireFormats.AkkaHandshakeInfo getHandshakeInfo();
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder getHandshakeInfoOrBuilder();
}
+ /**
+ * Protobuf type {@code AkkaControlMessage}
+ *
+ *
+ **
+ * Defines some control messages for the remoting
+ *
+ */
public static final class AkkaControlMessage extends
com.google.protobuf.GeneratedMessage
implements AkkaControlMessageOrBuilder {
// Use AkkaControlMessage.newBuilder() to construct.
- private AkkaControlMessage(Builder builder) {
+ private AkkaControlMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AkkaControlMessage(boolean noInit) {}
-
+ private AkkaControlMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AkkaControlMessage defaultInstance;
public static AkkaControlMessage getDefaultInstance() {
return defaultInstance;
}
-
+
public AkkaControlMessage getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private AkkaControlMessage(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ akka.remote.WireFormats.CommandType value = akka.remote.WireFormats.CommandType.valueOf(rawValue);
+ if (value == null) {
+ unknownFields.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ commandType_ = value;
+ }
+ break;
+ }
+ case 18: {
+ akka.remote.WireFormats.AkkaHandshakeInfo.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = handshakeInfo_.toBuilder();
+ }
+ handshakeInfo_ = input.readMessage(akka.remote.WireFormats.AkkaHandshakeInfo.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(handshakeInfo_);
+ handshakeInfo_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaControlMessage_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaControlMessage_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaControlMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaControlMessage.class, akka.remote.WireFormats.AkkaControlMessage.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AkkaControlMessage parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AkkaControlMessage(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required .CommandType commandType = 1;
public static final int COMMANDTYPE_FIELD_NUMBER = 1;
private akka.remote.WireFormats.CommandType commandType_;
+ /**
+ * required .CommandType commandType = 1;
+ */
public boolean hasCommandType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .CommandType commandType = 1;
+ */
public akka.remote.WireFormats.CommandType getCommandType() {
return commandType_;
}
-
+
// optional .AkkaHandshakeInfo handshakeInfo = 2;
public static final int HANDSHAKEINFO_FIELD_NUMBER = 2;
private akka.remote.WireFormats.AkkaHandshakeInfo handshakeInfo_;
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public boolean hasHandshakeInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public akka.remote.WireFormats.AkkaHandshakeInfo getHandshakeInfo() {
return handshakeInfo_;
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder getHandshakeInfoOrBuilder() {
return handshakeInfo_;
}
-
+
private void initFields() {
commandType_ = akka.remote.WireFormats.CommandType.ASSOCIATE;
handshakeInfo_ = akka.remote.WireFormats.AkkaHandshakeInfo.getDefaultInstance();
@@ -5639,7 +7376,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasCommandType()) {
memoizedIsInitialized = 0;
return false;
@@ -5653,7 +7390,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -5665,12 +7402,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -5684,94 +7421,88 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaControlMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.AkkaControlMessage 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaControlMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.AkkaControlMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code AkkaControlMessage}
+ *
+ *
+ **
+ * Defines some control messages for the remoting
+ *
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.AkkaControlMessageOrBuilder {
@@ -5779,18 +7510,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaControlMessage_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaControlMessage_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaControlMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaControlMessage.class, akka.remote.WireFormats.AkkaControlMessage.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.AkkaControlMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -5802,7 +7536,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
commandType_ = akka.remote.WireFormats.CommandType.ASSOCIATE;
@@ -5815,20 +7549,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.AkkaControlMessage.getDescriptor();
+ return akka.remote.WireFormats.internal_static_AkkaControlMessage_descriptor;
}
-
+
public akka.remote.WireFormats.AkkaControlMessage getDefaultInstanceForType() {
return akka.remote.WireFormats.AkkaControlMessage.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.AkkaControlMessage build() {
akka.remote.WireFormats.AkkaControlMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -5836,17 +7570,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.AkkaControlMessage buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AkkaControlMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.AkkaControlMessage buildPartial() {
akka.remote.WireFormats.AkkaControlMessage result = new akka.remote.WireFormats.AkkaControlMessage(this);
int from_bitField0_ = bitField0_;
@@ -5867,7 +7591,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.AkkaControlMessage) {
return mergeFrom((akka.remote.WireFormats.AkkaControlMessage)other);
@@ -5876,7 +7600,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.AkkaControlMessage other) {
if (other == akka.remote.WireFormats.AkkaControlMessage.getDefaultInstance()) return this;
if (other.hasCommandType()) {
@@ -5888,7 +7612,7 @@ public final class WireFormats {
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasCommandType()) {
@@ -5902,64 +7626,43 @@ public final class WireFormats {
}
return true;
}
-
+
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.WireFormats.CommandType value = akka.remote.WireFormats.CommandType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- commandType_ = value;
- }
- break;
- }
- case 18: {
- akka.remote.WireFormats.AkkaHandshakeInfo.Builder subBuilder = akka.remote.WireFormats.AkkaHandshakeInfo.newBuilder();
- if (hasHandshakeInfo()) {
- subBuilder.mergeFrom(getHandshakeInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setHandshakeInfo(subBuilder.buildPartial());
- break;
- }
+ akka.remote.WireFormats.AkkaControlMessage parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AkkaControlMessage) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required .CommandType commandType = 1;
private akka.remote.WireFormats.CommandType commandType_ = akka.remote.WireFormats.CommandType.ASSOCIATE;
+ /**
+ * required .CommandType commandType = 1;
+ */
public boolean hasCommandType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .CommandType commandType = 1;
+ */
public akka.remote.WireFormats.CommandType getCommandType() {
return commandType_;
}
+ /**
+ * required .CommandType commandType = 1;
+ */
public Builder setCommandType(akka.remote.WireFormats.CommandType value) {
if (value == null) {
throw new NullPointerException();
@@ -5969,20 +7672,29 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required .CommandType commandType = 1;
+ */
public Builder clearCommandType() {
bitField0_ = (bitField0_ & ~0x00000001);
commandType_ = akka.remote.WireFormats.CommandType.ASSOCIATE;
onChanged();
return this;
}
-
+
// optional .AkkaHandshakeInfo handshakeInfo = 2;
private akka.remote.WireFormats.AkkaHandshakeInfo handshakeInfo_ = akka.remote.WireFormats.AkkaHandshakeInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AkkaHandshakeInfo, akka.remote.WireFormats.AkkaHandshakeInfo.Builder, akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder> handshakeInfoBuilder_;
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public boolean hasHandshakeInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public akka.remote.WireFormats.AkkaHandshakeInfo getHandshakeInfo() {
if (handshakeInfoBuilder_ == null) {
return handshakeInfo_;
@@ -5990,6 +7702,9 @@ public final class WireFormats {
return handshakeInfoBuilder_.getMessage();
}
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public Builder setHandshakeInfo(akka.remote.WireFormats.AkkaHandshakeInfo value) {
if (handshakeInfoBuilder_ == null) {
if (value == null) {
@@ -6003,6 +7718,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public Builder setHandshakeInfo(
akka.remote.WireFormats.AkkaHandshakeInfo.Builder builderForValue) {
if (handshakeInfoBuilder_ == null) {
@@ -6014,6 +7732,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public Builder mergeHandshakeInfo(akka.remote.WireFormats.AkkaHandshakeInfo value) {
if (handshakeInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -6030,6 +7751,9 @@ public final class WireFormats {
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public Builder clearHandshakeInfo() {
if (handshakeInfoBuilder_ == null) {
handshakeInfo_ = akka.remote.WireFormats.AkkaHandshakeInfo.getDefaultInstance();
@@ -6040,11 +7764,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public akka.remote.WireFormats.AkkaHandshakeInfo.Builder getHandshakeInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getHandshakeInfoFieldBuilder().getBuilder();
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
public akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder getHandshakeInfoOrBuilder() {
if (handshakeInfoBuilder_ != null) {
return handshakeInfoBuilder_.getMessageOrBuilder();
@@ -6052,6 +7782,9 @@ public final class WireFormats {
return handshakeInfo_;
}
}
+ /**
+ * optional .AkkaHandshakeInfo handshakeInfo = 2;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AkkaHandshakeInfo, akka.remote.WireFormats.AkkaHandshakeInfo.Builder, akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder>
getHandshakeInfoFieldBuilder() {
@@ -6065,118 +7798,255 @@ public final class WireFormats {
}
return handshakeInfoBuilder_;
}
-
+
// @@protoc_insertion_point(builder_scope:AkkaControlMessage)
}
-
+
static {
defaultInstance = new AkkaControlMessage(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AkkaControlMessage)
}
-
+
public interface AkkaHandshakeInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required .AddressData origin = 1;
+ /**
+ * required .AddressData origin = 1;
+ */
boolean hasOrigin();
+ /**
+ * required .AddressData origin = 1;
+ */
akka.remote.WireFormats.AddressData getOrigin();
+ /**
+ * required .AddressData origin = 1;
+ */
akka.remote.WireFormats.AddressDataOrBuilder getOriginOrBuilder();
-
+
// required fixed64 uid = 2;
+ /**
+ * required fixed64 uid = 2;
+ */
boolean hasUid();
+ /**
+ * required fixed64 uid = 2;
+ */
long getUid();
-
+
// optional string cookie = 3;
+ /**
+ * optional string cookie = 3;
+ */
boolean hasCookie();
- String getCookie();
+ /**
+ * optional string cookie = 3;
+ */
+ java.lang.String getCookie();
+ /**
+ * optional string cookie = 3;
+ */
+ com.google.protobuf.ByteString
+ getCookieBytes();
}
+ /**
+ * Protobuf type {@code AkkaHandshakeInfo}
+ */
public static final class AkkaHandshakeInfo extends
com.google.protobuf.GeneratedMessage
implements AkkaHandshakeInfoOrBuilder {
// Use AkkaHandshakeInfo.newBuilder() to construct.
- private AkkaHandshakeInfo(Builder builder) {
+ private AkkaHandshakeInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AkkaHandshakeInfo(boolean noInit) {}
-
+ private AkkaHandshakeInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AkkaHandshakeInfo defaultInstance;
public static AkkaHandshakeInfo getDefaultInstance() {
return defaultInstance;
}
-
+
public AkkaHandshakeInfo getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private AkkaHandshakeInfo(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ akka.remote.WireFormats.AddressData.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = origin_.toBuilder();
+ }
+ origin_ = input.readMessage(akka.remote.WireFormats.AddressData.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(origin_);
+ origin_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 17: {
+ bitField0_ |= 0x00000002;
+ uid_ = input.readFixed64();
+ break;
+ }
+ case 26: {
+ bitField0_ |= 0x00000004;
+ cookie_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaHandshakeInfo.class, akka.remote.WireFormats.AkkaHandshakeInfo.Builder.class);
}
-
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AkkaHandshakeInfo parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AkkaHandshakeInfo(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
private int bitField0_;
// required .AddressData origin = 1;
public static final int ORIGIN_FIELD_NUMBER = 1;
private akka.remote.WireFormats.AddressData origin_;
+ /**
+ * required .AddressData origin = 1;
+ */
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .AddressData origin = 1;
+ */
public akka.remote.WireFormats.AddressData getOrigin() {
return origin_;
}
+ /**
+ * required .AddressData origin = 1;
+ */
public akka.remote.WireFormats.AddressDataOrBuilder getOriginOrBuilder() {
return origin_;
}
-
+
// required fixed64 uid = 2;
public static final int UID_FIELD_NUMBER = 2;
private long uid_;
+ /**
+ * required fixed64 uid = 2;
+ */
public boolean hasUid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required fixed64 uid = 2;
+ */
public long getUid() {
return uid_;
}
-
+
// optional string cookie = 3;
public static final int COOKIE_FIELD_NUMBER = 3;
private java.lang.Object cookie_;
+ /**
+ * optional string cookie = 3;
+ */
public boolean hasCookie() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getCookie() {
+ /**
+ * optional string cookie = 3;
+ */
+ public java.lang.String getCookie() {
java.lang.Object ref = cookie_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
cookie_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getCookieBytes() {
+ /**
+ * optional string cookie = 3;
+ */
+ public com.google.protobuf.ByteString
+ getCookieBytes() {
java.lang.Object ref = cookie_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
cookie_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
private void initFields() {
origin_ = akka.remote.WireFormats.AddressData.getDefaultInstance();
uid_ = 0L;
@@ -6186,7 +8056,7 @@ public final class WireFormats {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasOrigin()) {
memoizedIsInitialized = 0;
return false;
@@ -6202,7 +8072,7 @@ public final class WireFormats {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -6217,12 +8087,12 @@ public final class WireFormats {
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -6240,94 +8110,83 @@ public final class WireFormats {
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static akka.remote.WireFormats.AkkaHandshakeInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(akka.remote.WireFormats.AkkaHandshakeInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code AkkaHandshakeInfo}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements akka.remote.WireFormats.AkkaHandshakeInfoOrBuilder {
@@ -6335,18 +8194,21 @@ public final class WireFormats {
getDescriptor() {
return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_fieldAccessorTable;
+ return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AkkaHandshakeInfo.class, akka.remote.WireFormats.AkkaHandshakeInfo.Builder.class);
}
-
+
// Construct using akka.remote.WireFormats.AkkaHandshakeInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -6358,7 +8220,7 @@ public final class WireFormats {
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (originBuilder_ == null) {
@@ -6373,20 +8235,20 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return akka.remote.WireFormats.AkkaHandshakeInfo.getDescriptor();
+ return akka.remote.WireFormats.internal_static_AkkaHandshakeInfo_descriptor;
}
-
+
public akka.remote.WireFormats.AkkaHandshakeInfo getDefaultInstanceForType() {
return akka.remote.WireFormats.AkkaHandshakeInfo.getDefaultInstance();
}
-
+
public akka.remote.WireFormats.AkkaHandshakeInfo build() {
akka.remote.WireFormats.AkkaHandshakeInfo result = buildPartial();
if (!result.isInitialized()) {
@@ -6394,17 +8256,7 @@ public final class WireFormats {
}
return result;
}
-
- private akka.remote.WireFormats.AkkaHandshakeInfo buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AkkaHandshakeInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public akka.remote.WireFormats.AkkaHandshakeInfo buildPartial() {
akka.remote.WireFormats.AkkaHandshakeInfo result = new akka.remote.WireFormats.AkkaHandshakeInfo(this);
int from_bitField0_ = bitField0_;
@@ -6429,7 +8281,7 @@ public final class WireFormats {
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof akka.remote.WireFormats.AkkaHandshakeInfo) {
return mergeFrom((akka.remote.WireFormats.AkkaHandshakeInfo)other);
@@ -6438,7 +8290,7 @@ public final class WireFormats {
return this;
}
}
-
+
public Builder mergeFrom(akka.remote.WireFormats.AkkaHandshakeInfo other) {
if (other == akka.remote.WireFormats.AkkaHandshakeInfo.getDefaultInstance()) return this;
if (other.hasOrigin()) {
@@ -6448,12 +8300,14 @@ public final class WireFormats {
setUid(other.getUid());
}
if (other.hasCookie()) {
- setCookie(other.getCookie());
+ bitField0_ |= 0x00000004;
+ cookie_ = other.cookie_;
+ onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasOrigin()) {
@@ -6469,62 +8323,39 @@ public final class WireFormats {
}
return true;
}
-
+
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: {
- akka.remote.WireFormats.AddressData.Builder subBuilder = akka.remote.WireFormats.AddressData.newBuilder();
- if (hasOrigin()) {
- subBuilder.mergeFrom(getOrigin());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOrigin(subBuilder.buildPartial());
- break;
- }
- case 17: {
- bitField0_ |= 0x00000002;
- uid_ = input.readFixed64();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- cookie_ = input.readBytes();
- break;
- }
+ akka.remote.WireFormats.AkkaHandshakeInfo parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AkkaHandshakeInfo) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required .AddressData origin = 1;
private akka.remote.WireFormats.AddressData origin_ = akka.remote.WireFormats.AddressData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AddressData, akka.remote.WireFormats.AddressData.Builder, akka.remote.WireFormats.AddressDataOrBuilder> originBuilder_;
+ /**
+ * required .AddressData origin = 1;
+ */
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required .AddressData origin = 1;
+ */
public akka.remote.WireFormats.AddressData getOrigin() {
if (originBuilder_ == null) {
return origin_;
@@ -6532,6 +8363,9 @@ public final class WireFormats {
return originBuilder_.getMessage();
}
}
+ /**
+ * required .AddressData origin = 1;
+ */
public Builder setOrigin(akka.remote.WireFormats.AddressData value) {
if (originBuilder_ == null) {
if (value == null) {
@@ -6545,6 +8379,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .AddressData origin = 1;
+ */
public Builder setOrigin(
akka.remote.WireFormats.AddressData.Builder builderForValue) {
if (originBuilder_ == null) {
@@ -6556,6 +8393,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .AddressData origin = 1;
+ */
public Builder mergeOrigin(akka.remote.WireFormats.AddressData value) {
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
@@ -6572,6 +8412,9 @@ public final class WireFormats {
bitField0_ |= 0x00000001;
return this;
}
+ /**
+ * required .AddressData origin = 1;
+ */
public Builder clearOrigin() {
if (originBuilder_ == null) {
origin_ = akka.remote.WireFormats.AddressData.getDefaultInstance();
@@ -6582,11 +8425,17 @@ public final class WireFormats {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+ /**
+ * required .AddressData origin = 1;
+ */
public akka.remote.WireFormats.AddressData.Builder getOriginBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOriginFieldBuilder().getBuilder();
}
+ /**
+ * required .AddressData origin = 1;
+ */
public akka.remote.WireFormats.AddressDataOrBuilder getOriginOrBuilder() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilder();
@@ -6594,6 +8443,9 @@ public final class WireFormats {
return origin_;
}
}
+ /**
+ * required .AddressData origin = 1;
+ */
private com.google.protobuf.SingleFieldBuilder<
akka.remote.WireFormats.AddressData, akka.remote.WireFormats.AddressData.Builder, akka.remote.WireFormats.AddressDataOrBuilder>
getOriginFieldBuilder() {
@@ -6607,44 +8459,83 @@ public final class WireFormats {
}
return originBuilder_;
}
-
+
// required fixed64 uid = 2;
private long uid_ ;
+ /**
+ * required fixed64 uid = 2;
+ */
public boolean hasUid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * required fixed64 uid = 2;
+ */
public long getUid() {
return uid_;
}
+ /**
+ * required fixed64 uid = 2;
+ */
public Builder setUid(long value) {
bitField0_ |= 0x00000002;
uid_ = value;
onChanged();
return this;
}
+ /**
+ * required fixed64 uid = 2;
+ */
public Builder clearUid() {
bitField0_ = (bitField0_ & ~0x00000002);
uid_ = 0L;
onChanged();
return this;
}
-
+
// optional string cookie = 3;
private java.lang.Object cookie_ = "";
+ /**
+ * optional string cookie = 3;
+ */
public boolean hasCookie() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getCookie() {
+ /**
+ * optional string cookie = 3;
+ */
+ public java.lang.String getCookie() {
java.lang.Object ref = cookie_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
cookie_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setCookie(String value) {
+ /**
+ * optional string cookie = 3;
+ */
+ public com.google.protobuf.ByteString
+ getCookieBytes() {
+ java.lang.Object ref = cookie_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cookie_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string cookie = 3;
+ */
+ public Builder setCookie(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -6653,504 +8544,151 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional string cookie = 3;
+ */
public Builder clearCookie() {
bitField0_ = (bitField0_ & ~0x00000004);
cookie_ = getDefaultInstance().getCookie();
onChanged();
return this;
}
- void setCookie(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
+ /**
+ * optional string cookie = 3;
+ */
+ public Builder setCookieBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
cookie_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:AkkaHandshakeInfo)
}
-
+
static {
defaultInstance = new AkkaHandshakeInfo(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AkkaHandshakeInfo)
}
-
+
public interface AddressDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required string system = 1;
+ /**
+ * required string system = 1;
+ */
boolean hasSystem();
- String getSystem();
-
+ /**
+ * required string system = 1;
+ */
+ java.lang.String getSystem();
+ /**
+ * required string system = 1;
+ */
+ com.google.protobuf.ByteString
+ getSystemBytes();
+
// required string hostname = 2;
+ /**
+ * required string hostname = 2;
+ */
boolean hasHostname();
- String getHostname();
-
+ /**
+ * required string hostname = 2;
+ */
+ java.lang.String getHostname();
+ /**
+ * required string hostname = 2;
+ */
+ com.google.protobuf.ByteString
+ getHostnameBytes();
+
// required uint32 port = 3;
+ /**
+ * required uint32 port = 3;
+ */
boolean hasPort();
+ /**
+ * required uint32 port = 3;
+ */
int getPort();
-
+
// optional string protocol = 4;
+ /**
+ * optional string protocol = 4;
+ */
boolean hasProtocol();
- String getProtocol();
+ /**
+ * optional string protocol = 4;
+ */
+ java.lang.String getProtocol();
+ /**
+ * optional string protocol = 4;
+ */
+ com.google.protobuf.ByteString
+ getProtocolBytes();
}
+ /**
+ * Protobuf type {@code AddressData}
+ *
+ *
+ **
+ * Defines a remote address.
+ *
+ */
public static final class AddressData extends
com.google.protobuf.GeneratedMessage
implements AddressDataOrBuilder {
// Use AddressData.newBuilder() to construct.
- private AddressData(Builder builder) {
+ private AddressData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private AddressData(boolean noInit) {}
-
+ private AddressData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final AddressData defaultInstance;
public static AddressData getDefaultInstance() {
return defaultInstance;
}
-
+
public AddressData getDefaultInstanceForType() {
return defaultInstance;
}
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_AddressData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AddressData_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string system = 1;
- public static final int SYSTEM_FIELD_NUMBER = 1;
- private java.lang.Object system_;
- public boolean hasSystem() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getSystem() {
- java.lang.Object ref = system_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- system_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getSystemBytes() {
- java.lang.Object ref = system_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- system_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string hostname = 2;
- public static final int HOSTNAME_FIELD_NUMBER = 2;
- private java.lang.Object hostname_;
- public boolean hasHostname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getHostname() {
- java.lang.Object ref = hostname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- hostname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getHostnameBytes() {
- java.lang.Object ref = hostname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- hostname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // 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_;
- }
-
- // optional string protocol = 4;
- public static final int PROTOCOL_FIELD_NUMBER = 4;
- private java.lang.Object protocol_;
- public boolean hasProtocol() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getProtocol() {
- java.lang.Object ref = protocol_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- protocol_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getProtocolBytes() {
- java.lang.Object ref = protocol_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- protocol_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- system_ = "";
- hostname_ = "";
- port_ = 0;
- protocol_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasSystem()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasHostname()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasPort()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getSystemBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getHostnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeUInt32(3, port_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getProtocolBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getSystemBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getHostnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(3, port_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getProtocolBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
}
-
- public static akka.remote.WireFormats.AddressData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.AddressData 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.WireFormats.AddressData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static akka.remote.WireFormats.AddressData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.AddressData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.AddressData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static akka.remote.WireFormats.AddressData 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.WireFormats.AddressData 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.WireFormats.AddressData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static akka.remote.WireFormats.AddressData parseFrom(
+ private AddressData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(akka.remote.WireFormats.AddressData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements akka.remote.WireFormats.AddressDataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return akka.remote.WireFormats.internal_static_AddressData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return akka.remote.WireFormats.internal_static_AddressData_fieldAccessorTable;
- }
-
- // Construct using akka.remote.WireFormats.AddressData.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- system_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- hostname_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- port_ = 0;
- bitField0_ = (bitField0_ & ~0x00000004);
- protocol_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return akka.remote.WireFormats.AddressData.getDescriptor();
- }
-
- public akka.remote.WireFormats.AddressData getDefaultInstanceForType() {
- return akka.remote.WireFormats.AddressData.getDefaultInstance();
- }
-
- public akka.remote.WireFormats.AddressData build() {
- akka.remote.WireFormats.AddressData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private akka.remote.WireFormats.AddressData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- akka.remote.WireFormats.AddressData result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public akka.remote.WireFormats.AddressData buildPartial() {
- akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.system_ = system_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.hostname_ = hostname_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.port_ = port_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.protocol_ = protocol_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof akka.remote.WireFormats.AddressData) {
- return mergeFrom((akka.remote.WireFormats.AddressData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(akka.remote.WireFormats.AddressData other) {
- if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this;
- if (other.hasSystem()) {
- setSystem(other.getSystem());
- }
- if (other.hasHostname()) {
- setHostname(other.getHostname());
- }
- if (other.hasPort()) {
- setPort(other.getPort());
- }
- if (other.hasProtocol()) {
- setProtocol(other.getProtocol());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasSystem()) {
-
- return false;
- }
- if (!hasHostname()) {
-
- return false;
- }
- if (!hasPort()) {
-
- return false;
- }
- return true;
- }
-
- 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) {
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
+ break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
+ done = true;
}
break;
}
@@ -7176,26 +8714,545 @@ public final class WireFormats {
}
}
}
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_AddressData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_AddressData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AddressData.class, akka.remote.WireFormats.AddressData.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public AddressData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new AddressData(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required string system = 1;
+ public static final int SYSTEM_FIELD_NUMBER = 1;
+ private java.lang.Object system_;
+ /**
+ * required string system = 1;
+ */
+ public boolean hasSystem() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required string system = 1;
+ */
+ public java.lang.String getSystem() {
+ java.lang.Object ref = system_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ system_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string system = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSystemBytes() {
+ java.lang.Object ref = system_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ system_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // required string hostname = 2;
+ public static final int HOSTNAME_FIELD_NUMBER = 2;
+ private java.lang.Object hostname_;
+ /**
+ * required string hostname = 2;
+ */
+ public boolean hasHostname() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required string hostname = 2;
+ */
+ public java.lang.String getHostname() {
+ java.lang.Object ref = hostname_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ hostname_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string hostname = 2;
+ */
+ public com.google.protobuf.ByteString
+ getHostnameBytes() {
+ java.lang.Object ref = hostname_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hostname_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ // required uint32 port = 3;
+ public static final int PORT_FIELD_NUMBER = 3;
+ private int port_;
+ /**
+ * required uint32 port = 3;
+ */
+ public boolean hasPort() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * required uint32 port = 3;
+ */
+ public int getPort() {
+ return port_;
+ }
+
+ // optional string protocol = 4;
+ public static final int PROTOCOL_FIELD_NUMBER = 4;
+ private java.lang.Object protocol_;
+ /**
+ * optional string protocol = 4;
+ */
+ public boolean hasProtocol() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional string protocol = 4;
+ */
+ public java.lang.String getProtocol() {
+ java.lang.Object ref = protocol_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ protocol_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * optional string protocol = 4;
+ */
+ public com.google.protobuf.ByteString
+ getProtocolBytes() {
+ java.lang.Object ref = protocol_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ protocol_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private void initFields() {
+ system_ = "";
+ hostname_ = "";
+ port_ = 0;
+ protocol_ = "";
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasSystem()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasHostname()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasPort()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getSystemBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getHostnameBytes());
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt32(3, port_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeBytes(4, getProtocolBytes());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, getSystemBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, getHostnameBytes());
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, port_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(4, getProtocolBytes());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.AddressData parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static akka.remote.WireFormats.AddressData parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static akka.remote.WireFormats.AddressData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(akka.remote.WireFormats.AddressData prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code AddressData}
+ *
+ *
+ **
+ * Defines a remote address.
+ *
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements akka.remote.WireFormats.AddressDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return akka.remote.WireFormats.internal_static_AddressData_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return akka.remote.WireFormats.internal_static_AddressData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.WireFormats.AddressData.class, akka.remote.WireFormats.AddressData.Builder.class);
+ }
+
+ // Construct using akka.remote.WireFormats.AddressData.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ system_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ hostname_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ port_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ protocol_ = "";
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return akka.remote.WireFormats.internal_static_AddressData_descriptor;
+ }
+
+ public akka.remote.WireFormats.AddressData getDefaultInstanceForType() {
+ return akka.remote.WireFormats.AddressData.getDefaultInstance();
+ }
+
+ public akka.remote.WireFormats.AddressData build() {
+ akka.remote.WireFormats.AddressData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public akka.remote.WireFormats.AddressData buildPartial() {
+ akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.system_ = system_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.hostname_ = hostname_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.port_ = port_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.protocol_ = protocol_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof akka.remote.WireFormats.AddressData) {
+ return mergeFrom((akka.remote.WireFormats.AddressData)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(akka.remote.WireFormats.AddressData other) {
+ if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this;
+ if (other.hasSystem()) {
+ bitField0_ |= 0x00000001;
+ system_ = other.system_;
+ onChanged();
+ }
+ if (other.hasHostname()) {
+ bitField0_ |= 0x00000002;
+ hostname_ = other.hostname_;
+ onChanged();
+ }
+ if (other.hasPort()) {
+ setPort(other.getPort());
+ }
+ if (other.hasProtocol()) {
+ bitField0_ |= 0x00000008;
+ protocol_ = other.protocol_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasSystem()) {
+
+ return false;
+ }
+ if (!hasHostname()) {
+
+ return false;
+ }
+ if (!hasPort()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ akka.remote.WireFormats.AddressData parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.WireFormats.AddressData) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
}
-
private int bitField0_;
-
+
// required string system = 1;
private java.lang.Object system_ = "";
+ /**
+ * required string system = 1;
+ */
public boolean hasSystem() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getSystem() {
+ /**
+ * required string system = 1;
+ */
+ public java.lang.String getSystem() {
java.lang.Object ref = system_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
system_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setSystem(String value) {
+ /**
+ * required string system = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSystemBytes() {
+ java.lang.Object ref = system_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ system_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string system = 1;
+ */
+ public Builder setSystem(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -7204,34 +9261,72 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string system = 1;
+ */
public Builder clearSystem() {
bitField0_ = (bitField0_ & ~0x00000001);
system_ = getDefaultInstance().getSystem();
onChanged();
return this;
}
- void setSystem(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * required string system = 1;
+ */
+ public Builder setSystemBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
system_ = value;
onChanged();
+ return this;
}
-
+
// required string hostname = 2;
private java.lang.Object hostname_ = "";
+ /**
+ * required string hostname = 2;
+ */
public boolean hasHostname() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getHostname() {
+ /**
+ * required string hostname = 2;
+ */
+ public java.lang.String getHostname() {
java.lang.Object ref = hostname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
hostname_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setHostname(String value) {
+ /**
+ * required string hostname = 2;
+ */
+ public com.google.protobuf.ByteString
+ getHostnameBytes() {
+ java.lang.Object ref = hostname_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hostname_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string hostname = 2;
+ */
+ public Builder setHostname(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -7240,55 +9335,105 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * required string hostname = 2;
+ */
public Builder clearHostname() {
bitField0_ = (bitField0_ & ~0x00000002);
hostname_ = getDefaultInstance().getHostname();
onChanged();
return this;
}
- void setHostname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * required string hostname = 2;
+ */
+ public Builder setHostnameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
hostname_ = value;
onChanged();
+ return this;
}
-
+
// required uint32 port = 3;
private int port_ ;
+ /**
+ * required uint32 port = 3;
+ */
public boolean hasPort() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * required uint32 port = 3;
+ */
public int getPort() {
return port_;
}
+ /**
+ * required uint32 port = 3;
+ */
public Builder setPort(int value) {
bitField0_ |= 0x00000004;
port_ = value;
onChanged();
return this;
}
+ /**
+ * required uint32 port = 3;
+ */
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000004);
port_ = 0;
onChanged();
return this;
}
-
+
// optional string protocol = 4;
private java.lang.Object protocol_ = "";
+ /**
+ * optional string protocol = 4;
+ */
public boolean hasProtocol() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
- public String getProtocol() {
+ /**
+ * optional string protocol = 4;
+ */
+ public java.lang.String getProtocol() {
java.lang.Object ref = protocol_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
protocol_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setProtocol(String value) {
+ /**
+ * optional string protocol = 4;
+ */
+ public com.google.protobuf.ByteString
+ getProtocolBytes() {
+ java.lang.Object ref = protocol_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ protocol_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string protocol = 4;
+ */
+ public Builder setProtocol(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -7297,29 +9442,40 @@ public final class WireFormats {
onChanged();
return this;
}
+ /**
+ * optional string protocol = 4;
+ */
public Builder clearProtocol() {
bitField0_ = (bitField0_ & ~0x00000008);
protocol_ = getDefaultInstance().getProtocol();
onChanged();
return this;
}
- void setProtocol(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
+ /**
+ * optional string protocol = 4;
+ */
+ public Builder setProtocolBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
protocol_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:AddressData)
}
-
+
static {
defaultInstance = new AddressData(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:AddressData)
}
-
+
private static com.google.protobuf.Descriptors.Descriptor
internal_static_AckAndEnvelopeContainer_descriptor;
private static
@@ -7380,7 +9536,7 @@ public final class WireFormats {
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_AddressData_fieldAccessorTable;
-
+
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
@@ -7431,97 +9587,73 @@ public final class WireFormats {
internal_static_AckAndEnvelopeContainer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AckAndEnvelopeContainer_descriptor,
- new java.lang.String[] { "Ack", "Envelope", },
- akka.remote.WireFormats.AckAndEnvelopeContainer.class,
- akka.remote.WireFormats.AckAndEnvelopeContainer.Builder.class);
+ new java.lang.String[] { "Ack", "Envelope", });
internal_static_RemoteEnvelope_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_RemoteEnvelope_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RemoteEnvelope_descriptor,
- new java.lang.String[] { "Recipient", "Message", "Sender", "Seq", },
- akka.remote.WireFormats.RemoteEnvelope.class,
- akka.remote.WireFormats.RemoteEnvelope.Builder.class);
+ new java.lang.String[] { "Recipient", "Message", "Sender", "Seq", });
internal_static_AcknowledgementInfo_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_AcknowledgementInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AcknowledgementInfo_descriptor,
- new java.lang.String[] { "CumulativeAck", "Nacks", },
- akka.remote.WireFormats.AcknowledgementInfo.class,
- akka.remote.WireFormats.AcknowledgementInfo.Builder.class);
+ new java.lang.String[] { "CumulativeAck", "Nacks", });
internal_static_ActorRefData_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_ActorRefData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ActorRefData_descriptor,
- new java.lang.String[] { "Path", },
- akka.remote.WireFormats.ActorRefData.class,
- akka.remote.WireFormats.ActorRefData.Builder.class);
+ new java.lang.String[] { "Path", });
internal_static_SerializedMessage_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_SerializedMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SerializedMessage_descriptor,
- new java.lang.String[] { "Message", "SerializerId", "MessageManifest", },
- akka.remote.WireFormats.SerializedMessage.class,
- akka.remote.WireFormats.SerializedMessage.Builder.class);
+ new java.lang.String[] { "Message", "SerializerId", "MessageManifest", });
internal_static_DaemonMsgCreateData_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_DaemonMsgCreateData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_DaemonMsgCreateData_descriptor,
- new java.lang.String[] { "Props", "Deploy", "Path", "Supervisor", },
- akka.remote.WireFormats.DaemonMsgCreateData.class,
- akka.remote.WireFormats.DaemonMsgCreateData.Builder.class);
+ new java.lang.String[] { "Props", "Deploy", "Path", "Supervisor", });
internal_static_PropsData_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_PropsData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PropsData_descriptor,
- new java.lang.String[] { "Deploy", "Clazz", "Args", "Classes", },
- akka.remote.WireFormats.PropsData.class,
- akka.remote.WireFormats.PropsData.Builder.class);
+ new java.lang.String[] { "Deploy", "Clazz", "Args", "Classes", });
internal_static_DeployData_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_DeployData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_DeployData_descriptor,
- new java.lang.String[] { "Path", "Config", "RouterConfig", "Scope", "Dispatcher", },
- akka.remote.WireFormats.DeployData.class,
- akka.remote.WireFormats.DeployData.Builder.class);
+ new java.lang.String[] { "Path", "Config", "RouterConfig", "Scope", "Dispatcher", });
internal_static_AkkaProtocolMessage_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_AkkaProtocolMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AkkaProtocolMessage_descriptor,
- new java.lang.String[] { "Payload", "Instruction", },
- akka.remote.WireFormats.AkkaProtocolMessage.class,
- akka.remote.WireFormats.AkkaProtocolMessage.Builder.class);
+ new java.lang.String[] { "Payload", "Instruction", });
internal_static_AkkaControlMessage_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_AkkaControlMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AkkaControlMessage_descriptor,
- new java.lang.String[] { "CommandType", "HandshakeInfo", },
- akka.remote.WireFormats.AkkaControlMessage.class,
- akka.remote.WireFormats.AkkaControlMessage.Builder.class);
+ new java.lang.String[] { "CommandType", "HandshakeInfo", });
internal_static_AkkaHandshakeInfo_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_AkkaHandshakeInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AkkaHandshakeInfo_descriptor,
- new java.lang.String[] { "Origin", "Uid", "Cookie", },
- akka.remote.WireFormats.AkkaHandshakeInfo.class,
- akka.remote.WireFormats.AkkaHandshakeInfo.Builder.class);
+ new java.lang.String[] { "Origin", "Uid", "Cookie", });
internal_static_AddressData_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_AddressData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_AddressData_descriptor,
- new java.lang.String[] { "System", "Hostname", "Port", "Protocol", },
- akka.remote.WireFormats.AddressData.class,
- akka.remote.WireFormats.AddressData.Builder.class);
+ new java.lang.String[] { "System", "Hostname", "Port", "Protocol", });
return null;
}
};
@@ -7530,6 +9662,6 @@ public final class WireFormats {
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
-
+
// @@protoc_insertion_point(outer_class_scope)
}
diff --git a/akka-remote/src/main/protocol/ContainerFormats.proto b/akka-remote/src/main/protobuf/ContainerFormats.proto
similarity index 71%
rename from akka-remote/src/main/protocol/ContainerFormats.proto
rename to akka-remote/src/main/protobuf/ContainerFormats.proto
index 7829169c1f..3f895d2558 100644
--- a/akka-remote/src/main/protocol/ContainerFormats.proto
+++ b/akka-remote/src/main/protobuf/ContainerFormats.proto
@@ -5,14 +5,6 @@
option java_package = "akka.remote";
option optimize_for = SPEED;
-/******************************************
- Compile with:
- cd ./akka-remote/src/main/protocol
- protoc ContainerFormats.proto --java_out ../java
- cd ../../../..
- ./scripts/fix-protobuf.sh
-*******************************************/
-
/******************************************
ActorSelection related formats
*******************************************/
diff --git a/akka-remote/src/main/protocol/WireFormats.proto b/akka-remote/src/main/protobuf/WireFormats.proto
similarity index 92%
rename from akka-remote/src/main/protocol/WireFormats.proto
rename to akka-remote/src/main/protobuf/WireFormats.proto
index b9bfccaf37..b1be207f48 100644
--- a/akka-remote/src/main/protocol/WireFormats.proto
+++ b/akka-remote/src/main/protobuf/WireFormats.proto
@@ -5,14 +5,6 @@
option java_package = "akka.remote";
option optimize_for = SPEED;
-/******************************************
- Compile with:
- cd ./akka-remote/src/main/protocol
- protoc WireFormats.proto --java_out ../java
- cd ../../../..
- ./scripts/fix-protobuf.sh
-*******************************************/
-
/******************************************
* Remoting message formats
******************************************/
diff --git a/akka-remote/src/test/java/akka/remote/ProtobufProtocol.java b/akka-remote/src/test/java/akka/remote/ProtobufProtocol.java
index 1b7f13a1da..a6808a5109 100644
--- a/akka-remote/src/test/java/akka/remote/ProtobufProtocol.java
+++ b/akka-remote/src/test/java/akka/remote/ProtobufProtocol.java
@@ -3,8 +3,6 @@
package akka.remote;
-import com.google.protobuf.AbstractMessage;
-
public final class ProtobufProtocol {
private ProtobufProtocol() {}
public static void registerAllExtensions(
@@ -14,25 +12,52 @@ public final class ProtobufProtocol {
extends com.google.protobuf.MessageOrBuilder {
// required uint64 id = 1;
+ /**
+ * required uint64 id = 1;
+ */
boolean hasId();
+ /**
+ * required uint64 id = 1;
+ */
long getId();
// required string name = 2;
+ /**
+ * required string name = 2;
+ */
boolean hasName();
- String getName();
+ /**
+ * required string name = 2;
+ */
+ java.lang.String getName();
+ /**
+ * required string name = 2;
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
// required bool status = 3;
+ /**
+ * required bool status = 3;
+ */
boolean hasStatus();
+ /**
+ * required bool status = 3;
+ */
boolean getStatus();
}
+ /**
+ * Protobuf type {@code MyMessage}
+ */
public static final class MyMessage extends
com.google.protobuf.GeneratedMessage
implements MyMessageOrBuilder {
// Use MyMessage.newBuilder() to construct.
- private MyMessage(Builder builder) {
+ private MyMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private MyMessage(boolean noInit) {}
+ private MyMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MyMessage defaultInstance;
public static MyMessage getDefaultInstance() {
@@ -43,23 +68,102 @@ public final class ProtobufProtocol {
return defaultInstance;
}
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private MyMessage(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ id_ = input.readUInt64();
+ break;
+ }
+ case 18: {
+ bitField0_ |= 0x00000002;
+ name_ = input.readBytes();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ status_ = input.readBool();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return ProtobufProtocol.internal_static_akka_actor_MyMessage_descriptor;
+ return akka.remote.ProtobufProtocol.internal_static_MyMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return ProtobufProtocol.internal_static_akka_actor_MyMessage_fieldAccessorTable;
+ return akka.remote.ProtobufProtocol.internal_static_MyMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.ProtobufProtocol.MyMessage.class, akka.remote.ProtobufProtocol.MyMessage.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public MyMessage parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new MyMessage(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
}
private int bitField0_;
// required uint64 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
+ /**
+ * required uint64 id = 1;
+ */
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required uint64 id = 1;
+ */
public long getId() {
return id_;
}
@@ -67,28 +171,39 @@ public final class ProtobufProtocol {
// required string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
+ /**
+ * required string name = 2;
+ */
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getName() {
+ /**
+ * required string name = 2;
+ */
+ public java.lang.String getName() {
java.lang.Object ref = name_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
+ com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getNameBytes() {
+ /**
+ * required string name = 2;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
java.lang.Object ref = name_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
name_ = b;
return b;
} else {
@@ -99,9 +214,15 @@ public final class ProtobufProtocol {
// required bool status = 3;
public static final int STATUS_FIELD_NUMBER = 3;
private boolean status_;
+ /**
+ * required bool status = 3;
+ */
public boolean hasStatus() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * required bool status = 3;
+ */
public boolean getStatus() {
return status_;
}
@@ -177,76 +298,62 @@ public final class ProtobufProtocol {
return super.writeReplace();
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
- public static ProtobufProtocol.MyMessage parseFrom(byte[] data)
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
- public static ProtobufProtocol.MyMessage parseFrom(java.io.InputStream input)
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
- public static ProtobufProtocol.MyMessage parseDelimitedFrom(java.io.InputStream input)
+ public static akka.remote.ProtobufProtocol.MyMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
- public static ProtobufProtocol.MyMessage parseDelimitedFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
- public static ProtobufProtocol.MyMessage parseFrom(
+ public static akka.remote.ProtobufProtocol.MyMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(ProtobufProtocol.MyMessage prototype) {
+ public static Builder newBuilder(akka.remote.ProtobufProtocol.MyMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -257,25 +364,31 @@ public final class ProtobufProtocol {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code MyMessage}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
- implements ProtobufProtocol.MyMessageOrBuilder {
+ implements akka.remote.ProtobufProtocol.MyMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return ProtobufProtocol.internal_static_akka_actor_MyMessage_descriptor;
+ return akka.remote.ProtobufProtocol.internal_static_MyMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return ProtobufProtocol.internal_static_akka_actor_MyMessage_fieldAccessorTable;
+ return akka.remote.ProtobufProtocol.internal_static_MyMessage_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ akka.remote.ProtobufProtocol.MyMessage.class, akka.remote.ProtobufProtocol.MyMessage.Builder.class);
}
- // Construct using akka.actor.ProtobufProtocol.MyMessage.newBuilder()
+ // Construct using akka.remote.ProtobufProtocol.MyMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -304,33 +417,23 @@ public final class ProtobufProtocol {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return ProtobufProtocol.MyMessage.getDescriptor();
+ return akka.remote.ProtobufProtocol.internal_static_MyMessage_descriptor;
}
- public ProtobufProtocol.MyMessage getDefaultInstanceForType() {
- return ProtobufProtocol.MyMessage.getDefaultInstance();
+ public akka.remote.ProtobufProtocol.MyMessage getDefaultInstanceForType() {
+ return akka.remote.ProtobufProtocol.MyMessage.getDefaultInstance();
}
- public ProtobufProtocol.MyMessage build() {
- ProtobufProtocol.MyMessage result = buildPartial();
+ public akka.remote.ProtobufProtocol.MyMessage build() {
+ akka.remote.ProtobufProtocol.MyMessage result = buildPartial();
if (!result.isInitialized()) {
- throw AbstractMessage.Builder.newUninitializedMessageException(result);
+ throw newUninitializedMessageException(result);
}
return result;
}
- private ProtobufProtocol.MyMessage buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- ProtobufProtocol.MyMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw AbstractMessage.Builder.newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public ProtobufProtocol.MyMessage buildPartial() {
- ProtobufProtocol.MyMessage result = new ProtobufProtocol.MyMessage(this);
+ public akka.remote.ProtobufProtocol.MyMessage buildPartial() {
+ akka.remote.ProtobufProtocol.MyMessage result = new akka.remote.ProtobufProtocol.MyMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@@ -351,21 +454,23 @@ public final class ProtobufProtocol {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof ProtobufProtocol.MyMessage) {
- return mergeFrom((ProtobufProtocol.MyMessage)other);
+ if (other instanceof akka.remote.ProtobufProtocol.MyMessage) {
+ return mergeFrom((akka.remote.ProtobufProtocol.MyMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(ProtobufProtocol.MyMessage other) {
- if (other == ProtobufProtocol.MyMessage.getDefaultInstance()) return this;
+ public Builder mergeFrom(akka.remote.ProtobufProtocol.MyMessage other) {
+ if (other == akka.remote.ProtobufProtocol.MyMessage.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasName()) {
- setName(other.getName());
+ bitField0_ |= 0x00000002;
+ name_ = other.name_;
+ onChanged();
}
if (other.hasStatus()) {
setStatus(other.getStatus());
@@ -376,15 +481,15 @@ public final class ProtobufProtocol {
public final boolean isInitialized() {
if (!hasId()) {
-
+
return false;
}
if (!hasName()) {
-
+
return false;
}
if (!hasStatus()) {
-
+
return false;
}
return true;
@@ -394,60 +499,47 @@ public final class ProtobufProtocol {
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: {
- bitField0_ |= 0x00000001;
- id_ = input.readUInt64();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- name_ = input.readBytes();
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- status_ = input.readBool();
- break;
- }
+ akka.remote.ProtobufProtocol.MyMessage parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (akka.remote.ProtobufProtocol.MyMessage) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
// required uint64 id = 1;
private long id_ ;
+ /**
+ * required uint64 id = 1;
+ */
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * required uint64 id = 1;
+ */
public long getId() {
return id_;
}
+ /**
+ * required uint64 id = 1;
+ */
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
+ /**
+ * required uint64 id = 1;
+ */
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
@@ -457,20 +549,47 @@ public final class ProtobufProtocol {
// required string name = 2;
private java.lang.Object name_ = "";
+ /**
+ * required string name = 2;
+ */
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getName() {
+ /**
+ * required string name = 2;
+ */
+ public java.lang.String getName() {
java.lang.Object ref = name_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
name_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setName(String value) {
+ /**
+ * required string name = 2;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string name = 2;
+ */
+ public Builder setName(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -479,32 +598,55 @@ public final class ProtobufProtocol {
onChanged();
return this;
}
+ /**
+ * required string name = 2;
+ */
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
- void setName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * required string name = 2;
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
name_ = value;
onChanged();
+ return this;
}
// required bool status = 3;
private boolean status_ ;
+ /**
+ * required bool status = 3;
+ */
public boolean hasStatus() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * required bool status = 3;
+ */
public boolean getStatus() {
return status_;
}
+ /**
+ * required bool status = 3;
+ */
public Builder setStatus(boolean value) {
bitField0_ |= 0x00000004;
status_ = value;
onChanged();
return this;
}
+ /**
+ * required bool status = 3;
+ */
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000004);
status_ = false;
@@ -512,7 +654,7 @@ public final class ProtobufProtocol {
return this;
}
- // @@protoc_insertion_point(builder_scope:akka.actor.MyMessage)
+ // @@protoc_insertion_point(builder_scope:MyMessage)
}
static {
@@ -520,14 +662,14 @@ public final class ProtobufProtocol {
defaultInstance.initFields();
}
- // @@protoc_insertion_point(class_scope:akka.actor.MyMessage)
+ // @@protoc_insertion_point(class_scope:MyMessage)
}
private static com.google.protobuf.Descriptors.Descriptor
- internal_static_akka_actor_MyMessage_descriptor;
+ internal_static_MyMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_akka_actor_MyMessage_fieldAccessorTable;
+ internal_static_MyMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
@@ -537,23 +679,21 @@ public final class ProtobufProtocol {
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\026ProtobufProtocol.proto\022\nakka.actor\"5\n\t" +
- "MyMessage\022\n\n\002id\030\001 \002(\004\022\014\n\004name\030\002 \002(\t\022\016\n\006s" +
- "tatus\030\003 \002(\010"
+ "\n\026ProtobufProtocol.proto\"5\n\tMyMessage\022\n\n" +
+ "\002id\030\001 \002(\004\022\014\n\004name\030\002 \002(\t\022\016\n\006status\030\003 \002(\010B" +
+ "\r\n\013akka.remote"
};
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_akka_actor_MyMessage_descriptor =
+ internal_static_MyMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
- internal_static_akka_actor_MyMessage_fieldAccessorTable = new
+ internal_static_MyMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_akka_actor_MyMessage_descriptor,
- new java.lang.String[] { "Id", "Name", "Status", },
- ProtobufProtocol.MyMessage.class,
- ProtobufProtocol.MyMessage.Builder.class);
+ internal_static_MyMessage_descriptor,
+ new java.lang.String[] { "Id", "Name", "Status", });
return null;
}
};
diff --git a/akka-remote/src/test/protobuf/ProtobufProtocol.proto b/akka-remote/src/test/protobuf/ProtobufProtocol.proto
new file mode 100644
index 0000000000..d9632c6086
--- /dev/null
+++ b/akka-remote/src/test/protobuf/ProtobufProtocol.proto
@@ -0,0 +1,12 @@
+/**
+ * Copyright (C) 2009-2013 Typesafe Inc.
+ */
+
+option java_package = "akka.remote";
+
+message MyMessage {
+ required uint64 id = 1;
+ required string name = 2;
+ required bool status = 3;
+}
+
diff --git a/akka-remote/src/test/protocol/ProtobufProtocol.proto b/akka-remote/src/test/protocol/ProtobufProtocol.proto
deleted file mode 100644
index f59df11899..0000000000
--- a/akka-remote/src/test/protocol/ProtobufProtocol.proto
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Copyright (C) 2009-2013 Typesafe Inc.
- */
-
-package akka.actor;
-
-/******************************************
- Compile with:
- cd ./akka-remote/src/test/protocol
- protoc ProtobufProtocol.proto --java_out ../java
- cd ../../../..
- ./scripts/fix-protobuf.sh
-*******************************************/
-
-message MyMessage {
- required uint64 id = 1;
- required string name = 2;
- required bool status = 3;
-}
-
diff --git a/akka-samples/akka-sample-osgi-dining-hakkers/pom.xml b/akka-samples/akka-sample-osgi-dining-hakkers/pom.xml
index ea69b7667d..6dee42ba13 100644
--- a/akka-samples/akka-sample-osgi-dining-hakkers/pom.xml
+++ b/akka-samples/akka-sample-osgi-dining-hakkers/pom.xml
@@ -16,12 +16,12 @@
4.2.0
2.6.0
1.6.0
- 2.4.1
+ 2.5.0
2.10.1
2.10
1.9.1
- 1.0.0
- 1.2.0
+ 1.0.2
+ 1.3.6
diff --git a/project/AkkaBuild.scala b/project/AkkaBuild.scala
index 28d701f0a5..74a16ada8d 100644
--- a/project/AkkaBuild.scala
+++ b/project/AkkaBuild.scala
@@ -193,7 +193,7 @@ object AkkaBuild extends Build {
id = "akka-remote",
base = file("akka-remote"),
dependencies = Seq(actor, actorTests % "test->test", testkit % "test->test"),
- settings = defaultSettings ++ scaladocSettings ++ javadocSettings ++ OSGi.remote ++ Seq(
+ settings = defaultSettings ++ scaladocSettings ++ javadocSettings ++ OSGi.remote ++ Protobuf.settings ++ Seq(
libraryDependencies ++= Dependencies.remote,
// disable parallel tests
parallelExecution in Test := false,
@@ -205,7 +205,7 @@ object AkkaBuild extends Build {
id = "akka-multi-node-testkit",
base = file("akka-multi-node-testkit"),
dependencies = Seq(remote, testkit),
- settings = defaultSettings ++ scaladocSettings ++ javadocSettings ++ Seq(
+ settings = defaultSettings ++ scaladocSettings ++ javadocSettings ++ Protobuf.settings ++ Seq(
previousArtifact := akkaPreviousArtifact("akka-multi-node-testkit")
)
)
@@ -234,7 +234,7 @@ object AkkaBuild extends Build {
settings = defaultSettings ++ scaladocSettings ++ javadocSettings ++ multiJvmSettings ++ OSGi.cluster ++
scalabuffSettings ++ Seq(
// this version needs to be reflected in the OSGi.scalabuffImport and dining hackers pom.xml
- scalabuffVersion in ScalaBuff := "1.2.0",
+ scalabuffVersion in ScalaBuff := "1.3.6",
libraryDependencies ++= Dependencies.cluster,
// disable parallel tests
parallelExecution in Test := false,
@@ -1023,8 +1023,8 @@ object AkkaBuild extends Build {
def defaultImports = Seq("!sun.misc", akkaImport(), configImport(), scalaImport(), "*")
def akkaImport(packageName: String = "akka.*") = "%s;version=\"[2.2,2.3)\"".format(packageName)
def configImport(packageName: String = "com.typesafe.config.*") = "%s;version=\"[0.4.1,1.1.0)\"".format(packageName)
- def protobufImport(packageName: String = "com.google.protobuf.*") = "%s;version=\"[2.4.0,2.5.0)\"".format(packageName)
- def scalabuffImport(packageName: String = "net.sandrogrzicic.scalabuff.*") = "%s;version=\"[1.2.0,1.3.0)\"".format(packageName)
+ def protobufImport(packageName: String = "com.google.protobuf.*") = "%s;version=\"[2.5.0,2.6.0)\"".format(packageName)
+ def scalabuffImport(packageName: String = "net.sandrogrzicic.scalabuff.*") = "%s;version=\"[1.3.6,1.4.0)\"".format(packageName)
def scalaImport(packageName: String = "scala.*") = "%s;version=\"[2.10,2.11)\"".format(packageName)
def optionalResolution(packageName: String) = "%s;resolution:=optional".format(packageName)
}
@@ -1040,7 +1040,7 @@ object Dependencies {
val config = "com.typesafe" % "config" % "1.0.2" // ApacheV2
val netty = "io.netty" % "netty" % "3.6.6.Final" // ApacheV2
- val protobuf = "com.google.protobuf" % "protobuf-java" % "2.4.1" // New BSD
+ val protobuf = "com.google.protobuf" % "protobuf-java" % "2.5.0" // New BSD
val scalaStm = "org.scala-stm" %% "scala-stm" % "0.7" // Modified BSD (Scala)
val scalaBuffRuntime = "net.sandrogrzicic" %% "scalabuff-runtime" % "1.2.0" // ApacheV2
diff --git a/project/Protobuf.scala b/project/Protobuf.scala
new file mode 100644
index 0000000000..09b764e931
--- /dev/null
+++ b/project/Protobuf.scala
@@ -0,0 +1,77 @@
+/**
+ * Copyright (C) 2009-2013 Typesafe Inc.
+ */
+
+package akka
+
+import sbt._
+import Process._
+import Keys._
+
+import java.io.File
+
+object Protobuf {
+ val paths = SettingKey[Seq[File]]("protobuf-paths", "The paths that contain *.proto files.")
+ val outputPaths = SettingKey[Seq[File]]("protobuf-output-paths", "The paths where to save the generated *.java files.")
+ val protoc = SettingKey[String]("protobuf-protoc", "The path and name of the protoc executable.")
+ val protocVersion = SettingKey[String]("protobuf-protoc-version", "The version of the protoc executable.")
+ val generate = TaskKey[Unit]("protobuf-generate", "Compile the protobuf sources and do all processing.")
+
+ lazy val settings: Seq[Setting[_]] = Seq(
+ paths <<= (sourceDirectory in Compile, sourceDirectory in Test) { (a, b) => Seq(a, b) map (_ / "protobuf") },
+ outputPaths <<= (sourceDirectory in Compile, sourceDirectory in Test) { (a, b) => Seq(a, b) map (_ / "java") },
+ protoc := "protoc",
+ protocVersion := "2.5.0",
+ generate <<= generateSourceTask
+ )
+
+ private def callProtoc[T](protoc: String, args: Seq[String], log: Logger, thunk: (ProcessBuilder, Logger) => T): T =
+ try {
+ val proc = Process(protoc, args)
+ thunk(proc, log)
+ } catch { case e: Exception =>
+ throw new RuntimeException("error while executing '%s' with args: %s" format(protoc, args.mkString(" ")), e)
+ }
+
+ private def checkProtocVersion(protoc: String, protocVersion: String, log: Logger): Unit = {
+ val res = callProtoc(protoc, Seq("--version"), log, { (p, l) => p !! l })
+ val version = res.split(" ").last.trim
+ if (version != protocVersion) {
+ sys.error("Wrong protoc version! Expected %s but got %s" format (protocVersion, version))
+ }
+ }
+
+ private def generate(protoc: String, srcDir: File, targetDir: File, log: Logger): Unit = {
+ val protoFiles = (srcDir ** "*.proto").get
+ if (srcDir.exists)
+ if (protoFiles.isEmpty)
+ log.info("Skipping empty source directory %s" format srcDir)
+ else {
+ targetDir.mkdirs()
+
+ log.info("Generating %d protobuf files from %s to %s".format(protoFiles.size, srcDir, targetDir))
+ protoFiles.foreach { proto => log.info("Compiling %s" format proto) }
+
+ val exitCode = callProtoc(protoc, Seq("-I" + srcDir.absolutePath, "--java_out=%s" format targetDir.absolutePath) ++
+ protoFiles.map(_.absolutePath), log, { (p, l) => p ! l })
+ if (exitCode != 0)
+ sys.error("protoc returned exit code: %d" format exitCode)
+ }
+ }
+
+ private def generateSourceTask: Project.Initialize[Task[Unit]] = (streams, paths, outputPaths, protoc, protocVersion) map {
+ (out, sourceDirs, targetDirs, protoc, protocVersion) =>
+ if (sourceDirs.size != targetDirs.size)
+ sys.error("Unbalanced number of paths and destination paths!\nPaths: %s\nDestination Paths: %s" format
+ (sourceDirs, targetDirs))
+
+ if (sourceDirs exists { _.exists }) {
+ checkProtocVersion(protoc, protocVersion, out.log)
+
+ (sourceDirs zip targetDirs) map {
+ case (sourceDir, targetDir) =>
+ generate(protoc, sourceDir, targetDir, out.log)
+ }
+ }
+ }
+}
diff --git a/scripts/fix-protobuf.sh b/scripts/fix-protobuf.sh
deleted file mode 100755
index e53ce297ab..0000000000
--- a/scripts/fix-protobuf.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-find . -name \*.java -print0 | xargs -0 perl -pi -e 's/\Qprivate Builder(BuilderParent parent)/private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent)/'