All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.pekko.remote.ContainerFormats Maven / Gradle / Ivy

Go to download

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: ContainerFormats.proto

package org.apache.pekko.remote;

public final class ContainerFormats {
  private ContainerFormats() {}
  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);
  }
  /**
   * Protobuf enum {@code PatternType}
   */
  public enum PatternType
      implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum {
    /**
     * PARENT = 0;
     */
    PARENT(0),
    /**
     * CHILD_NAME = 1;
     */
    CHILD_NAME(1),
    /**
     * CHILD_PATTERN = 2;
     */
    CHILD_PATTERN(2),
    ;

    /**
     * PARENT = 0;
     */
    public static final int PARENT_VALUE = 0;
    /**
     * CHILD_NAME = 1;
     */
    public static final int CHILD_NAME_VALUE = 1;
    /**
     * CHILD_PATTERN = 2;
     */
    public static final int CHILD_PATTERN_VALUE = 2;


    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 PatternType 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 PatternType forNumber(int value) {
      switch (value) {
        case 0: return PARENT;
        case 1: return CHILD_NAME;
        case 2: return CHILD_PATTERN;
        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<
        PatternType> internalValueMap =
          new org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap() {
            public PatternType findValueByNumber(int number) {
              return PatternType.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.ContainerFormats.getDescriptor().getEnumTypes().get(0);
    }

    private static final PatternType[] VALUES = values();

    public static PatternType 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 PatternType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:PatternType)
  }

  public interface SelectionEnvelopeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:SelectionEnvelope)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * required bytes enclosedMessage = 1;
     * @return Whether the enclosedMessage field is set.
     */
    boolean hasEnclosedMessage();
    /**
     * required bytes enclosedMessage = 1;
     * @return The enclosedMessage.
     */
    org.apache.pekko.protobufv3.internal.ByteString getEnclosedMessage();

    /**
     * required int32 serializerId = 2;
     * @return Whether the serializerId field is set.
     */
    boolean hasSerializerId();
    /**
     * required int32 serializerId = 2;
     * @return The serializerId.
     */
    int getSerializerId();

    /**
     * repeated .Selection pattern = 3;
     */
    java.util.List 
        getPatternList();
    /**
     * repeated .Selection pattern = 3;
     */
    org.apache.pekko.remote.ContainerFormats.Selection getPattern(int index);
    /**
     * repeated .Selection pattern = 3;
     */
    int getPatternCount();
    /**
     * repeated .Selection pattern = 3;
     */
    java.util.List 
        getPatternOrBuilderList();
    /**
     * repeated .Selection pattern = 3;
     */
    org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder getPatternOrBuilder(
        int index);

    /**
     * optional bytes messageManifest = 4;
     * @return Whether the messageManifest field is set.
     */
    boolean hasMessageManifest();
    /**
     * optional bytes messageManifest = 4;
     * @return The messageManifest.
     */
    org.apache.pekko.protobufv3.internal.ByteString getMessageManifest();

    /**
     * 
     * optional for pre 2.3.4 compatibility 
     * 
* * optional bool wildcardFanOut = 5; * @return Whether the wildcardFanOut field is set. */ boolean hasWildcardFanOut(); /** *
     * optional for pre 2.3.4 compatibility 
     * 
* * optional bool wildcardFanOut = 5; * @return The wildcardFanOut. */ boolean getWildcardFanOut(); } /** * Protobuf type {@code SelectionEnvelope} */ public static final class SelectionEnvelope extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:SelectionEnvelope) SelectionEnvelopeOrBuilder { private static final long serialVersionUID = 0L; // Use SelectionEnvelope.newBuilder() to construct. private SelectionEnvelope(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private SelectionEnvelope() { enclosedMessage_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; pattern_ = java.util.Collections.emptyList(); messageManifest_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new SelectionEnvelope(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SelectionEnvelope( 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: { bitField0_ |= 0x00000001; enclosedMessage_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; serializerId_ = input.readInt32(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { pattern_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } pattern_.add( input.readMessage(org.apache.pekko.remote.ContainerFormats.Selection.PARSER, extensionRegistry)); break; } case 34: { bitField0_ |= 0x00000004; messageManifest_ = input.readBytes(); break; } case 40: { bitField0_ |= 0x00000008; wildcardFanOut_ = 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 { if (((mutable_bitField0_ & 0x00000004) != 0)) { pattern_ = java.util.Collections.unmodifiableList(pattern_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_SelectionEnvelope_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_SelectionEnvelope_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.class, org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.Builder.class); } private int bitField0_; public static final int ENCLOSEDMESSAGE_FIELD_NUMBER = 1; private org.apache.pekko.protobufv3.internal.ByteString enclosedMessage_; /** * required bytes enclosedMessage = 1; * @return Whether the enclosedMessage field is set. */ public boolean hasEnclosedMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes enclosedMessage = 1; * @return The enclosedMessage. */ public org.apache.pekko.protobufv3.internal.ByteString getEnclosedMessage() { return enclosedMessage_; } public static final int SERIALIZERID_FIELD_NUMBER = 2; private int serializerId_; /** * required int32 serializerId = 2; * @return Whether the serializerId field is set. */ public boolean hasSerializerId() { return ((bitField0_ & 0x00000002) != 0); } /** * required int32 serializerId = 2; * @return The serializerId. */ public int getSerializerId() { return serializerId_; } public static final int PATTERN_FIELD_NUMBER = 3; private java.util.List pattern_; /** * repeated .Selection pattern = 3; */ public java.util.List getPatternList() { return pattern_; } /** * repeated .Selection pattern = 3; */ public java.util.List getPatternOrBuilderList() { return pattern_; } /** * repeated .Selection pattern = 3; */ public int getPatternCount() { return pattern_.size(); } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.Selection getPattern(int index) { return pattern_.get(index); } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder getPatternOrBuilder( int index) { return pattern_.get(index); } public static final int MESSAGEMANIFEST_FIELD_NUMBER = 4; private org.apache.pekko.protobufv3.internal.ByteString messageManifest_; /** * optional bytes messageManifest = 4; * @return Whether the messageManifest field is set. */ public boolean hasMessageManifest() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes messageManifest = 4; * @return The messageManifest. */ public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest() { return messageManifest_; } public static final int WILDCARDFANOUT_FIELD_NUMBER = 5; private boolean wildcardFanOut_; /** *
     * optional for pre 2.3.4 compatibility 
     * 
* * optional bool wildcardFanOut = 5; * @return Whether the wildcardFanOut field is set. */ public boolean hasWildcardFanOut() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * optional for pre 2.3.4 compatibility 
     * 
* * optional bool wildcardFanOut = 5; * @return The wildcardFanOut. */ public boolean getWildcardFanOut() { return wildcardFanOut_; } 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 (!hasEnclosedMessage()) { memoizedIsInitialized = 0; return false; } if (!hasSerializerId()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getPatternCount(); i++) { if (!getPattern(i).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.writeBytes(1, enclosedMessage_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, serializerId_); } for (int i = 0; i < pattern_.size(); i++) { output.writeMessage(3, pattern_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(4, messageManifest_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(5, wildcardFanOut_); } 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 .computeBytesSize(1, enclosedMessage_); } if (((bitField0_ & 0x00000002) != 0)) { size += org.apache.pekko.protobufv3.internal.CodedOutputStream .computeInt32Size(2, serializerId_); } for (int i = 0; i < pattern_.size(); i++) { size += org.apache.pekko.protobufv3.internal.CodedOutputStream .computeMessageSize(3, pattern_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += org.apache.pekko.protobufv3.internal.CodedOutputStream .computeBytesSize(4, messageManifest_); } if (((bitField0_ & 0x00000008) != 0)) { size += org.apache.pekko.protobufv3.internal.CodedOutputStream .computeBoolSize(5, wildcardFanOut_); } 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.ContainerFormats.SelectionEnvelope)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.SelectionEnvelope other = (org.apache.pekko.remote.ContainerFormats.SelectionEnvelope) obj; if (hasEnclosedMessage() != other.hasEnclosedMessage()) return false; if (hasEnclosedMessage()) { if (!getEnclosedMessage() .equals(other.getEnclosedMessage())) return false; } if (hasSerializerId() != other.hasSerializerId()) return false; if (hasSerializerId()) { if (getSerializerId() != other.getSerializerId()) return false; } if (!getPatternList() .equals(other.getPatternList())) return false; if (hasMessageManifest() != other.hasMessageManifest()) return false; if (hasMessageManifest()) { if (!getMessageManifest() .equals(other.getMessageManifest())) return false; } if (hasWildcardFanOut() != other.hasWildcardFanOut()) return false; if (hasWildcardFanOut()) { if (getWildcardFanOut() != other.getWildcardFanOut()) 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 (hasEnclosedMessage()) { hash = (37 * hash) + ENCLOSEDMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getEnclosedMessage().hashCode(); } if (hasSerializerId()) { hash = (37 * hash) + SERIALIZERID_FIELD_NUMBER; hash = (53 * hash) + getSerializerId(); } if (getPatternCount() > 0) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPatternList().hashCode(); } if (hasMessageManifest()) { hash = (37 * hash) + MESSAGEMANIFEST_FIELD_NUMBER; hash = (53 * hash) + getMessageManifest().hashCode(); } if (hasWildcardFanOut()) { hash = (37 * hash) + WILDCARDFANOUT_FIELD_NUMBER; hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean( getWildcardFanOut()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.SelectionEnvelope parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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.ContainerFormats.SelectionEnvelope 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 SelectionEnvelope} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:SelectionEnvelope) org.apache.pekko.remote.ContainerFormats.SelectionEnvelopeOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_SelectionEnvelope_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_SelectionEnvelope_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.class, org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.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) { getPatternFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); enclosedMessage_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); serializerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); if (patternBuilder_ == null) { pattern_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { patternBuilder_.clear(); } messageManifest_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); wildcardFanOut_ = false; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_SelectionEnvelope_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.SelectionEnvelope getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.SelectionEnvelope build() { org.apache.pekko.remote.ContainerFormats.SelectionEnvelope result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.SelectionEnvelope buildPartial() { org.apache.pekko.remote.ContainerFormats.SelectionEnvelope result = new org.apache.pekko.remote.ContainerFormats.SelectionEnvelope(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.enclosedMessage_ = enclosedMessage_; if (((from_bitField0_ & 0x00000002) != 0)) { result.serializerId_ = serializerId_; to_bitField0_ |= 0x00000002; } if (patternBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { pattern_ = java.util.Collections.unmodifiableList(pattern_); bitField0_ = (bitField0_ & ~0x00000004); } result.pattern_ = pattern_; } else { result.pattern_ = patternBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000004; } result.messageManifest_ = messageManifest_; if (((from_bitField0_ & 0x00000010) != 0)) { result.wildcardFanOut_ = wildcardFanOut_; to_bitField0_ |= 0x00000008; } 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.ContainerFormats.SelectionEnvelope) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.SelectionEnvelope)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.SelectionEnvelope other) { if (other == org.apache.pekko.remote.ContainerFormats.SelectionEnvelope.getDefaultInstance()) return this; if (other.hasEnclosedMessage()) { setEnclosedMessage(other.getEnclosedMessage()); } if (other.hasSerializerId()) { setSerializerId(other.getSerializerId()); } if (patternBuilder_ == null) { if (!other.pattern_.isEmpty()) { if (pattern_.isEmpty()) { pattern_ = other.pattern_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePatternIsMutable(); pattern_.addAll(other.pattern_); } onChanged(); } } else { if (!other.pattern_.isEmpty()) { if (patternBuilder_.isEmpty()) { patternBuilder_.dispose(); patternBuilder_ = null; pattern_ = other.pattern_; bitField0_ = (bitField0_ & ~0x00000004); patternBuilder_ = org.apache.pekko.protobufv3.internal.GeneratedMessageV3.alwaysUseFieldBuilders ? getPatternFieldBuilder() : null; } else { patternBuilder_.addAllMessages(other.pattern_); } } } if (other.hasMessageManifest()) { setMessageManifest(other.getMessageManifest()); } if (other.hasWildcardFanOut()) { setWildcardFanOut(other.getWildcardFanOut()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasEnclosedMessage()) { return false; } if (!hasSerializerId()) { return false; } for (int i = 0; i < getPatternCount(); i++) { if (!getPattern(i).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.ContainerFormats.SelectionEnvelope parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.SelectionEnvelope) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.pekko.protobufv3.internal.ByteString enclosedMessage_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; /** * required bytes enclosedMessage = 1; * @return Whether the enclosedMessage field is set. */ public boolean hasEnclosedMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes enclosedMessage = 1; * @return The enclosedMessage. */ public org.apache.pekko.protobufv3.internal.ByteString getEnclosedMessage() { return enclosedMessage_; } /** * required bytes enclosedMessage = 1; * @param value The enclosedMessage to set. * @return This builder for chaining. */ public Builder setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; enclosedMessage_ = value; onChanged(); return this; } /** * required bytes enclosedMessage = 1; * @return This builder for chaining. */ public Builder clearEnclosedMessage() { bitField0_ = (bitField0_ & ~0x00000001); enclosedMessage_ = getDefaultInstance().getEnclosedMessage(); onChanged(); return this; } private int serializerId_ ; /** * required int32 serializerId = 2; * @return Whether the serializerId field is set. */ public boolean hasSerializerId() { return ((bitField0_ & 0x00000002) != 0); } /** * required int32 serializerId = 2; * @return The serializerId. */ public int getSerializerId() { return serializerId_; } /** * required int32 serializerId = 2; * @param value The serializerId to set. * @return This builder for chaining. */ public Builder setSerializerId(int value) { bitField0_ |= 0x00000002; serializerId_ = value; onChanged(); return this; } /** * required int32 serializerId = 2; * @return This builder for chaining. */ public Builder clearSerializerId() { bitField0_ = (bitField0_ & ~0x00000002); serializerId_ = 0; onChanged(); return this; } private java.util.List pattern_ = java.util.Collections.emptyList(); private void ensurePatternIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { pattern_ = new java.util.ArrayList(pattern_); bitField0_ |= 0x00000004; } } private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilderV3< org.apache.pekko.remote.ContainerFormats.Selection, org.apache.pekko.remote.ContainerFormats.Selection.Builder, org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder> patternBuilder_; /** * repeated .Selection pattern = 3; */ public java.util.List getPatternList() { if (patternBuilder_ == null) { return java.util.Collections.unmodifiableList(pattern_); } else { return patternBuilder_.getMessageList(); } } /** * repeated .Selection pattern = 3; */ public int getPatternCount() { if (patternBuilder_ == null) { return pattern_.size(); } else { return patternBuilder_.getCount(); } } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.Selection getPattern(int index) { if (patternBuilder_ == null) { return pattern_.get(index); } else { return patternBuilder_.getMessage(index); } } /** * repeated .Selection pattern = 3; */ public Builder setPattern( int index, org.apache.pekko.remote.ContainerFormats.Selection value) { if (patternBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternIsMutable(); pattern_.set(index, value); onChanged(); } else { patternBuilder_.setMessage(index, value); } return this; } /** * repeated .Selection pattern = 3; */ public Builder setPattern( int index, org.apache.pekko.remote.ContainerFormats.Selection.Builder builderForValue) { if (patternBuilder_ == null) { ensurePatternIsMutable(); pattern_.set(index, builderForValue.build()); onChanged(); } else { patternBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Selection pattern = 3; */ public Builder addPattern(org.apache.pekko.remote.ContainerFormats.Selection value) { if (patternBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternIsMutable(); pattern_.add(value); onChanged(); } else { patternBuilder_.addMessage(value); } return this; } /** * repeated .Selection pattern = 3; */ public Builder addPattern( int index, org.apache.pekko.remote.ContainerFormats.Selection value) { if (patternBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternIsMutable(); pattern_.add(index, value); onChanged(); } else { patternBuilder_.addMessage(index, value); } return this; } /** * repeated .Selection pattern = 3; */ public Builder addPattern( org.apache.pekko.remote.ContainerFormats.Selection.Builder builderForValue) { if (patternBuilder_ == null) { ensurePatternIsMutable(); pattern_.add(builderForValue.build()); onChanged(); } else { patternBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Selection pattern = 3; */ public Builder addPattern( int index, org.apache.pekko.remote.ContainerFormats.Selection.Builder builderForValue) { if (patternBuilder_ == null) { ensurePatternIsMutable(); pattern_.add(index, builderForValue.build()); onChanged(); } else { patternBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Selection pattern = 3; */ public Builder addAllPattern( java.lang.Iterable values) { if (patternBuilder_ == null) { ensurePatternIsMutable(); org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll( values, pattern_); onChanged(); } else { patternBuilder_.addAllMessages(values); } return this; } /** * repeated .Selection pattern = 3; */ public Builder clearPattern() { if (patternBuilder_ == null) { pattern_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { patternBuilder_.clear(); } return this; } /** * repeated .Selection pattern = 3; */ public Builder removePattern(int index) { if (patternBuilder_ == null) { ensurePatternIsMutable(); pattern_.remove(index); onChanged(); } else { patternBuilder_.remove(index); } return this; } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.Selection.Builder getPatternBuilder( int index) { return getPatternFieldBuilder().getBuilder(index); } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder getPatternOrBuilder( int index) { if (patternBuilder_ == null) { return pattern_.get(index); } else { return patternBuilder_.getMessageOrBuilder(index); } } /** * repeated .Selection pattern = 3; */ public java.util.List getPatternOrBuilderList() { if (patternBuilder_ != null) { return patternBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(pattern_); } } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.Selection.Builder addPatternBuilder() { return getPatternFieldBuilder().addBuilder( org.apache.pekko.remote.ContainerFormats.Selection.getDefaultInstance()); } /** * repeated .Selection pattern = 3; */ public org.apache.pekko.remote.ContainerFormats.Selection.Builder addPatternBuilder( int index) { return getPatternFieldBuilder().addBuilder( index, org.apache.pekko.remote.ContainerFormats.Selection.getDefaultInstance()); } /** * repeated .Selection pattern = 3; */ public java.util.List getPatternBuilderList() { return getPatternFieldBuilder().getBuilderList(); } private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilderV3< org.apache.pekko.remote.ContainerFormats.Selection, org.apache.pekko.remote.ContainerFormats.Selection.Builder, org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder> getPatternFieldBuilder() { if (patternBuilder_ == null) { patternBuilder_ = new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilderV3< org.apache.pekko.remote.ContainerFormats.Selection, org.apache.pekko.remote.ContainerFormats.Selection.Builder, org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder>( pattern_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); pattern_ = null; } return patternBuilder_; } private org.apache.pekko.protobufv3.internal.ByteString messageManifest_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY; /** * optional bytes messageManifest = 4; * @return Whether the messageManifest field is set. */ public boolean hasMessageManifest() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bytes messageManifest = 4; * @return The messageManifest. */ public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest() { return messageManifest_; } /** * optional bytes messageManifest = 4; * @param value The messageManifest to set. * @return This builder for chaining. */ public Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; messageManifest_ = value; onChanged(); return this; } /** * optional bytes messageManifest = 4; * @return This builder for chaining. */ public Builder clearMessageManifest() { bitField0_ = (bitField0_ & ~0x00000008); messageManifest_ = getDefaultInstance().getMessageManifest(); onChanged(); return this; } private boolean wildcardFanOut_ ; /** *
       * optional for pre 2.3.4 compatibility 
       * 
* * optional bool wildcardFanOut = 5; * @return Whether the wildcardFanOut field is set. */ public boolean hasWildcardFanOut() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * optional for pre 2.3.4 compatibility 
       * 
* * optional bool wildcardFanOut = 5; * @return The wildcardFanOut. */ public boolean getWildcardFanOut() { return wildcardFanOut_; } /** *
       * optional for pre 2.3.4 compatibility 
       * 
* * optional bool wildcardFanOut = 5; * @param value The wildcardFanOut to set. * @return This builder for chaining. */ public Builder setWildcardFanOut(boolean value) { bitField0_ |= 0x00000010; wildcardFanOut_ = value; onChanged(); return this; } /** *
       * optional for pre 2.3.4 compatibility 
       * 
* * optional bool wildcardFanOut = 5; * @return This builder for chaining. */ public Builder clearWildcardFanOut() { bitField0_ = (bitField0_ & ~0x00000010); wildcardFanOut_ = 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:SelectionEnvelope) } // @@protoc_insertion_point(class_scope:SelectionEnvelope) private static final org.apache.pekko.remote.ContainerFormats.SelectionEnvelope DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.SelectionEnvelope(); } public static org.apache.pekko.remote.ContainerFormats.SelectionEnvelope 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 SelectionEnvelope parsePartialFrom( org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return new SelectionEnvelope(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.ContainerFormats.SelectionEnvelope getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SelectionOrBuilder extends // @@protoc_insertion_point(interface_extends:Selection) org.apache.pekko.protobufv3.internal.MessageOrBuilder { /** * required .PatternType type = 1; * @return Whether the type field is set. */ boolean hasType(); /** * required .PatternType type = 1; * @return The type. */ org.apache.pekko.remote.ContainerFormats.PatternType getType(); /** * optional string matcher = 2; * @return Whether the matcher field is set. */ boolean hasMatcher(); /** * optional string matcher = 2; * @return The matcher. */ java.lang.String getMatcher(); /** * optional string matcher = 2; * @return The bytes for matcher. */ org.apache.pekko.protobufv3.internal.ByteString getMatcherBytes(); } /** * Protobuf type {@code Selection} */ public static final class Selection extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Selection) SelectionOrBuilder { private static final long serialVersionUID = 0L; // Use Selection.newBuilder() to construct. private Selection(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private Selection() { type_ = 0; matcher_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new Selection(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Selection( 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.ContainerFormats.PatternType value = org.apache.pekko.remote.ContainerFormats.PatternType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 18: { org.apache.pekko.protobufv3.internal.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; matcher_ = bs; 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.ContainerFormats.internal_static_Selection_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Selection_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Selection.class, org.apache.pekko.remote.ContainerFormats.Selection.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * required .PatternType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .PatternType type = 1; * @return The type. */ public org.apache.pekko.remote.ContainerFormats.PatternType getType() { @SuppressWarnings("deprecation") org.apache.pekko.remote.ContainerFormats.PatternType result = org.apache.pekko.remote.ContainerFormats.PatternType.valueOf(type_); return result == null ? org.apache.pekko.remote.ContainerFormats.PatternType.PARENT : result; } public static final int MATCHER_FIELD_NUMBER = 2; private volatile java.lang.Object matcher_; /** * optional string matcher = 2; * @return Whether the matcher field is set. */ public boolean hasMatcher() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string matcher = 2; * @return The matcher. */ public java.lang.String getMatcher() { java.lang.Object ref = matcher_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.apache.pekko.protobufv3.internal.ByteString bs = (org.apache.pekko.protobufv3.internal.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { matcher_ = s; } return s; } } /** * optional string matcher = 2; * @return The bytes for matcher. */ public org.apache.pekko.protobufv3.internal.ByteString getMatcherBytes() { java.lang.Object ref = matcher_; if (ref instanceof java.lang.String) { org.apache.pekko.protobufv3.internal.ByteString b = org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8( (java.lang.String) ref); matcher_ = b; return b; } else { return (org.apache.pekko.protobufv3.internal.ByteString) ref; } } 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; } 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)) { org.apache.pekko.protobufv3.internal.GeneratedMessageV3.writeString(output, 2, matcher_); } 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.GeneratedMessageV3.computeStringSize(2, matcher_); } 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.ContainerFormats.Selection)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.Selection other = (org.apache.pekko.remote.ContainerFormats.Selection) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasMatcher() != other.hasMatcher()) return false; if (hasMatcher()) { if (!getMatcher() .equals(other.getMatcher())) 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 (hasMatcher()) { hash = (37 * hash) + MATCHER_FIELD_NUMBER; hash = (53 * hash) + getMatcher().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.Selection parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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.ContainerFormats.Selection 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 Selection} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Selection) org.apache.pekko.remote.ContainerFormats.SelectionOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_Selection_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Selection_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Selection.class, org.apache.pekko.remote.ContainerFormats.Selection.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.Selection.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) { } } @java.lang.Override public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); matcher_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_Selection_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Selection getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.Selection.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Selection build() { org.apache.pekko.remote.ContainerFormats.Selection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Selection buildPartial() { org.apache.pekko.remote.ContainerFormats.Selection result = new org.apache.pekko.remote.ContainerFormats.Selection(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)) { to_bitField0_ |= 0x00000002; } result.matcher_ = matcher_; 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.ContainerFormats.Selection) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.Selection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.Selection other) { if (other == org.apache.pekko.remote.ContainerFormats.Selection.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasMatcher()) { bitField0_ |= 0x00000002; matcher_ = other.matcher_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasType()) { 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.ContainerFormats.Selection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.Selection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 0; /** * required .PatternType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .PatternType type = 1; * @return The type. */ public org.apache.pekko.remote.ContainerFormats.PatternType getType() { @SuppressWarnings("deprecation") org.apache.pekko.remote.ContainerFormats.PatternType result = org.apache.pekko.remote.ContainerFormats.PatternType.valueOf(type_); return result == null ? org.apache.pekko.remote.ContainerFormats.PatternType.PARENT : result; } /** * required .PatternType type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(org.apache.pekko.remote.ContainerFormats.PatternType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * required .PatternType type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private java.lang.Object matcher_ = ""; /** * optional string matcher = 2; * @return Whether the matcher field is set. */ public boolean hasMatcher() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string matcher = 2; * @return The matcher. */ public java.lang.String getMatcher() { java.lang.Object ref = matcher_; if (!(ref instanceof java.lang.String)) { org.apache.pekko.protobufv3.internal.ByteString bs = (org.apache.pekko.protobufv3.internal.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { matcher_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string matcher = 2; * @return The bytes for matcher. */ public org.apache.pekko.protobufv3.internal.ByteString getMatcherBytes() { java.lang.Object ref = matcher_; if (ref instanceof String) { org.apache.pekko.protobufv3.internal.ByteString b = org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8( (java.lang.String) ref); matcher_ = b; return b; } else { return (org.apache.pekko.protobufv3.internal.ByteString) ref; } } /** * optional string matcher = 2; * @param value The matcher to set. * @return This builder for chaining. */ public Builder setMatcher( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; matcher_ = value; onChanged(); return this; } /** * optional string matcher = 2; * @return This builder for chaining. */ public Builder clearMatcher() { bitField0_ = (bitField0_ & ~0x00000002); matcher_ = getDefaultInstance().getMatcher(); onChanged(); return this; } /** * optional string matcher = 2; * @param value The bytes for matcher to set. * @return This builder for chaining. */ public Builder setMatcherBytes( org.apache.pekko.protobufv3.internal.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; matcher_ = value; 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:Selection) } // @@protoc_insertion_point(class_scope:Selection) private static final org.apache.pekko.remote.ContainerFormats.Selection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.Selection(); } public static org.apache.pekko.remote.ContainerFormats.Selection 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 Selection parsePartialFrom( org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return new Selection(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.ContainerFormats.Selection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IdentifyOrBuilder extends // @@protoc_insertion_point(interface_extends:Identify) org.apache.pekko.protobufv3.internal.MessageOrBuilder { /** * required .Payload messageId = 1; * @return Whether the messageId field is set. */ boolean hasMessageId(); /** * required .Payload messageId = 1; * @return The messageId. */ org.apache.pekko.remote.ContainerFormats.Payload getMessageId(); /** * required .Payload messageId = 1; */ org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getMessageIdOrBuilder(); } /** * Protobuf type {@code Identify} */ public static final class Identify extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Identify) IdentifyOrBuilder { private static final long serialVersionUID = 0L; // Use Identify.newBuilder() to construct. private Identify(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private Identify() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new Identify(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Identify( 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.Payload.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = messageId_.toBuilder(); } messageId_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.Payload.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(messageId_); messageId_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.ContainerFormats.internal_static_Identify_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Identify_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Identify.class, org.apache.pekko.remote.ContainerFormats.Identify.Builder.class); } private int bitField0_; public static final int MESSAGEID_FIELD_NUMBER = 1; private org.apache.pekko.remote.ContainerFormats.Payload messageId_; /** * required .Payload messageId = 1; * @return Whether the messageId field is set. */ public boolean hasMessageId() { return ((bitField0_ & 0x00000001) != 0); } /** * required .Payload messageId = 1; * @return The messageId. */ public org.apache.pekko.remote.ContainerFormats.Payload getMessageId() { return messageId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : messageId_; } /** * required .Payload messageId = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getMessageIdOrBuilder() { return messageId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : messageId_; } 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 (!hasMessageId()) { memoizedIsInitialized = 0; return false; } if (!getMessageId().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, getMessageId()); } 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, getMessageId()); } 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.ContainerFormats.Identify)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.Identify other = (org.apache.pekko.remote.ContainerFormats.Identify) obj; if (hasMessageId() != other.hasMessageId()) return false; if (hasMessageId()) { if (!getMessageId() .equals(other.getMessageId())) 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 (hasMessageId()) { hash = (37 * hash) + MESSAGEID_FIELD_NUMBER; hash = (53 * hash) + getMessageId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.Identify parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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.ContainerFormats.Identify 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 Identify} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Identify) org.apache.pekko.remote.ContainerFormats.IdentifyOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_Identify_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Identify_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Identify.class, org.apache.pekko.remote.ContainerFormats.Identify.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.Identify.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) { getMessageIdFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (messageIdBuilder_ == null) { messageId_ = null; } else { messageIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_Identify_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Identify getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.Identify.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Identify build() { org.apache.pekko.remote.ContainerFormats.Identify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Identify buildPartial() { org.apache.pekko.remote.ContainerFormats.Identify result = new org.apache.pekko.remote.ContainerFormats.Identify(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (messageIdBuilder_ == null) { result.messageId_ = messageId_; } else { result.messageId_ = messageIdBuilder_.build(); } to_bitField0_ |= 0x00000001; } 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.ContainerFormats.Identify) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.Identify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.Identify other) { if (other == org.apache.pekko.remote.ContainerFormats.Identify.getDefaultInstance()) return this; if (other.hasMessageId()) { mergeMessageId(other.getMessageId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasMessageId()) { return false; } if (!getMessageId().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.ContainerFormats.Identify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.Identify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.pekko.remote.ContainerFormats.Payload messageId_; 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> messageIdBuilder_; /** * required .Payload messageId = 1; * @return Whether the messageId field is set. */ public boolean hasMessageId() { return ((bitField0_ & 0x00000001) != 0); } /** * required .Payload messageId = 1; * @return The messageId. */ public org.apache.pekko.remote.ContainerFormats.Payload getMessageId() { if (messageIdBuilder_ == null) { return messageId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : messageId_; } else { return messageIdBuilder_.getMessage(); } } /** * required .Payload messageId = 1; */ public Builder setMessageId(org.apache.pekko.remote.ContainerFormats.Payload value) { if (messageIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } messageId_ = value; onChanged(); } else { messageIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .Payload messageId = 1; */ public Builder setMessageId( org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) { if (messageIdBuilder_ == null) { messageId_ = builderForValue.build(); onChanged(); } else { messageIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .Payload messageId = 1; */ public Builder mergeMessageId(org.apache.pekko.remote.ContainerFormats.Payload value) { if (messageIdBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && messageId_ != null && messageId_ != org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()) { messageId_ = org.apache.pekko.remote.ContainerFormats.Payload.newBuilder(messageId_).mergeFrom(value).buildPartial(); } else { messageId_ = value; } onChanged(); } else { messageIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .Payload messageId = 1; */ public Builder clearMessageId() { if (messageIdBuilder_ == null) { messageId_ = null; onChanged(); } else { messageIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .Payload messageId = 1; */ public org.apache.pekko.remote.ContainerFormats.Payload.Builder getMessageIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMessageIdFieldBuilder().getBuilder(); } /** * required .Payload messageId = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getMessageIdOrBuilder() { if (messageIdBuilder_ != null) { return messageIdBuilder_.getMessageOrBuilder(); } else { return messageId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : messageId_; } } /** * required .Payload messageId = 1; */ 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> getMessageIdFieldBuilder() { if (messageIdBuilder_ == null) { messageIdBuilder_ = 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>( getMessageId(), getParentForChildren(), isClean()); messageId_ = null; } return messageIdBuilder_; } @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:Identify) } // @@protoc_insertion_point(class_scope:Identify) private static final org.apache.pekko.remote.ContainerFormats.Identify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.Identify(); } public static org.apache.pekko.remote.ContainerFormats.Identify 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 Identify parsePartialFrom( org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return new Identify(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.ContainerFormats.Identify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActorIdentityOrBuilder extends // @@protoc_insertion_point(interface_extends:ActorIdentity) org.apache.pekko.protobufv3.internal.MessageOrBuilder { /** * required .Payload correlationId = 1; * @return Whether the correlationId field is set. */ boolean hasCorrelationId(); /** * required .Payload correlationId = 1; * @return The correlationId. */ org.apache.pekko.remote.ContainerFormats.Payload getCorrelationId(); /** * required .Payload correlationId = 1; */ org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCorrelationIdOrBuilder(); /** * optional .ActorRef ref = 2; * @return Whether the ref field is set. */ boolean hasRef(); /** * optional .ActorRef ref = 2; * @return The ref. */ org.apache.pekko.remote.ContainerFormats.ActorRef getRef(); /** * optional .ActorRef ref = 2; */ org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getRefOrBuilder(); } /** * Protobuf type {@code ActorIdentity} */ public static final class ActorIdentity extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ActorIdentity) ActorIdentityOrBuilder { private static final long serialVersionUID = 0L; // Use ActorIdentity.newBuilder() to construct. private ActorIdentity(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private ActorIdentity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new ActorIdentity(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActorIdentity( 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.Payload.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = correlationId_.toBuilder(); } correlationId_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.Payload.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(correlationId_); correlationId_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.pekko.remote.ContainerFormats.ActorRef.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = ref_.toBuilder(); } ref_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.ActorRef.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ref_); ref_ = 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.ContainerFormats.internal_static_ActorIdentity_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorIdentity_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.ActorIdentity.class, org.apache.pekko.remote.ContainerFormats.ActorIdentity.Builder.class); } private int bitField0_; public static final int CORRELATIONID_FIELD_NUMBER = 1; private org.apache.pekko.remote.ContainerFormats.Payload correlationId_; /** * required .Payload correlationId = 1; * @return Whether the correlationId field is set. */ public boolean hasCorrelationId() { return ((bitField0_ & 0x00000001) != 0); } /** * required .Payload correlationId = 1; * @return The correlationId. */ public org.apache.pekko.remote.ContainerFormats.Payload getCorrelationId() { return correlationId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : correlationId_; } /** * required .Payload correlationId = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCorrelationIdOrBuilder() { return correlationId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : correlationId_; } public static final int REF_FIELD_NUMBER = 2; private org.apache.pekko.remote.ContainerFormats.ActorRef ref_; /** * optional .ActorRef ref = 2; * @return Whether the ref field is set. */ public boolean hasRef() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .ActorRef ref = 2; * @return The ref. */ public org.apache.pekko.remote.ContainerFormats.ActorRef getRef() { return ref_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : ref_; } /** * optional .ActorRef ref = 2; */ public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getRefOrBuilder() { return ref_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : ref_; } 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 (!hasCorrelationId()) { memoizedIsInitialized = 0; return false; } if (!getCorrelationId().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasRef()) { if (!getRef().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, getCorrelationId()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getRef()); } 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, getCorrelationId()); } if (((bitField0_ & 0x00000002) != 0)) { size += org.apache.pekko.protobufv3.internal.CodedOutputStream .computeMessageSize(2, getRef()); } 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.ContainerFormats.ActorIdentity)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.ActorIdentity other = (org.apache.pekko.remote.ContainerFormats.ActorIdentity) obj; if (hasCorrelationId() != other.hasCorrelationId()) return false; if (hasCorrelationId()) { if (!getCorrelationId() .equals(other.getCorrelationId())) return false; } if (hasRef() != other.hasRef()) return false; if (hasRef()) { if (!getRef() .equals(other.getRef())) 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 (hasCorrelationId()) { hash = (37 * hash) + CORRELATIONID_FIELD_NUMBER; hash = (53 * hash) + getCorrelationId().hashCode(); } if (hasRef()) { hash = (37 * hash) + REF_FIELD_NUMBER; hash = (53 * hash) + getRef().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.ActorIdentity parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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.ContainerFormats.ActorIdentity 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 ActorIdentity} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ActorIdentity) org.apache.pekko.remote.ContainerFormats.ActorIdentityOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorIdentity_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorIdentity_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.ActorIdentity.class, org.apache.pekko.remote.ContainerFormats.ActorIdentity.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.ActorIdentity.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) { getCorrelationIdFieldBuilder(); getRefFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (correlationIdBuilder_ == null) { correlationId_ = null; } else { correlationIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (refBuilder_ == null) { ref_ = null; } else { refBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorIdentity_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorIdentity getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.ActorIdentity.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorIdentity build() { org.apache.pekko.remote.ContainerFormats.ActorIdentity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorIdentity buildPartial() { org.apache.pekko.remote.ContainerFormats.ActorIdentity result = new org.apache.pekko.remote.ContainerFormats.ActorIdentity(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (correlationIdBuilder_ == null) { result.correlationId_ = correlationId_; } else { result.correlationId_ = correlationIdBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (refBuilder_ == null) { result.ref_ = ref_; } else { result.ref_ = refBuilder_.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.ContainerFormats.ActorIdentity) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.ActorIdentity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.ActorIdentity other) { if (other == org.apache.pekko.remote.ContainerFormats.ActorIdentity.getDefaultInstance()) return this; if (other.hasCorrelationId()) { mergeCorrelationId(other.getCorrelationId()); } if (other.hasRef()) { mergeRef(other.getRef()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasCorrelationId()) { return false; } if (!getCorrelationId().isInitialized()) { return false; } if (hasRef()) { if (!getRef().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.ContainerFormats.ActorIdentity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.ActorIdentity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.pekko.remote.ContainerFormats.Payload correlationId_; 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> correlationIdBuilder_; /** * required .Payload correlationId = 1; * @return Whether the correlationId field is set. */ public boolean hasCorrelationId() { return ((bitField0_ & 0x00000001) != 0); } /** * required .Payload correlationId = 1; * @return The correlationId. */ public org.apache.pekko.remote.ContainerFormats.Payload getCorrelationId() { if (correlationIdBuilder_ == null) { return correlationId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : correlationId_; } else { return correlationIdBuilder_.getMessage(); } } /** * required .Payload correlationId = 1; */ public Builder setCorrelationId(org.apache.pekko.remote.ContainerFormats.Payload value) { if (correlationIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } correlationId_ = value; onChanged(); } else { correlationIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .Payload correlationId = 1; */ public Builder setCorrelationId( org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) { if (correlationIdBuilder_ == null) { correlationId_ = builderForValue.build(); onChanged(); } else { correlationIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .Payload correlationId = 1; */ public Builder mergeCorrelationId(org.apache.pekko.remote.ContainerFormats.Payload value) { if (correlationIdBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && correlationId_ != null && correlationId_ != org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()) { correlationId_ = org.apache.pekko.remote.ContainerFormats.Payload.newBuilder(correlationId_).mergeFrom(value).buildPartial(); } else { correlationId_ = value; } onChanged(); } else { correlationIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .Payload correlationId = 1; */ public Builder clearCorrelationId() { if (correlationIdBuilder_ == null) { correlationId_ = null; onChanged(); } else { correlationIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .Payload correlationId = 1; */ public org.apache.pekko.remote.ContainerFormats.Payload.Builder getCorrelationIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCorrelationIdFieldBuilder().getBuilder(); } /** * required .Payload correlationId = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getCorrelationIdOrBuilder() { if (correlationIdBuilder_ != null) { return correlationIdBuilder_.getMessageOrBuilder(); } else { return correlationId_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : correlationId_; } } /** * required .Payload correlationId = 1; */ 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> getCorrelationIdFieldBuilder() { if (correlationIdBuilder_ == null) { correlationIdBuilder_ = 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>( getCorrelationId(), getParentForChildren(), isClean()); correlationId_ = null; } return correlationIdBuilder_; } private org.apache.pekko.remote.ContainerFormats.ActorRef ref_; 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> refBuilder_; /** * optional .ActorRef ref = 2; * @return Whether the ref field is set. */ public boolean hasRef() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .ActorRef ref = 2; * @return The ref. */ public org.apache.pekko.remote.ContainerFormats.ActorRef getRef() { if (refBuilder_ == null) { return ref_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : ref_; } else { return refBuilder_.getMessage(); } } /** * optional .ActorRef ref = 2; */ public Builder setRef(org.apache.pekko.remote.ContainerFormats.ActorRef value) { if (refBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ref_ = value; onChanged(); } else { refBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .ActorRef ref = 2; */ public Builder setRef( org.apache.pekko.remote.ContainerFormats.ActorRef.Builder builderForValue) { if (refBuilder_ == null) { ref_ = builderForValue.build(); onChanged(); } else { refBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .ActorRef ref = 2; */ public Builder mergeRef(org.apache.pekko.remote.ContainerFormats.ActorRef value) { if (refBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && ref_ != null && ref_ != org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) { ref_ = org.apache.pekko.remote.ContainerFormats.ActorRef.newBuilder(ref_).mergeFrom(value).buildPartial(); } else { ref_ = value; } onChanged(); } else { refBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .ActorRef ref = 2; */ public Builder clearRef() { if (refBuilder_ == null) { ref_ = null; onChanged(); } else { refBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .ActorRef ref = 2; */ public org.apache.pekko.remote.ContainerFormats.ActorRef.Builder getRefBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRefFieldBuilder().getBuilder(); } /** * optional .ActorRef ref = 2; */ public org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder getRefOrBuilder() { if (refBuilder_ != null) { return refBuilder_.getMessageOrBuilder(); } else { return ref_ == null ? org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance() : ref_; } } /** * optional .ActorRef ref = 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> getRefFieldBuilder() { if (refBuilder_ == null) { refBuilder_ = 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>( getRef(), getParentForChildren(), isClean()); ref_ = null; } return refBuilder_; } @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:ActorIdentity) } // @@protoc_insertion_point(class_scope:ActorIdentity) private static final org.apache.pekko.remote.ContainerFormats.ActorIdentity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.ActorIdentity(); } public static org.apache.pekko.remote.ContainerFormats.ActorIdentity 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 ActorIdentity parsePartialFrom( org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return new ActorIdentity(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.ContainerFormats.ActorIdentity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActorRefOrBuilder extends // @@protoc_insertion_point(interface_extends:ActorRef) org.apache.pekko.protobufv3.internal.MessageOrBuilder { /** * required string path = 1; * @return Whether the path field is set. */ boolean hasPath(); /** * required string path = 1; * @return The path. */ java.lang.String getPath(); /** * required string path = 1; * @return The bytes for path. */ org.apache.pekko.protobufv3.internal.ByteString getPathBytes(); } /** * Protobuf type {@code ActorRef} */ public static final class ActorRef extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ActorRef) ActorRefOrBuilder { private static final long serialVersionUID = 0L; // Use ActorRef.newBuilder() to construct. private ActorRef(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private ActorRef() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new ActorRef(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActorRef( 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.protobufv3.internal.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; path_ = bs; 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.ContainerFormats.internal_static_ActorRef_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorRef_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.ActorRef.class, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder.class); } private int bitField0_; public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * required string path = 1; * @return Whether the path field is set. */ public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * required string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.apache.pekko.protobufv3.internal.ByteString bs = (org.apache.pekko.protobufv3.internal.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * required string path = 1; * @return The bytes for path. */ public org.apache.pekko.protobufv3.internal.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { org.apache.pekko.protobufv3.internal.ByteString b = org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (org.apache.pekko.protobufv3.internal.ByteString) ref; } } 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 (!hasPath()) { 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)) { org.apache.pekko.protobufv3.internal.GeneratedMessageV3.writeString(output, 1, path_); } 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.GeneratedMessageV3.computeStringSize(1, path_); } 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.ContainerFormats.ActorRef)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.ActorRef other = (org.apache.pekko.remote.ContainerFormats.ActorRef) obj; if (hasPath() != other.hasPath()) return false; if (hasPath()) { if (!getPath() .equals(other.getPath())) 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 (hasPath()) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.ActorRef parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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.ContainerFormats.ActorRef 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 ActorRef} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ActorRef) org.apache.pekko.remote.ContainerFormats.ActorRefOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorRef_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorRef_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.ActorRef.class, org.apache.pekko.remote.ContainerFormats.ActorRef.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.ActorRef.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) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_ActorRef_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorRef getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorRef build() { org.apache.pekko.remote.ContainerFormats.ActorRef result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.ActorRef buildPartial() { org.apache.pekko.remote.ContainerFormats.ActorRef result = new org.apache.pekko.remote.ContainerFormats.ActorRef(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.path_ = path_; 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.ContainerFormats.ActorRef) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.ActorRef)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.ActorRef other) { if (other == org.apache.pekko.remote.ContainerFormats.ActorRef.getDefaultInstance()) return this; if (other.hasPath()) { bitField0_ |= 0x00000001; path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasPath()) { 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.ContainerFormats.ActorRef parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.ActorRef) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object path_ = ""; /** * required string path = 1; * @return Whether the path field is set. */ public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * required string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { org.apache.pekko.protobufv3.internal.ByteString bs = (org.apache.pekko.protobufv3.internal.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string path = 1; * @return The bytes for path. */ public org.apache.pekko.protobufv3.internal.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { org.apache.pekko.protobufv3.internal.ByteString b = org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (org.apache.pekko.protobufv3.internal.ByteString) ref; } } /** * required string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; onChanged(); return this; } /** * required string path = 1; * @return This builder for chaining. */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000001); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * required string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( org.apache.pekko.protobufv3.internal.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; 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:ActorRef) } // @@protoc_insertion_point(class_scope:ActorRef) private static final org.apache.pekko.remote.ContainerFormats.ActorRef DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.ActorRef(); } public static org.apache.pekko.remote.ContainerFormats.ActorRef 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 ActorRef parsePartialFrom( org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return new ActorRef(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.ContainerFormats.ActorRef getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Option) org.apache.pekko.protobufv3.internal.MessageOrBuilder { /** * optional .Payload value = 1; * @return Whether the value field is set. */ boolean hasValue(); /** * optional .Payload value = 1; * @return The value. */ org.apache.pekko.remote.ContainerFormats.Payload getValue(); /** * optional .Payload value = 1; */ org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code Option} */ public static final class Option extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Option) OptionOrBuilder { private static final long serialVersionUID = 0L; // Use Option.newBuilder() to construct. private Option(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder builder) { super(builder); } private Option() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused) { return new Option(); } @java.lang.Override public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Option( 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.Payload.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.apache.pekko.remote.ContainerFormats.Payload.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.ContainerFormats.internal_static_Option_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Option_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Option.class, org.apache.pekko.remote.ContainerFormats.Option.Builder.class); } private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; private org.apache.pekko.remote.ContainerFormats.Payload value_; /** * optional .Payload value = 1; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .Payload value = 1; * @return The value. */ public org.apache.pekko.remote.ContainerFormats.Payload getValue() { return value_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : value_; } /** * optional .Payload value = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getValueOrBuilder() { return value_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : value_; } 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 (hasValue()) { if (!getValue().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, getValue()); } 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, getValue()); } 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.ContainerFormats.Option)) { return super.equals(obj); } org.apache.pekko.remote.ContainerFormats.Option other = (org.apache.pekko.remote.ContainerFormats.Option) obj; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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 (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.pekko.remote.ContainerFormats.Option parseFrom( java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.pekko.remote.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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.ContainerFormats.Option 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 Option} */ public static final class Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Option) org.apache.pekko.remote.ContainerFormats.OptionOrBuilder { public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() { return org.apache.pekko.remote.ContainerFormats.internal_static_Option_descriptor; } @java.lang.Override protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.pekko.remote.ContainerFormats.internal_static_Option_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.pekko.remote.ContainerFormats.Option.class, org.apache.pekko.remote.ContainerFormats.Option.Builder.class); } // Construct using org.apache.pekko.remote.ContainerFormats.Option.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) { getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (valueBuilder_ == null) { value_ = null; } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() { return org.apache.pekko.remote.ContainerFormats.internal_static_Option_descriptor; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Option getDefaultInstanceForType() { return org.apache.pekko.remote.ContainerFormats.Option.getDefaultInstance(); } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Option build() { org.apache.pekko.remote.ContainerFormats.Option result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.pekko.remote.ContainerFormats.Option buildPartial() { org.apache.pekko.remote.ContainerFormats.Option result = new org.apache.pekko.remote.ContainerFormats.Option(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } to_bitField0_ |= 0x00000001; } 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.ContainerFormats.Option) { return mergeFrom((org.apache.pekko.remote.ContainerFormats.Option)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.pekko.remote.ContainerFormats.Option other) { if (other == org.apache.pekko.remote.ContainerFormats.Option.getDefaultInstance()) return this; if (other.hasValue()) { mergeValue(other.getValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasValue()) { if (!getValue().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.ContainerFormats.Option parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) { parsedMessage = (org.apache.pekko.remote.ContainerFormats.Option) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.pekko.remote.ContainerFormats.Payload value_; 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> valueBuilder_; /** * optional .Payload value = 1; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .Payload value = 1; * @return The value. */ public org.apache.pekko.remote.ContainerFormats.Payload getValue() { if (valueBuilder_ == null) { return value_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * optional .Payload value = 1; */ public Builder setValue(org.apache.pekko.remote.ContainerFormats.Payload value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .Payload value = 1; */ public Builder setValue( org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .Payload value = 1; */ public Builder mergeValue(org.apache.pekko.remote.ContainerFormats.Payload value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && value_ != null && value_ != org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()) { value_ = org.apache.pekko.remote.ContainerFormats.Payload.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .Payload value = 1; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = null; onChanged(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .Payload value = 1; */ public org.apache.pekko.remote.ContainerFormats.Payload.Builder getValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * optional .Payload value = 1; */ public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance() : value_; } } /** * optional .Payload value = 1; */ 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> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = 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>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @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:Option) } // @@protoc_insertion_point(class_scope:Option) private static final org.apache.pekko.remote.ContainerFormats.Option DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.pekko.remote.ContainerFormats.Option(); } public static org.apache.pekko.remote.ContainerFormats.Option getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.pekko.protobufv3.internal.Parser




© 2015 - 2025 Weber Informatics LLC | Privacy Policy