org.apache.pekko.remote.SystemMessageFormats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pekko-remote_2.13 Show documentation
Show all versions of pekko-remote_2.13 Show documentation
Apache Pekko is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* license agreements; and to You under the Apache License, version 2.0:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
/*
* Copyright (C) 2021-2022 Lightbend Inc.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SystemMessageFormats.proto
package org.apache.pekko.remote;
public final class SystemMessageFormats {
private SystemMessageFormats() {}
public static void registerAllExtensions(
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
org.apache.pekko.protobufv3.internal.ExtensionRegistry registry) {
registerAllExtensions(
(org.apache.pekko.protobufv3.internal.ExtensionRegistryLite) registry);
}
public interface SystemMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:SystemMessage)
org.apache.pekko.protobufv3.internal.MessageOrBuilder {
/**
* required .SystemMessage.Type type = 1;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* required .SystemMessage.Type type = 1;
* @return The type.
*/
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type getType();
/**
* optional .WatchData watchData = 2;
* @return Whether the watchData field is set.
*/
boolean hasWatchData();
/**
* optional .WatchData watchData = 2;
* @return The watchData.
*/
org.apache.pekko.remote.SystemMessageFormats.WatchData getWatchData();
/**
* optional .WatchData watchData = 2;
*/
org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder getWatchDataOrBuilder();
/**
* optional .Payload causeData = 3;
* @return Whether the causeData field is set.
*/
boolean hasCauseData();
/**
* optional .Payload causeData = 3;
* @return The causeData.
*/
org.apache.pekko.remote.ContainerFormats.Payload getCauseData();
/**
* optional .Payload causeData = 3;
*/
org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCauseDataOrBuilder();
/**
* optional .SuperviseData superviseData = 5;
* @return Whether the superviseData field is set.
*/
boolean hasSuperviseData();
/**
* optional .SuperviseData superviseData = 5;
* @return The superviseData.
*/
org.apache.pekko.remote.SystemMessageFormats.SuperviseData getSuperviseData();
/**
* optional .SuperviseData superviseData = 5;
*/
org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder getSuperviseDataOrBuilder();
/**
* optional .FailedData failedData = 6;
* @return Whether the failedData field is set.
*/
boolean hasFailedData();
/**
* optional .FailedData failedData = 6;
* @return The failedData.
*/
org.apache.pekko.remote.SystemMessageFormats.FailedData getFailedData();
/**
* optional .FailedData failedData = 6;
*/
org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder getFailedDataOrBuilder();
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return Whether the dwNotificationData field is set.
*/
boolean hasDwNotificationData();
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return The dwNotificationData.
*/
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDwNotificationData();
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder getDwNotificationDataOrBuilder();
}
/**
* Protobuf type {@code SystemMessage}
*/
public static final class SystemMessage extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SystemMessage)
SystemMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use SystemMessage.newBuilder() to construct.
private SystemMessage(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SystemMessage() {
type_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) {
return new SystemMessage();
}
@java.lang.Override
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SystemMessage(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.pekko.protobufv3.internal.UnknownFieldSet.Builder unknownFields =
org.apache.pekko.protobufv3.internal.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
@SuppressWarnings("deprecation")
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type value = org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
type_ = rawValue;
}
break;
}
case 18: {
org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = watchData_.toBuilder();
}
watchData_ = input.readMessage(org.apache.pekko.remote.SystemMessageFormats.WatchData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(watchData_);
watchData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
org.apache.pekko.remote.ContainerFormats.Payload.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = causeData_.toBuilder();
}
causeData_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.Payload.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(causeData_);
causeData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 42: {
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = superviseData_.toBuilder();
}
superviseData_ = input.readMessage(org.apache.pekko.remote.SystemMessageFormats.SuperviseData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(superviseData_);
superviseData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 50: {
org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = failedData_.toBuilder();
}
failedData_ = input.readMessage(org.apache.pekko.remote.SystemMessageFormats.FailedData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(failedData_);
failedData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 58: {
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) != 0)) {
subBuilder = dwNotificationData_.toBuilder();
}
dwNotificationData_ = input.readMessage(org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dwNotificationData_);
dwNotificationData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SystemMessage_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SystemMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.class, org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Builder.class);
}
/**
* Protobuf enum {@code SystemMessage.Type}
*/
public enum Type
implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum {
/**
* CREATE = 0;
*/
CREATE(0),
/**
* RECREATE = 1;
*/
RECREATE(1),
/**
* SUSPEND = 2;
*/
SUSPEND(2),
/**
* RESUME = 3;
*/
RESUME(3),
/**
* TERMINATE = 4;
*/
TERMINATE(4),
/**
* SUPERVISE = 5;
*/
SUPERVISE(5),
/**
* WATCH = 6;
*/
WATCH(6),
/**
* UNWATCH = 7;
*/
UNWATCH(7),
/**
* FAILED = 8;
*/
FAILED(8),
/**
* DEATHWATCH_NOTIFICATION = 9;
*/
DEATHWATCH_NOTIFICATION(9),
;
/**
* CREATE = 0;
*/
public static final int CREATE_VALUE = 0;
/**
* RECREATE = 1;
*/
public static final int RECREATE_VALUE = 1;
/**
* SUSPEND = 2;
*/
public static final int SUSPEND_VALUE = 2;
/**
* RESUME = 3;
*/
public static final int RESUME_VALUE = 3;
/**
* TERMINATE = 4;
*/
public static final int TERMINATE_VALUE = 4;
/**
* SUPERVISE = 5;
*/
public static final int SUPERVISE_VALUE = 5;
/**
* WATCH = 6;
*/
public static final int WATCH_VALUE = 6;
/**
* UNWATCH = 7;
*/
public static final int UNWATCH_VALUE = 7;
/**
* FAILED = 8;
*/
public static final int FAILED_VALUE = 8;
/**
* DEATHWATCH_NOTIFICATION = 9;
*/
public static final int DEATHWATCH_NOTIFICATION_VALUE = 9;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return CREATE;
case 1: return RECREATE;
case 2: return SUSPEND;
case 3: return RESUME;
case 4: return TERMINATE;
case 5: return SUPERVISE;
case 6: return WATCH;
case 7: return UNWATCH;
case 8: return FAILED;
case 9: return DEATHWATCH_NOTIFICATION;
default: return null;
}
}
public static org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<
Type> internalValueMap =
new org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.SystemMessage.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:SystemMessage.Type)
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* required .SystemMessage.Type type = 1;
* @return Whether the type field is set.
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .SystemMessage.Type type = 1;
* @return The type.
*/
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type getType() {
@SuppressWarnings("deprecation")
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type result = org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type.valueOf(type_);
return result == null ? org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type.CREATE : result;
}
public static final int WATCHDATA_FIELD_NUMBER = 2;
private org.apache.pekko.remote.SystemMessageFormats.WatchData watchData_;
/**
* optional .WatchData watchData = 2;
* @return Whether the watchData field is set.
*/
public boolean hasWatchData() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .WatchData watchData = 2;
* @return The watchData.
*/
public org.apache.pekko.remote.SystemMessageFormats.WatchData getWatchData() {
return watchData_ == null ? org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance() : watchData_;
}
/**
* optional .WatchData watchData = 2;
*/
public org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder getWatchDataOrBuilder() {
return watchData_ == null ? org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance() : watchData_;
}
public static final int CAUSEDATA_FIELD_NUMBER = 3;
private org.apache.pekko.remote.ContainerFormats.Payload causeData_;
/**
* optional .Payload causeData = 3;
* @return Whether the causeData field is set.
*/
public boolean hasCauseData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .Payload causeData = 3;
* @return The causeData.
*/
public org.apache.pekko.remote.ContainerFormats.Payload getCauseData() {
return causeData_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : causeData_;
}
/**
* optional .Payload causeData = 3;
*/
public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCauseDataOrBuilder() {
return causeData_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : causeData_;
}
public static final int SUPERVISEDATA_FIELD_NUMBER = 5;
private org.apache.pekko.remote.SystemMessageFormats.SuperviseData superviseData_;
/**
* optional .SuperviseData superviseData = 5;
* @return Whether the superviseData field is set.
*/
public boolean hasSuperviseData() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .SuperviseData superviseData = 5;
* @return The superviseData.
*/
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData getSuperviseData() {
return superviseData_ == null ? org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance() : superviseData_;
}
/**
* optional .SuperviseData superviseData = 5;
*/
public org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder getSuperviseDataOrBuilder() {
return superviseData_ == null ? org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance() : superviseData_;
}
public static final int FAILEDDATA_FIELD_NUMBER = 6;
private org.apache.pekko.remote.SystemMessageFormats.FailedData failedData_;
/**
* optional .FailedData failedData = 6;
* @return Whether the failedData field is set.
*/
public boolean hasFailedData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .FailedData failedData = 6;
* @return The failedData.
*/
public org.apache.pekko.remote.SystemMessageFormats.FailedData getFailedData() {
return failedData_ == null ? org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance() : failedData_;
}
/**
* optional .FailedData failedData = 6;
*/
public org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder getFailedDataOrBuilder() {
return failedData_ == null ? org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance() : failedData_;
}
public static final int DWNOTIFICATIONDATA_FIELD_NUMBER = 7;
private org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData dwNotificationData_;
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return Whether the dwNotificationData field is set.
*/
public boolean hasDwNotificationData() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return The dwNotificationData.
*/
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDwNotificationData() {
return dwNotificationData_ == null ? org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance() : dwNotificationData_;
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder getDwNotificationDataOrBuilder() {
return dwNotificationData_ == null ? org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance() : dwNotificationData_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
if (hasWatchData()) {
if (!getWatchData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasCauseData()) {
if (!getCauseData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasSuperviseData()) {
if (!getSuperviseData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasFailedData()) {
if (!getFailedData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasDwNotificationData()) {
if (!getDwNotificationData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getWatchData());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getCauseData());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(5, getSuperviseData());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(6, getFailedData());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(7, getDwNotificationData());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeEnumSize(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(2, getWatchData());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(3, getCauseData());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(5, getSuperviseData());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(6, getFailedData());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(7, getDwNotificationData());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.pekko.remote.SystemMessageFormats.SystemMessage)) {
return super.equals(obj);
}
org.apache.pekko.remote.SystemMessageFormats.SystemMessage other = (org.apache.pekko.remote.SystemMessageFormats.SystemMessage) obj;
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasWatchData() != other.hasWatchData()) return false;
if (hasWatchData()) {
if (!getWatchData()
.equals(other.getWatchData())) return false;
}
if (hasCauseData() != other.hasCauseData()) return false;
if (hasCauseData()) {
if (!getCauseData()
.equals(other.getCauseData())) return false;
}
if (hasSuperviseData() != other.hasSuperviseData()) return false;
if (hasSuperviseData()) {
if (!getSuperviseData()
.equals(other.getSuperviseData())) return false;
}
if (hasFailedData() != other.hasFailedData()) return false;
if (hasFailedData()) {
if (!getFailedData()
.equals(other.getFailedData())) return false;
}
if (hasDwNotificationData() != other.hasDwNotificationData()) return false;
if (hasDwNotificationData()) {
if (!getDwNotificationData()
.equals(other.getDwNotificationData())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasWatchData()) {
hash = (37 * hash) + WATCHDATA_FIELD_NUMBER;
hash = (53 * hash) + getWatchData().hashCode();
}
if (hasCauseData()) {
hash = (37 * hash) + CAUSEDATA_FIELD_NUMBER;
hash = (53 * hash) + getCauseData().hashCode();
}
if (hasSuperviseData()) {
hash = (37 * hash) + SUPERVISEDATA_FIELD_NUMBER;
hash = (53 * hash) + getSuperviseData().hashCode();
}
if (hasFailedData()) {
hash = (37 * hash) + FAILEDDATA_FIELD_NUMBER;
hash = (53 * hash) + getFailedData().hashCode();
}
if (hasDwNotificationData()) {
hash = (37 * hash) + DWNOTIFICATIONDATA_FIELD_NUMBER;
hash = (53 * hash) + getDwNotificationData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
java.nio.ByteBuffer data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
java.nio.ByteBuffer data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(byte[] data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
byte[] data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseDelimitedFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.pekko.remote.SystemMessageFormats.SystemMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code SystemMessage}
*/
public static final class Builder extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SystemMessage)
org.apache.pekko.remote.SystemMessageFormats.SystemMessageOrBuilder {
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SystemMessage_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SystemMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.class, org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Builder.class);
}
// Construct using org.apache.pekko.remote.SystemMessageFormats.SystemMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWatchDataFieldBuilder();
getCauseDataFieldBuilder();
getSuperviseDataFieldBuilder();
getFailedDataFieldBuilder();
getDwNotificationDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (watchDataBuilder_ == null) {
watchData_ = null;
} else {
watchDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (causeDataBuilder_ == null) {
causeData_ = null;
} else {
causeDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (superviseDataBuilder_ == null) {
superviseData_ = null;
} else {
superviseDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (failedDataBuilder_ == null) {
failedData_ = null;
} else {
failedDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (dwNotificationDataBuilder_ == null) {
dwNotificationData_ = null;
} else {
dwNotificationDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SystemMessage_descriptor;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage getDefaultInstanceForType() {
return org.apache.pekko.remote.SystemMessageFormats.SystemMessage.getDefaultInstance();
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage build() {
org.apache.pekko.remote.SystemMessageFormats.SystemMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage buildPartial() {
org.apache.pekko.remote.SystemMessageFormats.SystemMessage result = new org.apache.pekko.remote.SystemMessageFormats.SystemMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) != 0)) {
if (watchDataBuilder_ == null) {
result.watchData_ = watchData_;
} else {
result.watchData_ = watchDataBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (causeDataBuilder_ == null) {
result.causeData_ = causeData_;
} else {
result.causeData_ = causeDataBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (superviseDataBuilder_ == null) {
result.superviseData_ = superviseData_;
} else {
result.superviseData_ = superviseDataBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
if (failedDataBuilder_ == null) {
result.failedData_ = failedData_;
} else {
result.failedData_ = failedDataBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
if (dwNotificationDataBuilder_ == null) {
result.dwNotificationData_ = dwNotificationData_;
} else {
result.dwNotificationData_ = dwNotificationDataBuilder_.build();
}
to_bitField0_ |= 0x00000020;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
if (other instanceof org.apache.pekko.remote.SystemMessageFormats.SystemMessage) {
return mergeFrom((org.apache.pekko.remote.SystemMessageFormats.SystemMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.pekko.remote.SystemMessageFormats.SystemMessage other) {
if (other == org.apache.pekko.remote.SystemMessageFormats.SystemMessage.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasWatchData()) {
mergeWatchData(other.getWatchData());
}
if (other.hasCauseData()) {
mergeCauseData(other.getCauseData());
}
if (other.hasSuperviseData()) {
mergeSuperviseData(other.getSuperviseData());
}
if (other.hasFailedData()) {
mergeFailedData(other.getFailedData());
}
if (other.hasDwNotificationData()) {
mergeDwNotificationData(other.getDwNotificationData());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasType()) {
return false;
}
if (hasWatchData()) {
if (!getWatchData().isInitialized()) {
return false;
}
}
if (hasCauseData()) {
if (!getCauseData().isInitialized()) {
return false;
}
}
if (hasSuperviseData()) {
if (!getSuperviseData().isInitialized()) {
return false;
}
}
if (hasFailedData()) {
if (!getFailedData().isInitialized()) {
return false;
}
}
if (hasDwNotificationData()) {
if (!getDwNotificationData().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.pekko.remote.SystemMessageFormats.SystemMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.pekko.remote.SystemMessageFormats.SystemMessage) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int type_ = 0;
/**
* required .SystemMessage.Type type = 1;
* @return Whether the type field is set.
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .SystemMessage.Type type = 1;
* @return The type.
*/
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type getType() {
@SuppressWarnings("deprecation")
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type result = org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type.valueOf(type_);
return result == null ? org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type.CREATE : result;
}
/**
* required .SystemMessage.Type type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* required .SystemMessage.Type type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private org.apache.pekko.remote.SystemMessageFormats.WatchData watchData_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.WatchData, org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder, org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder> watchDataBuilder_;
/**
* optional .WatchData watchData = 2;
* @return Whether the watchData field is set.
*/
public boolean hasWatchData() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .WatchData watchData = 2;
* @return The watchData.
*/
public org.apache.pekko.remote.SystemMessageFormats.WatchData getWatchData() {
if (watchDataBuilder_ == null) {
return watchData_ == null ? org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance() : watchData_;
} else {
return watchDataBuilder_.getMessage();
}
}
/**
* optional .WatchData watchData = 2;
*/
public Builder setWatchData(org.apache.pekko.remote.SystemMessageFormats.WatchData value) {
if (watchDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
watchData_ = value;
onChanged();
} else {
watchDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .WatchData watchData = 2;
*/
public Builder setWatchData(
org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder builderForValue) {
if (watchDataBuilder_ == null) {
watchData_ = builderForValue.build();
onChanged();
} else {
watchDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .WatchData watchData = 2;
*/
public Builder mergeWatchData(org.apache.pekko.remote.SystemMessageFormats.WatchData value) {
if (watchDataBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
watchData_ != null &&
watchData_ != org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance()) {
watchData_ =
org.apache.pekko.remote.SystemMessageFormats.WatchData.newBuilder(watchData_).mergeFrom(value).buildPartial();
} else {
watchData_ = value;
}
onChanged();
} else {
watchDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .WatchData watchData = 2;
*/
public Builder clearWatchData() {
if (watchDataBuilder_ == null) {
watchData_ = null;
onChanged();
} else {
watchDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .WatchData watchData = 2;
*/
public org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder getWatchDataBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getWatchDataFieldBuilder().getBuilder();
}
/**
* optional .WatchData watchData = 2;
*/
public org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder getWatchDataOrBuilder() {
if (watchDataBuilder_ != null) {
return watchDataBuilder_.getMessageOrBuilder();
} else {
return watchData_ == null ?
org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance() : watchData_;
}
}
/**
* optional .WatchData watchData = 2;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.WatchData, org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder, org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder>
getWatchDataFieldBuilder() {
if (watchDataBuilder_ == null) {
watchDataBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.WatchData, org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder, org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder>(
getWatchData(),
getParentForChildren(),
isClean());
watchData_ = null;
}
return watchDataBuilder_;
}
private org.apache.pekko.remote.ContainerFormats.Payload causeData_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.Payload, org.apache.pekko.remote.ContainerFormats.Payload.Builder, org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder> causeDataBuilder_;
/**
* optional .Payload causeData = 3;
* @return Whether the causeData field is set.
*/
public boolean hasCauseData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .Payload causeData = 3;
* @return The causeData.
*/
public org.apache.pekko.remote.ContainerFormats.Payload getCauseData() {
if (causeDataBuilder_ == null) {
return causeData_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : causeData_;
} else {
return causeDataBuilder_.getMessage();
}
}
/**
* optional .Payload causeData = 3;
*/
public Builder setCauseData(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (causeDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
causeData_ = value;
onChanged();
} else {
causeDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Payload causeData = 3;
*/
public Builder setCauseData(
org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) {
if (causeDataBuilder_ == null) {
causeData_ = builderForValue.build();
onChanged();
} else {
causeDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Payload causeData = 3;
*/
public Builder mergeCauseData(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (causeDataBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
causeData_ != null &&
causeData_ != org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()) {
causeData_ =
org.apache.pekko.remote.ContainerFormats.Payload.newBuilder(causeData_).mergeFrom(value).buildPartial();
} else {
causeData_ = value;
}
onChanged();
} else {
causeDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Payload causeData = 3;
*/
public Builder clearCauseData() {
if (causeDataBuilder_ == null) {
causeData_ = null;
onChanged();
} else {
causeDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .Payload causeData = 3;
*/
public org.apache.pekko.remote.ContainerFormats.Payload.Builder getCauseDataBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getCauseDataFieldBuilder().getBuilder();
}
/**
* optional .Payload causeData = 3;
*/
public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCauseDataOrBuilder() {
if (causeDataBuilder_ != null) {
return causeDataBuilder_.getMessageOrBuilder();
} else {
return causeData_ == null ?
org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : causeData_;
}
}
/**
* optional .Payload causeData = 3;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.Payload, org.apache.pekko.remote.ContainerFormats.Payload.Builder, org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
getCauseDataFieldBuilder() {
if (causeDataBuilder_ == null) {
causeDataBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.Payload, org.apache.pekko.remote.ContainerFormats.Payload.Builder, org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>(
getCauseData(),
getParentForChildren(),
isClean());
causeData_ = null;
}
return causeDataBuilder_;
}
private org.apache.pekko.remote.SystemMessageFormats.SuperviseData superviseData_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.SuperviseData, org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder, org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder> superviseDataBuilder_;
/**
* optional .SuperviseData superviseData = 5;
* @return Whether the superviseData field is set.
*/
public boolean hasSuperviseData() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .SuperviseData superviseData = 5;
* @return The superviseData.
*/
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData getSuperviseData() {
if (superviseDataBuilder_ == null) {
return superviseData_ == null ? org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance() : superviseData_;
} else {
return superviseDataBuilder_.getMessage();
}
}
/**
* optional .SuperviseData superviseData = 5;
*/
public Builder setSuperviseData(org.apache.pekko.remote.SystemMessageFormats.SuperviseData value) {
if (superviseDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
superviseData_ = value;
onChanged();
} else {
superviseDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .SuperviseData superviseData = 5;
*/
public Builder setSuperviseData(
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder builderForValue) {
if (superviseDataBuilder_ == null) {
superviseData_ = builderForValue.build();
onChanged();
} else {
superviseDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .SuperviseData superviseData = 5;
*/
public Builder mergeSuperviseData(org.apache.pekko.remote.SystemMessageFormats.SuperviseData value) {
if (superviseDataBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
superviseData_ != null &&
superviseData_ != org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance()) {
superviseData_ =
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.newBuilder(superviseData_).mergeFrom(value).buildPartial();
} else {
superviseData_ = value;
}
onChanged();
} else {
superviseDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .SuperviseData superviseData = 5;
*/
public Builder clearSuperviseData() {
if (superviseDataBuilder_ == null) {
superviseData_ = null;
onChanged();
} else {
superviseDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .SuperviseData superviseData = 5;
*/
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder getSuperviseDataBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getSuperviseDataFieldBuilder().getBuilder();
}
/**
* optional .SuperviseData superviseData = 5;
*/
public org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder getSuperviseDataOrBuilder() {
if (superviseDataBuilder_ != null) {
return superviseDataBuilder_.getMessageOrBuilder();
} else {
return superviseData_ == null ?
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance() : superviseData_;
}
}
/**
* optional .SuperviseData superviseData = 5;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.SuperviseData, org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder, org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder>
getSuperviseDataFieldBuilder() {
if (superviseDataBuilder_ == null) {
superviseDataBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.SuperviseData, org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder, org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder>(
getSuperviseData(),
getParentForChildren(),
isClean());
superviseData_ = null;
}
return superviseDataBuilder_;
}
private org.apache.pekko.remote.SystemMessageFormats.FailedData failedData_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.FailedData, org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder, org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder> failedDataBuilder_;
/**
* optional .FailedData failedData = 6;
* @return Whether the failedData field is set.
*/
public boolean hasFailedData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .FailedData failedData = 6;
* @return The failedData.
*/
public org.apache.pekko.remote.SystemMessageFormats.FailedData getFailedData() {
if (failedDataBuilder_ == null) {
return failedData_ == null ? org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance() : failedData_;
} else {
return failedDataBuilder_.getMessage();
}
}
/**
* optional .FailedData failedData = 6;
*/
public Builder setFailedData(org.apache.pekko.remote.SystemMessageFormats.FailedData value) {
if (failedDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
failedData_ = value;
onChanged();
} else {
failedDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .FailedData failedData = 6;
*/
public Builder setFailedData(
org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder builderForValue) {
if (failedDataBuilder_ == null) {
failedData_ = builderForValue.build();
onChanged();
} else {
failedDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .FailedData failedData = 6;
*/
public Builder mergeFailedData(org.apache.pekko.remote.SystemMessageFormats.FailedData value) {
if (failedDataBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
failedData_ != null &&
failedData_ != org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance()) {
failedData_ =
org.apache.pekko.remote.SystemMessageFormats.FailedData.newBuilder(failedData_).mergeFrom(value).buildPartial();
} else {
failedData_ = value;
}
onChanged();
} else {
failedDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .FailedData failedData = 6;
*/
public Builder clearFailedData() {
if (failedDataBuilder_ == null) {
failedData_ = null;
onChanged();
} else {
failedDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .FailedData failedData = 6;
*/
public org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder getFailedDataBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getFailedDataFieldBuilder().getBuilder();
}
/**
* optional .FailedData failedData = 6;
*/
public org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder getFailedDataOrBuilder() {
if (failedDataBuilder_ != null) {
return failedDataBuilder_.getMessageOrBuilder();
} else {
return failedData_ == null ?
org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance() : failedData_;
}
}
/**
* optional .FailedData failedData = 6;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.FailedData, org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder, org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder>
getFailedDataFieldBuilder() {
if (failedDataBuilder_ == null) {
failedDataBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.FailedData, org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder, org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder>(
getFailedData(),
getParentForChildren(),
isClean());
failedData_ = null;
}
return failedDataBuilder_;
}
private org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData dwNotificationData_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder> dwNotificationDataBuilder_;
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return Whether the dwNotificationData field is set.
*/
public boolean hasDwNotificationData() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
* @return The dwNotificationData.
*/
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDwNotificationData() {
if (dwNotificationDataBuilder_ == null) {
return dwNotificationData_ == null ? org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance() : dwNotificationData_;
} else {
return dwNotificationDataBuilder_.getMessage();
}
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public Builder setDwNotificationData(org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData value) {
if (dwNotificationDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dwNotificationData_ = value;
onChanged();
} else {
dwNotificationDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public Builder setDwNotificationData(
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder builderForValue) {
if (dwNotificationDataBuilder_ == null) {
dwNotificationData_ = builderForValue.build();
onChanged();
} else {
dwNotificationDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public Builder mergeDwNotificationData(org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData value) {
if (dwNotificationDataBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
dwNotificationData_ != null &&
dwNotificationData_ != org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance()) {
dwNotificationData_ =
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.newBuilder(dwNotificationData_).mergeFrom(value).buildPartial();
} else {
dwNotificationData_ = value;
}
onChanged();
} else {
dwNotificationDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public Builder clearDwNotificationData() {
if (dwNotificationDataBuilder_ == null) {
dwNotificationData_ = null;
onChanged();
} else {
dwNotificationDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder getDwNotificationDataBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getDwNotificationDataFieldBuilder().getBuilder();
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder getDwNotificationDataOrBuilder() {
if (dwNotificationDataBuilder_ != null) {
return dwNotificationDataBuilder_.getMessageOrBuilder();
} else {
return dwNotificationData_ == null ?
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance() : dwNotificationData_;
}
}
/**
* optional .DeathWatchNotificationData dwNotificationData = 7;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder>
getDwNotificationDataFieldBuilder() {
if (dwNotificationDataBuilder_ == null) {
dwNotificationDataBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder>(
getDwNotificationData(),
getParentForChildren(),
isClean());
dwNotificationData_ = null;
}
return dwNotificationDataBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:SystemMessage)
}
// @@protoc_insertion_point(class_scope:SystemMessage)
private static final org.apache.pekko.remote.SystemMessageFormats.SystemMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.pekko.remote.SystemMessageFormats.SystemMessage();
}
public static org.apache.pekko.remote.SystemMessageFormats.SystemMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser
PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser() {
@java.lang.Override
public SystemMessage parsePartialFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return new SystemMessage(input, extensionRegistry);
}
};
public static org.apache.pekko.protobufv3.internal.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SystemMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WatchDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:WatchData)
org.apache.pekko.protobufv3.internal.MessageOrBuilder {
/**
* required .ActorRef watchee = 1;
* @return Whether the watchee field is set.
*/
boolean hasWatchee();
/**
* required .ActorRef watchee = 1;
* @return The watchee.
*/
org.apache.pekko.remote.ContainerFormats.ActorRef getWatchee();
/**
* required .ActorRef watchee = 1;
*/
org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcheeOrBuilder();
/**
* required .ActorRef watcher = 2;
* @return Whether the watcher field is set.
*/
boolean hasWatcher();
/**
* required .ActorRef watcher = 2;
* @return The watcher.
*/
org.apache.pekko.remote.ContainerFormats.ActorRef getWatcher();
/**
* required .ActorRef watcher = 2;
*/
org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcherOrBuilder();
}
/**
* Protobuf type {@code WatchData}
*/
public static final class WatchData extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WatchData)
WatchDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use WatchData.newBuilder() to construct.
private WatchData(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WatchData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) {
return new WatchData();
}
@java.lang.Override
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WatchData(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.pekko.protobufv3.internal.UnknownFieldSet.Builder unknownFields =
org.apache.pekko.protobufv3.internal.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = watchee_.toBuilder();
}
watchee_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(watchee_);
watchee_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = watcher_.toBuilder();
}
watcher_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(watcher_);
watcher_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_WatchData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_WatchData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.WatchData.class, org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder.class);
}
private int bitField0_;
public static final int WATCHEE_FIELD_NUMBER = 1;
private org.apache.pekko.remote.ContainerFormats.ActorRef watchee_;
/**
* required .ActorRef watchee = 1;
* @return Whether the watchee field is set.
*/
public boolean hasWatchee() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef watchee = 1;
* @return The watchee.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getWatchee() {
return watchee_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watchee_;
}
/**
* required .ActorRef watchee = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcheeOrBuilder() {
return watchee_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watchee_;
}
public static final int WATCHER_FIELD_NUMBER = 2;
private org.apache.pekko.remote.ContainerFormats.ActorRef watcher_;
/**
* required .ActorRef watcher = 2;
* @return Whether the watcher field is set.
*/
public boolean hasWatcher() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required .ActorRef watcher = 2;
* @return The watcher.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getWatcher() {
return watcher_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watcher_;
}
/**
* required .ActorRef watcher = 2;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcherOrBuilder() {
return watcher_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watcher_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasWatchee()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasWatcher()) {
memoizedIsInitialized = 0;
return false;
}
if (!getWatchee().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getWatcher().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getWatchee());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getWatcher());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(1, getWatchee());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(2, getWatcher());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.pekko.remote.SystemMessageFormats.WatchData)) {
return super.equals(obj);
}
org.apache.pekko.remote.SystemMessageFormats.WatchData other = (org.apache.pekko.remote.SystemMessageFormats.WatchData) obj;
if (hasWatchee() != other.hasWatchee()) return false;
if (hasWatchee()) {
if (!getWatchee()
.equals(other.getWatchee())) return false;
}
if (hasWatcher() != other.hasWatcher()) return false;
if (hasWatcher()) {
if (!getWatcher()
.equals(other.getWatcher())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasWatchee()) {
hash = (37 * hash) + WATCHEE_FIELD_NUMBER;
hash = (53 * hash) + getWatchee().hashCode();
}
if (hasWatcher()) {
hash = (37 * hash) + WATCHER_FIELD_NUMBER;
hash = (53 * hash) + getWatcher().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
java.nio.ByteBuffer data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
java.nio.ByteBuffer data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(byte[] data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
byte[] data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseDelimitedFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.pekko.remote.SystemMessageFormats.WatchData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code WatchData}
*/
public static final class Builder extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WatchData)
org.apache.pekko.remote.SystemMessageFormats.WatchDataOrBuilder {
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_WatchData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_WatchData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.WatchData.class, org.apache.pekko.remote.SystemMessageFormats.WatchData.Builder.class);
}
// Construct using org.apache.pekko.remote.SystemMessageFormats.WatchData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWatcheeFieldBuilder();
getWatcherFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (watcheeBuilder_ == null) {
watchee_ = null;
} else {
watcheeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (watcherBuilder_ == null) {
watcher_ = null;
} else {
watcherBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_WatchData_descriptor;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.WatchData getDefaultInstanceForType() {
return org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance();
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.WatchData build() {
org.apache.pekko.remote.SystemMessageFormats.WatchData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.WatchData buildPartial() {
org.apache.pekko.remote.SystemMessageFormats.WatchData result = new org.apache.pekko.remote.SystemMessageFormats.WatchData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (watcheeBuilder_ == null) {
result.watchee_ = watchee_;
} else {
result.watchee_ = watcheeBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (watcherBuilder_ == null) {
result.watcher_ = watcher_;
} else {
result.watcher_ = watcherBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
if (other instanceof org.apache.pekko.remote.SystemMessageFormats.WatchData) {
return mergeFrom((org.apache.pekko.remote.SystemMessageFormats.WatchData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.pekko.remote.SystemMessageFormats.WatchData other) {
if (other == org.apache.pekko.remote.SystemMessageFormats.WatchData.getDefaultInstance()) return this;
if (other.hasWatchee()) {
mergeWatchee(other.getWatchee());
}
if (other.hasWatcher()) {
mergeWatcher(other.getWatcher());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasWatchee()) {
return false;
}
if (!hasWatcher()) {
return false;
}
if (!getWatchee().isInitialized()) {
return false;
}
if (!getWatcher().isInitialized()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.pekko.remote.SystemMessageFormats.WatchData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.pekko.remote.SystemMessageFormats.WatchData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.apache.pekko.remote.ContainerFormats.ActorRef watchee_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder> watcheeBuilder_;
/**
* required .ActorRef watchee = 1;
* @return Whether the watchee field is set.
*/
public boolean hasWatchee() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef watchee = 1;
* @return The watchee.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getWatchee() {
if (watcheeBuilder_ == null) {
return watchee_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watchee_;
} else {
return watcheeBuilder_.getMessage();
}
}
/**
* required .ActorRef watchee = 1;
*/
public Builder setWatchee(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (watcheeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
watchee_ = value;
onChanged();
} else {
watcheeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef watchee = 1;
*/
public Builder setWatchee(
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) {
if (watcheeBuilder_ == null) {
watchee_ = builderForValue.build();
onChanged();
} else {
watcheeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef watchee = 1;
*/
public Builder mergeWatchee(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (watcheeBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
watchee_ != null &&
watchee_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) {
watchee_ =
org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(watchee_).mergeFrom(value).buildPartial();
} else {
watchee_ = value;
}
onChanged();
} else {
watcheeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef watchee = 1;
*/
public Builder clearWatchee() {
if (watcheeBuilder_ == null) {
watchee_ = null;
onChanged();
} else {
watcheeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .ActorRef watchee = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getWatcheeBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getWatcheeFieldBuilder().getBuilder();
}
/**
* required .ActorRef watchee = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcheeOrBuilder() {
if (watcheeBuilder_ != null) {
return watcheeBuilder_.getMessageOrBuilder();
} else {
return watchee_ == null ?
org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watchee_;
}
}
/**
* required .ActorRef watchee = 1;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>
getWatcheeFieldBuilder() {
if (watcheeBuilder_ == null) {
watcheeBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>(
getWatchee(),
getParentForChildren(),
isClean());
watchee_ = null;
}
return watcheeBuilder_;
}
private org.apache.pekko.remote.ContainerFormats.ActorRef watcher_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder> watcherBuilder_;
/**
* required .ActorRef watcher = 2;
* @return Whether the watcher field is set.
*/
public boolean hasWatcher() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required .ActorRef watcher = 2;
* @return The watcher.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getWatcher() {
if (watcherBuilder_ == null) {
return watcher_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watcher_;
} else {
return watcherBuilder_.getMessage();
}
}
/**
* required .ActorRef watcher = 2;
*/
public Builder setWatcher(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (watcherBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
watcher_ = value;
onChanged();
} else {
watcherBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .ActorRef watcher = 2;
*/
public Builder setWatcher(
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) {
if (watcherBuilder_ == null) {
watcher_ = builderForValue.build();
onChanged();
} else {
watcherBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .ActorRef watcher = 2;
*/
public Builder mergeWatcher(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (watcherBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
watcher_ != null &&
watcher_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) {
watcher_ =
org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(watcher_).mergeFrom(value).buildPartial();
} else {
watcher_ = value;
}
onChanged();
} else {
watcherBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .ActorRef watcher = 2;
*/
public Builder clearWatcher() {
if (watcherBuilder_ == null) {
watcher_ = null;
onChanged();
} else {
watcherBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .ActorRef watcher = 2;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getWatcherBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getWatcherFieldBuilder().getBuilder();
}
/**
* required .ActorRef watcher = 2;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getWatcherOrBuilder() {
if (watcherBuilder_ != null) {
return watcherBuilder_.getMessageOrBuilder();
} else {
return watcher_ == null ?
org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : watcher_;
}
}
/**
* required .ActorRef watcher = 2;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>
getWatcherFieldBuilder() {
if (watcherBuilder_ == null) {
watcherBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>(
getWatcher(),
getParentForChildren(),
isClean());
watcher_ = null;
}
return watcherBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:WatchData)
}
// @@protoc_insertion_point(class_scope:WatchData)
private static final org.apache.pekko.remote.SystemMessageFormats.WatchData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.pekko.remote.SystemMessageFormats.WatchData();
}
public static org.apache.pekko.remote.SystemMessageFormats.WatchData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser
PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser() {
@java.lang.Override
public WatchData parsePartialFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return new WatchData(input, extensionRegistry);
}
};
public static org.apache.pekko.protobufv3.internal.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.WatchData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SuperviseDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:SuperviseData)
org.apache.pekko.protobufv3.internal.MessageOrBuilder {
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
boolean hasChild();
/**
* required .ActorRef child = 1;
* @return The child.
*/
org.apache.pekko.remote.ContainerFormats.ActorRef getChild();
/**
* required .ActorRef child = 1;
*/
org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder();
/**
* required bool async = 2;
* @return Whether the async field is set.
*/
boolean hasAsync();
/**
* required bool async = 2;
* @return The async.
*/
boolean getAsync();
}
/**
* Protobuf type {@code SuperviseData}
*/
public static final class SuperviseData extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SuperviseData)
SuperviseDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use SuperviseData.newBuilder() to construct.
private SuperviseData(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SuperviseData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) {
return new SuperviseData();
}
@java.lang.Override
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SuperviseData(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.pekko.protobufv3.internal.UnknownFieldSet.Builder unknownFields =
org.apache.pekko.protobufv3.internal.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = child_.toBuilder();
}
child_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(child_);
child_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
async_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SuperviseData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SuperviseData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.class, org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder.class);
}
private int bitField0_;
public static final int CHILD_FIELD_NUMBER = 1;
private org.apache.pekko.remote.ContainerFormats.ActorRef child_;
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
public boolean hasChild() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef child = 1;
* @return The child.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getChild() {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder() {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
public static final int ASYNC_FIELD_NUMBER = 2;
private boolean async_;
/**
* required bool async = 2;
* @return Whether the async field is set.
*/
public boolean hasAsync() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required bool async = 2;
* @return The async.
*/
public boolean getAsync() {
return async_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasChild()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAsync()) {
memoizedIsInitialized = 0;
return false;
}
if (!getChild().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getChild());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, async_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(1, getChild());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeBoolSize(2, async_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.pekko.remote.SystemMessageFormats.SuperviseData)) {
return super.equals(obj);
}
org.apache.pekko.remote.SystemMessageFormats.SuperviseData other = (org.apache.pekko.remote.SystemMessageFormats.SuperviseData) obj;
if (hasChild() != other.hasChild()) return false;
if (hasChild()) {
if (!getChild()
.equals(other.getChild())) return false;
}
if (hasAsync() != other.hasAsync()) return false;
if (hasAsync()) {
if (getAsync()
!= other.getAsync()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasChild()) {
hash = (37 * hash) + CHILD_FIELD_NUMBER;
hash = (53 * hash) + getChild().hashCode();
}
if (hasAsync()) {
hash = (37 * hash) + ASYNC_FIELD_NUMBER;
hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(
getAsync());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
java.nio.ByteBuffer data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
java.nio.ByteBuffer data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(byte[] data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
byte[] data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseDelimitedFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.pekko.remote.SystemMessageFormats.SuperviseData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code SuperviseData}
*/
public static final class Builder extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SuperviseData)
org.apache.pekko.remote.SystemMessageFormats.SuperviseDataOrBuilder {
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SuperviseData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SuperviseData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.SuperviseData.class, org.apache.pekko.remote.SystemMessageFormats.SuperviseData.Builder.class);
}
// Construct using org.apache.pekko.remote.SystemMessageFormats.SuperviseData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChildFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (childBuilder_ == null) {
child_ = null;
} else {
childBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
async_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_SuperviseData_descriptor;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData getDefaultInstanceForType() {
return org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance();
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData build() {
org.apache.pekko.remote.SystemMessageFormats.SuperviseData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData buildPartial() {
org.apache.pekko.remote.SystemMessageFormats.SuperviseData result = new org.apache.pekko.remote.SystemMessageFormats.SuperviseData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (childBuilder_ == null) {
result.child_ = child_;
} else {
result.child_ = childBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.async_ = async_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
if (other instanceof org.apache.pekko.remote.SystemMessageFormats.SuperviseData) {
return mergeFrom((org.apache.pekko.remote.SystemMessageFormats.SuperviseData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.pekko.remote.SystemMessageFormats.SuperviseData other) {
if (other == org.apache.pekko.remote.SystemMessageFormats.SuperviseData.getDefaultInstance()) return this;
if (other.hasChild()) {
mergeChild(other.getChild());
}
if (other.hasAsync()) {
setAsync(other.getAsync());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasChild()) {
return false;
}
if (!hasAsync()) {
return false;
}
if (!getChild().isInitialized()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.pekko.remote.SystemMessageFormats.SuperviseData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.pekko.remote.SystemMessageFormats.SuperviseData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.apache.pekko.remote.ContainerFormats.ActorRef child_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder> childBuilder_;
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
public boolean hasChild() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef child = 1;
* @return The child.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getChild() {
if (childBuilder_ == null) {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
} else {
return childBuilder_.getMessage();
}
}
/**
* required .ActorRef child = 1;
*/
public Builder setChild(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (childBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
child_ = value;
onChanged();
} else {
childBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder setChild(
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) {
if (childBuilder_ == null) {
child_ = builderForValue.build();
onChanged();
} else {
childBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder mergeChild(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (childBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
child_ != null &&
child_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) {
child_ =
org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(child_).mergeFrom(value).buildPartial();
} else {
child_ = value;
}
onChanged();
} else {
childBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder clearChild() {
if (childBuilder_ == null) {
child_ = null;
onChanged();
} else {
childBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getChildBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getChildFieldBuilder().getBuilder();
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder() {
if (childBuilder_ != null) {
return childBuilder_.getMessageOrBuilder();
} else {
return child_ == null ?
org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
}
/**
* required .ActorRef child = 1;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>
getChildFieldBuilder() {
if (childBuilder_ == null) {
childBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>(
getChild(),
getParentForChildren(),
isClean());
child_ = null;
}
return childBuilder_;
}
private boolean async_ ;
/**
* required bool async = 2;
* @return Whether the async field is set.
*/
public boolean hasAsync() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required bool async = 2;
* @return The async.
*/
public boolean getAsync() {
return async_;
}
/**
* required bool async = 2;
* @param value The async to set.
* @return This builder for chaining.
*/
public Builder setAsync(boolean value) {
bitField0_ |= 0x00000002;
async_ = value;
onChanged();
return this;
}
/**
* required bool async = 2;
* @return This builder for chaining.
*/
public Builder clearAsync() {
bitField0_ = (bitField0_ & ~0x00000002);
async_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:SuperviseData)
}
// @@protoc_insertion_point(class_scope:SuperviseData)
private static final org.apache.pekko.remote.SystemMessageFormats.SuperviseData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.pekko.remote.SystemMessageFormats.SuperviseData();
}
public static org.apache.pekko.remote.SystemMessageFormats.SuperviseData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser
PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser() {
@java.lang.Override
public SuperviseData parsePartialFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return new SuperviseData(input, extensionRegistry);
}
};
public static org.apache.pekko.protobufv3.internal.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.SuperviseData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FailedDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:FailedData)
org.apache.pekko.protobufv3.internal.MessageOrBuilder {
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
boolean hasChild();
/**
* required .ActorRef child = 1;
* @return The child.
*/
org.apache.pekko.remote.ContainerFormats.ActorRef getChild();
/**
* required .ActorRef child = 1;
*/
org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder();
/**
* required uint64 uid = 2;
* @return Whether the uid field is set.
*/
boolean hasUid();
/**
* required uint64 uid = 2;
* @return The uid.
*/
long getUid();
}
/**
* Protobuf type {@code FailedData}
*/
public static final class FailedData extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FailedData)
FailedDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use FailedData.newBuilder() to construct.
private FailedData(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FailedData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) {
return new FailedData();
}
@java.lang.Override
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FailedData(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.pekko.protobufv3.internal.UnknownFieldSet.Builder unknownFields =
org.apache.pekko.protobufv3.internal.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = child_.toBuilder();
}
child_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(child_);
child_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
uid_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_FailedData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_FailedData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.FailedData.class, org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder.class);
}
private int bitField0_;
public static final int CHILD_FIELD_NUMBER = 1;
private org.apache.pekko.remote.ContainerFormats.ActorRef child_;
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
public boolean hasChild() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef child = 1;
* @return The child.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getChild() {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder() {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
public static final int UID_FIELD_NUMBER = 2;
private long uid_;
/**
* required uint64 uid = 2;
* @return Whether the uid field is set.
*/
public boolean hasUid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required uint64 uid = 2;
* @return The uid.
*/
public long getUid() {
return uid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasChild()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasUid()) {
memoizedIsInitialized = 0;
return false;
}
if (!getChild().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getChild());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, uid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(1, getChild());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeUInt64Size(2, uid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.pekko.remote.SystemMessageFormats.FailedData)) {
return super.equals(obj);
}
org.apache.pekko.remote.SystemMessageFormats.FailedData other = (org.apache.pekko.remote.SystemMessageFormats.FailedData) obj;
if (hasChild() != other.hasChild()) return false;
if (hasChild()) {
if (!getChild()
.equals(other.getChild())) return false;
}
if (hasUid() != other.hasUid()) return false;
if (hasUid()) {
if (getUid()
!= other.getUid()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasChild()) {
hash = (37 * hash) + CHILD_FIELD_NUMBER;
hash = (53 * hash) + getChild().hashCode();
}
if (hasUid()) {
hash = (37 * hash) + UID_FIELD_NUMBER;
hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(
getUid());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
java.nio.ByteBuffer data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
java.nio.ByteBuffer data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(byte[] data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
byte[] data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseDelimitedFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.pekko.remote.SystemMessageFormats.FailedData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FailedData}
*/
public static final class Builder extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:FailedData)
org.apache.pekko.remote.SystemMessageFormats.FailedDataOrBuilder {
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_FailedData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_FailedData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.FailedData.class, org.apache.pekko.remote.SystemMessageFormats.FailedData.Builder.class);
}
// Construct using org.apache.pekko.remote.SystemMessageFormats.FailedData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChildFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (childBuilder_ == null) {
child_ = null;
} else {
childBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
uid_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_FailedData_descriptor;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.FailedData getDefaultInstanceForType() {
return org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance();
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.FailedData build() {
org.apache.pekko.remote.SystemMessageFormats.FailedData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.FailedData buildPartial() {
org.apache.pekko.remote.SystemMessageFormats.FailedData result = new org.apache.pekko.remote.SystemMessageFormats.FailedData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (childBuilder_ == null) {
result.child_ = child_;
} else {
result.child_ = childBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.uid_ = uid_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
if (other instanceof org.apache.pekko.remote.SystemMessageFormats.FailedData) {
return mergeFrom((org.apache.pekko.remote.SystemMessageFormats.FailedData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.pekko.remote.SystemMessageFormats.FailedData other) {
if (other == org.apache.pekko.remote.SystemMessageFormats.FailedData.getDefaultInstance()) return this;
if (other.hasChild()) {
mergeChild(other.getChild());
}
if (other.hasUid()) {
setUid(other.getUid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasChild()) {
return false;
}
if (!hasUid()) {
return false;
}
if (!getChild().isInitialized()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.pekko.remote.SystemMessageFormats.FailedData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.pekko.remote.SystemMessageFormats.FailedData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.apache.pekko.remote.ContainerFormats.ActorRef child_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder> childBuilder_;
/**
* required .ActorRef child = 1;
* @return Whether the child field is set.
*/
public boolean hasChild() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef child = 1;
* @return The child.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getChild() {
if (childBuilder_ == null) {
return child_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
} else {
return childBuilder_.getMessage();
}
}
/**
* required .ActorRef child = 1;
*/
public Builder setChild(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (childBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
child_ = value;
onChanged();
} else {
childBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder setChild(
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) {
if (childBuilder_ == null) {
child_ = builderForValue.build();
onChanged();
} else {
childBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder mergeChild(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (childBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
child_ != null &&
child_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) {
child_ =
org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(child_).mergeFrom(value).buildPartial();
} else {
child_ = value;
}
onChanged();
} else {
childBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef child = 1;
*/
public Builder clearChild() {
if (childBuilder_ == null) {
child_ = null;
onChanged();
} else {
childBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getChildBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getChildFieldBuilder().getBuilder();
}
/**
* required .ActorRef child = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getChildOrBuilder() {
if (childBuilder_ != null) {
return childBuilder_.getMessageOrBuilder();
} else {
return child_ == null ?
org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : child_;
}
}
/**
* required .ActorRef child = 1;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>
getChildFieldBuilder() {
if (childBuilder_ == null) {
childBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>(
getChild(),
getParentForChildren(),
isClean());
child_ = null;
}
return childBuilder_;
}
private long uid_ ;
/**
* required uint64 uid = 2;
* @return Whether the uid field is set.
*/
public boolean hasUid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required uint64 uid = 2;
* @return The uid.
*/
public long getUid() {
return uid_;
}
/**
* required uint64 uid = 2;
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(long value) {
bitField0_ |= 0x00000002;
uid_ = value;
onChanged();
return this;
}
/**
* required uint64 uid = 2;
* @return This builder for chaining.
*/
public Builder clearUid() {
bitField0_ = (bitField0_ & ~0x00000002);
uid_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FailedData)
}
// @@protoc_insertion_point(class_scope:FailedData)
private static final org.apache.pekko.remote.SystemMessageFormats.FailedData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.pekko.remote.SystemMessageFormats.FailedData();
}
public static org.apache.pekko.remote.SystemMessageFormats.FailedData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser
PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser() {
@java.lang.Override
public FailedData parsePartialFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return new FailedData(input, extensionRegistry);
}
};
public static org.apache.pekko.protobufv3.internal.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.FailedData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeathWatchNotificationDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:DeathWatchNotificationData)
org.apache.pekko.protobufv3.internal.MessageOrBuilder {
/**
* required .ActorRef actor = 1;
* @return Whether the actor field is set.
*/
boolean hasActor();
/**
* required .ActorRef actor = 1;
* @return The actor.
*/
org.apache.pekko.remote.ContainerFormats.ActorRef getActor();
/**
* required .ActorRef actor = 1;
*/
org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getActorOrBuilder();
/**
* required bool existenceConfirmed = 2;
* @return Whether the existenceConfirmed field is set.
*/
boolean hasExistenceConfirmed();
/**
* required bool existenceConfirmed = 2;
* @return The existenceConfirmed.
*/
boolean getExistenceConfirmed();
/**
* required bool addressTerminated = 3;
* @return Whether the addressTerminated field is set.
*/
boolean hasAddressTerminated();
/**
* required bool addressTerminated = 3;
* @return The addressTerminated.
*/
boolean getAddressTerminated();
}
/**
* Protobuf type {@code DeathWatchNotificationData}
*/
public static final class DeathWatchNotificationData extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DeathWatchNotificationData)
DeathWatchNotificationDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeathWatchNotificationData.newBuilder() to construct.
private DeathWatchNotificationData(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeathWatchNotificationData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) {
return new DeathWatchNotificationData();
}
@java.lang.Override
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeathWatchNotificationData(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.pekko.protobufv3.internal.UnknownFieldSet.Builder unknownFields =
org.apache.pekko.protobufv3.internal.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = actor_.toBuilder();
}
actor_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(actor_);
actor_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
existenceConfirmed_ = input.readBool();
break;
}
case 24: {
bitField0_ |= 0x00000004;
addressTerminated_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_DeathWatchNotificationData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_DeathWatchNotificationData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.class, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder.class);
}
private int bitField0_;
public static final int ACTOR_FIELD_NUMBER = 1;
private org.apache.pekko.remote.ContainerFormats.ActorRef actor_;
/**
* required .ActorRef actor = 1;
* @return Whether the actor field is set.
*/
public boolean hasActor() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef actor = 1;
* @return The actor.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getActor() {
return actor_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : actor_;
}
/**
* required .ActorRef actor = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getActorOrBuilder() {
return actor_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : actor_;
}
public static final int EXISTENCECONFIRMED_FIELD_NUMBER = 2;
private boolean existenceConfirmed_;
/**
* required bool existenceConfirmed = 2;
* @return Whether the existenceConfirmed field is set.
*/
public boolean hasExistenceConfirmed() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required bool existenceConfirmed = 2;
* @return The existenceConfirmed.
*/
public boolean getExistenceConfirmed() {
return existenceConfirmed_;
}
public static final int ADDRESSTERMINATED_FIELD_NUMBER = 3;
private boolean addressTerminated_;
/**
* required bool addressTerminated = 3;
* @return Whether the addressTerminated field is set.
*/
public boolean hasAddressTerminated() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* required bool addressTerminated = 3;
* @return The addressTerminated.
*/
public boolean getAddressTerminated() {
return addressTerminated_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasActor()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasExistenceConfirmed()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAddressTerminated()) {
memoizedIsInitialized = 0;
return false;
}
if (!getActor().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getActor());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, existenceConfirmed_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, addressTerminated_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeMessageSize(1, getActor());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeBoolSize(2, existenceConfirmed_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += org.apache.pekko.protobufv3.internal.CodedOutputStream
.computeBoolSize(3, addressTerminated_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData)) {
return super.equals(obj);
}
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData other = (org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData) obj;
if (hasActor() != other.hasActor()) return false;
if (hasActor()) {
if (!getActor()
.equals(other.getActor())) return false;
}
if (hasExistenceConfirmed() != other.hasExistenceConfirmed()) return false;
if (hasExistenceConfirmed()) {
if (getExistenceConfirmed()
!= other.getExistenceConfirmed()) return false;
}
if (hasAddressTerminated() != other.hasAddressTerminated()) return false;
if (hasAddressTerminated()) {
if (getAddressTerminated()
!= other.getAddressTerminated()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasActor()) {
hash = (37 * hash) + ACTOR_FIELD_NUMBER;
hash = (53 * hash) + getActor().hashCode();
}
if (hasExistenceConfirmed()) {
hash = (37 * hash) + EXISTENCECONFIRMED_FIELD_NUMBER;
hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(
getExistenceConfirmed());
}
if (hasAddressTerminated()) {
hash = (37 * hash) + ADDRESSTERMINATED_FIELD_NUMBER;
hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(
getAddressTerminated());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
java.nio.ByteBuffer data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
java.nio.ByteBuffer data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
org.apache.pekko.protobufv3.internal.ByteString data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(byte[] data)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
byte[] data,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseDelimitedFrom(
java.io.InputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parseFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DeathWatchNotificationData}
*/
public static final class Builder extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DeathWatchNotificationData)
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationDataOrBuilder {
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_DeathWatchNotificationData_descriptor;
}
@java.lang.Override
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_DeathWatchNotificationData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.class, org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.Builder.class);
}
// Construct using org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.pekko.protobufv3.internal.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getActorFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (actorBuilder_ == null) {
actor_ = null;
} else {
actorBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
existenceConfirmed_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
addressTerminated_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.pekko.remote.SystemMessageFormats.internal_static_DeathWatchNotificationData_descriptor;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDefaultInstanceForType() {
return org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance();
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData build() {
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData buildPartial() {
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData result = new org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (actorBuilder_ == null) {
result.actor_ = actor_;
} else {
result.actor_ = actorBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.existenceConfirmed_ = existenceConfirmed_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.addressTerminated_ = addressTerminated_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
if (other instanceof org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData) {
return mergeFrom((org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData other) {
if (other == org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance()) return this;
if (other.hasActor()) {
mergeActor(other.getActor());
}
if (other.hasExistenceConfirmed()) {
setExistenceConfirmed(other.getExistenceConfirmed());
}
if (other.hasAddressTerminated()) {
setAddressTerminated(other.getAddressTerminated());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasActor()) {
return false;
}
if (!hasExistenceConfirmed()) {
return false;
}
if (!hasAddressTerminated()) {
return false;
}
if (!getActor().isInitialized()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.apache.pekko.remote.ContainerFormats.ActorRef actor_;
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder> actorBuilder_;
/**
* required .ActorRef actor = 1;
* @return Whether the actor field is set.
*/
public boolean hasActor() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .ActorRef actor = 1;
* @return The actor.
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef getActor() {
if (actorBuilder_ == null) {
return actor_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : actor_;
} else {
return actorBuilder_.getMessage();
}
}
/**
* required .ActorRef actor = 1;
*/
public Builder setActor(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (actorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
actor_ = value;
onChanged();
} else {
actorBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef actor = 1;
*/
public Builder setActor(
org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) {
if (actorBuilder_ == null) {
actor_ = builderForValue.build();
onChanged();
} else {
actorBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef actor = 1;
*/
public Builder mergeActor(org.apache.pekko.remote.ContainerFormats.ActorRef value) {
if (actorBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
actor_ != null &&
actor_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) {
actor_ =
org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(actor_).mergeFrom(value).buildPartial();
} else {
actor_ = value;
}
onChanged();
} else {
actorBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .ActorRef actor = 1;
*/
public Builder clearActor() {
if (actorBuilder_ == null) {
actor_ = null;
onChanged();
} else {
actorBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .ActorRef actor = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getActorBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getActorFieldBuilder().getBuilder();
}
/**
* required .ActorRef actor = 1;
*/
public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getActorOrBuilder() {
if (actorBuilder_ != null) {
return actorBuilder_.getMessageOrBuilder();
} else {
return actor_ == null ?
org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : actor_;
}
}
/**
* required .ActorRef actor = 1;
*/
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>
getActorFieldBuilder() {
if (actorBuilder_ == null) {
actorBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.remote.ContainerFormats.ActorRef, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder, org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder>(
getActor(),
getParentForChildren(),
isClean());
actor_ = null;
}
return actorBuilder_;
}
private boolean existenceConfirmed_ ;
/**
* required bool existenceConfirmed = 2;
* @return Whether the existenceConfirmed field is set.
*/
public boolean hasExistenceConfirmed() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required bool existenceConfirmed = 2;
* @return The existenceConfirmed.
*/
public boolean getExistenceConfirmed() {
return existenceConfirmed_;
}
/**
* required bool existenceConfirmed = 2;
* @param value The existenceConfirmed to set.
* @return This builder for chaining.
*/
public Builder setExistenceConfirmed(boolean value) {
bitField0_ |= 0x00000002;
existenceConfirmed_ = value;
onChanged();
return this;
}
/**
* required bool existenceConfirmed = 2;
* @return This builder for chaining.
*/
public Builder clearExistenceConfirmed() {
bitField0_ = (bitField0_ & ~0x00000002);
existenceConfirmed_ = false;
onChanged();
return this;
}
private boolean addressTerminated_ ;
/**
* required bool addressTerminated = 3;
* @return Whether the addressTerminated field is set.
*/
public boolean hasAddressTerminated() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* required bool addressTerminated = 3;
* @return The addressTerminated.
*/
public boolean getAddressTerminated() {
return addressTerminated_;
}
/**
* required bool addressTerminated = 3;
* @param value The addressTerminated to set.
* @return This builder for chaining.
*/
public Builder setAddressTerminated(boolean value) {
bitField0_ |= 0x00000004;
addressTerminated_ = value;
onChanged();
return this;
}
/**
* required bool addressTerminated = 3;
* @return This builder for chaining.
*/
public Builder clearAddressTerminated() {
bitField0_ = (bitField0_ & ~0x00000004);
addressTerminated_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DeathWatchNotificationData)
}
// @@protoc_insertion_point(class_scope:DeathWatchNotificationData)
private static final org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData();
}
public static org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser
PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser() {
@java.lang.Override
public DeathWatchNotificationData parsePartialFrom(
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
return new DeathWatchNotificationData(input, extensionRegistry);
}
};
public static org.apache.pekko.protobufv3.internal.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.protobufv3.internal.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
internal_static_SystemMessage_descriptor;
private static final
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internal_static_SystemMessage_fieldAccessorTable;
private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
internal_static_WatchData_descriptor;
private static final
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internal_static_WatchData_fieldAccessorTable;
private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
internal_static_SuperviseData_descriptor;
private static final
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internal_static_SuperviseData_fieldAccessorTable;
private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
internal_static_FailedData_descriptor;
private static final
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internal_static_FailedData_fieldAccessorTable;
private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
internal_static_DeathWatchNotificationData_descriptor;
private static final
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internal_static_DeathWatchNotificationData_fieldAccessorTable;
public static org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032SystemMessageFormats.proto\032\026ContainerF" +
"ormats.proto\"\212\003\n\rSystemMessage\022!\n\004type\030\001" +
" \002(\0162\023.SystemMessage.Type\022\035\n\twatchData\030\002" +
" \001(\0132\n.WatchData\022\033\n\tcauseData\030\003 \001(\0132\010.Pa" +
"yload\022%\n\rsuperviseData\030\005 \001(\0132\016.Supervise" +
"Data\022\037\n\nfailedData\030\006 \001(\0132\013.FailedData\0227\n" +
"\022dwNotificationData\030\007 \001(\0132\033.DeathWatchNo" +
"tificationData\"\230\001\n\004Type\022\n\n\006CREATE\020\000\022\014\n\010R" +
"ECREATE\020\001\022\013\n\007SUSPEND\020\002\022\n\n\006RESUME\020\003\022\r\n\tTE" +
"RMINATE\020\004\022\r\n\tSUPERVISE\020\005\022\t\n\005WATCH\020\006\022\013\n\007U" +
"NWATCH\020\007\022\n\n\006FAILED\020\010\022\033\n\027DEATHWATCH_NOTIF" +
"ICATION\020\t\"C\n\tWatchData\022\032\n\007watchee\030\001 \002(\0132" +
"\t.ActorRef\022\032\n\007watcher\030\002 \002(\0132\t.ActorRef\"8" +
"\n\rSuperviseData\022\030\n\005child\030\001 \002(\0132\t.ActorRe" +
"f\022\r\n\005async\030\002 \002(\010\"3\n\nFailedData\022\030\n\005child\030" +
"\001 \002(\0132\t.ActorRef\022\013\n\003uid\030\002 \002(\004\"m\n\032DeathWa" +
"tchNotificationData\022\030\n\005actor\030\001 \002(\0132\t.Act" +
"orRef\022\032\n\022existenceConfirmed\030\002 \002(\010\022\031\n\021add" +
"ressTerminated\030\003 \002(\010B\033\n\027org.apache.pekko" +
".remoteH\001"
};
descriptor = org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor[] {
org.apache.pekko.remote.ContainerFormats.getDescriptor(),
});
internal_static_SystemMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_SystemMessage_fieldAccessorTable = new
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable(
internal_static_SystemMessage_descriptor,
new java.lang.String[] { "Type", "WatchData", "CauseData", "SuperviseData", "FailedData", "DwNotificationData", });
internal_static_WatchData_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_WatchData_fieldAccessorTable = new
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable(
internal_static_WatchData_descriptor,
new java.lang.String[] { "Watchee", "Watcher", });
internal_static_SuperviseData_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_SuperviseData_fieldAccessorTable = new
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable(
internal_static_SuperviseData_descriptor,
new java.lang.String[] { "Child", "Async", });
internal_static_FailedData_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_FailedData_fieldAccessorTable = new
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable(
internal_static_FailedData_descriptor,
new java.lang.String[] { "Child", "Uid", });
internal_static_DeathWatchNotificationData_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_DeathWatchNotificationData_fieldAccessorTable = new
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable(
internal_static_DeathWatchNotificationData_descriptor,
new java.lang.String[] { "Actor", "ExistenceConfirmed", "AddressTerminated", });
org.apache.pekko.remote.ContainerFormats.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy