* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
*/
akka.stream.remote.StreamRefContainers.ActorRefOrBuilder getOriginRefOrBuilder();
}
/**
* Protobuf type {@code SourceRef}
*/
public static final class SourceRef extends
akka.protobuf.GeneratedMessage
implements SourceRefOrBuilder {
// Use SourceRef.newBuilder() to construct.
private SourceRef(akka.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SourceRef(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SourceRef defaultInstance;
public static SourceRef getDefaultInstance() {
return defaultInstance;
}
public SourceRef getDefaultInstanceForType() {
return defaultInstance;
}
private final akka.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final akka.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SourceRef(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
akka.protobuf.UnknownFieldSet.Builder unknownFields =
akka.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.stream.remote.StreamRefContainers.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = originRef_.toBuilder();
}
originRef_ = input.readMessage(akka.stream.remote.StreamRefContainers.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(originRef_);
originRef_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (akka.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new akka.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final akka.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.stream.remote.StreamRefContainers.internal_static_SourceRef_descriptor;
}
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return akka.stream.remote.StreamRefContainers.internal_static_SourceRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
akka.stream.remote.StreamRefContainers.SourceRef.class, akka.stream.remote.StreamRefContainers.SourceRef.Builder.class);
}
public static akka.protobuf.Parser PARSER =
new akka.protobuf.AbstractParser() {
public SourceRef parsePartialFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return new SourceRef(input, extensionRegistry);
}
};
@java.lang.Override
public akka.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .ActorRef originRef = 1;
public static final int ORIGINREF_FIELD_NUMBER = 1;
private akka.stream.remote.StreamRefContainers.ActorRef originRef_;
/**
* required .ActorRef originRef = 1;
*
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
*/
public akka.stream.remote.StreamRefContainers.ActorRefOrBuilder getOriginRefOrBuilder() {
return originRef_;
}
private void initFields() {
originRef_ = akka.stream.remote.StreamRefContainers.ActorRef.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasOriginRef()) {
memoizedIsInitialized = 0;
return false;
}
if (!getOriginRef().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(akka.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, originRef_);
}
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 += akka.protobuf.CodedOutputStream
.computeMessageSize(1, originRef_);
}
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.stream.remote.StreamRefContainers.SourceRef parseFrom(
akka.protobuf.ByteString data)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(byte[] data)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(
byte[] data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(
akka.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static akka.stream.remote.StreamRefContainers.SourceRef parseFrom(
akka.protobuf.CodedInputStream input,
akka.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.stream.remote.StreamRefContainers.SourceRef prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
akka.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code SourceRef}
*/
public static final class Builder extends
akka.protobuf.GeneratedMessage.Builder
implements akka.stream.remote.StreamRefContainers.SourceRefOrBuilder {
public static final akka.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.stream.remote.StreamRefContainers.internal_static_SourceRef_descriptor;
}
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return akka.stream.remote.StreamRefContainers.internal_static_SourceRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
akka.stream.remote.StreamRefContainers.SourceRef.class, akka.stream.remote.StreamRefContainers.SourceRef.Builder.class);
}
// Construct using akka.stream.remote.StreamRefContainers.SourceRef.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
akka.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOriginRefFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (originRefBuilder_ == null) {
originRef_ = akka.stream.remote.StreamRefContainers.ActorRef.getDefaultInstance();
} else {
originRefBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public akka.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return akka.stream.remote.StreamRefContainers.internal_static_SourceRef_descriptor;
}
public akka.stream.remote.StreamRefContainers.SourceRef getDefaultInstanceForType() {
return akka.stream.remote.StreamRefContainers.SourceRef.getDefaultInstance();
}
public akka.stream.remote.StreamRefContainers.SourceRef build() {
akka.stream.remote.StreamRefContainers.SourceRef result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public akka.stream.remote.StreamRefContainers.SourceRef buildPartial() {
akka.stream.remote.StreamRefContainers.SourceRef result = new akka.stream.remote.StreamRefContainers.SourceRef(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (originRefBuilder_ == null) {
result.originRef_ = originRef_;
} else {
result.originRef_ = originRefBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(akka.protobuf.Message other) {
if (other instanceof akka.stream.remote.StreamRefContainers.SourceRef) {
return mergeFrom((akka.stream.remote.StreamRefContainers.SourceRef)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(akka.stream.remote.StreamRefContainers.SourceRef other) {
if (other == akka.stream.remote.StreamRefContainers.SourceRef.getDefaultInstance()) return this;
if (other.hasOriginRef()) {
mergeOriginRef(other.getOriginRef());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasOriginRef()) {
return false;
}
if (!getOriginRef().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
akka.stream.remote.StreamRefContainers.SourceRef parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (akka.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (akka.stream.remote.StreamRefContainers.SourceRef) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .ActorRef originRef = 1;
private akka.stream.remote.StreamRefContainers.ActorRef originRef_ = akka.stream.remote.StreamRefContainers.ActorRef.getDefaultInstance();
private akka.protobuf.SingleFieldBuilder<
akka.stream.remote.StreamRefContainers.ActorRef, akka.stream.remote.StreamRefContainers.ActorRef.Builder, akka.stream.remote.StreamRefContainers.ActorRefOrBuilder> originRefBuilder_;
/**
* required .ActorRef originRef = 1;
*
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
* FIXME: it's basically SinkRef since we just ommit the optional initial demand...
* FIXME: could it be that all those passable refs should be expressed internally as a StreamRef?
*
*/
private akka.protobuf.SingleFieldBuilder<
akka.stream.remote.StreamRefContainers.ActorRef, akka.stream.remote.StreamRefContainers.ActorRef.Builder, akka.stream.remote.StreamRefContainers.ActorRefOrBuilder>
getOriginRefFieldBuilder() {
if (originRefBuilder_ == null) {
originRefBuilder_ = new akka.protobuf.SingleFieldBuilder<
akka.stream.remote.StreamRefContainers.ActorRef, akka.stream.remote.StreamRefContainers.ActorRef.Builder, akka.stream.remote.StreamRefContainers.ActorRefOrBuilder>(
originRef_,
getParentForChildren(),
isClean());
originRef_ = null;
}
return originRefBuilder_;
}
// @@protoc_insertion_point(builder_scope:SourceRef)
}
static {
defaultInstance = new SourceRef(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:SourceRef)
}
public interface ActorRefOrBuilder
extends akka.protobuf.MessageOrBuilder {
// required string path = 1;
/**
* required string path = 1;
*/
boolean hasPath();
/**
* required string path = 1;
*/
java.lang.String getPath();
/**
* required string path = 1;
*/
akka.protobuf.ByteString
getPathBytes();
}
/**
* Protobuf type {@code ActorRef}
*/
public static final class ActorRef extends
akka.protobuf.GeneratedMessage
implements ActorRefOrBuilder {
// Use ActorRef.newBuilder() to construct.
private ActorRef(akka.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ActorRef(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ActorRef defaultInstance;
public static ActorRef getDefaultInstance() {
return defaultInstance;
}
public ActorRef getDefaultInstanceForType() {
return defaultInstance;
}
private final akka.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final akka.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ActorRef(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
akka.protobuf.UnknownFieldSet.Builder unknownFields =
akka.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 (akka.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new akka.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final akka.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.stream.remote.StreamRefContainers.internal_static_ActorRef_descriptor;
}
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return akka.stream.remote.StreamRefContainers.internal_static_ActorRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
akka.stream.remote.StreamRefContainers.ActorRef.class, akka.stream.remote.StreamRefContainers.ActorRef.Builder.class);
}
public static akka.protobuf.Parser PARSER =
new akka.protobuf.AbstractParser() {
public ActorRef parsePartialFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return new ActorRef(input, extensionRegistry);
}
};
@java.lang.Override
public akka.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 {
akka.protobuf.ByteString bs =
(akka.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* required string path = 1;
*/
public akka.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
akka.protobuf.ByteString b =
akka.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (akka.protobuf.ByteString) ref;
}
}
private void initFields() {
path_ = "";
}
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(akka.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getPathBytes());
}
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 += akka.protobuf.CodedOutputStream
.computeBytesSize(1, getPathBytes());
}
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.stream.remote.StreamRefContainers.ActorRef parseFrom(
akka.protobuf.ByteString data)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(byte[] data)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(
byte[] data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(
akka.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static akka.stream.remote.StreamRefContainers.ActorRef parseFrom(
akka.protobuf.CodedInputStream input,
akka.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.stream.remote.StreamRefContainers.ActorRef prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
akka.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ActorRef}
*/
public static final class Builder extends
akka.protobuf.GeneratedMessage.Builder
implements akka.stream.remote.StreamRefContainers.ActorRefOrBuilder {
public static final akka.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.stream.remote.StreamRefContainers.internal_static_ActorRef_descriptor;
}
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return akka.stream.remote.StreamRefContainers.internal_static_ActorRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
akka.stream.remote.StreamRefContainers.ActorRef.class, akka.stream.remote.StreamRefContainers.ActorRef.Builder.class);
}
// Construct using akka.stream.remote.StreamRefContainers.ActorRef.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
akka.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
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 akka.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return akka.stream.remote.StreamRefContainers.internal_static_ActorRef_descriptor;
}
public akka.stream.remote.StreamRefContainers.ActorRef getDefaultInstanceForType() {
return akka.stream.remote.StreamRefContainers.ActorRef.getDefaultInstance();
}
public akka.stream.remote.StreamRefContainers.ActorRef build() {
akka.stream.remote.StreamRefContainers.ActorRef result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public akka.stream.remote.StreamRefContainers.ActorRef buildPartial() {
akka.stream.remote.StreamRefContainers.ActorRef result = new akka.stream.remote.StreamRefContainers.ActorRef(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.path_ = path_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(akka.protobuf.Message other) {
if (other instanceof akka.stream.remote.StreamRefContainers.ActorRef) {
return mergeFrom((akka.stream.remote.StreamRefContainers.ActorRef)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(akka.stream.remote.StreamRefContainers.ActorRef other) {
if (other == akka.stream.remote.StreamRefContainers.ActorRef.getDefaultInstance()) return this;
if (other.hasPath()) {
bitField0_ |= 0x00000001;
path_ = other.path_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPath()) {
return false;
}
return true;
}
public Builder mergeFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
akka.stream.remote.StreamRefContainers.ActorRef parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (akka.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (akka.stream.remote.StreamRefContainers.ActorRef) 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);
}
/**
* required string path = 1;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((akka.protobuf.ByteString) ref)
.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string path = 1;
*/
public akka.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
akka.protobuf.ByteString b =
akka.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (akka.protobuf.ByteString) ref;
}
}
/**
* required string path = 1;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
path_ = value;
onChanged();
return this;
}
/**
* required string path = 1;
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000001);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* required string path = 1;
*/
public Builder setPathBytes(
akka.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
path_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:ActorRef)
}
static {
defaultInstance = new ActorRef(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ActorRef)
}
public interface OptionOrBuilder
extends akka.protobuf.MessageOrBuilder {
// optional .Payload value = 1;
/**
* optional .Payload value = 1;
*/
boolean hasValue();
/**
* optional .Payload value = 1;
*/
akka.stream.remote.StreamRefContainers.Payload getValue();
/**
* optional .Payload value = 1;
*/
akka.stream.remote.StreamRefContainers.PayloadOrBuilder getValueOrBuilder();
}
/**
* Protobuf type {@code Option}
*/
public static final class Option extends
akka.protobuf.GeneratedMessage
implements OptionOrBuilder {
// Use Option.newBuilder() to construct.
private Option(akka.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Option(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Option defaultInstance;
public static Option getDefaultInstance() {
return defaultInstance;
}
public Option getDefaultInstanceForType() {
return defaultInstance;
}
private final akka.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final akka.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Option(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
akka.protobuf.UnknownFieldSet.Builder unknownFields =
akka.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.stream.remote.StreamRefContainers.Payload.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = value_.toBuilder();
}
value_ = input.readMessage(akka.stream.remote.StreamRefContainers.Payload.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(value_);
value_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (akka.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new akka.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final akka.protobuf.Descriptors.Descriptor
getDescriptor() {
return akka.stream.remote.StreamRefContainers.internal_static_Option_descriptor;
}
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return akka.stream.remote.StreamRefContainers.internal_static_Option_fieldAccessorTable
.ensureFieldAccessorsInitialized(
akka.stream.remote.StreamRefContainers.Option.class, akka.stream.remote.StreamRefContainers.Option.Builder.class);
}
public static akka.protobuf.Parser