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

cloud.prefab.domain.Prefab Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: prefab.proto

package cloud.prefab.domain;

public final class Prefab {
  private Prefab() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code prefab.OnFailure}
   */
  public enum OnFailure
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NOT_SET = 0;
     */
    NOT_SET(0),
    /**
     * LOG_AND_PASS = 1;
     */
    LOG_AND_PASS(1),
    /**
     * LOG_AND_FAIL = 2;
     */
    LOG_AND_FAIL(2),
    /**
     * THROW = 3;
     */
    THROW(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * NOT_SET = 0;
     */
    public static final int NOT_SET_VALUE = 0;
    /**
     * LOG_AND_PASS = 1;
     */
    public static final int LOG_AND_PASS_VALUE = 1;
    /**
     * LOG_AND_FAIL = 2;
     */
    public static final int LOG_AND_FAIL_VALUE = 2;
    /**
     * THROW = 3;
     */
    public static final int THROW_VALUE = 3;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      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 OnFailure 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 OnFailure forNumber(int value) {
      switch (value) {
        case 0: return NOT_SET;
        case 1: return LOG_AND_PASS;
        case 2: return LOG_AND_FAIL;
        case 3: return THROW;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        OnFailure> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public OnFailure findValueByNumber(int number) {
              return OnFailure.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.getDescriptor().getEnumTypes().get(0);
    }

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

    public static OnFailure valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private OnFailure(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:prefab.OnFailure)
  }

  public interface ConfigServicePointerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.ConfigServicePointer)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 project_id = 1;
     * @return The projectId.
     */
    long getProjectId();

    /**
     * int64 start_at_id = 2;
     * @return The startAtId.
     */
    long getStartAtId();

    /**
     * int64 project_env_id = 3;
     * @return The projectEnvId.
     */
    long getProjectEnvId();
  }
  /**
   * Protobuf type {@code prefab.ConfigServicePointer}
   */
  public static final class ConfigServicePointer extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:prefab.ConfigServicePointer)
      ConfigServicePointerOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ConfigServicePointer.newBuilder() to construct.
    private ConfigServicePointer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ConfigServicePointer() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ConfigServicePointer();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ConfigServicePointer(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              projectId_ = input.readInt64();
              break;
            }
            case 16: {

              startAtId_ = input.readInt64();
              break;
            }
            case 24: {

              projectEnvId_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigServicePointer_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigServicePointer_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cloud.prefab.domain.Prefab.ConfigServicePointer.class, cloud.prefab.domain.Prefab.ConfigServicePointer.Builder.class);
    }

    public static final int PROJECT_ID_FIELD_NUMBER = 1;
    private long projectId_;
    /**
     * int64 project_id = 1;
     * @return The projectId.
     */
    @java.lang.Override
    public long getProjectId() {
      return projectId_;
    }

    public static final int START_AT_ID_FIELD_NUMBER = 2;
    private long startAtId_;
    /**
     * int64 start_at_id = 2;
     * @return The startAtId.
     */
    @java.lang.Override
    public long getStartAtId() {
      return startAtId_;
    }

    public static final int PROJECT_ENV_ID_FIELD_NUMBER = 3;
    private long projectEnvId_;
    /**
     * int64 project_env_id = 3;
     * @return The projectEnvId.
     */
    @java.lang.Override
    public long getProjectEnvId() {
      return projectEnvId_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (projectId_ != 0L) {
        output.writeInt64(1, projectId_);
      }
      if (startAtId_ != 0L) {
        output.writeInt64(2, startAtId_);
      }
      if (projectEnvId_ != 0L) {
        output.writeInt64(3, projectEnvId_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (projectId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, projectId_);
      }
      if (startAtId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, startAtId_);
      }
      if (projectEnvId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, projectEnvId_);
      }
      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 cloud.prefab.domain.Prefab.ConfigServicePointer)) {
        return super.equals(obj);
      }
      cloud.prefab.domain.Prefab.ConfigServicePointer other = (cloud.prefab.domain.Prefab.ConfigServicePointer) obj;

      if (getProjectId()
          != other.getProjectId()) return false;
      if (getStartAtId()
          != other.getStartAtId()) return false;
      if (getProjectEnvId()
          != other.getProjectEnvId()) 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();
      hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getProjectId());
      hash = (37 * hash) + START_AT_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getStartAtId());
      hash = (37 * hash) + PROJECT_ENV_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getProjectEnvId());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigServicePointer parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.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(cloud.prefab.domain.Prefab.ConfigServicePointer 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(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code prefab.ConfigServicePointer}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:prefab.ConfigServicePointer)
        cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigServicePointer_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigServicePointer_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cloud.prefab.domain.Prefab.ConfigServicePointer.class, cloud.prefab.domain.Prefab.ConfigServicePointer.Builder.class);
      }

      // Construct using cloud.prefab.domain.Prefab.ConfigServicePointer.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        projectId_ = 0L;

        startAtId_ = 0L;

        projectEnvId_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigServicePointer_descriptor;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigServicePointer getDefaultInstanceForType() {
        return cloud.prefab.domain.Prefab.ConfigServicePointer.getDefaultInstance();
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigServicePointer build() {
        cloud.prefab.domain.Prefab.ConfigServicePointer result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigServicePointer buildPartial() {
        cloud.prefab.domain.Prefab.ConfigServicePointer result = new cloud.prefab.domain.Prefab.ConfigServicePointer(this);
        result.projectId_ = projectId_;
        result.startAtId_ = startAtId_;
        result.projectEnvId_ = projectEnvId_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cloud.prefab.domain.Prefab.ConfigServicePointer) {
          return mergeFrom((cloud.prefab.domain.Prefab.ConfigServicePointer)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cloud.prefab.domain.Prefab.ConfigServicePointer other) {
        if (other == cloud.prefab.domain.Prefab.ConfigServicePointer.getDefaultInstance()) return this;
        if (other.getProjectId() != 0L) {
          setProjectId(other.getProjectId());
        }
        if (other.getStartAtId() != 0L) {
          setStartAtId(other.getStartAtId());
        }
        if (other.getProjectEnvId() != 0L) {
          setProjectEnvId(other.getProjectEnvId());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cloud.prefab.domain.Prefab.ConfigServicePointer parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cloud.prefab.domain.Prefab.ConfigServicePointer) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long projectId_ ;
      /**
       * int64 project_id = 1;
       * @return The projectId.
       */
      @java.lang.Override
      public long getProjectId() {
        return projectId_;
      }
      /**
       * int64 project_id = 1;
       * @param value The projectId to set.
       * @return This builder for chaining.
       */
      public Builder setProjectId(long value) {
        
        projectId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 project_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearProjectId() {
        
        projectId_ = 0L;
        onChanged();
        return this;
      }

      private long startAtId_ ;
      /**
       * int64 start_at_id = 2;
       * @return The startAtId.
       */
      @java.lang.Override
      public long getStartAtId() {
        return startAtId_;
      }
      /**
       * int64 start_at_id = 2;
       * @param value The startAtId to set.
       * @return This builder for chaining.
       */
      public Builder setStartAtId(long value) {
        
        startAtId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 start_at_id = 2;
       * @return This builder for chaining.
       */
      public Builder clearStartAtId() {
        
        startAtId_ = 0L;
        onChanged();
        return this;
      }

      private long projectEnvId_ ;
      /**
       * int64 project_env_id = 3;
       * @return The projectEnvId.
       */
      @java.lang.Override
      public long getProjectEnvId() {
        return projectEnvId_;
      }
      /**
       * int64 project_env_id = 3;
       * @param value The projectEnvId to set.
       * @return This builder for chaining.
       */
      public Builder setProjectEnvId(long value) {
        
        projectEnvId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 project_env_id = 3;
       * @return This builder for chaining.
       */
      public Builder clearProjectEnvId() {
        
        projectEnvId_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:prefab.ConfigServicePointer)
    }

    // @@protoc_insertion_point(class_scope:prefab.ConfigServicePointer)
    private static final cloud.prefab.domain.Prefab.ConfigServicePointer DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.ConfigServicePointer();
    }

    public static cloud.prefab.domain.Prefab.ConfigServicePointer getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ConfigServicePointer parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ConfigServicePointer(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigServicePointer getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ConfigValueOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.ConfigValue)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 int = 1;
     * @return Whether the int field is set.
     */
    boolean hasInt();
    /**
     * int64 int = 1;
     * @return The int.
     */
    long getInt();

    /**
     * string string = 2;
     * @return Whether the string field is set.
     */
    boolean hasString();
    /**
     * string string = 2;
     * @return The string.
     */
    java.lang.String getString();
    /**
     * string string = 2;
     * @return The bytes for string.
     */
    com.google.protobuf.ByteString
        getStringBytes();

    /**
     * bytes bytes = 3;
     * @return Whether the bytes field is set.
     */
    boolean hasBytes();
    /**
     * bytes bytes = 3;
     * @return The bytes.
     */
    com.google.protobuf.ByteString getBytes();

    /**
     * double double = 4;
     * @return Whether the double field is set.
     */
    boolean hasDouble();
    /**
     * double double = 4;
     * @return The double.
     */
    double getDouble();

    /**
     * bool bool = 5;
     * @return Whether the bool field is set.
     */
    boolean hasBool();
    /**
     * bool bool = 5;
     * @return The bool.
     */
    boolean getBool();

    /**
     * .prefab.FeatureFlag feature_flag = 6;
     * @return Whether the featureFlag field is set.
     */
    boolean hasFeatureFlag();
    /**
     * .prefab.FeatureFlag feature_flag = 6;
     * @return The featureFlag.
     */
    cloud.prefab.domain.Prefab.FeatureFlag getFeatureFlag();
    /**
     * .prefab.FeatureFlag feature_flag = 6;
     */
    cloud.prefab.domain.Prefab.FeatureFlagOrBuilder getFeatureFlagOrBuilder();

    /**
     * .prefab.LimitDefinition limit_definition = 7;
     * @return Whether the limitDefinition field is set.
     */
    boolean hasLimitDefinition();
    /**
     * .prefab.LimitDefinition limit_definition = 7;
     * @return The limitDefinition.
     */
    cloud.prefab.domain.Prefab.LimitDefinition getLimitDefinition();
    /**
     * .prefab.LimitDefinition limit_definition = 7;
     */
    cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getLimitDefinitionOrBuilder();

    /**
     * .prefab.Segment segment = 8;
     * @return Whether the segment field is set.
     */
    boolean hasSegment();
    /**
     * .prefab.Segment segment = 8;
     * @return The segment.
     */
    cloud.prefab.domain.Prefab.Segment getSegment();
    /**
     * .prefab.Segment segment = 8;
     */
    cloud.prefab.domain.Prefab.SegmentOrBuilder getSegmentOrBuilder();

    public cloud.prefab.domain.Prefab.ConfigValue.TypeCase getTypeCase();
  }
  /**
   * Protobuf type {@code prefab.ConfigValue}
   */
  public static final class ConfigValue extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:prefab.ConfigValue)
      ConfigValueOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ConfigValue.newBuilder() to construct.
    private ConfigValue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ConfigValue() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ConfigValue();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ConfigValue(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              type_ = input.readInt64();
              typeCase_ = 1;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              typeCase_ = 2;
              type_ = s;
              break;
            }
            case 26: {
              type_ = input.readBytes();
              typeCase_ = 3;
              break;
            }
            case 33: {
              type_ = input.readDouble();
              typeCase_ = 4;
              break;
            }
            case 40: {
              type_ = input.readBool();
              typeCase_ = 5;
              break;
            }
            case 50: {
              cloud.prefab.domain.Prefab.FeatureFlag.Builder subBuilder = null;
              if (typeCase_ == 6) {
                subBuilder = ((cloud.prefab.domain.Prefab.FeatureFlag) type_).toBuilder();
              }
              type_ =
                  input.readMessage(cloud.prefab.domain.Prefab.FeatureFlag.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cloud.prefab.domain.Prefab.FeatureFlag) type_);
                type_ = subBuilder.buildPartial();
              }
              typeCase_ = 6;
              break;
            }
            case 58: {
              cloud.prefab.domain.Prefab.LimitDefinition.Builder subBuilder = null;
              if (typeCase_ == 7) {
                subBuilder = ((cloud.prefab.domain.Prefab.LimitDefinition) type_).toBuilder();
              }
              type_ =
                  input.readMessage(cloud.prefab.domain.Prefab.LimitDefinition.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cloud.prefab.domain.Prefab.LimitDefinition) type_);
                type_ = subBuilder.buildPartial();
              }
              typeCase_ = 7;
              break;
            }
            case 66: {
              cloud.prefab.domain.Prefab.Segment.Builder subBuilder = null;
              if (typeCase_ == 8) {
                subBuilder = ((cloud.prefab.domain.Prefab.Segment) type_).toBuilder();
              }
              type_ =
                  input.readMessage(cloud.prefab.domain.Prefab.Segment.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cloud.prefab.domain.Prefab.Segment) type_);
                type_ = subBuilder.buildPartial();
              }
              typeCase_ = 8;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigValue_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigValue_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cloud.prefab.domain.Prefab.ConfigValue.class, cloud.prefab.domain.Prefab.ConfigValue.Builder.class);
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      INT(1),
      STRING(2),
      BYTES(3),
      DOUBLE(4),
      BOOL(5),
      FEATURE_FLAG(6),
      LIMIT_DEFINITION(7),
      SEGMENT(8),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return INT;
          case 2: return STRING;
          case 3: return BYTES;
          case 4: return DOUBLE;
          case 5: return BOOL;
          case 6: return FEATURE_FLAG;
          case 7: return LIMIT_DEFINITION;
          case 8: return SEGMENT;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    public static final int INT_FIELD_NUMBER = 1;
    /**
     * int64 int = 1;
     * @return Whether the int field is set.
     */
    @java.lang.Override
    public boolean hasInt() {
      return typeCase_ == 1;
    }
    /**
     * int64 int = 1;
     * @return The int.
     */
    @java.lang.Override
    public long getInt() {
      if (typeCase_ == 1) {
        return (java.lang.Long) type_;
      }
      return 0L;
    }

    public static final int STRING_FIELD_NUMBER = 2;
    /**
     * string string = 2;
     * @return Whether the string field is set.
     */
    public boolean hasString() {
      return typeCase_ == 2;
    }
    /**
     * string string = 2;
     * @return The string.
     */
    public java.lang.String getString() {
      java.lang.Object ref = "";
      if (typeCase_ == 2) {
        ref = type_;
      }
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (typeCase_ == 2) {
          type_ = s;
        }
        return s;
      }
    }
    /**
     * string string = 2;
     * @return The bytes for string.
     */
    public com.google.protobuf.ByteString
        getStringBytes() {
      java.lang.Object ref = "";
      if (typeCase_ == 2) {
        ref = type_;
      }
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        if (typeCase_ == 2) {
          type_ = b;
        }
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BYTES_FIELD_NUMBER = 3;
    /**
     * bytes bytes = 3;
     * @return Whether the bytes field is set.
     */
    @java.lang.Override
    public boolean hasBytes() {
      return typeCase_ == 3;
    }
    /**
     * bytes bytes = 3;
     * @return The bytes.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getBytes() {
      if (typeCase_ == 3) {
        return (com.google.protobuf.ByteString) type_;
      }
      return com.google.protobuf.ByteString.EMPTY;
    }

    public static final int DOUBLE_FIELD_NUMBER = 4;
    /**
     * double double = 4;
     * @return Whether the double field is set.
     */
    @java.lang.Override
    public boolean hasDouble() {
      return typeCase_ == 4;
    }
    /**
     * double double = 4;
     * @return The double.
     */
    @java.lang.Override
    public double getDouble() {
      if (typeCase_ == 4) {
        return (java.lang.Double) type_;
      }
      return 0D;
    }

    public static final int BOOL_FIELD_NUMBER = 5;
    /**
     * bool bool = 5;
     * @return Whether the bool field is set.
     */
    @java.lang.Override
    public boolean hasBool() {
      return typeCase_ == 5;
    }
    /**
     * bool bool = 5;
     * @return The bool.
     */
    @java.lang.Override
    public boolean getBool() {
      if (typeCase_ == 5) {
        return (java.lang.Boolean) type_;
      }
      return false;
    }

    public static final int FEATURE_FLAG_FIELD_NUMBER = 6;
    /**
     * .prefab.FeatureFlag feature_flag = 6;
     * @return Whether the featureFlag field is set.
     */
    @java.lang.Override
    public boolean hasFeatureFlag() {
      return typeCase_ == 6;
    }
    /**
     * .prefab.FeatureFlag feature_flag = 6;
     * @return The featureFlag.
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.FeatureFlag getFeatureFlag() {
      if (typeCase_ == 6) {
         return (cloud.prefab.domain.Prefab.FeatureFlag) type_;
      }
      return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
    }
    /**
     * .prefab.FeatureFlag feature_flag = 6;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.FeatureFlagOrBuilder getFeatureFlagOrBuilder() {
      if (typeCase_ == 6) {
         return (cloud.prefab.domain.Prefab.FeatureFlag) type_;
      }
      return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
    }

    public static final int LIMIT_DEFINITION_FIELD_NUMBER = 7;
    /**
     * .prefab.LimitDefinition limit_definition = 7;
     * @return Whether the limitDefinition field is set.
     */
    @java.lang.Override
    public boolean hasLimitDefinition() {
      return typeCase_ == 7;
    }
    /**
     * .prefab.LimitDefinition limit_definition = 7;
     * @return The limitDefinition.
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.LimitDefinition getLimitDefinition() {
      if (typeCase_ == 7) {
         return (cloud.prefab.domain.Prefab.LimitDefinition) type_;
      }
      return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
    }
    /**
     * .prefab.LimitDefinition limit_definition = 7;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getLimitDefinitionOrBuilder() {
      if (typeCase_ == 7) {
         return (cloud.prefab.domain.Prefab.LimitDefinition) type_;
      }
      return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
    }

    public static final int SEGMENT_FIELD_NUMBER = 8;
    /**
     * .prefab.Segment segment = 8;
     * @return Whether the segment field is set.
     */
    @java.lang.Override
    public boolean hasSegment() {
      return typeCase_ == 8;
    }
    /**
     * .prefab.Segment segment = 8;
     * @return The segment.
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.Segment getSegment() {
      if (typeCase_ == 8) {
         return (cloud.prefab.domain.Prefab.Segment) type_;
      }
      return cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
    }
    /**
     * .prefab.Segment segment = 8;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.SegmentOrBuilder getSegmentOrBuilder() {
      if (typeCase_ == 8) {
         return (cloud.prefab.domain.Prefab.Segment) type_;
      }
      return cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (typeCase_ == 1) {
        output.writeInt64(
            1, (long)((java.lang.Long) type_));
      }
      if (typeCase_ == 2) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_);
      }
      if (typeCase_ == 3) {
        output.writeBytes(
            3, (com.google.protobuf.ByteString) type_);
      }
      if (typeCase_ == 4) {
        output.writeDouble(
            4, (double)((java.lang.Double) type_));
      }
      if (typeCase_ == 5) {
        output.writeBool(
            5, (boolean)((java.lang.Boolean) type_));
      }
      if (typeCase_ == 6) {
        output.writeMessage(6, (cloud.prefab.domain.Prefab.FeatureFlag) type_);
      }
      if (typeCase_ == 7) {
        output.writeMessage(7, (cloud.prefab.domain.Prefab.LimitDefinition) type_);
      }
      if (typeCase_ == 8) {
        output.writeMessage(8, (cloud.prefab.domain.Prefab.Segment) type_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (typeCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(
              1, (long)((java.lang.Long) type_));
      }
      if (typeCase_ == 2) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_);
      }
      if (typeCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(
              3, (com.google.protobuf.ByteString) type_);
      }
      if (typeCase_ == 4) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(
              4, (double)((java.lang.Double) type_));
      }
      if (typeCase_ == 5) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(
              5, (boolean)((java.lang.Boolean) type_));
      }
      if (typeCase_ == 6) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, (cloud.prefab.domain.Prefab.FeatureFlag) type_);
      }
      if (typeCase_ == 7) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, (cloud.prefab.domain.Prefab.LimitDefinition) type_);
      }
      if (typeCase_ == 8) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, (cloud.prefab.domain.Prefab.Segment) type_);
      }
      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 cloud.prefab.domain.Prefab.ConfigValue)) {
        return super.equals(obj);
      }
      cloud.prefab.domain.Prefab.ConfigValue other = (cloud.prefab.domain.Prefab.ConfigValue) obj;

      if (!getTypeCase().equals(other.getTypeCase())) return false;
      switch (typeCase_) {
        case 1:
          if (getInt()
              != other.getInt()) return false;
          break;
        case 2:
          if (!getString()
              .equals(other.getString())) return false;
          break;
        case 3:
          if (!getBytes()
              .equals(other.getBytes())) return false;
          break;
        case 4:
          if (java.lang.Double.doubleToLongBits(getDouble())
              != java.lang.Double.doubleToLongBits(
                  other.getDouble())) return false;
          break;
        case 5:
          if (getBool()
              != other.getBool()) return false;
          break;
        case 6:
          if (!getFeatureFlag()
              .equals(other.getFeatureFlag())) return false;
          break;
        case 7:
          if (!getLimitDefinition()
              .equals(other.getLimitDefinition())) return false;
          break;
        case 8:
          if (!getSegment()
              .equals(other.getSegment())) return false;
          break;
        case 0:
        default:
      }
      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();
      switch (typeCase_) {
        case 1:
          hash = (37 * hash) + INT_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
              getInt());
          break;
        case 2:
          hash = (37 * hash) + STRING_FIELD_NUMBER;
          hash = (53 * hash) + getString().hashCode();
          break;
        case 3:
          hash = (37 * hash) + BYTES_FIELD_NUMBER;
          hash = (53 * hash) + getBytes().hashCode();
          break;
        case 4:
          hash = (37 * hash) + DOUBLE_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
              java.lang.Double.doubleToLongBits(getDouble()));
          break;
        case 5:
          hash = (37 * hash) + BOOL_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
              getBool());
          break;
        case 6:
          hash = (37 * hash) + FEATURE_FLAG_FIELD_NUMBER;
          hash = (53 * hash) + getFeatureFlag().hashCode();
          break;
        case 7:
          hash = (37 * hash) + LIMIT_DEFINITION_FIELD_NUMBER;
          hash = (53 * hash) + getLimitDefinition().hashCode();
          break;
        case 8:
          hash = (37 * hash) + SEGMENT_FIELD_NUMBER;
          hash = (53 * hash) + getSegment().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigValue parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.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(cloud.prefab.domain.Prefab.ConfigValue 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(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code prefab.ConfigValue}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:prefab.ConfigValue)
        cloud.prefab.domain.Prefab.ConfigValueOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigValue_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigValue_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cloud.prefab.domain.Prefab.ConfigValue.class, cloud.prefab.domain.Prefab.ConfigValue.Builder.class);
      }

      // Construct using cloud.prefab.domain.Prefab.ConfigValue.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        typeCase_ = 0;
        type_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigValue_descriptor;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigValue getDefaultInstanceForType() {
        return cloud.prefab.domain.Prefab.ConfigValue.getDefaultInstance();
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigValue build() {
        cloud.prefab.domain.Prefab.ConfigValue result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigValue buildPartial() {
        cloud.prefab.domain.Prefab.ConfigValue result = new cloud.prefab.domain.Prefab.ConfigValue(this);
        if (typeCase_ == 1) {
          result.type_ = type_;
        }
        if (typeCase_ == 2) {
          result.type_ = type_;
        }
        if (typeCase_ == 3) {
          result.type_ = type_;
        }
        if (typeCase_ == 4) {
          result.type_ = type_;
        }
        if (typeCase_ == 5) {
          result.type_ = type_;
        }
        if (typeCase_ == 6) {
          if (featureFlagBuilder_ == null) {
            result.type_ = type_;
          } else {
            result.type_ = featureFlagBuilder_.build();
          }
        }
        if (typeCase_ == 7) {
          if (limitDefinitionBuilder_ == null) {
            result.type_ = type_;
          } else {
            result.type_ = limitDefinitionBuilder_.build();
          }
        }
        if (typeCase_ == 8) {
          if (segmentBuilder_ == null) {
            result.type_ = type_;
          } else {
            result.type_ = segmentBuilder_.build();
          }
        }
        result.typeCase_ = typeCase_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cloud.prefab.domain.Prefab.ConfigValue) {
          return mergeFrom((cloud.prefab.domain.Prefab.ConfigValue)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cloud.prefab.domain.Prefab.ConfigValue other) {
        if (other == cloud.prefab.domain.Prefab.ConfigValue.getDefaultInstance()) return this;
        switch (other.getTypeCase()) {
          case INT: {
            setInt(other.getInt());
            break;
          }
          case STRING: {
            typeCase_ = 2;
            type_ = other.type_;
            onChanged();
            break;
          }
          case BYTES: {
            setBytes(other.getBytes());
            break;
          }
          case DOUBLE: {
            setDouble(other.getDouble());
            break;
          }
          case BOOL: {
            setBool(other.getBool());
            break;
          }
          case FEATURE_FLAG: {
            mergeFeatureFlag(other.getFeatureFlag());
            break;
          }
          case LIMIT_DEFINITION: {
            mergeLimitDefinition(other.getLimitDefinition());
            break;
          }
          case SEGMENT: {
            mergeSegment(other.getSegment());
            break;
          }
          case TYPE_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cloud.prefab.domain.Prefab.ConfigValue parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cloud.prefab.domain.Prefab.ConfigValue) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int typeCase_ = 0;
      private java.lang.Object type_;
      public TypeCase
          getTypeCase() {
        return TypeCase.forNumber(
            typeCase_);
      }

      public Builder clearType() {
        typeCase_ = 0;
        type_ = null;
        onChanged();
        return this;
      }


      /**
       * int64 int = 1;
       * @return Whether the int field is set.
       */
      public boolean hasInt() {
        return typeCase_ == 1;
      }
      /**
       * int64 int = 1;
       * @return The int.
       */
      public long getInt() {
        if (typeCase_ == 1) {
          return (java.lang.Long) type_;
        }
        return 0L;
      }
      /**
       * int64 int = 1;
       * @param value The int to set.
       * @return This builder for chaining.
       */
      public Builder setInt(long value) {
        typeCase_ = 1;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 int = 1;
       * @return This builder for chaining.
       */
      public Builder clearInt() {
        if (typeCase_ == 1) {
          typeCase_ = 0;
          type_ = null;
          onChanged();
        }
        return this;
      }

      /**
       * string string = 2;
       * @return Whether the string field is set.
       */
      @java.lang.Override
      public boolean hasString() {
        return typeCase_ == 2;
      }
      /**
       * string string = 2;
       * @return The string.
       */
      @java.lang.Override
      public java.lang.String getString() {
        java.lang.Object ref = "";
        if (typeCase_ == 2) {
          ref = type_;
        }
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (typeCase_ == 2) {
            type_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string string = 2;
       * @return The bytes for string.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getStringBytes() {
        java.lang.Object ref = "";
        if (typeCase_ == 2) {
          ref = type_;
        }
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          if (typeCase_ == 2) {
            type_ = b;
          }
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string string = 2;
       * @param value The string to set.
       * @return This builder for chaining.
       */
      public Builder setString(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  typeCase_ = 2;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * string string = 2;
       * @return This builder for chaining.
       */
      public Builder clearString() {
        if (typeCase_ == 2) {
          typeCase_ = 0;
          type_ = null;
          onChanged();
        }
        return this;
      }
      /**
       * string string = 2;
       * @param value The bytes for string to set.
       * @return This builder for chaining.
       */
      public Builder setStringBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        typeCase_ = 2;
        type_ = value;
        onChanged();
        return this;
      }

      /**
       * bytes bytes = 3;
       * @return Whether the bytes field is set.
       */
      public boolean hasBytes() {
        return typeCase_ == 3;
      }
      /**
       * bytes bytes = 3;
       * @return The bytes.
       */
      public com.google.protobuf.ByteString getBytes() {
        if (typeCase_ == 3) {
          return (com.google.protobuf.ByteString) type_;
        }
        return com.google.protobuf.ByteString.EMPTY;
      }
      /**
       * bytes bytes = 3;
       * @param value The bytes to set.
       * @return This builder for chaining.
       */
      public Builder setBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  typeCase_ = 3;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes bytes = 3;
       * @return This builder for chaining.
       */
      public Builder clearBytes() {
        if (typeCase_ == 3) {
          typeCase_ = 0;
          type_ = null;
          onChanged();
        }
        return this;
      }

      /**
       * double double = 4;
       * @return Whether the double field is set.
       */
      public boolean hasDouble() {
        return typeCase_ == 4;
      }
      /**
       * double double = 4;
       * @return The double.
       */
      public double getDouble() {
        if (typeCase_ == 4) {
          return (java.lang.Double) type_;
        }
        return 0D;
      }
      /**
       * double double = 4;
       * @param value The double to set.
       * @return This builder for chaining.
       */
      public Builder setDouble(double value) {
        typeCase_ = 4;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * double double = 4;
       * @return This builder for chaining.
       */
      public Builder clearDouble() {
        if (typeCase_ == 4) {
          typeCase_ = 0;
          type_ = null;
          onChanged();
        }
        return this;
      }

      /**
       * bool bool = 5;
       * @return Whether the bool field is set.
       */
      public boolean hasBool() {
        return typeCase_ == 5;
      }
      /**
       * bool bool = 5;
       * @return The bool.
       */
      public boolean getBool() {
        if (typeCase_ == 5) {
          return (java.lang.Boolean) type_;
        }
        return false;
      }
      /**
       * bool bool = 5;
       * @param value The bool to set.
       * @return This builder for chaining.
       */
      public Builder setBool(boolean value) {
        typeCase_ = 5;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * bool bool = 5;
       * @return This builder for chaining.
       */
      public Builder clearBool() {
        if (typeCase_ == 5) {
          typeCase_ = 0;
          type_ = null;
          onChanged();
        }
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.FeatureFlag, cloud.prefab.domain.Prefab.FeatureFlag.Builder, cloud.prefab.domain.Prefab.FeatureFlagOrBuilder> featureFlagBuilder_;
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       * @return Whether the featureFlag field is set.
       */
      @java.lang.Override
      public boolean hasFeatureFlag() {
        return typeCase_ == 6;
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       * @return The featureFlag.
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.FeatureFlag getFeatureFlag() {
        if (featureFlagBuilder_ == null) {
          if (typeCase_ == 6) {
            return (cloud.prefab.domain.Prefab.FeatureFlag) type_;
          }
          return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
        } else {
          if (typeCase_ == 6) {
            return featureFlagBuilder_.getMessage();
          }
          return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
        }
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      public Builder setFeatureFlag(cloud.prefab.domain.Prefab.FeatureFlag value) {
        if (featureFlagBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          type_ = value;
          onChanged();
        } else {
          featureFlagBuilder_.setMessage(value);
        }
        typeCase_ = 6;
        return this;
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      public Builder setFeatureFlag(
          cloud.prefab.domain.Prefab.FeatureFlag.Builder builderForValue) {
        if (featureFlagBuilder_ == null) {
          type_ = builderForValue.build();
          onChanged();
        } else {
          featureFlagBuilder_.setMessage(builderForValue.build());
        }
        typeCase_ = 6;
        return this;
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      public Builder mergeFeatureFlag(cloud.prefab.domain.Prefab.FeatureFlag value) {
        if (featureFlagBuilder_ == null) {
          if (typeCase_ == 6 &&
              type_ != cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance()) {
            type_ = cloud.prefab.domain.Prefab.FeatureFlag.newBuilder((cloud.prefab.domain.Prefab.FeatureFlag) type_)
                .mergeFrom(value).buildPartial();
          } else {
            type_ = value;
          }
          onChanged();
        } else {
          if (typeCase_ == 6) {
            featureFlagBuilder_.mergeFrom(value);
          }
          featureFlagBuilder_.setMessage(value);
        }
        typeCase_ = 6;
        return this;
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      public Builder clearFeatureFlag() {
        if (featureFlagBuilder_ == null) {
          if (typeCase_ == 6) {
            typeCase_ = 0;
            type_ = null;
            onChanged();
          }
        } else {
          if (typeCase_ == 6) {
            typeCase_ = 0;
            type_ = null;
          }
          featureFlagBuilder_.clear();
        }
        return this;
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlag.Builder getFeatureFlagBuilder() {
        return getFeatureFlagFieldBuilder().getBuilder();
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.FeatureFlagOrBuilder getFeatureFlagOrBuilder() {
        if ((typeCase_ == 6) && (featureFlagBuilder_ != null)) {
          return featureFlagBuilder_.getMessageOrBuilder();
        } else {
          if (typeCase_ == 6) {
            return (cloud.prefab.domain.Prefab.FeatureFlag) type_;
          }
          return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
        }
      }
      /**
       * .prefab.FeatureFlag feature_flag = 6;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.FeatureFlag, cloud.prefab.domain.Prefab.FeatureFlag.Builder, cloud.prefab.domain.Prefab.FeatureFlagOrBuilder> 
          getFeatureFlagFieldBuilder() {
        if (featureFlagBuilder_ == null) {
          if (!(typeCase_ == 6)) {
            type_ = cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance();
          }
          featureFlagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cloud.prefab.domain.Prefab.FeatureFlag, cloud.prefab.domain.Prefab.FeatureFlag.Builder, cloud.prefab.domain.Prefab.FeatureFlagOrBuilder>(
                  (cloud.prefab.domain.Prefab.FeatureFlag) type_,
                  getParentForChildren(),
                  isClean());
          type_ = null;
        }
        typeCase_ = 6;
        onChanged();;
        return featureFlagBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder> limitDefinitionBuilder_;
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       * @return Whether the limitDefinition field is set.
       */
      @java.lang.Override
      public boolean hasLimitDefinition() {
        return typeCase_ == 7;
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       * @return The limitDefinition.
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.LimitDefinition getLimitDefinition() {
        if (limitDefinitionBuilder_ == null) {
          if (typeCase_ == 7) {
            return (cloud.prefab.domain.Prefab.LimitDefinition) type_;
          }
          return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
        } else {
          if (typeCase_ == 7) {
            return limitDefinitionBuilder_.getMessage();
          }
          return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
        }
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      public Builder setLimitDefinition(cloud.prefab.domain.Prefab.LimitDefinition value) {
        if (limitDefinitionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          type_ = value;
          onChanged();
        } else {
          limitDefinitionBuilder_.setMessage(value);
        }
        typeCase_ = 7;
        return this;
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      public Builder setLimitDefinition(
          cloud.prefab.domain.Prefab.LimitDefinition.Builder builderForValue) {
        if (limitDefinitionBuilder_ == null) {
          type_ = builderForValue.build();
          onChanged();
        } else {
          limitDefinitionBuilder_.setMessage(builderForValue.build());
        }
        typeCase_ = 7;
        return this;
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      public Builder mergeLimitDefinition(cloud.prefab.domain.Prefab.LimitDefinition value) {
        if (limitDefinitionBuilder_ == null) {
          if (typeCase_ == 7 &&
              type_ != cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance()) {
            type_ = cloud.prefab.domain.Prefab.LimitDefinition.newBuilder((cloud.prefab.domain.Prefab.LimitDefinition) type_)
                .mergeFrom(value).buildPartial();
          } else {
            type_ = value;
          }
          onChanged();
        } else {
          if (typeCase_ == 7) {
            limitDefinitionBuilder_.mergeFrom(value);
          }
          limitDefinitionBuilder_.setMessage(value);
        }
        typeCase_ = 7;
        return this;
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      public Builder clearLimitDefinition() {
        if (limitDefinitionBuilder_ == null) {
          if (typeCase_ == 7) {
            typeCase_ = 0;
            type_ = null;
            onChanged();
          }
        } else {
          if (typeCase_ == 7) {
            typeCase_ = 0;
            type_ = null;
          }
          limitDefinitionBuilder_.clear();
        }
        return this;
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      public cloud.prefab.domain.Prefab.LimitDefinition.Builder getLimitDefinitionBuilder() {
        return getLimitDefinitionFieldBuilder().getBuilder();
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getLimitDefinitionOrBuilder() {
        if ((typeCase_ == 7) && (limitDefinitionBuilder_ != null)) {
          return limitDefinitionBuilder_.getMessageOrBuilder();
        } else {
          if (typeCase_ == 7) {
            return (cloud.prefab.domain.Prefab.LimitDefinition) type_;
          }
          return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
        }
      }
      /**
       * .prefab.LimitDefinition limit_definition = 7;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder> 
          getLimitDefinitionFieldBuilder() {
        if (limitDefinitionBuilder_ == null) {
          if (!(typeCase_ == 7)) {
            type_ = cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance();
          }
          limitDefinitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder>(
                  (cloud.prefab.domain.Prefab.LimitDefinition) type_,
                  getParentForChildren(),
                  isClean());
          type_ = null;
        }
        typeCase_ = 7;
        onChanged();;
        return limitDefinitionBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.Segment, cloud.prefab.domain.Prefab.Segment.Builder, cloud.prefab.domain.Prefab.SegmentOrBuilder> segmentBuilder_;
      /**
       * .prefab.Segment segment = 8;
       * @return Whether the segment field is set.
       */
      @java.lang.Override
      public boolean hasSegment() {
        return typeCase_ == 8;
      }
      /**
       * .prefab.Segment segment = 8;
       * @return The segment.
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.Segment getSegment() {
        if (segmentBuilder_ == null) {
          if (typeCase_ == 8) {
            return (cloud.prefab.domain.Prefab.Segment) type_;
          }
          return cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
        } else {
          if (typeCase_ == 8) {
            return segmentBuilder_.getMessage();
          }
          return cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
        }
      }
      /**
       * .prefab.Segment segment = 8;
       */
      public Builder setSegment(cloud.prefab.domain.Prefab.Segment value) {
        if (segmentBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          type_ = value;
          onChanged();
        } else {
          segmentBuilder_.setMessage(value);
        }
        typeCase_ = 8;
        return this;
      }
      /**
       * .prefab.Segment segment = 8;
       */
      public Builder setSegment(
          cloud.prefab.domain.Prefab.Segment.Builder builderForValue) {
        if (segmentBuilder_ == null) {
          type_ = builderForValue.build();
          onChanged();
        } else {
          segmentBuilder_.setMessage(builderForValue.build());
        }
        typeCase_ = 8;
        return this;
      }
      /**
       * .prefab.Segment segment = 8;
       */
      public Builder mergeSegment(cloud.prefab.domain.Prefab.Segment value) {
        if (segmentBuilder_ == null) {
          if (typeCase_ == 8 &&
              type_ != cloud.prefab.domain.Prefab.Segment.getDefaultInstance()) {
            type_ = cloud.prefab.domain.Prefab.Segment.newBuilder((cloud.prefab.domain.Prefab.Segment) type_)
                .mergeFrom(value).buildPartial();
          } else {
            type_ = value;
          }
          onChanged();
        } else {
          if (typeCase_ == 8) {
            segmentBuilder_.mergeFrom(value);
          }
          segmentBuilder_.setMessage(value);
        }
        typeCase_ = 8;
        return this;
      }
      /**
       * .prefab.Segment segment = 8;
       */
      public Builder clearSegment() {
        if (segmentBuilder_ == null) {
          if (typeCase_ == 8) {
            typeCase_ = 0;
            type_ = null;
            onChanged();
          }
        } else {
          if (typeCase_ == 8) {
            typeCase_ = 0;
            type_ = null;
          }
          segmentBuilder_.clear();
        }
        return this;
      }
      /**
       * .prefab.Segment segment = 8;
       */
      public cloud.prefab.domain.Prefab.Segment.Builder getSegmentBuilder() {
        return getSegmentFieldBuilder().getBuilder();
      }
      /**
       * .prefab.Segment segment = 8;
       */
      @java.lang.Override
      public cloud.prefab.domain.Prefab.SegmentOrBuilder getSegmentOrBuilder() {
        if ((typeCase_ == 8) && (segmentBuilder_ != null)) {
          return segmentBuilder_.getMessageOrBuilder();
        } else {
          if (typeCase_ == 8) {
            return (cloud.prefab.domain.Prefab.Segment) type_;
          }
          return cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
        }
      }
      /**
       * .prefab.Segment segment = 8;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.Segment, cloud.prefab.domain.Prefab.Segment.Builder, cloud.prefab.domain.Prefab.SegmentOrBuilder> 
          getSegmentFieldBuilder() {
        if (segmentBuilder_ == null) {
          if (!(typeCase_ == 8)) {
            type_ = cloud.prefab.domain.Prefab.Segment.getDefaultInstance();
          }
          segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cloud.prefab.domain.Prefab.Segment, cloud.prefab.domain.Prefab.Segment.Builder, cloud.prefab.domain.Prefab.SegmentOrBuilder>(
                  (cloud.prefab.domain.Prefab.Segment) type_,
                  getParentForChildren(),
                  isClean());
          type_ = null;
        }
        typeCase_ = 8;
        onChanged();;
        return segmentBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:prefab.ConfigValue)
    }

    // @@protoc_insertion_point(class_scope:prefab.ConfigValue)
    private static final cloud.prefab.domain.Prefab.ConfigValue DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.ConfigValue();
    }

    public static cloud.prefab.domain.Prefab.ConfigValue getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ConfigValue parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ConfigValue(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigValue getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ConfigsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.Configs)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .prefab.Config configs = 1;
     */
    java.util.List 
        getConfigsList();
    /**
     * repeated .prefab.Config configs = 1;
     */
    cloud.prefab.domain.Prefab.Config getConfigs(int index);
    /**
     * repeated .prefab.Config configs = 1;
     */
    int getConfigsCount();
    /**
     * repeated .prefab.Config configs = 1;
     */
    java.util.List 
        getConfigsOrBuilderList();
    /**
     * repeated .prefab.Config configs = 1;
     */
    cloud.prefab.domain.Prefab.ConfigOrBuilder getConfigsOrBuilder(
        int index);

    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     * @return Whether the configServicePointer field is set.
     */
    boolean hasConfigServicePointer();
    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     * @return The configServicePointer.
     */
    cloud.prefab.domain.Prefab.ConfigServicePointer getConfigServicePointer();
    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     */
    cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder getConfigServicePointerOrBuilder();
  }
  /**
   * Protobuf type {@code prefab.Configs}
   */
  public static final class Configs extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:prefab.Configs)
      ConfigsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Configs.newBuilder() to construct.
    private Configs(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Configs() {
      configs_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Configs();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Configs(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                configs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              configs_.add(
                  input.readMessage(cloud.prefab.domain.Prefab.Config.parser(), extensionRegistry));
              break;
            }
            case 18: {
              cloud.prefab.domain.Prefab.ConfigServicePointer.Builder subBuilder = null;
              if (configServicePointer_ != null) {
                subBuilder = configServicePointer_.toBuilder();
              }
              configServicePointer_ = input.readMessage(cloud.prefab.domain.Prefab.ConfigServicePointer.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(configServicePointer_);
                configServicePointer_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          configs_ = java.util.Collections.unmodifiableList(configs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_Configs_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_Configs_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cloud.prefab.domain.Prefab.Configs.class, cloud.prefab.domain.Prefab.Configs.Builder.class);
    }

    public static final int CONFIGS_FIELD_NUMBER = 1;
    private java.util.List configs_;
    /**
     * repeated .prefab.Config configs = 1;
     */
    @java.lang.Override
    public java.util.List getConfigsList() {
      return configs_;
    }
    /**
     * repeated .prefab.Config configs = 1;
     */
    @java.lang.Override
    public java.util.List 
        getConfigsOrBuilderList() {
      return configs_;
    }
    /**
     * repeated .prefab.Config configs = 1;
     */
    @java.lang.Override
    public int getConfigsCount() {
      return configs_.size();
    }
    /**
     * repeated .prefab.Config configs = 1;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.Config getConfigs(int index) {
      return configs_.get(index);
    }
    /**
     * repeated .prefab.Config configs = 1;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigOrBuilder getConfigsOrBuilder(
        int index) {
      return configs_.get(index);
    }

    public static final int CONFIG_SERVICE_POINTER_FIELD_NUMBER = 2;
    private cloud.prefab.domain.Prefab.ConfigServicePointer configServicePointer_;
    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     * @return Whether the configServicePointer field is set.
     */
    @java.lang.Override
    public boolean hasConfigServicePointer() {
      return configServicePointer_ != null;
    }
    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     * @return The configServicePointer.
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigServicePointer getConfigServicePointer() {
      return configServicePointer_ == null ? cloud.prefab.domain.Prefab.ConfigServicePointer.getDefaultInstance() : configServicePointer_;
    }
    /**
     * .prefab.ConfigServicePointer config_service_pointer = 2;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder getConfigServicePointerOrBuilder() {
      return getConfigServicePointer();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < configs_.size(); i++) {
        output.writeMessage(1, configs_.get(i));
      }
      if (configServicePointer_ != null) {
        output.writeMessage(2, getConfigServicePointer());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < configs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, configs_.get(i));
      }
      if (configServicePointer_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getConfigServicePointer());
      }
      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 cloud.prefab.domain.Prefab.Configs)) {
        return super.equals(obj);
      }
      cloud.prefab.domain.Prefab.Configs other = (cloud.prefab.domain.Prefab.Configs) obj;

      if (!getConfigsList()
          .equals(other.getConfigsList())) return false;
      if (hasConfigServicePointer() != other.hasConfigServicePointer()) return false;
      if (hasConfigServicePointer()) {
        if (!getConfigServicePointer()
            .equals(other.getConfigServicePointer())) 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 (getConfigsCount() > 0) {
        hash = (37 * hash) + CONFIGS_FIELD_NUMBER;
        hash = (53 * hash) + getConfigsList().hashCode();
      }
      if (hasConfigServicePointer()) {
        hash = (37 * hash) + CONFIG_SERVICE_POINTER_FIELD_NUMBER;
        hash = (53 * hash) + getConfigServicePointer().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Configs parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Configs parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Configs parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.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(cloud.prefab.domain.Prefab.Configs 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(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code prefab.Configs}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:prefab.Configs)
        cloud.prefab.domain.Prefab.ConfigsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Configs_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Configs_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cloud.prefab.domain.Prefab.Configs.class, cloud.prefab.domain.Prefab.Configs.Builder.class);
      }

      // Construct using cloud.prefab.domain.Prefab.Configs.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getConfigsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (configsBuilder_ == null) {
          configs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          configsBuilder_.clear();
        }
        if (configServicePointerBuilder_ == null) {
          configServicePointer_ = null;
        } else {
          configServicePointer_ = null;
          configServicePointerBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Configs_descriptor;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Configs getDefaultInstanceForType() {
        return cloud.prefab.domain.Prefab.Configs.getDefaultInstance();
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Configs build() {
        cloud.prefab.domain.Prefab.Configs result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Configs buildPartial() {
        cloud.prefab.domain.Prefab.Configs result = new cloud.prefab.domain.Prefab.Configs(this);
        int from_bitField0_ = bitField0_;
        if (configsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            configs_ = java.util.Collections.unmodifiableList(configs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.configs_ = configs_;
        } else {
          result.configs_ = configsBuilder_.build();
        }
        if (configServicePointerBuilder_ == null) {
          result.configServicePointer_ = configServicePointer_;
        } else {
          result.configServicePointer_ = configServicePointerBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cloud.prefab.domain.Prefab.Configs) {
          return mergeFrom((cloud.prefab.domain.Prefab.Configs)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cloud.prefab.domain.Prefab.Configs other) {
        if (other == cloud.prefab.domain.Prefab.Configs.getDefaultInstance()) return this;
        if (configsBuilder_ == null) {
          if (!other.configs_.isEmpty()) {
            if (configs_.isEmpty()) {
              configs_ = other.configs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureConfigsIsMutable();
              configs_.addAll(other.configs_);
            }
            onChanged();
          }
        } else {
          if (!other.configs_.isEmpty()) {
            if (configsBuilder_.isEmpty()) {
              configsBuilder_.dispose();
              configsBuilder_ = null;
              configs_ = other.configs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              configsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getConfigsFieldBuilder() : null;
            } else {
              configsBuilder_.addAllMessages(other.configs_);
            }
          }
        }
        if (other.hasConfigServicePointer()) {
          mergeConfigServicePointer(other.getConfigServicePointer());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cloud.prefab.domain.Prefab.Configs parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cloud.prefab.domain.Prefab.Configs) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List configs_ =
        java.util.Collections.emptyList();
      private void ensureConfigsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          configs_ = new java.util.ArrayList(configs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.Config, cloud.prefab.domain.Prefab.Config.Builder, cloud.prefab.domain.Prefab.ConfigOrBuilder> configsBuilder_;

      /**
       * repeated .prefab.Config configs = 1;
       */
      public java.util.List getConfigsList() {
        if (configsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(configs_);
        } else {
          return configsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public int getConfigsCount() {
        if (configsBuilder_ == null) {
          return configs_.size();
        } else {
          return configsBuilder_.getCount();
        }
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public cloud.prefab.domain.Prefab.Config getConfigs(int index) {
        if (configsBuilder_ == null) {
          return configs_.get(index);
        } else {
          return configsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder setConfigs(
          int index, cloud.prefab.domain.Prefab.Config value) {
        if (configsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigsIsMutable();
          configs_.set(index, value);
          onChanged();
        } else {
          configsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder setConfigs(
          int index, cloud.prefab.domain.Prefab.Config.Builder builderForValue) {
        if (configsBuilder_ == null) {
          ensureConfigsIsMutable();
          configs_.set(index, builderForValue.build());
          onChanged();
        } else {
          configsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder addConfigs(cloud.prefab.domain.Prefab.Config value) {
        if (configsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigsIsMutable();
          configs_.add(value);
          onChanged();
        } else {
          configsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder addConfigs(
          int index, cloud.prefab.domain.Prefab.Config value) {
        if (configsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigsIsMutable();
          configs_.add(index, value);
          onChanged();
        } else {
          configsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder addConfigs(
          cloud.prefab.domain.Prefab.Config.Builder builderForValue) {
        if (configsBuilder_ == null) {
          ensureConfigsIsMutable();
          configs_.add(builderForValue.build());
          onChanged();
        } else {
          configsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder addConfigs(
          int index, cloud.prefab.domain.Prefab.Config.Builder builderForValue) {
        if (configsBuilder_ == null) {
          ensureConfigsIsMutable();
          configs_.add(index, builderForValue.build());
          onChanged();
        } else {
          configsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder addAllConfigs(
          java.lang.Iterable values) {
        if (configsBuilder_ == null) {
          ensureConfigsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, configs_);
          onChanged();
        } else {
          configsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder clearConfigs() {
        if (configsBuilder_ == null) {
          configs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          configsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public Builder removeConfigs(int index) {
        if (configsBuilder_ == null) {
          ensureConfigsIsMutable();
          configs_.remove(index);
          onChanged();
        } else {
          configsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public cloud.prefab.domain.Prefab.Config.Builder getConfigsBuilder(
          int index) {
        return getConfigsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public cloud.prefab.domain.Prefab.ConfigOrBuilder getConfigsOrBuilder(
          int index) {
        if (configsBuilder_ == null) {
          return configs_.get(index);  } else {
          return configsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public java.util.List 
           getConfigsOrBuilderList() {
        if (configsBuilder_ != null) {
          return configsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(configs_);
        }
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public cloud.prefab.domain.Prefab.Config.Builder addConfigsBuilder() {
        return getConfigsFieldBuilder().addBuilder(
            cloud.prefab.domain.Prefab.Config.getDefaultInstance());
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public cloud.prefab.domain.Prefab.Config.Builder addConfigsBuilder(
          int index) {
        return getConfigsFieldBuilder().addBuilder(
            index, cloud.prefab.domain.Prefab.Config.getDefaultInstance());
      }
      /**
       * repeated .prefab.Config configs = 1;
       */
      public java.util.List 
           getConfigsBuilderList() {
        return getConfigsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.Config, cloud.prefab.domain.Prefab.Config.Builder, cloud.prefab.domain.Prefab.ConfigOrBuilder> 
          getConfigsFieldBuilder() {
        if (configsBuilder_ == null) {
          configsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              cloud.prefab.domain.Prefab.Config, cloud.prefab.domain.Prefab.Config.Builder, cloud.prefab.domain.Prefab.ConfigOrBuilder>(
                  configs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          configs_ = null;
        }
        return configsBuilder_;
      }

      private cloud.prefab.domain.Prefab.ConfigServicePointer configServicePointer_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigServicePointer, cloud.prefab.domain.Prefab.ConfigServicePointer.Builder, cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder> configServicePointerBuilder_;
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       * @return Whether the configServicePointer field is set.
       */
      public boolean hasConfigServicePointer() {
        return configServicePointerBuilder_ != null || configServicePointer_ != null;
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       * @return The configServicePointer.
       */
      public cloud.prefab.domain.Prefab.ConfigServicePointer getConfigServicePointer() {
        if (configServicePointerBuilder_ == null) {
          return configServicePointer_ == null ? cloud.prefab.domain.Prefab.ConfigServicePointer.getDefaultInstance() : configServicePointer_;
        } else {
          return configServicePointerBuilder_.getMessage();
        }
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public Builder setConfigServicePointer(cloud.prefab.domain.Prefab.ConfigServicePointer value) {
        if (configServicePointerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          configServicePointer_ = value;
          onChanged();
        } else {
          configServicePointerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public Builder setConfigServicePointer(
          cloud.prefab.domain.Prefab.ConfigServicePointer.Builder builderForValue) {
        if (configServicePointerBuilder_ == null) {
          configServicePointer_ = builderForValue.build();
          onChanged();
        } else {
          configServicePointerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public Builder mergeConfigServicePointer(cloud.prefab.domain.Prefab.ConfigServicePointer value) {
        if (configServicePointerBuilder_ == null) {
          if (configServicePointer_ != null) {
            configServicePointer_ =
              cloud.prefab.domain.Prefab.ConfigServicePointer.newBuilder(configServicePointer_).mergeFrom(value).buildPartial();
          } else {
            configServicePointer_ = value;
          }
          onChanged();
        } else {
          configServicePointerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public Builder clearConfigServicePointer() {
        if (configServicePointerBuilder_ == null) {
          configServicePointer_ = null;
          onChanged();
        } else {
          configServicePointer_ = null;
          configServicePointerBuilder_ = null;
        }

        return this;
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public cloud.prefab.domain.Prefab.ConfigServicePointer.Builder getConfigServicePointerBuilder() {
        
        onChanged();
        return getConfigServicePointerFieldBuilder().getBuilder();
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      public cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder getConfigServicePointerOrBuilder() {
        if (configServicePointerBuilder_ != null) {
          return configServicePointerBuilder_.getMessageOrBuilder();
        } else {
          return configServicePointer_ == null ?
              cloud.prefab.domain.Prefab.ConfigServicePointer.getDefaultInstance() : configServicePointer_;
        }
      }
      /**
       * .prefab.ConfigServicePointer config_service_pointer = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigServicePointer, cloud.prefab.domain.Prefab.ConfigServicePointer.Builder, cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder> 
          getConfigServicePointerFieldBuilder() {
        if (configServicePointerBuilder_ == null) {
          configServicePointerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cloud.prefab.domain.Prefab.ConfigServicePointer, cloud.prefab.domain.Prefab.ConfigServicePointer.Builder, cloud.prefab.domain.Prefab.ConfigServicePointerOrBuilder>(
                  getConfigServicePointer(),
                  getParentForChildren(),
                  isClean());
          configServicePointer_ = null;
        }
        return configServicePointerBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:prefab.Configs)
    }

    // @@protoc_insertion_point(class_scope:prefab.Configs)
    private static final cloud.prefab.domain.Prefab.Configs DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.Configs();
    }

    public static cloud.prefab.domain.Prefab.Configs getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Configs parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Configs(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public cloud.prefab.domain.Prefab.Configs getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.Config)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 id = 1;
     * @return The id.
     */
    long getId();

    /**
     * int64 project_id = 2;
     * @return The projectId.
     */
    long getProjectId();

    /**
     * string key = 3;
     * @return The key.
     */
    java.lang.String getKey();
    /**
     * string key = 3;
     * @return The bytes for key.
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * string changed_by = 4;
     * @return The changedBy.
     */
    java.lang.String getChangedBy();
    /**
     * string changed_by = 4;
     * @return The bytes for changedBy.
     */
    com.google.protobuf.ByteString
        getChangedByBytes();

    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    java.util.List 
        getRowsList();
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    cloud.prefab.domain.Prefab.ConfigRow getRows(int index);
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    int getRowsCount();
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    java.util.List 
        getRowsOrBuilderList();
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    cloud.prefab.domain.Prefab.ConfigRowOrBuilder getRowsOrBuilder(
        int index);

    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    java.util.List 
        getVariantsList();
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    cloud.prefab.domain.Prefab.FeatureFlagVariant getVariants(int index);
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    int getVariantsCount();
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    java.util.List 
        getVariantsOrBuilderList();
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder getVariantsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code prefab.Config}
   */
  public static final class Config extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:prefab.Config)
      ConfigOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Config.newBuilder() to construct.
    private Config(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Config() {
      key_ = "";
      changedBy_ = "";
      rows_ = java.util.Collections.emptyList();
      variants_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Config();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Config(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              id_ = input.readInt64();
              break;
            }
            case 16: {

              projectId_ = input.readInt64();
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              changedBy_ = s;
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                rows_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              rows_.add(
                  input.readMessage(cloud.prefab.domain.Prefab.ConfigRow.parser(), extensionRegistry));
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                variants_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              variants_.add(
                  input.readMessage(cloud.prefab.domain.Prefab.FeatureFlagVariant.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          rows_ = java.util.Collections.unmodifiableList(rows_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          variants_ = java.util.Collections.unmodifiableList(variants_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_Config_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_Config_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cloud.prefab.domain.Prefab.Config.class, cloud.prefab.domain.Prefab.Config.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    private long id_;
    /**
     * int64 id = 1;
     * @return The id.
     */
    @java.lang.Override
    public long getId() {
      return id_;
    }

    public static final int PROJECT_ID_FIELD_NUMBER = 2;
    private long projectId_;
    /**
     * int64 project_id = 2;
     * @return The projectId.
     */
    @java.lang.Override
    public long getProjectId() {
      return projectId_;
    }

    public static final int KEY_FIELD_NUMBER = 3;
    private volatile java.lang.Object key_;
    /**
     * string key = 3;
     * @return The key.
     */
    @java.lang.Override
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * string key = 3;
     * @return The bytes for key.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CHANGED_BY_FIELD_NUMBER = 4;
    private volatile java.lang.Object changedBy_;
    /**
     * string changed_by = 4;
     * @return The changedBy.
     */
    @java.lang.Override
    public java.lang.String getChangedBy() {
      java.lang.Object ref = changedBy_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        changedBy_ = s;
        return s;
      }
    }
    /**
     * string changed_by = 4;
     * @return The bytes for changedBy.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getChangedByBytes() {
      java.lang.Object ref = changedBy_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        changedBy_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ROWS_FIELD_NUMBER = 5;
    private java.util.List rows_;
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    @java.lang.Override
    public java.util.List getRowsList() {
      return rows_;
    }
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    @java.lang.Override
    public java.util.List 
        getRowsOrBuilderList() {
      return rows_;
    }
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    @java.lang.Override
    public int getRowsCount() {
      return rows_.size();
    }
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigRow getRows(int index) {
      return rows_.get(index);
    }
    /**
     * repeated .prefab.ConfigRow rows = 5;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigRowOrBuilder getRowsOrBuilder(
        int index) {
      return rows_.get(index);
    }

    public static final int VARIANTS_FIELD_NUMBER = 6;
    private java.util.List variants_;
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    @java.lang.Override
    public java.util.List getVariantsList() {
      return variants_;
    }
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    @java.lang.Override
    public java.util.List 
        getVariantsOrBuilderList() {
      return variants_;
    }
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    @java.lang.Override
    public int getVariantsCount() {
      return variants_.size();
    }
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.FeatureFlagVariant getVariants(int index) {
      return variants_.get(index);
    }
    /**
     * repeated .prefab.FeatureFlagVariant variants = 6;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder getVariantsOrBuilder(
        int index) {
      return variants_.get(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (id_ != 0L) {
        output.writeInt64(1, id_);
      }
      if (projectId_ != 0L) {
        output.writeInt64(2, projectId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, key_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(changedBy_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, changedBy_);
      }
      for (int i = 0; i < rows_.size(); i++) {
        output.writeMessage(5, rows_.get(i));
      }
      for (int i = 0; i < variants_.size(); i++) {
        output.writeMessage(6, variants_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (id_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, id_);
      }
      if (projectId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, projectId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, key_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(changedBy_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, changedBy_);
      }
      for (int i = 0; i < rows_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, rows_.get(i));
      }
      for (int i = 0; i < variants_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, variants_.get(i));
      }
      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 cloud.prefab.domain.Prefab.Config)) {
        return super.equals(obj);
      }
      cloud.prefab.domain.Prefab.Config other = (cloud.prefab.domain.Prefab.Config) obj;

      if (getId()
          != other.getId()) return false;
      if (getProjectId()
          != other.getProjectId()) return false;
      if (!getKey()
          .equals(other.getKey())) return false;
      if (!getChangedBy()
          .equals(other.getChangedBy())) return false;
      if (!getRowsList()
          .equals(other.getRowsList())) return false;
      if (!getVariantsList()
          .equals(other.getVariantsList())) 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();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getId());
      hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getProjectId());
      hash = (37 * hash) + KEY_FIELD_NUMBER;
      hash = (53 * hash) + getKey().hashCode();
      hash = (37 * hash) + CHANGED_BY_FIELD_NUMBER;
      hash = (53 * hash) + getChangedBy().hashCode();
      if (getRowsCount() > 0) {
        hash = (37 * hash) + ROWS_FIELD_NUMBER;
        hash = (53 * hash) + getRowsList().hashCode();
      }
      if (getVariantsCount() > 0) {
        hash = (37 * hash) + VARIANTS_FIELD_NUMBER;
        hash = (53 * hash) + getVariantsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cloud.prefab.domain.Prefab.Config parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Config parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Config parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.Config parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.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(cloud.prefab.domain.Prefab.Config 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(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code prefab.Config}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:prefab.Config)
        cloud.prefab.domain.Prefab.ConfigOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Config_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Config_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cloud.prefab.domain.Prefab.Config.class, cloud.prefab.domain.Prefab.Config.Builder.class);
      }

      // Construct using cloud.prefab.domain.Prefab.Config.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getRowsFieldBuilder();
          getVariantsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        id_ = 0L;

        projectId_ = 0L;

        key_ = "";

        changedBy_ = "";

        if (rowsBuilder_ == null) {
          rows_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          rowsBuilder_.clear();
        }
        if (variantsBuilder_ == null) {
          variants_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          variantsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_Config_descriptor;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Config getDefaultInstanceForType() {
        return cloud.prefab.domain.Prefab.Config.getDefaultInstance();
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Config build() {
        cloud.prefab.domain.Prefab.Config result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.Config buildPartial() {
        cloud.prefab.domain.Prefab.Config result = new cloud.prefab.domain.Prefab.Config(this);
        int from_bitField0_ = bitField0_;
        result.id_ = id_;
        result.projectId_ = projectId_;
        result.key_ = key_;
        result.changedBy_ = changedBy_;
        if (rowsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            rows_ = java.util.Collections.unmodifiableList(rows_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.rows_ = rows_;
        } else {
          result.rows_ = rowsBuilder_.build();
        }
        if (variantsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            variants_ = java.util.Collections.unmodifiableList(variants_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.variants_ = variants_;
        } else {
          result.variants_ = variantsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cloud.prefab.domain.Prefab.Config) {
          return mergeFrom((cloud.prefab.domain.Prefab.Config)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cloud.prefab.domain.Prefab.Config other) {
        if (other == cloud.prefab.domain.Prefab.Config.getDefaultInstance()) return this;
        if (other.getId() != 0L) {
          setId(other.getId());
        }
        if (other.getProjectId() != 0L) {
          setProjectId(other.getProjectId());
        }
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        if (!other.getChangedBy().isEmpty()) {
          changedBy_ = other.changedBy_;
          onChanged();
        }
        if (rowsBuilder_ == null) {
          if (!other.rows_.isEmpty()) {
            if (rows_.isEmpty()) {
              rows_ = other.rows_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureRowsIsMutable();
              rows_.addAll(other.rows_);
            }
            onChanged();
          }
        } else {
          if (!other.rows_.isEmpty()) {
            if (rowsBuilder_.isEmpty()) {
              rowsBuilder_.dispose();
              rowsBuilder_ = null;
              rows_ = other.rows_;
              bitField0_ = (bitField0_ & ~0x00000001);
              rowsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRowsFieldBuilder() : null;
            } else {
              rowsBuilder_.addAllMessages(other.rows_);
            }
          }
        }
        if (variantsBuilder_ == null) {
          if (!other.variants_.isEmpty()) {
            if (variants_.isEmpty()) {
              variants_ = other.variants_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureVariantsIsMutable();
              variants_.addAll(other.variants_);
            }
            onChanged();
          }
        } else {
          if (!other.variants_.isEmpty()) {
            if (variantsBuilder_.isEmpty()) {
              variantsBuilder_.dispose();
              variantsBuilder_ = null;
              variants_ = other.variants_;
              bitField0_ = (bitField0_ & ~0x00000002);
              variantsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getVariantsFieldBuilder() : null;
            } else {
              variantsBuilder_.addAllMessages(other.variants_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cloud.prefab.domain.Prefab.Config parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cloud.prefab.domain.Prefab.Config) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long id_ ;
      /**
       * int64 id = 1;
       * @return The id.
       */
      @java.lang.Override
      public long getId() {
        return id_;
      }
      /**
       * int64 id = 1;
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(long value) {
        
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 id = 1;
       * @return This builder for chaining.
       */
      public Builder clearId() {
        
        id_ = 0L;
        onChanged();
        return this;
      }

      private long projectId_ ;
      /**
       * int64 project_id = 2;
       * @return The projectId.
       */
      @java.lang.Override
      public long getProjectId() {
        return projectId_;
      }
      /**
       * int64 project_id = 2;
       * @param value The projectId to set.
       * @return This builder for chaining.
       */
      public Builder setProjectId(long value) {
        
        projectId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 project_id = 2;
       * @return This builder for chaining.
       */
      public Builder clearProjectId() {
        
        projectId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * string key = 3;
       * @return The key.
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string key = 3;
       * @return The bytes for key.
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string key = 3;
       * @param value The key to set.
       * @return This builder for chaining.
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * string key = 3;
       * @return This builder for chaining.
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * string key = 3;
       * @param value The bytes for key to set.
       * @return This builder for chaining.
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object changedBy_ = "";
      /**
       * string changed_by = 4;
       * @return The changedBy.
       */
      public java.lang.String getChangedBy() {
        java.lang.Object ref = changedBy_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          changedBy_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string changed_by = 4;
       * @return The bytes for changedBy.
       */
      public com.google.protobuf.ByteString
          getChangedByBytes() {
        java.lang.Object ref = changedBy_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          changedBy_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string changed_by = 4;
       * @param value The changedBy to set.
       * @return This builder for chaining.
       */
      public Builder setChangedBy(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        changedBy_ = value;
        onChanged();
        return this;
      }
      /**
       * string changed_by = 4;
       * @return This builder for chaining.
       */
      public Builder clearChangedBy() {
        
        changedBy_ = getDefaultInstance().getChangedBy();
        onChanged();
        return this;
      }
      /**
       * string changed_by = 4;
       * @param value The bytes for changedBy to set.
       * @return This builder for chaining.
       */
      public Builder setChangedByBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        changedBy_ = value;
        onChanged();
        return this;
      }

      private java.util.List rows_ =
        java.util.Collections.emptyList();
      private void ensureRowsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          rows_ = new java.util.ArrayList(rows_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigRow, cloud.prefab.domain.Prefab.ConfigRow.Builder, cloud.prefab.domain.Prefab.ConfigRowOrBuilder> rowsBuilder_;

      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public java.util.List getRowsList() {
        if (rowsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(rows_);
        } else {
          return rowsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public int getRowsCount() {
        if (rowsBuilder_ == null) {
          return rows_.size();
        } else {
          return rowsBuilder_.getCount();
        }
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public cloud.prefab.domain.Prefab.ConfigRow getRows(int index) {
        if (rowsBuilder_ == null) {
          return rows_.get(index);
        } else {
          return rowsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder setRows(
          int index, cloud.prefab.domain.Prefab.ConfigRow value) {
        if (rowsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRowsIsMutable();
          rows_.set(index, value);
          onChanged();
        } else {
          rowsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder setRows(
          int index, cloud.prefab.domain.Prefab.ConfigRow.Builder builderForValue) {
        if (rowsBuilder_ == null) {
          ensureRowsIsMutable();
          rows_.set(index, builderForValue.build());
          onChanged();
        } else {
          rowsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder addRows(cloud.prefab.domain.Prefab.ConfigRow value) {
        if (rowsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRowsIsMutable();
          rows_.add(value);
          onChanged();
        } else {
          rowsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder addRows(
          int index, cloud.prefab.domain.Prefab.ConfigRow value) {
        if (rowsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRowsIsMutable();
          rows_.add(index, value);
          onChanged();
        } else {
          rowsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder addRows(
          cloud.prefab.domain.Prefab.ConfigRow.Builder builderForValue) {
        if (rowsBuilder_ == null) {
          ensureRowsIsMutable();
          rows_.add(builderForValue.build());
          onChanged();
        } else {
          rowsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder addRows(
          int index, cloud.prefab.domain.Prefab.ConfigRow.Builder builderForValue) {
        if (rowsBuilder_ == null) {
          ensureRowsIsMutable();
          rows_.add(index, builderForValue.build());
          onChanged();
        } else {
          rowsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder addAllRows(
          java.lang.Iterable values) {
        if (rowsBuilder_ == null) {
          ensureRowsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, rows_);
          onChanged();
        } else {
          rowsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder clearRows() {
        if (rowsBuilder_ == null) {
          rows_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          rowsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public Builder removeRows(int index) {
        if (rowsBuilder_ == null) {
          ensureRowsIsMutable();
          rows_.remove(index);
          onChanged();
        } else {
          rowsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public cloud.prefab.domain.Prefab.ConfigRow.Builder getRowsBuilder(
          int index) {
        return getRowsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public cloud.prefab.domain.Prefab.ConfigRowOrBuilder getRowsOrBuilder(
          int index) {
        if (rowsBuilder_ == null) {
          return rows_.get(index);  } else {
          return rowsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public java.util.List 
           getRowsOrBuilderList() {
        if (rowsBuilder_ != null) {
          return rowsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(rows_);
        }
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public cloud.prefab.domain.Prefab.ConfigRow.Builder addRowsBuilder() {
        return getRowsFieldBuilder().addBuilder(
            cloud.prefab.domain.Prefab.ConfigRow.getDefaultInstance());
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public cloud.prefab.domain.Prefab.ConfigRow.Builder addRowsBuilder(
          int index) {
        return getRowsFieldBuilder().addBuilder(
            index, cloud.prefab.domain.Prefab.ConfigRow.getDefaultInstance());
      }
      /**
       * repeated .prefab.ConfigRow rows = 5;
       */
      public java.util.List 
           getRowsBuilderList() {
        return getRowsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigRow, cloud.prefab.domain.Prefab.ConfigRow.Builder, cloud.prefab.domain.Prefab.ConfigRowOrBuilder> 
          getRowsFieldBuilder() {
        if (rowsBuilder_ == null) {
          rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              cloud.prefab.domain.Prefab.ConfigRow, cloud.prefab.domain.Prefab.ConfigRow.Builder, cloud.prefab.domain.Prefab.ConfigRowOrBuilder>(
                  rows_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          rows_ = null;
        }
        return rowsBuilder_;
      }

      private java.util.List variants_ =
        java.util.Collections.emptyList();
      private void ensureVariantsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          variants_ = new java.util.ArrayList(variants_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.FeatureFlagVariant, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder, cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder> variantsBuilder_;

      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public java.util.List getVariantsList() {
        if (variantsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(variants_);
        } else {
          return variantsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public int getVariantsCount() {
        if (variantsBuilder_ == null) {
          return variants_.size();
        } else {
          return variantsBuilder_.getCount();
        }
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlagVariant getVariants(int index) {
        if (variantsBuilder_ == null) {
          return variants_.get(index);
        } else {
          return variantsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder setVariants(
          int index, cloud.prefab.domain.Prefab.FeatureFlagVariant value) {
        if (variantsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVariantsIsMutable();
          variants_.set(index, value);
          onChanged();
        } else {
          variantsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder setVariants(
          int index, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder builderForValue) {
        if (variantsBuilder_ == null) {
          ensureVariantsIsMutable();
          variants_.set(index, builderForValue.build());
          onChanged();
        } else {
          variantsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder addVariants(cloud.prefab.domain.Prefab.FeatureFlagVariant value) {
        if (variantsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVariantsIsMutable();
          variants_.add(value);
          onChanged();
        } else {
          variantsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder addVariants(
          int index, cloud.prefab.domain.Prefab.FeatureFlagVariant value) {
        if (variantsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVariantsIsMutable();
          variants_.add(index, value);
          onChanged();
        } else {
          variantsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder addVariants(
          cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder builderForValue) {
        if (variantsBuilder_ == null) {
          ensureVariantsIsMutable();
          variants_.add(builderForValue.build());
          onChanged();
        } else {
          variantsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder addVariants(
          int index, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder builderForValue) {
        if (variantsBuilder_ == null) {
          ensureVariantsIsMutable();
          variants_.add(index, builderForValue.build());
          onChanged();
        } else {
          variantsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder addAllVariants(
          java.lang.Iterable values) {
        if (variantsBuilder_ == null) {
          ensureVariantsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, variants_);
          onChanged();
        } else {
          variantsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder clearVariants() {
        if (variantsBuilder_ == null) {
          variants_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          variantsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public Builder removeVariants(int index) {
        if (variantsBuilder_ == null) {
          ensureVariantsIsMutable();
          variants_.remove(index);
          onChanged();
        } else {
          variantsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder getVariantsBuilder(
          int index) {
        return getVariantsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder getVariantsOrBuilder(
          int index) {
        if (variantsBuilder_ == null) {
          return variants_.get(index);  } else {
          return variantsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public java.util.List 
           getVariantsOrBuilderList() {
        if (variantsBuilder_ != null) {
          return variantsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(variants_);
        }
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder addVariantsBuilder() {
        return getVariantsFieldBuilder().addBuilder(
            cloud.prefab.domain.Prefab.FeatureFlagVariant.getDefaultInstance());
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder addVariantsBuilder(
          int index) {
        return getVariantsFieldBuilder().addBuilder(
            index, cloud.prefab.domain.Prefab.FeatureFlagVariant.getDefaultInstance());
      }
      /**
       * repeated .prefab.FeatureFlagVariant variants = 6;
       */
      public java.util.List 
           getVariantsBuilderList() {
        return getVariantsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          cloud.prefab.domain.Prefab.FeatureFlagVariant, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder, cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder> 
          getVariantsFieldBuilder() {
        if (variantsBuilder_ == null) {
          variantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              cloud.prefab.domain.Prefab.FeatureFlagVariant, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder, cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder>(
                  variants_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          variants_ = null;
        }
        return variantsBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:prefab.Config)
    }

    // @@protoc_insertion_point(class_scope:prefab.Config)
    private static final cloud.prefab.domain.Prefab.Config DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.Config();
    }

    public static cloud.prefab.domain.Prefab.Config getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Config parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Config(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public cloud.prefab.domain.Prefab.Config getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ConfigRowOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.ConfigRow)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 project_env_id = 1;
     * @return The projectEnvId.
     */
    long getProjectEnvId();

    /**
     * string namespace = 2;
     * @return The namespace.
     */
    java.lang.String getNamespace();
    /**
     * string namespace = 2;
     * @return The bytes for namespace.
     */
    com.google.protobuf.ByteString
        getNamespaceBytes();

    /**
     * .prefab.ConfigValue value = 3;
     * @return Whether the value field is set.
     */
    boolean hasValue();
    /**
     * .prefab.ConfigValue value = 3;
     * @return The value.
     */
    cloud.prefab.domain.Prefab.ConfigValue getValue();
    /**
     * .prefab.ConfigValue value = 3;
     */
    cloud.prefab.domain.Prefab.ConfigValueOrBuilder getValueOrBuilder();
  }
  /**
   * Protobuf type {@code prefab.ConfigRow}
   */
  public static final class ConfigRow extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:prefab.ConfigRow)
      ConfigRowOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ConfigRow.newBuilder() to construct.
    private ConfigRow(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ConfigRow() {
      namespace_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ConfigRow();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ConfigRow(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              projectEnvId_ = input.readInt64();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              namespace_ = s;
              break;
            }
            case 26: {
              cloud.prefab.domain.Prefab.ConfigValue.Builder subBuilder = null;
              if (value_ != null) {
                subBuilder = value_.toBuilder();
              }
              value_ = input.readMessage(cloud.prefab.domain.Prefab.ConfigValue.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(value_);
                value_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigRow_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigRow_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cloud.prefab.domain.Prefab.ConfigRow.class, cloud.prefab.domain.Prefab.ConfigRow.Builder.class);
    }

    public static final int PROJECT_ENV_ID_FIELD_NUMBER = 1;
    private long projectEnvId_;
    /**
     * int64 project_env_id = 1;
     * @return The projectEnvId.
     */
    @java.lang.Override
    public long getProjectEnvId() {
      return projectEnvId_;
    }

    public static final int NAMESPACE_FIELD_NUMBER = 2;
    private volatile java.lang.Object namespace_;
    /**
     * string namespace = 2;
     * @return The namespace.
     */
    @java.lang.Override
    public java.lang.String getNamespace() {
      java.lang.Object ref = namespace_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        namespace_ = s;
        return s;
      }
    }
    /**
     * string namespace = 2;
     * @return The bytes for namespace.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNamespaceBytes() {
      java.lang.Object ref = namespace_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        namespace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VALUE_FIELD_NUMBER = 3;
    private cloud.prefab.domain.Prefab.ConfigValue value_;
    /**
     * .prefab.ConfigValue value = 3;
     * @return Whether the value field is set.
     */
    @java.lang.Override
    public boolean hasValue() {
      return value_ != null;
    }
    /**
     * .prefab.ConfigValue value = 3;
     * @return The value.
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigValue getValue() {
      return value_ == null ? cloud.prefab.domain.Prefab.ConfigValue.getDefaultInstance() : value_;
    }
    /**
     * .prefab.ConfigValue value = 3;
     */
    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigValueOrBuilder getValueOrBuilder() {
      return getValue();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (projectEnvId_ != 0L) {
        output.writeInt64(1, projectEnvId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
      }
      if (value_ != null) {
        output.writeMessage(3, getValue());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (projectEnvId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, projectEnvId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
      }
      if (value_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, 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 cloud.prefab.domain.Prefab.ConfigRow)) {
        return super.equals(obj);
      }
      cloud.prefab.domain.Prefab.ConfigRow other = (cloud.prefab.domain.Prefab.ConfigRow) obj;

      if (getProjectEnvId()
          != other.getProjectEnvId()) return false;
      if (!getNamespace()
          .equals(other.getNamespace())) return false;
      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();
      hash = (37 * hash) + PROJECT_ENV_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getProjectEnvId());
      hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
      hash = (53 * hash) + getNamespace().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 cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cloud.prefab.domain.Prefab.ConfigRow parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.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(cloud.prefab.domain.Prefab.ConfigRow 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(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code prefab.ConfigRow}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:prefab.ConfigRow)
        cloud.prefab.domain.Prefab.ConfigRowOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigRow_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigRow_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cloud.prefab.domain.Prefab.ConfigRow.class, cloud.prefab.domain.Prefab.ConfigRow.Builder.class);
      }

      // Construct using cloud.prefab.domain.Prefab.ConfigRow.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        projectEnvId_ = 0L;

        namespace_ = "";

        if (valueBuilder_ == null) {
          value_ = null;
        } else {
          value_ = null;
          valueBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigRow_descriptor;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigRow getDefaultInstanceForType() {
        return cloud.prefab.domain.Prefab.ConfigRow.getDefaultInstance();
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigRow build() {
        cloud.prefab.domain.Prefab.ConfigRow result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cloud.prefab.domain.Prefab.ConfigRow buildPartial() {
        cloud.prefab.domain.Prefab.ConfigRow result = new cloud.prefab.domain.Prefab.ConfigRow(this);
        result.projectEnvId_ = projectEnvId_;
        result.namespace_ = namespace_;
        if (valueBuilder_ == null) {
          result.value_ = value_;
        } else {
          result.value_ = valueBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cloud.prefab.domain.Prefab.ConfigRow) {
          return mergeFrom((cloud.prefab.domain.Prefab.ConfigRow)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cloud.prefab.domain.Prefab.ConfigRow other) {
        if (other == cloud.prefab.domain.Prefab.ConfigRow.getDefaultInstance()) return this;
        if (other.getProjectEnvId() != 0L) {
          setProjectEnvId(other.getProjectEnvId());
        }
        if (!other.getNamespace().isEmpty()) {
          namespace_ = other.namespace_;
          onChanged();
        }
        if (other.hasValue()) {
          mergeValue(other.getValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cloud.prefab.domain.Prefab.ConfigRow parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cloud.prefab.domain.Prefab.ConfigRow) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long projectEnvId_ ;
      /**
       * int64 project_env_id = 1;
       * @return The projectEnvId.
       */
      @java.lang.Override
      public long getProjectEnvId() {
        return projectEnvId_;
      }
      /**
       * int64 project_env_id = 1;
       * @param value The projectEnvId to set.
       * @return This builder for chaining.
       */
      public Builder setProjectEnvId(long value) {
        
        projectEnvId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 project_env_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearProjectEnvId() {
        
        projectEnvId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object namespace_ = "";
      /**
       * string namespace = 2;
       * @return The namespace.
       */
      public java.lang.String getNamespace() {
        java.lang.Object ref = namespace_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          namespace_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string namespace = 2;
       * @return The bytes for namespace.
       */
      public com.google.protobuf.ByteString
          getNamespaceBytes() {
        java.lang.Object ref = namespace_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          namespace_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string namespace = 2;
       * @param value The namespace to set.
       * @return This builder for chaining.
       */
      public Builder setNamespace(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        namespace_ = value;
        onChanged();
        return this;
      }
      /**
       * string namespace = 2;
       * @return This builder for chaining.
       */
      public Builder clearNamespace() {
        
        namespace_ = getDefaultInstance().getNamespace();
        onChanged();
        return this;
      }
      /**
       * string namespace = 2;
       * @param value The bytes for namespace to set.
       * @return This builder for chaining.
       */
      public Builder setNamespaceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        namespace_ = value;
        onChanged();
        return this;
      }

      private cloud.prefab.domain.Prefab.ConfigValue value_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigValue, cloud.prefab.domain.Prefab.ConfigValue.Builder, cloud.prefab.domain.Prefab.ConfigValueOrBuilder> valueBuilder_;
      /**
       * .prefab.ConfigValue value = 3;
       * @return Whether the value field is set.
       */
      public boolean hasValue() {
        return valueBuilder_ != null || value_ != null;
      }
      /**
       * .prefab.ConfigValue value = 3;
       * @return The value.
       */
      public cloud.prefab.domain.Prefab.ConfigValue getValue() {
        if (valueBuilder_ == null) {
          return value_ == null ? cloud.prefab.domain.Prefab.ConfigValue.getDefaultInstance() : value_;
        } else {
          return valueBuilder_.getMessage();
        }
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public Builder setValue(cloud.prefab.domain.Prefab.ConfigValue value) {
        if (valueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          valueBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public Builder setValue(
          cloud.prefab.domain.Prefab.ConfigValue.Builder builderForValue) {
        if (valueBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          valueBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public Builder mergeValue(cloud.prefab.domain.Prefab.ConfigValue value) {
        if (valueBuilder_ == null) {
          if (value_ != null) {
            value_ =
              cloud.prefab.domain.Prefab.ConfigValue.newBuilder(value_).mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          valueBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public Builder clearValue() {
        if (valueBuilder_ == null) {
          value_ = null;
          onChanged();
        } else {
          value_ = null;
          valueBuilder_ = null;
        }

        return this;
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public cloud.prefab.domain.Prefab.ConfigValue.Builder getValueBuilder() {
        
        onChanged();
        return getValueFieldBuilder().getBuilder();
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      public cloud.prefab.domain.Prefab.ConfigValueOrBuilder getValueOrBuilder() {
        if (valueBuilder_ != null) {
          return valueBuilder_.getMessageOrBuilder();
        } else {
          return value_ == null ?
              cloud.prefab.domain.Prefab.ConfigValue.getDefaultInstance() : value_;
        }
      }
      /**
       * .prefab.ConfigValue value = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cloud.prefab.domain.Prefab.ConfigValue, cloud.prefab.domain.Prefab.ConfigValue.Builder, cloud.prefab.domain.Prefab.ConfigValueOrBuilder> 
          getValueFieldBuilder() {
        if (valueBuilder_ == null) {
          valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cloud.prefab.domain.Prefab.ConfigValue, cloud.prefab.domain.Prefab.ConfigValue.Builder, cloud.prefab.domain.Prefab.ConfigValueOrBuilder>(
                  getValue(),
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        return valueBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:prefab.ConfigRow)
    }

    // @@protoc_insertion_point(class_scope:prefab.ConfigRow)
    private static final cloud.prefab.domain.Prefab.ConfigRow DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.ConfigRow();
    }

    public static cloud.prefab.domain.Prefab.ConfigRow getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ConfigRow parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ConfigRow(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public cloud.prefab.domain.Prefab.ConfigRow getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface LimitResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:prefab.LimitResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool passed = 1;
     * @return The passed.
     */
    boolean getPassed();

    /**
     * 
     * for returnable: rtn this value
     * 
* * int64 expires_at = 2; * @return The expiresAt. */ long getExpiresAt(); /** *
     * events:pageview:homepage:123123
     * 
* * string enforced_group = 3; * @return The enforcedGroup. */ java.lang.String getEnforcedGroup(); /** *
     * events:pageview:homepage:123123
     * 
* * string enforced_group = 3; * @return The bytes for enforcedGroup. */ com.google.protobuf.ByteString getEnforcedGroupBytes(); /** * int64 current_bucket = 4; * @return The currentBucket. */ long getCurrentBucket(); /** *
     * events:pageview
     * 
* * string policy_group = 5; * @return The policyGroup. */ java.lang.String getPolicyGroup(); /** *
     * events:pageview
     * 
* * string policy_group = 5; * @return The bytes for policyGroup. */ com.google.protobuf.ByteString getPolicyGroupBytes(); /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The enum numeric value on the wire for policyName. */ int getPolicyNameValue(); /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The policyName. */ cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName(); /** * int32 policy_limit = 7; * @return The policyLimit. */ int getPolicyLimit(); /** * int64 amount = 8; * @return The amount. */ long getAmount(); /** * int64 limit_reset_at = 9; * @return The limitResetAt. */ long getLimitResetAt(); /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The enum numeric value on the wire for safetyLevel. */ int getSafetyLevelValue(); /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The safetyLevel. */ cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel(); } /** * Protobuf type {@code prefab.LimitResponse} */ public static final class LimitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.LimitResponse) LimitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use LimitResponse.newBuilder() to construct. private LimitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LimitResponse() { enforcedGroup_ = ""; policyGroup_ = ""; policyName_ = 0; safetyLevel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LimitResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LimitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { passed_ = input.readBool(); break; } case 16: { expiresAt_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); enforcedGroup_ = s; break; } case 32: { currentBucket_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); policyGroup_ = s; break; } case 48: { int rawValue = input.readEnum(); policyName_ = rawValue; break; } case 56: { policyLimit_ = input.readInt32(); break; } case 64: { amount_ = input.readInt64(); break; } case 72: { limitResetAt_ = input.readInt64(); break; } case 80: { int rawValue = input.readEnum(); safetyLevel_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitResponse.class, cloud.prefab.domain.Prefab.LimitResponse.Builder.class); } /** * Protobuf enum {@code prefab.LimitResponse.LimitPolicyNames} */ public enum LimitPolicyNames implements com.google.protobuf.ProtocolMessageEnum { /** * NOT_SET = 0; */ NOT_SET(0), /** * SECONDLY_ROLLING = 1; */ SECONDLY_ROLLING(1), /** * MINUTELY_ROLLING = 3; */ MINUTELY_ROLLING(3), /** * HOURLY_ROLLING = 5; */ HOURLY_ROLLING(5), /** * DAILY_ROLLING = 7; */ DAILY_ROLLING(7), /** * MONTHLY_ROLLING = 8; */ MONTHLY_ROLLING(8), /** * INFINITE = 9; */ INFINITE(9), /** * YEARLY_ROLLING = 10; */ YEARLY_ROLLING(10), UNRECOGNIZED(-1), ; /** * NOT_SET = 0; */ public static final int NOT_SET_VALUE = 0; /** * SECONDLY_ROLLING = 1; */ public static final int SECONDLY_ROLLING_VALUE = 1; /** * MINUTELY_ROLLING = 3; */ public static final int MINUTELY_ROLLING_VALUE = 3; /** * HOURLY_ROLLING = 5; */ public static final int HOURLY_ROLLING_VALUE = 5; /** * DAILY_ROLLING = 7; */ public static final int DAILY_ROLLING_VALUE = 7; /** * MONTHLY_ROLLING = 8; */ public static final int MONTHLY_ROLLING_VALUE = 8; /** * INFINITE = 9; */ public static final int INFINITE_VALUE = 9; /** * YEARLY_ROLLING = 10; */ public static final int YEARLY_ROLLING_VALUE = 10; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } 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 LimitPolicyNames 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 LimitPolicyNames forNumber(int value) { switch (value) { case 0: return NOT_SET; case 1: return SECONDLY_ROLLING; case 3: return MINUTELY_ROLLING; case 5: return HOURLY_ROLLING; case 7: return DAILY_ROLLING; case 8: return MONTHLY_ROLLING; case 9: return INFINITE; case 10: return YEARLY_ROLLING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< LimitPolicyNames> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LimitPolicyNames findValueByNumber(int number) { return LimitPolicyNames.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cloud.prefab.domain.Prefab.LimitResponse.getDescriptor().getEnumTypes().get(0); } private static final LimitPolicyNames[] VALUES = values(); public static LimitPolicyNames valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private LimitPolicyNames(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:prefab.LimitResponse.LimitPolicyNames) } public static final int PASSED_FIELD_NUMBER = 1; private boolean passed_; /** * bool passed = 1; * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } public static final int EXPIRES_AT_FIELD_NUMBER = 2; private long expiresAt_; /** *
     * for returnable: rtn this value
     * 
* * int64 expires_at = 2; * @return The expiresAt. */ @java.lang.Override public long getExpiresAt() { return expiresAt_; } public static final int ENFORCED_GROUP_FIELD_NUMBER = 3; private volatile java.lang.Object enforcedGroup_; /** *
     * events:pageview:homepage:123123
     * 
* * string enforced_group = 3; * @return The enforcedGroup. */ @java.lang.Override public java.lang.String getEnforcedGroup() { java.lang.Object ref = enforcedGroup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); enforcedGroup_ = s; return s; } } /** *
     * events:pageview:homepage:123123
     * 
* * string enforced_group = 3; * @return The bytes for enforcedGroup. */ @java.lang.Override public com.google.protobuf.ByteString getEnforcedGroupBytes() { java.lang.Object ref = enforcedGroup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enforcedGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CURRENT_BUCKET_FIELD_NUMBER = 4; private long currentBucket_; /** * int64 current_bucket = 4; * @return The currentBucket. */ @java.lang.Override public long getCurrentBucket() { return currentBucket_; } public static final int POLICY_GROUP_FIELD_NUMBER = 5; private volatile java.lang.Object policyGroup_; /** *
     * events:pageview
     * 
* * string policy_group = 5; * @return The policyGroup. */ @java.lang.Override public java.lang.String getPolicyGroup() { java.lang.Object ref = policyGroup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyGroup_ = s; return s; } } /** *
     * events:pageview
     * 
* * string policy_group = 5; * @return The bytes for policyGroup. */ @java.lang.Override public com.google.protobuf.ByteString getPolicyGroupBytes() { java.lang.Object ref = policyGroup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); policyGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POLICY_NAME_FIELD_NUMBER = 6; private int policyName_; /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The enum numeric value on the wire for policyName. */ @java.lang.Override public int getPolicyNameValue() { return policyName_; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The policyName. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames result = cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.valueOf(policyName_); return result == null ? cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.UNRECOGNIZED : result; } public static final int POLICY_LIMIT_FIELD_NUMBER = 7; private int policyLimit_; /** * int32 policy_limit = 7; * @return The policyLimit. */ @java.lang.Override public int getPolicyLimit() { return policyLimit_; } public static final int AMOUNT_FIELD_NUMBER = 8; private long amount_; /** * int64 amount = 8; * @return The amount. */ @java.lang.Override public long getAmount() { return amount_; } public static final int LIMIT_RESET_AT_FIELD_NUMBER = 9; private long limitResetAt_; /** * int64 limit_reset_at = 9; * @return The limitResetAt. */ @java.lang.Override public long getLimitResetAt() { return limitResetAt_; } public static final int SAFETY_LEVEL_FIELD_NUMBER = 10; private int safetyLevel_; /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (passed_ != false) { output.writeBool(1, passed_); } if (expiresAt_ != 0L) { output.writeInt64(2, expiresAt_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enforcedGroup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, enforcedGroup_); } if (currentBucket_ != 0L) { output.writeInt64(4, currentBucket_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyGroup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, policyGroup_); } if (policyName_ != cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.NOT_SET.getNumber()) { output.writeEnum(6, policyName_); } if (policyLimit_ != 0) { output.writeInt32(7, policyLimit_); } if (amount_ != 0L) { output.writeInt64(8, amount_); } if (limitResetAt_ != 0L) { output.writeInt64(9, limitResetAt_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { output.writeEnum(10, safetyLevel_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (passed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, passed_); } if (expiresAt_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, expiresAt_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enforcedGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, enforcedGroup_); } if (currentBucket_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, currentBucket_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, policyGroup_); } if (policyName_ != cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, policyName_); } if (policyLimit_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, policyLimit_); } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, amount_); } if (limitResetAt_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, limitResetAt_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, safetyLevel_); } 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 cloud.prefab.domain.Prefab.LimitResponse)) { return super.equals(obj); } cloud.prefab.domain.Prefab.LimitResponse other = (cloud.prefab.domain.Prefab.LimitResponse) obj; if (getPassed() != other.getPassed()) return false; if (getExpiresAt() != other.getExpiresAt()) return false; if (!getEnforcedGroup() .equals(other.getEnforcedGroup())) return false; if (getCurrentBucket() != other.getCurrentBucket()) return false; if (!getPolicyGroup() .equals(other.getPolicyGroup())) return false; if (policyName_ != other.policyName_) return false; if (getPolicyLimit() != other.getPolicyLimit()) return false; if (getAmount() != other.getAmount()) return false; if (getLimitResetAt() != other.getLimitResetAt()) return false; if (safetyLevel_ != other.safetyLevel_) 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(); hash = (37 * hash) + PASSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPassed()); hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExpiresAt()); hash = (37 * hash) + ENFORCED_GROUP_FIELD_NUMBER; hash = (53 * hash) + getEnforcedGroup().hashCode(); hash = (37 * hash) + CURRENT_BUCKET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCurrentBucket()); hash = (37 * hash) + POLICY_GROUP_FIELD_NUMBER; hash = (53 * hash) + getPolicyGroup().hashCode(); hash = (37 * hash) + POLICY_NAME_FIELD_NUMBER; hash = (53 * hash) + policyName_; hash = (37 * hash) + POLICY_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getPolicyLimit(); hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAmount()); hash = (37 * hash) + LIMIT_RESET_AT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLimitResetAt()); hash = (37 * hash) + SAFETY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + safetyLevel_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.LimitResponse 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.LimitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.LimitResponse) cloud.prefab.domain.Prefab.LimitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitResponse.class, cloud.prefab.domain.Prefab.LimitResponse.Builder.class); } // Construct using cloud.prefab.domain.Prefab.LimitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); passed_ = false; expiresAt_ = 0L; enforcedGroup_ = ""; currentBucket_ = 0L; policyGroup_ = ""; policyName_ = 0; policyLimit_ = 0; amount_ = 0L; limitResetAt_ = 0L; safetyLevel_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitResponse_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.LimitResponse.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse build() { cloud.prefab.domain.Prefab.LimitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse buildPartial() { cloud.prefab.domain.Prefab.LimitResponse result = new cloud.prefab.domain.Prefab.LimitResponse(this); result.passed_ = passed_; result.expiresAt_ = expiresAt_; result.enforcedGroup_ = enforcedGroup_; result.currentBucket_ = currentBucket_; result.policyGroup_ = policyGroup_; result.policyName_ = policyName_; result.policyLimit_ = policyLimit_; result.amount_ = amount_; result.limitResetAt_ = limitResetAt_; result.safetyLevel_ = safetyLevel_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.LimitResponse) { return mergeFrom((cloud.prefab.domain.Prefab.LimitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.LimitResponse other) { if (other == cloud.prefab.domain.Prefab.LimitResponse.getDefaultInstance()) return this; if (other.getPassed() != false) { setPassed(other.getPassed()); } if (other.getExpiresAt() != 0L) { setExpiresAt(other.getExpiresAt()); } if (!other.getEnforcedGroup().isEmpty()) { enforcedGroup_ = other.enforcedGroup_; onChanged(); } if (other.getCurrentBucket() != 0L) { setCurrentBucket(other.getCurrentBucket()); } if (!other.getPolicyGroup().isEmpty()) { policyGroup_ = other.policyGroup_; onChanged(); } if (other.policyName_ != 0) { setPolicyNameValue(other.getPolicyNameValue()); } if (other.getPolicyLimit() != 0) { setPolicyLimit(other.getPolicyLimit()); } if (other.getAmount() != 0L) { setAmount(other.getAmount()); } if (other.getLimitResetAt() != 0L) { setLimitResetAt(other.getLimitResetAt()); } if (other.safetyLevel_ != 0) { setSafetyLevelValue(other.getSafetyLevelValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.LimitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.LimitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean passed_ ; /** * bool passed = 1; * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } /** * bool passed = 1; * @param value The passed to set. * @return This builder for chaining. */ public Builder setPassed(boolean value) { passed_ = value; onChanged(); return this; } /** * bool passed = 1; * @return This builder for chaining. */ public Builder clearPassed() { passed_ = false; onChanged(); return this; } private long expiresAt_ ; /** *
       * for returnable: rtn this value
       * 
* * int64 expires_at = 2; * @return The expiresAt. */ @java.lang.Override public long getExpiresAt() { return expiresAt_; } /** *
       * for returnable: rtn this value
       * 
* * int64 expires_at = 2; * @param value The expiresAt to set. * @return This builder for chaining. */ public Builder setExpiresAt(long value) { expiresAt_ = value; onChanged(); return this; } /** *
       * for returnable: rtn this value
       * 
* * int64 expires_at = 2; * @return This builder for chaining. */ public Builder clearExpiresAt() { expiresAt_ = 0L; onChanged(); return this; } private java.lang.Object enforcedGroup_ = ""; /** *
       * events:pageview:homepage:123123
       * 
* * string enforced_group = 3; * @return The enforcedGroup. */ public java.lang.String getEnforcedGroup() { java.lang.Object ref = enforcedGroup_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); enforcedGroup_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * events:pageview:homepage:123123
       * 
* * string enforced_group = 3; * @return The bytes for enforcedGroup. */ public com.google.protobuf.ByteString getEnforcedGroupBytes() { java.lang.Object ref = enforcedGroup_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enforcedGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * events:pageview:homepage:123123
       * 
* * string enforced_group = 3; * @param value The enforcedGroup to set. * @return This builder for chaining. */ public Builder setEnforcedGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } enforcedGroup_ = value; onChanged(); return this; } /** *
       * events:pageview:homepage:123123
       * 
* * string enforced_group = 3; * @return This builder for chaining. */ public Builder clearEnforcedGroup() { enforcedGroup_ = getDefaultInstance().getEnforcedGroup(); onChanged(); return this; } /** *
       * events:pageview:homepage:123123
       * 
* * string enforced_group = 3; * @param value The bytes for enforcedGroup to set. * @return This builder for chaining. */ public Builder setEnforcedGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); enforcedGroup_ = value; onChanged(); return this; } private long currentBucket_ ; /** * int64 current_bucket = 4; * @return The currentBucket. */ @java.lang.Override public long getCurrentBucket() { return currentBucket_; } /** * int64 current_bucket = 4; * @param value The currentBucket to set. * @return This builder for chaining. */ public Builder setCurrentBucket(long value) { currentBucket_ = value; onChanged(); return this; } /** * int64 current_bucket = 4; * @return This builder for chaining. */ public Builder clearCurrentBucket() { currentBucket_ = 0L; onChanged(); return this; } private java.lang.Object policyGroup_ = ""; /** *
       * events:pageview
       * 
* * string policy_group = 5; * @return The policyGroup. */ public java.lang.String getPolicyGroup() { java.lang.Object ref = policyGroup_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyGroup_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * events:pageview
       * 
* * string policy_group = 5; * @return The bytes for policyGroup. */ public com.google.protobuf.ByteString getPolicyGroupBytes() { java.lang.Object ref = policyGroup_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); policyGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * events:pageview
       * 
* * string policy_group = 5; * @param value The policyGroup to set. * @return This builder for chaining. */ public Builder setPolicyGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } policyGroup_ = value; onChanged(); return this; } /** *
       * events:pageview
       * 
* * string policy_group = 5; * @return This builder for chaining. */ public Builder clearPolicyGroup() { policyGroup_ = getDefaultInstance().getPolicyGroup(); onChanged(); return this; } /** *
       * events:pageview
       * 
* * string policy_group = 5; * @param value The bytes for policyGroup to set. * @return This builder for chaining. */ public Builder setPolicyGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); policyGroup_ = value; onChanged(); return this; } private int policyName_ = 0; /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The enum numeric value on the wire for policyName. */ @java.lang.Override public int getPolicyNameValue() { return policyName_; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @param value The enum numeric value on the wire for policyName to set. * @return This builder for chaining. */ public Builder setPolicyNameValue(int value) { policyName_ = value; onChanged(); return this; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return The policyName. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames result = cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.valueOf(policyName_); return result == null ? cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.UNRECOGNIZED : result; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @param value The policyName to set. * @return This builder for chaining. */ public Builder setPolicyName(cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames value) { if (value == null) { throw new NullPointerException(); } policyName_ = value.getNumber(); onChanged(); return this; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 6; * @return This builder for chaining. */ public Builder clearPolicyName() { policyName_ = 0; onChanged(); return this; } private int policyLimit_ ; /** * int32 policy_limit = 7; * @return The policyLimit. */ @java.lang.Override public int getPolicyLimit() { return policyLimit_; } /** * int32 policy_limit = 7; * @param value The policyLimit to set. * @return This builder for chaining. */ public Builder setPolicyLimit(int value) { policyLimit_ = value; onChanged(); return this; } /** * int32 policy_limit = 7; * @return This builder for chaining. */ public Builder clearPolicyLimit() { policyLimit_ = 0; onChanged(); return this; } private long amount_ ; /** * int64 amount = 8; * @return The amount. */ @java.lang.Override public long getAmount() { return amount_; } /** * int64 amount = 8; * @param value The amount to set. * @return This builder for chaining. */ public Builder setAmount(long value) { amount_ = value; onChanged(); return this; } /** * int64 amount = 8; * @return This builder for chaining. */ public Builder clearAmount() { amount_ = 0L; onChanged(); return this; } private long limitResetAt_ ; /** * int64 limit_reset_at = 9; * @return The limitResetAt. */ @java.lang.Override public long getLimitResetAt() { return limitResetAt_; } /** * int64 limit_reset_at = 9; * @param value The limitResetAt to set. * @return This builder for chaining. */ public Builder setLimitResetAt(long value) { limitResetAt_ = value; onChanged(); return this; } /** * int64 limit_reset_at = 9; * @return This builder for chaining. */ public Builder clearLimitResetAt() { limitResetAt_ = 0L; onChanged(); return this; } private int safetyLevel_ = 0; /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @param value The enum numeric value on the wire for safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevelValue(int value) { safetyLevel_ = value; onChanged(); return this; } /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @param value The safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevel(cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel value) { if (value == null) { throw new NullPointerException(); } safetyLevel_ = value.getNumber(); onChanged(); return this; } /** * .prefab.LimitDefinition.SafetyLevel safety_level = 10; * @return This builder for chaining. */ public Builder clearSafetyLevel() { safetyLevel_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.LimitResponse) } // @@protoc_insertion_point(class_scope:prefab.LimitResponse) private static final cloud.prefab.domain.Prefab.LimitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.LimitResponse(); } public static cloud.prefab.domain.Prefab.LimitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LimitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LimitResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LimitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.LimitRequest) com.google.protobuf.MessageOrBuilder { /** * int64 account_id = 1; * @return The accountId. */ long getAccountId(); /** * int32 acquire_amount = 2; * @return The acquireAmount. */ int getAcquireAmount(); /** * repeated string groups = 3; * @return A list containing the groups. */ java.util.List getGroupsList(); /** * repeated string groups = 3; * @return The count of groups. */ int getGroupsCount(); /** * repeated string groups = 3; * @param index The index of the element to return. * @return The groups at the given index. */ java.lang.String getGroups(int index); /** * repeated string groups = 3; * @param index The index of the value to return. * @return The bytes of the groups at the given index. */ com.google.protobuf.ByteString getGroupsBytes(int index); /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The enum numeric value on the wire for limitCombiner. */ int getLimitCombinerValue(); /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The limitCombiner. */ cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner getLimitCombiner(); /** * bool allow_partial_response = 5; * @return The allowPartialResponse. */ boolean getAllowPartialResponse(); /** *
     * [default = L4_BEST_EFFORT];
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The enum numeric value on the wire for safetyLevel. */ int getSafetyLevelValue(); /** *
     * [default = L4_BEST_EFFORT];
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The safetyLevel. */ cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel(); } /** * Protobuf type {@code prefab.LimitRequest} */ public static final class LimitRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.LimitRequest) LimitRequestOrBuilder { private static final long serialVersionUID = 0L; // Use LimitRequest.newBuilder() to construct. private LimitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LimitRequest() { groups_ = com.google.protobuf.LazyStringArrayList.EMPTY; limitCombiner_ = 0; safetyLevel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LimitRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LimitRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { accountId_ = input.readInt64(); break; } case 16: { acquireAmount_ = input.readInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { groups_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } groups_.add(s); break; } case 32: { int rawValue = input.readEnum(); limitCombiner_ = rawValue; break; } case 40: { allowPartialResponse_ = input.readBool(); break; } case 48: { int rawValue = input.readEnum(); safetyLevel_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groups_ = groups_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitRequest.class, cloud.prefab.domain.Prefab.LimitRequest.Builder.class); } /** * Protobuf enum {@code prefab.LimitRequest.LimitCombiner} */ public enum LimitCombiner implements com.google.protobuf.ProtocolMessageEnum { /** * NOT_SET = 0; */ NOT_SET(0), /** * MINIMUM = 1; */ MINIMUM(1), /** * MAXIMUM = 2; */ MAXIMUM(2), UNRECOGNIZED(-1), ; /** * NOT_SET = 0; */ public static final int NOT_SET_VALUE = 0; /** * MINIMUM = 1; */ public static final int MINIMUM_VALUE = 1; /** * MAXIMUM = 2; */ public static final int MAXIMUM_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } 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 LimitCombiner 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 LimitCombiner forNumber(int value) { switch (value) { case 0: return NOT_SET; case 1: return MINIMUM; case 2: return MAXIMUM; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< LimitCombiner> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LimitCombiner findValueByNumber(int number) { return LimitCombiner.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cloud.prefab.domain.Prefab.LimitRequest.getDescriptor().getEnumTypes().get(0); } private static final LimitCombiner[] VALUES = values(); public static LimitCombiner valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private LimitCombiner(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:prefab.LimitRequest.LimitCombiner) } public static final int ACCOUNT_ID_FIELD_NUMBER = 1; private long accountId_; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } public static final int ACQUIRE_AMOUNT_FIELD_NUMBER = 2; private int acquireAmount_; /** * int32 acquire_amount = 2; * @return The acquireAmount. */ @java.lang.Override public int getAcquireAmount() { return acquireAmount_; } public static final int GROUPS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList groups_; /** * repeated string groups = 3; * @return A list containing the groups. */ public com.google.protobuf.ProtocolStringList getGroupsList() { return groups_; } /** * repeated string groups = 3; * @return The count of groups. */ public int getGroupsCount() { return groups_.size(); } /** * repeated string groups = 3; * @param index The index of the element to return. * @return The groups at the given index. */ public java.lang.String getGroups(int index) { return groups_.get(index); } /** * repeated string groups = 3; * @param index The index of the value to return. * @return The bytes of the groups at the given index. */ public com.google.protobuf.ByteString getGroupsBytes(int index) { return groups_.getByteString(index); } public static final int LIMIT_COMBINER_FIELD_NUMBER = 4; private int limitCombiner_; /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The enum numeric value on the wire for limitCombiner. */ @java.lang.Override public int getLimitCombinerValue() { return limitCombiner_; } /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The limitCombiner. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner getLimitCombiner() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner result = cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.valueOf(limitCombiner_); return result == null ? cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.UNRECOGNIZED : result; } public static final int ALLOW_PARTIAL_RESPONSE_FIELD_NUMBER = 5; private boolean allowPartialResponse_; /** * bool allow_partial_response = 5; * @return The allowPartialResponse. */ @java.lang.Override public boolean getAllowPartialResponse() { return allowPartialResponse_; } public static final int SAFETY_LEVEL_FIELD_NUMBER = 6; private int safetyLevel_; /** *
     * [default = L4_BEST_EFFORT];
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** *
     * [default = L4_BEST_EFFORT];
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accountId_ != 0L) { output.writeInt64(1, accountId_); } if (acquireAmount_ != 0) { output.writeInt32(2, acquireAmount_); } for (int i = 0; i < groups_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, groups_.getRaw(i)); } if (limitCombiner_ != cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.NOT_SET.getNumber()) { output.writeEnum(4, limitCombiner_); } if (allowPartialResponse_ != false) { output.writeBool(5, allowPartialResponse_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { output.writeEnum(6, safetyLevel_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (accountId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, accountId_); } if (acquireAmount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, acquireAmount_); } { int dataSize = 0; for (int i = 0; i < groups_.size(); i++) { dataSize += computeStringSizeNoTag(groups_.getRaw(i)); } size += dataSize; size += 1 * getGroupsList().size(); } if (limitCombiner_ != cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, limitCombiner_); } if (allowPartialResponse_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, allowPartialResponse_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, safetyLevel_); } 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 cloud.prefab.domain.Prefab.LimitRequest)) { return super.equals(obj); } cloud.prefab.domain.Prefab.LimitRequest other = (cloud.prefab.domain.Prefab.LimitRequest) obj; if (getAccountId() != other.getAccountId()) return false; if (getAcquireAmount() != other.getAcquireAmount()) return false; if (!getGroupsList() .equals(other.getGroupsList())) return false; if (limitCombiner_ != other.limitCombiner_) return false; if (getAllowPartialResponse() != other.getAllowPartialResponse()) return false; if (safetyLevel_ != other.safetyLevel_) 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(); hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAccountId()); hash = (37 * hash) + ACQUIRE_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getAcquireAmount(); if (getGroupsCount() > 0) { hash = (37 * hash) + GROUPS_FIELD_NUMBER; hash = (53 * hash) + getGroupsList().hashCode(); } hash = (37 * hash) + LIMIT_COMBINER_FIELD_NUMBER; hash = (53 * hash) + limitCombiner_; hash = (37 * hash) + ALLOW_PARTIAL_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAllowPartialResponse()); hash = (37 * hash) + SAFETY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + safetyLevel_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.LimitRequest 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.LimitRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.LimitRequest) cloud.prefab.domain.Prefab.LimitRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitRequest.class, cloud.prefab.domain.Prefab.LimitRequest.Builder.class); } // Construct using cloud.prefab.domain.Prefab.LimitRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); accountId_ = 0L; acquireAmount_ = 0; groups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); limitCombiner_ = 0; allowPartialResponse_ = false; safetyLevel_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitRequest_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.LimitRequest.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest build() { cloud.prefab.domain.Prefab.LimitRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest buildPartial() { cloud.prefab.domain.Prefab.LimitRequest result = new cloud.prefab.domain.Prefab.LimitRequest(this); int from_bitField0_ = bitField0_; result.accountId_ = accountId_; result.acquireAmount_ = acquireAmount_; if (((bitField0_ & 0x00000001) != 0)) { groups_ = groups_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.groups_ = groups_; result.limitCombiner_ = limitCombiner_; result.allowPartialResponse_ = allowPartialResponse_; result.safetyLevel_ = safetyLevel_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.LimitRequest) { return mergeFrom((cloud.prefab.domain.Prefab.LimitRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.LimitRequest other) { if (other == cloud.prefab.domain.Prefab.LimitRequest.getDefaultInstance()) return this; if (other.getAccountId() != 0L) { setAccountId(other.getAccountId()); } if (other.getAcquireAmount() != 0) { setAcquireAmount(other.getAcquireAmount()); } if (!other.groups_.isEmpty()) { if (groups_.isEmpty()) { groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupsIsMutable(); groups_.addAll(other.groups_); } onChanged(); } if (other.limitCombiner_ != 0) { setLimitCombinerValue(other.getLimitCombinerValue()); } if (other.getAllowPartialResponse() != false) { setAllowPartialResponse(other.getAllowPartialResponse()); } if (other.safetyLevel_ != 0) { setSafetyLevelValue(other.getSafetyLevelValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.LimitRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.LimitRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long accountId_ ; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } /** * int64 account_id = 1; * @param value The accountId to set. * @return This builder for chaining. */ public Builder setAccountId(long value) { accountId_ = value; onChanged(); return this; } /** * int64 account_id = 1; * @return This builder for chaining. */ public Builder clearAccountId() { accountId_ = 0L; onChanged(); return this; } private int acquireAmount_ ; /** * int32 acquire_amount = 2; * @return The acquireAmount. */ @java.lang.Override public int getAcquireAmount() { return acquireAmount_; } /** * int32 acquire_amount = 2; * @param value The acquireAmount to set. * @return This builder for chaining. */ public Builder setAcquireAmount(int value) { acquireAmount_ = value; onChanged(); return this; } /** * int32 acquire_amount = 2; * @return This builder for chaining. */ public Builder clearAcquireAmount() { acquireAmount_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList groups_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groups_ = new com.google.protobuf.LazyStringArrayList(groups_); bitField0_ |= 0x00000001; } } /** * repeated string groups = 3; * @return A list containing the groups. */ public com.google.protobuf.ProtocolStringList getGroupsList() { return groups_.getUnmodifiableView(); } /** * repeated string groups = 3; * @return The count of groups. */ public int getGroupsCount() { return groups_.size(); } /** * repeated string groups = 3; * @param index The index of the element to return. * @return The groups at the given index. */ public java.lang.String getGroups(int index) { return groups_.get(index); } /** * repeated string groups = 3; * @param index The index of the value to return. * @return The bytes of the groups at the given index. */ public com.google.protobuf.ByteString getGroupsBytes(int index) { return groups_.getByteString(index); } /** * repeated string groups = 3; * @param index The index to set the value at. * @param value The groups to set. * @return This builder for chaining. */ public Builder setGroups( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.set(index, value); onChanged(); return this; } /** * repeated string groups = 3; * @param value The groups to add. * @return This builder for chaining. */ public Builder addGroups( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.add(value); onChanged(); return this; } /** * repeated string groups = 3; * @param values The groups to add. * @return This builder for chaining. */ public Builder addAllGroups( java.lang.Iterable values) { ensureGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groups_); onChanged(); return this; } /** * repeated string groups = 3; * @return This builder for chaining. */ public Builder clearGroups() { groups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string groups = 3; * @param value The bytes of the groups to add. * @return This builder for chaining. */ public Builder addGroupsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureGroupsIsMutable(); groups_.add(value); onChanged(); return this; } private int limitCombiner_ = 0; /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The enum numeric value on the wire for limitCombiner. */ @java.lang.Override public int getLimitCombinerValue() { return limitCombiner_; } /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @param value The enum numeric value on the wire for limitCombiner to set. * @return This builder for chaining. */ public Builder setLimitCombinerValue(int value) { limitCombiner_ = value; onChanged(); return this; } /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return The limitCombiner. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner getLimitCombiner() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner result = cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.valueOf(limitCombiner_); return result == null ? cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner.UNRECOGNIZED : result; } /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @param value The limitCombiner to set. * @return This builder for chaining. */ public Builder setLimitCombiner(cloud.prefab.domain.Prefab.LimitRequest.LimitCombiner value) { if (value == null) { throw new NullPointerException(); } limitCombiner_ = value.getNumber(); onChanged(); return this; } /** * .prefab.LimitRequest.LimitCombiner limit_combiner = 4; * @return This builder for chaining. */ public Builder clearLimitCombiner() { limitCombiner_ = 0; onChanged(); return this; } private boolean allowPartialResponse_ ; /** * bool allow_partial_response = 5; * @return The allowPartialResponse. */ @java.lang.Override public boolean getAllowPartialResponse() { return allowPartialResponse_; } /** * bool allow_partial_response = 5; * @param value The allowPartialResponse to set. * @return This builder for chaining. */ public Builder setAllowPartialResponse(boolean value) { allowPartialResponse_ = value; onChanged(); return this; } /** * bool allow_partial_response = 5; * @return This builder for chaining. */ public Builder clearAllowPartialResponse() { allowPartialResponse_ = false; onChanged(); return this; } private int safetyLevel_ = 0; /** *
       * [default = L4_BEST_EFFORT];
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** *
       * [default = L4_BEST_EFFORT];
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @param value The enum numeric value on the wire for safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevelValue(int value) { safetyLevel_ = value; onChanged(); return this; } /** *
       * [default = L4_BEST_EFFORT];
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } /** *
       * [default = L4_BEST_EFFORT];
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @param value The safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevel(cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel value) { if (value == null) { throw new NullPointerException(); } safetyLevel_ = value.getNumber(); onChanged(); return this; } /** *
       * [default = L4_BEST_EFFORT];
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 6; * @return This builder for chaining. */ public Builder clearSafetyLevel() { safetyLevel_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.LimitRequest) } // @@protoc_insertion_point(class_scope:prefab.LimitRequest) private static final cloud.prefab.domain.Prefab.LimitRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.LimitRequest(); } public static cloud.prefab.domain.Prefab.LimitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LimitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LimitRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeatureFlagVariantOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.FeatureFlagVariant) com.google.protobuf.MessageOrBuilder { /** * optional int64 int = 1; * @return Whether the int field is set. */ boolean hasInt(); /** * optional int64 int = 1; * @return The int. */ long getInt(); /** * optional string string = 2; * @return Whether the string field is set. */ boolean hasString(); /** * optional string string = 2; * @return The string. */ java.lang.String getString(); /** * optional string string = 2; * @return The bytes for string. */ com.google.protobuf.ByteString getStringBytes(); /** * optional double double = 3; * @return Whether the double field is set. */ boolean hasDouble(); /** * optional double double = 3; * @return The double. */ double getDouble(); /** * optional bool bool = 4; * @return Whether the bool field is set. */ boolean hasBool(); /** * optional bool bool = 4; * @return The bool. */ boolean getBool(); /** * string name = 5; * @return The name. */ java.lang.String getName(); /** * string name = 5; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * string description = 6; * @return The description. */ java.lang.String getDescription(); /** * string description = 6; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); } /** * Protobuf type {@code prefab.FeatureFlagVariant} */ public static final class FeatureFlagVariant extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.FeatureFlagVariant) FeatureFlagVariantOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureFlagVariant.newBuilder() to construct. private FeatureFlagVariant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FeatureFlagVariant() { string_ = ""; name_ = ""; description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureFlagVariant(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FeatureFlagVariant( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { bitField0_ |= 0x00000001; int_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; string_ = s; break; } case 25: { bitField0_ |= 0x00000004; double_ = input.readDouble(); break; } case 32: { bitField0_ |= 0x00000008; bool_ = input.readBool(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlagVariant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlagVariant_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.FeatureFlagVariant.class, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder.class); } private int bitField0_; public static final int INT_FIELD_NUMBER = 1; private long int_; /** * optional int64 int = 1; * @return Whether the int field is set. */ @java.lang.Override public boolean hasInt() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 int = 1; * @return The int. */ @java.lang.Override public long getInt() { return int_; } public static final int STRING_FIELD_NUMBER = 2; private volatile java.lang.Object string_; /** * optional string string = 2; * @return Whether the string field is set. */ @java.lang.Override public boolean hasString() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string string = 2; * @return The string. */ @java.lang.Override public java.lang.String getString() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); string_ = s; return s; } } /** * optional string string = 2; * @return The bytes for string. */ @java.lang.Override public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOUBLE_FIELD_NUMBER = 3; private double double_; /** * optional double double = 3; * @return Whether the double field is set. */ @java.lang.Override public boolean hasDouble() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double double = 3; * @return The double. */ @java.lang.Override public double getDouble() { return double_; } public static final int BOOL_FIELD_NUMBER = 4; private boolean bool_; /** * optional bool bool = 4; * @return Whether the bool field is set. */ @java.lang.Override public boolean hasBool() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool bool = 4; * @return The bool. */ @java.lang.Override public boolean getBool() { return bool_; } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** * string name = 5; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 5; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object description_; /** * string description = 6; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** * string description = 6; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.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; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, int_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, string_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, double_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, bool_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, int_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, string_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, double_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, bool_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } 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 cloud.prefab.domain.Prefab.FeatureFlagVariant)) { return super.equals(obj); } cloud.prefab.domain.Prefab.FeatureFlagVariant other = (cloud.prefab.domain.Prefab.FeatureFlagVariant) obj; if (hasInt() != other.hasInt()) return false; if (hasInt()) { if (getInt() != other.getInt()) return false; } if (hasString() != other.hasString()) return false; if (hasString()) { if (!getString() .equals(other.getString())) return false; } if (hasDouble() != other.hasDouble()) return false; if (hasDouble()) { if (java.lang.Double.doubleToLongBits(getDouble()) != java.lang.Double.doubleToLongBits( other.getDouble())) return false; } if (hasBool() != other.hasBool()) return false; if (hasBool()) { if (getBool() != other.getBool()) return false; } if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) 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 (hasInt()) { hash = (37 * hash) + INT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInt()); } if (hasString()) { hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); } if (hasDouble()) { hash = (37 * hash) + DOUBLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDouble())); } if (hasBool()) { hash = (37 * hash) + BOOL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBool()); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.FeatureFlagVariant 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.FeatureFlagVariant} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.FeatureFlagVariant) cloud.prefab.domain.Prefab.FeatureFlagVariantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlagVariant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlagVariant_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.FeatureFlagVariant.class, cloud.prefab.domain.Prefab.FeatureFlagVariant.Builder.class); } // Construct using cloud.prefab.domain.Prefab.FeatureFlagVariant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); int_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); string_ = ""; bitField0_ = (bitField0_ & ~0x00000002); double_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); bool_ = false; bitField0_ = (bitField0_ & ~0x00000008); name_ = ""; description_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlagVariant_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlagVariant getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.FeatureFlagVariant.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlagVariant build() { cloud.prefab.domain.Prefab.FeatureFlagVariant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlagVariant buildPartial() { cloud.prefab.domain.Prefab.FeatureFlagVariant result = new cloud.prefab.domain.Prefab.FeatureFlagVariant(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.int_ = int_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.string_ = string_; if (((from_bitField0_ & 0x00000004) != 0)) { result.double_ = double_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.bool_ = bool_; to_bitField0_ |= 0x00000008; } result.name_ = name_; result.description_ = description_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.FeatureFlagVariant) { return mergeFrom((cloud.prefab.domain.Prefab.FeatureFlagVariant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.FeatureFlagVariant other) { if (other == cloud.prefab.domain.Prefab.FeatureFlagVariant.getDefaultInstance()) return this; if (other.hasInt()) { setInt(other.getInt()); } if (other.hasString()) { bitField0_ |= 0x00000002; string_ = other.string_; onChanged(); } if (other.hasDouble()) { setDouble(other.getDouble()); } if (other.hasBool()) { setBool(other.getBool()); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.FeatureFlagVariant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.FeatureFlagVariant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long int_ ; /** * optional int64 int = 1; * @return Whether the int field is set. */ @java.lang.Override public boolean hasInt() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 int = 1; * @return The int. */ @java.lang.Override public long getInt() { return int_; } /** * optional int64 int = 1; * @param value The int to set. * @return This builder for chaining. */ public Builder setInt(long value) { bitField0_ |= 0x00000001; int_ = value; onChanged(); return this; } /** * optional int64 int = 1; * @return This builder for chaining. */ public Builder clearInt() { bitField0_ = (bitField0_ & ~0x00000001); int_ = 0L; onChanged(); return this; } private java.lang.Object string_ = ""; /** * optional string string = 2; * @return Whether the string field is set. */ public boolean hasString() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string string = 2; * @return The string. */ public java.lang.String getString() { java.lang.Object ref = string_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); string_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string string = 2; * @return The bytes for string. */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string string = 2; * @param value The string to set. * @return This builder for chaining. */ public Builder setString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; string_ = value; onChanged(); return this; } /** * optional string string = 2; * @return This builder for chaining. */ public Builder clearString() { bitField0_ = (bitField0_ & ~0x00000002); string_ = getDefaultInstance().getString(); onChanged(); return this; } /** * optional string string = 2; * @param value The bytes for string to set. * @return This builder for chaining. */ public Builder setStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; string_ = value; onChanged(); return this; } private double double_ ; /** * optional double double = 3; * @return Whether the double field is set. */ @java.lang.Override public boolean hasDouble() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double double = 3; * @return The double. */ @java.lang.Override public double getDouble() { return double_; } /** * optional double double = 3; * @param value The double to set. * @return This builder for chaining. */ public Builder setDouble(double value) { bitField0_ |= 0x00000004; double_ = value; onChanged(); return this; } /** * optional double double = 3; * @return This builder for chaining. */ public Builder clearDouble() { bitField0_ = (bitField0_ & ~0x00000004); double_ = 0D; onChanged(); return this; } private boolean bool_ ; /** * optional bool bool = 4; * @return Whether the bool field is set. */ @java.lang.Override public boolean hasBool() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool bool = 4; * @return The bool. */ @java.lang.Override public boolean getBool() { return bool_; } /** * optional bool bool = 4; * @param value The bool to set. * @return This builder for chaining. */ public Builder setBool(boolean value) { bitField0_ |= 0x00000008; bool_ = value; onChanged(); return this; } /** * optional bool bool = 4; * @return This builder for chaining. */ public Builder clearBool() { bitField0_ = (bitField0_ & ~0x00000008); bool_ = false; onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 5; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 5; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string name = 5; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 5; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 5; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * string description = 6; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * string description = 6; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string description = 6; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** * string description = 6; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * string description = 6; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.FeatureFlagVariant) } // @@protoc_insertion_point(class_scope:prefab.FeatureFlagVariant) private static final cloud.prefab.domain.Prefab.FeatureFlagVariant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.FeatureFlagVariant(); } public static cloud.prefab.domain.Prefab.FeatureFlagVariant getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FeatureFlagVariant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FeatureFlagVariant(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlagVariant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CriteriaOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.Criteria) com.google.protobuf.MessageOrBuilder { /** * string property = 1; * @return The property. */ java.lang.String getProperty(); /** * string property = 1; * @return The bytes for property. */ com.google.protobuf.ByteString getPropertyBytes(); /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The operator. */ cloud.prefab.domain.Prefab.Criteria.CriteriaOperator getOperator(); /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @return A list containing the values. */ java.util.List getValuesList(); /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @return The count of values. */ int getValuesCount(); /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ com.google.protobuf.ByteString getValuesBytes(int index); } /** * Protobuf type {@code prefab.Criteria} */ public static final class Criteria extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.Criteria) CriteriaOrBuilder { private static final long serialVersionUID = 0L; // Use Criteria.newBuilder() to construct. private Criteria(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Criteria() { property_ = ""; operator_ = 0; values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Criteria(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Criteria( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); property_ = s; break; } case 16: { int rawValue = input.readEnum(); operator_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } values_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Criteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Criteria_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Criteria.class, cloud.prefab.domain.Prefab.Criteria.Builder.class); } /** * Protobuf enum {@code prefab.Criteria.CriteriaOperator} */ public enum CriteriaOperator implements com.google.protobuf.ProtocolMessageEnum { /** *
       * proto null
       * 
* * NOT_SET = 0; */ NOT_SET(0), /** * LOOKUP_KEY_IN = 1; */ LOOKUP_KEY_IN(1), /** * LOOKUP_KEY_NOT_IN = 2; */ LOOKUP_KEY_NOT_IN(2), /** * IN_SEG = 3; */ IN_SEG(3), /** * NOT_IN_SEG = 4; */ NOT_IN_SEG(4), /** * ALWAYS_TRUE = 5; */ ALWAYS_TRUE(5), /** * PROP_IS_ONE_OF = 6; */ PROP_IS_ONE_OF(6), /** * PROP_IS_NOT_ONE_OF = 7; */ PROP_IS_NOT_ONE_OF(7), /** * PROP_ENDS_WITH_ONE_OF = 8; */ PROP_ENDS_WITH_ONE_OF(8), /** * PROP_DOES_NOT_END_WITH_ONE_OF = 9; */ PROP_DOES_NOT_END_WITH_ONE_OF(9), UNRECOGNIZED(-1), ; /** *
       * proto null
       * 
* * NOT_SET = 0; */ public static final int NOT_SET_VALUE = 0; /** * LOOKUP_KEY_IN = 1; */ public static final int LOOKUP_KEY_IN_VALUE = 1; /** * LOOKUP_KEY_NOT_IN = 2; */ public static final int LOOKUP_KEY_NOT_IN_VALUE = 2; /** * IN_SEG = 3; */ public static final int IN_SEG_VALUE = 3; /** * NOT_IN_SEG = 4; */ public static final int NOT_IN_SEG_VALUE = 4; /** * ALWAYS_TRUE = 5; */ public static final int ALWAYS_TRUE_VALUE = 5; /** * PROP_IS_ONE_OF = 6; */ public static final int PROP_IS_ONE_OF_VALUE = 6; /** * PROP_IS_NOT_ONE_OF = 7; */ public static final int PROP_IS_NOT_ONE_OF_VALUE = 7; /** * PROP_ENDS_WITH_ONE_OF = 8; */ public static final int PROP_ENDS_WITH_ONE_OF_VALUE = 8; /** * PROP_DOES_NOT_END_WITH_ONE_OF = 9; */ public static final int PROP_DOES_NOT_END_WITH_ONE_OF_VALUE = 9; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } 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 CriteriaOperator 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 CriteriaOperator forNumber(int value) { switch (value) { case 0: return NOT_SET; case 1: return LOOKUP_KEY_IN; case 2: return LOOKUP_KEY_NOT_IN; case 3: return IN_SEG; case 4: return NOT_IN_SEG; case 5: return ALWAYS_TRUE; case 6: return PROP_IS_ONE_OF; case 7: return PROP_IS_NOT_ONE_OF; case 8: return PROP_ENDS_WITH_ONE_OF; case 9: return PROP_DOES_NOT_END_WITH_ONE_OF; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CriteriaOperator> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CriteriaOperator findValueByNumber(int number) { return CriteriaOperator.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cloud.prefab.domain.Prefab.Criteria.getDescriptor().getEnumTypes().get(0); } private static final CriteriaOperator[] VALUES = values(); public static CriteriaOperator valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private CriteriaOperator(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:prefab.Criteria.CriteriaOperator) } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** * string property = 1; * @return The property. */ @java.lang.Override public java.lang.String getProperty() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** * string property = 1; * @return The bytes for property. */ @java.lang.Override public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); property_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATOR_FIELD_NUMBER = 2; private int operator_; /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The enum numeric value on the wire for operator. */ @java.lang.Override public int getOperatorValue() { return operator_; } /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The operator. */ @java.lang.Override public cloud.prefab.domain.Prefab.Criteria.CriteriaOperator getOperator() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.Criteria.CriteriaOperator result = cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.valueOf(operator_); return result == null ? cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.UNRECOGNIZED : result; } public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @param index The index of the element to return. * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); } /** *
     * ok to be string here?
     * 
* * repeated string values = 3; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } if (operator_ != cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.NOT_SET.getNumber()) { output.writeEnum(2, operator_); } for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } if (operator_ != cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, operator_); } { int dataSize = 0; for (int i = 0; i < values_.size(); i++) { dataSize += computeStringSizeNoTag(values_.getRaw(i)); } size += dataSize; size += 1 * getValuesList().size(); } 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 cloud.prefab.domain.Prefab.Criteria)) { return super.equals(obj); } cloud.prefab.domain.Prefab.Criteria other = (cloud.prefab.domain.Prefab.Criteria) obj; if (!getProperty() .equals(other.getProperty())) return false; if (operator_ != other.operator_) return false; if (!getValuesList() .equals(other.getValuesList())) 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(); hash = (37 * hash) + PROPERTY_FIELD_NUMBER; hash = (53 * hash) + getProperty().hashCode(); hash = (37 * hash) + OPERATOR_FIELD_NUMBER; hash = (53 * hash) + operator_; if (getValuesCount() > 0) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValuesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.Criteria parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Criteria parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Criteria parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Criteria parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Criteria parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Criteria parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.Criteria 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.Criteria} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.Criteria) cloud.prefab.domain.Prefab.CriteriaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Criteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Criteria_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Criteria.class, cloud.prefab.domain.Prefab.Criteria.Builder.class); } // Construct using cloud.prefab.domain.Prefab.Criteria.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); property_ = ""; operator_ = 0; values_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_Criteria_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.Criteria getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.Criteria.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.Criteria build() { cloud.prefab.domain.Prefab.Criteria result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.Criteria buildPartial() { cloud.prefab.domain.Prefab.Criteria result = new cloud.prefab.domain.Prefab.Criteria(this); int from_bitField0_ = bitField0_; result.property_ = property_; result.operator_ = operator_; if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.values_ = values_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.Criteria) { return mergeFrom((cloud.prefab.domain.Prefab.Criteria)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.Criteria other) { if (other == cloud.prefab.domain.Prefab.Criteria.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); } if (other.operator_ != 0) { setOperatorValue(other.getOperatorValue()); } if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValuesIsMutable(); values_.addAll(other.values_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.Criteria parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.Criteria) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object property_ = ""; /** * string property = 1; * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } else { return (java.lang.String) ref; } } /** * string property = 1; * @return The bytes for property. */ public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); property_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string property = 1; * @param value The property to set. * @return This builder for chaining. */ public Builder setProperty( java.lang.String value) { if (value == null) { throw new NullPointerException(); } property_ = value; onChanged(); return this; } /** * string property = 1; * @return This builder for chaining. */ public Builder clearProperty() { property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** * string property = 1; * @param value The bytes for property to set. * @return This builder for chaining. */ public Builder setPropertyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; onChanged(); return this; } private int operator_ = 0; /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The enum numeric value on the wire for operator. */ @java.lang.Override public int getOperatorValue() { return operator_; } /** * .prefab.Criteria.CriteriaOperator operator = 2; * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ public Builder setOperatorValue(int value) { operator_ = value; onChanged(); return this; } /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return The operator. */ @java.lang.Override public cloud.prefab.domain.Prefab.Criteria.CriteriaOperator getOperator() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.Criteria.CriteriaOperator result = cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.valueOf(operator_); return result == null ? cloud.prefab.domain.Prefab.Criteria.CriteriaOperator.UNRECOGNIZED : result; } /** * .prefab.Criteria.CriteriaOperator operator = 2; * @param value The operator to set. * @return This builder for chaining. */ public Builder setOperator(cloud.prefab.domain.Prefab.Criteria.CriteriaOperator value) { if (value == null) { throw new NullPointerException(); } operator_ = value.getNumber(); onChanged(); return this; } /** * .prefab.Criteria.CriteriaOperator operator = 2; * @return This builder for chaining. */ public Builder clearOperator() { operator_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; } } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @return A list containing the values. */ public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param index The index of the element to return. * @return The values at the given index. */ public java.lang.String getValues(int index) { return values_.get(index); } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param index The index of the value to return. * @return The bytes of the values at the given index. */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ public Builder setValues( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param value The values to add. * @return This builder for chaining. */ public Builder addValues( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param values The values to add. * @return This builder for chaining. */ public Builder addAllValues( java.lang.Iterable values) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, values_); onChanged(); return this; } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @return This builder for chaining. */ public Builder clearValues() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * ok to be string here?
       * 
* * repeated string values = 3; * @param value The bytes of the values to add. * @return This builder for chaining. */ public Builder addValuesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.Criteria) } // @@protoc_insertion_point(class_scope:prefab.Criteria) private static final cloud.prefab.domain.Prefab.Criteria DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.Criteria(); } public static cloud.prefab.domain.Prefab.Criteria getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Criteria parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Criteria(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.Criteria getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RuleOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.Rule) com.google.protobuf.MessageOrBuilder { /** * .prefab.Criteria criteria = 1; * @return Whether the criteria field is set. */ boolean hasCriteria(); /** * .prefab.Criteria criteria = 1; * @return The criteria. */ cloud.prefab.domain.Prefab.Criteria getCriteria(); /** * .prefab.Criteria criteria = 1; */ cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriteriaOrBuilder(); /** * repeated .prefab.VariantWeight variant_weights = 2; */ java.util.List getVariantWeightsList(); /** * repeated .prefab.VariantWeight variant_weights = 2; */ cloud.prefab.domain.Prefab.VariantWeight getVariantWeights(int index); /** * repeated .prefab.VariantWeight variant_weights = 2; */ int getVariantWeightsCount(); /** * repeated .prefab.VariantWeight variant_weights = 2; */ java.util.List getVariantWeightsOrBuilderList(); /** * repeated .prefab.VariantWeight variant_weights = 2; */ cloud.prefab.domain.Prefab.VariantWeightOrBuilder getVariantWeightsOrBuilder( int index); } /** * Protobuf type {@code prefab.Rule} */ public static final class Rule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.Rule) RuleOrBuilder { private static final long serialVersionUID = 0L; // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Rule() { variantWeights_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Rule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Rule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cloud.prefab.domain.Prefab.Criteria.Builder subBuilder = null; if (criteria_ != null) { subBuilder = criteria_.toBuilder(); } criteria_ = input.readMessage(cloud.prefab.domain.Prefab.Criteria.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(criteria_); criteria_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { variantWeights_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } variantWeights_.add( input.readMessage(cloud.prefab.domain.Prefab.VariantWeight.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { variantWeights_ = java.util.Collections.unmodifiableList(variantWeights_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Rule.class, cloud.prefab.domain.Prefab.Rule.Builder.class); } public static final int CRITERIA_FIELD_NUMBER = 1; private cloud.prefab.domain.Prefab.Criteria criteria_; /** * .prefab.Criteria criteria = 1; * @return Whether the criteria field is set. */ @java.lang.Override public boolean hasCriteria() { return criteria_ != null; } /** * .prefab.Criteria criteria = 1; * @return The criteria. */ @java.lang.Override public cloud.prefab.domain.Prefab.Criteria getCriteria() { return criteria_ == null ? cloud.prefab.domain.Prefab.Criteria.getDefaultInstance() : criteria_; } /** * .prefab.Criteria criteria = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriteriaOrBuilder() { return getCriteria(); } public static final int VARIANT_WEIGHTS_FIELD_NUMBER = 2; private java.util.List variantWeights_; /** * repeated .prefab.VariantWeight variant_weights = 2; */ @java.lang.Override public java.util.List getVariantWeightsList() { return variantWeights_; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ @java.lang.Override public java.util.List getVariantWeightsOrBuilderList() { return variantWeights_; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ @java.lang.Override public int getVariantWeightsCount() { return variantWeights_.size(); } /** * repeated .prefab.VariantWeight variant_weights = 2; */ @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeight getVariantWeights(int index) { return variantWeights_.get(index); } /** * repeated .prefab.VariantWeight variant_weights = 2; */ @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeightOrBuilder getVariantWeightsOrBuilder( int index) { return variantWeights_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (criteria_ != null) { output.writeMessage(1, getCriteria()); } for (int i = 0; i < variantWeights_.size(); i++) { output.writeMessage(2, variantWeights_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (criteria_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCriteria()); } for (int i = 0; i < variantWeights_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, variantWeights_.get(i)); } 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 cloud.prefab.domain.Prefab.Rule)) { return super.equals(obj); } cloud.prefab.domain.Prefab.Rule other = (cloud.prefab.domain.Prefab.Rule) obj; if (hasCriteria() != other.hasCriteria()) return false; if (hasCriteria()) { if (!getCriteria() .equals(other.getCriteria())) return false; } if (!getVariantWeightsList() .equals(other.getVariantWeightsList())) 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 (hasCriteria()) { hash = (37 * hash) + CRITERIA_FIELD_NUMBER; hash = (53 * hash) + getCriteria().hashCode(); } if (getVariantWeightsCount() > 0) { hash = (37 * hash) + VARIANT_WEIGHTS_FIELD_NUMBER; hash = (53 * hash) + getVariantWeightsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.Rule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Rule parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Rule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Rule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Rule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Rule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Rule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Rule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Rule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Rule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Rule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.Rule 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.Rule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.Rule) cloud.prefab.domain.Prefab.RuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Rule.class, cloud.prefab.domain.Prefab.Rule.Builder.class); } // Construct using cloud.prefab.domain.Prefab.Rule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getVariantWeightsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (criteriaBuilder_ == null) { criteria_ = null; } else { criteria_ = null; criteriaBuilder_ = null; } if (variantWeightsBuilder_ == null) { variantWeights_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { variantWeightsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_Rule_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.Rule getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.Rule.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.Rule build() { cloud.prefab.domain.Prefab.Rule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.Rule buildPartial() { cloud.prefab.domain.Prefab.Rule result = new cloud.prefab.domain.Prefab.Rule(this); int from_bitField0_ = bitField0_; if (criteriaBuilder_ == null) { result.criteria_ = criteria_; } else { result.criteria_ = criteriaBuilder_.build(); } if (variantWeightsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { variantWeights_ = java.util.Collections.unmodifiableList(variantWeights_); bitField0_ = (bitField0_ & ~0x00000001); } result.variantWeights_ = variantWeights_; } else { result.variantWeights_ = variantWeightsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.Rule) { return mergeFrom((cloud.prefab.domain.Prefab.Rule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.Rule other) { if (other == cloud.prefab.domain.Prefab.Rule.getDefaultInstance()) return this; if (other.hasCriteria()) { mergeCriteria(other.getCriteria()); } if (variantWeightsBuilder_ == null) { if (!other.variantWeights_.isEmpty()) { if (variantWeights_.isEmpty()) { variantWeights_ = other.variantWeights_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureVariantWeightsIsMutable(); variantWeights_.addAll(other.variantWeights_); } onChanged(); } } else { if (!other.variantWeights_.isEmpty()) { if (variantWeightsBuilder_.isEmpty()) { variantWeightsBuilder_.dispose(); variantWeightsBuilder_ = null; variantWeights_ = other.variantWeights_; bitField0_ = (bitField0_ & ~0x00000001); variantWeightsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVariantWeightsFieldBuilder() : null; } else { variantWeightsBuilder_.addAllMessages(other.variantWeights_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.Rule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.Rule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cloud.prefab.domain.Prefab.Criteria criteria_; private com.google.protobuf.SingleFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder> criteriaBuilder_; /** * .prefab.Criteria criteria = 1; * @return Whether the criteria field is set. */ public boolean hasCriteria() { return criteriaBuilder_ != null || criteria_ != null; } /** * .prefab.Criteria criteria = 1; * @return The criteria. */ public cloud.prefab.domain.Prefab.Criteria getCriteria() { if (criteriaBuilder_ == null) { return criteria_ == null ? cloud.prefab.domain.Prefab.Criteria.getDefaultInstance() : criteria_; } else { return criteriaBuilder_.getMessage(); } } /** * .prefab.Criteria criteria = 1; */ public Builder setCriteria(cloud.prefab.domain.Prefab.Criteria value) { if (criteriaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } criteria_ = value; onChanged(); } else { criteriaBuilder_.setMessage(value); } return this; } /** * .prefab.Criteria criteria = 1; */ public Builder setCriteria( cloud.prefab.domain.Prefab.Criteria.Builder builderForValue) { if (criteriaBuilder_ == null) { criteria_ = builderForValue.build(); onChanged(); } else { criteriaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .prefab.Criteria criteria = 1; */ public Builder mergeCriteria(cloud.prefab.domain.Prefab.Criteria value) { if (criteriaBuilder_ == null) { if (criteria_ != null) { criteria_ = cloud.prefab.domain.Prefab.Criteria.newBuilder(criteria_).mergeFrom(value).buildPartial(); } else { criteria_ = value; } onChanged(); } else { criteriaBuilder_.mergeFrom(value); } return this; } /** * .prefab.Criteria criteria = 1; */ public Builder clearCriteria() { if (criteriaBuilder_ == null) { criteria_ = null; onChanged(); } else { criteria_ = null; criteriaBuilder_ = null; } return this; } /** * .prefab.Criteria criteria = 1; */ public cloud.prefab.domain.Prefab.Criteria.Builder getCriteriaBuilder() { onChanged(); return getCriteriaFieldBuilder().getBuilder(); } /** * .prefab.Criteria criteria = 1; */ public cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriteriaOrBuilder() { if (criteriaBuilder_ != null) { return criteriaBuilder_.getMessageOrBuilder(); } else { return criteria_ == null ? cloud.prefab.domain.Prefab.Criteria.getDefaultInstance() : criteria_; } } /** * .prefab.Criteria criteria = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder> getCriteriaFieldBuilder() { if (criteriaBuilder_ == null) { criteriaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder>( getCriteria(), getParentForChildren(), isClean()); criteria_ = null; } return criteriaBuilder_; } private java.util.List variantWeights_ = java.util.Collections.emptyList(); private void ensureVariantWeightsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { variantWeights_ = new java.util.ArrayList(variantWeights_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.VariantWeight, cloud.prefab.domain.Prefab.VariantWeight.Builder, cloud.prefab.domain.Prefab.VariantWeightOrBuilder> variantWeightsBuilder_; /** * repeated .prefab.VariantWeight variant_weights = 2; */ public java.util.List getVariantWeightsList() { if (variantWeightsBuilder_ == null) { return java.util.Collections.unmodifiableList(variantWeights_); } else { return variantWeightsBuilder_.getMessageList(); } } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public int getVariantWeightsCount() { if (variantWeightsBuilder_ == null) { return variantWeights_.size(); } else { return variantWeightsBuilder_.getCount(); } } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public cloud.prefab.domain.Prefab.VariantWeight getVariantWeights(int index) { if (variantWeightsBuilder_ == null) { return variantWeights_.get(index); } else { return variantWeightsBuilder_.getMessage(index); } } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder setVariantWeights( int index, cloud.prefab.domain.Prefab.VariantWeight value) { if (variantWeightsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantWeightsIsMutable(); variantWeights_.set(index, value); onChanged(); } else { variantWeightsBuilder_.setMessage(index, value); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder setVariantWeights( int index, cloud.prefab.domain.Prefab.VariantWeight.Builder builderForValue) { if (variantWeightsBuilder_ == null) { ensureVariantWeightsIsMutable(); variantWeights_.set(index, builderForValue.build()); onChanged(); } else { variantWeightsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder addVariantWeights(cloud.prefab.domain.Prefab.VariantWeight value) { if (variantWeightsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantWeightsIsMutable(); variantWeights_.add(value); onChanged(); } else { variantWeightsBuilder_.addMessage(value); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder addVariantWeights( int index, cloud.prefab.domain.Prefab.VariantWeight value) { if (variantWeightsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantWeightsIsMutable(); variantWeights_.add(index, value); onChanged(); } else { variantWeightsBuilder_.addMessage(index, value); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder addVariantWeights( cloud.prefab.domain.Prefab.VariantWeight.Builder builderForValue) { if (variantWeightsBuilder_ == null) { ensureVariantWeightsIsMutable(); variantWeights_.add(builderForValue.build()); onChanged(); } else { variantWeightsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder addVariantWeights( int index, cloud.prefab.domain.Prefab.VariantWeight.Builder builderForValue) { if (variantWeightsBuilder_ == null) { ensureVariantWeightsIsMutable(); variantWeights_.add(index, builderForValue.build()); onChanged(); } else { variantWeightsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder addAllVariantWeights( java.lang.Iterable values) { if (variantWeightsBuilder_ == null) { ensureVariantWeightsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, variantWeights_); onChanged(); } else { variantWeightsBuilder_.addAllMessages(values); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder clearVariantWeights() { if (variantWeightsBuilder_ == null) { variantWeights_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { variantWeightsBuilder_.clear(); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public Builder removeVariantWeights(int index) { if (variantWeightsBuilder_ == null) { ensureVariantWeightsIsMutable(); variantWeights_.remove(index); onChanged(); } else { variantWeightsBuilder_.remove(index); } return this; } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public cloud.prefab.domain.Prefab.VariantWeight.Builder getVariantWeightsBuilder( int index) { return getVariantWeightsFieldBuilder().getBuilder(index); } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public cloud.prefab.domain.Prefab.VariantWeightOrBuilder getVariantWeightsOrBuilder( int index) { if (variantWeightsBuilder_ == null) { return variantWeights_.get(index); } else { return variantWeightsBuilder_.getMessageOrBuilder(index); } } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public java.util.List getVariantWeightsOrBuilderList() { if (variantWeightsBuilder_ != null) { return variantWeightsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(variantWeights_); } } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public cloud.prefab.domain.Prefab.VariantWeight.Builder addVariantWeightsBuilder() { return getVariantWeightsFieldBuilder().addBuilder( cloud.prefab.domain.Prefab.VariantWeight.getDefaultInstance()); } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public cloud.prefab.domain.Prefab.VariantWeight.Builder addVariantWeightsBuilder( int index) { return getVariantWeightsFieldBuilder().addBuilder( index, cloud.prefab.domain.Prefab.VariantWeight.getDefaultInstance()); } /** * repeated .prefab.VariantWeight variant_weights = 2; */ public java.util.List getVariantWeightsBuilderList() { return getVariantWeightsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.VariantWeight, cloud.prefab.domain.Prefab.VariantWeight.Builder, cloud.prefab.domain.Prefab.VariantWeightOrBuilder> getVariantWeightsFieldBuilder() { if (variantWeightsBuilder_ == null) { variantWeightsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.VariantWeight, cloud.prefab.domain.Prefab.VariantWeight.Builder, cloud.prefab.domain.Prefab.VariantWeightOrBuilder>( variantWeights_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); variantWeights_ = null; } return variantWeightsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.Rule) } // @@protoc_insertion_point(class_scope:prefab.Rule) private static final cloud.prefab.domain.Prefab.Rule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.Rule(); } public static cloud.prefab.domain.Prefab.Rule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Rule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Rule(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.Rule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.Segment) com.google.protobuf.MessageOrBuilder { /** * repeated .prefab.Criteria criterion = 1; */ java.util.List getCriterionList(); /** * repeated .prefab.Criteria criterion = 1; */ cloud.prefab.domain.Prefab.Criteria getCriterion(int index); /** * repeated .prefab.Criteria criterion = 1; */ int getCriterionCount(); /** * repeated .prefab.Criteria criterion = 1; */ java.util.List getCriterionOrBuilderList(); /** * repeated .prefab.Criteria criterion = 1; */ cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriterionOrBuilder( int index); } /** * Protobuf type {@code prefab.Segment} */ public static final class Segment extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.Segment) SegmentOrBuilder { private static final long serialVersionUID = 0L; // Use Segment.newBuilder() to construct. private Segment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Segment() { criterion_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Segment(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Segment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { criterion_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } criterion_.add( input.readMessage(cloud.prefab.domain.Prefab.Criteria.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { criterion_ = java.util.Collections.unmodifiableList(criterion_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Segment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Segment_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Segment.class, cloud.prefab.domain.Prefab.Segment.Builder.class); } public static final int CRITERION_FIELD_NUMBER = 1; private java.util.List criterion_; /** * repeated .prefab.Criteria criterion = 1; */ @java.lang.Override public java.util.List getCriterionList() { return criterion_; } /** * repeated .prefab.Criteria criterion = 1; */ @java.lang.Override public java.util.List getCriterionOrBuilderList() { return criterion_; } /** * repeated .prefab.Criteria criterion = 1; */ @java.lang.Override public int getCriterionCount() { return criterion_.size(); } /** * repeated .prefab.Criteria criterion = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.Criteria getCriterion(int index) { return criterion_.get(index); } /** * repeated .prefab.Criteria criterion = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriterionOrBuilder( int index) { return criterion_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < criterion_.size(); i++) { output.writeMessage(1, criterion_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < criterion_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, criterion_.get(i)); } 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 cloud.prefab.domain.Prefab.Segment)) { return super.equals(obj); } cloud.prefab.domain.Prefab.Segment other = (cloud.prefab.domain.Prefab.Segment) obj; if (!getCriterionList() .equals(other.getCriterionList())) 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 (getCriterionCount() > 0) { hash = (37 * hash) + CRITERION_FIELD_NUMBER; hash = (53 * hash) + getCriterionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.Segment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Segment parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Segment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Segment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Segment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.Segment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.Segment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Segment parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Segment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Segment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.Segment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.Segment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.Segment 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.Segment} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.Segment) cloud.prefab.domain.Prefab.SegmentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_Segment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_Segment_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.Segment.class, cloud.prefab.domain.Prefab.Segment.Builder.class); } // Construct using cloud.prefab.domain.Prefab.Segment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCriterionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (criterionBuilder_ == null) { criterion_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { criterionBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_Segment_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.Segment getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.Segment.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.Segment build() { cloud.prefab.domain.Prefab.Segment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.Segment buildPartial() { cloud.prefab.domain.Prefab.Segment result = new cloud.prefab.domain.Prefab.Segment(this); int from_bitField0_ = bitField0_; if (criterionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { criterion_ = java.util.Collections.unmodifiableList(criterion_); bitField0_ = (bitField0_ & ~0x00000001); } result.criterion_ = criterion_; } else { result.criterion_ = criterionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.Segment) { return mergeFrom((cloud.prefab.domain.Prefab.Segment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.Segment other) { if (other == cloud.prefab.domain.Prefab.Segment.getDefaultInstance()) return this; if (criterionBuilder_ == null) { if (!other.criterion_.isEmpty()) { if (criterion_.isEmpty()) { criterion_ = other.criterion_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCriterionIsMutable(); criterion_.addAll(other.criterion_); } onChanged(); } } else { if (!other.criterion_.isEmpty()) { if (criterionBuilder_.isEmpty()) { criterionBuilder_.dispose(); criterionBuilder_ = null; criterion_ = other.criterion_; bitField0_ = (bitField0_ & ~0x00000001); criterionBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCriterionFieldBuilder() : null; } else { criterionBuilder_.addAllMessages(other.criterion_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.Segment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.Segment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List criterion_ = java.util.Collections.emptyList(); private void ensureCriterionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { criterion_ = new java.util.ArrayList(criterion_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder> criterionBuilder_; /** * repeated .prefab.Criteria criterion = 1; */ public java.util.List getCriterionList() { if (criterionBuilder_ == null) { return java.util.Collections.unmodifiableList(criterion_); } else { return criterionBuilder_.getMessageList(); } } /** * repeated .prefab.Criteria criterion = 1; */ public int getCriterionCount() { if (criterionBuilder_ == null) { return criterion_.size(); } else { return criterionBuilder_.getCount(); } } /** * repeated .prefab.Criteria criterion = 1; */ public cloud.prefab.domain.Prefab.Criteria getCriterion(int index) { if (criterionBuilder_ == null) { return criterion_.get(index); } else { return criterionBuilder_.getMessage(index); } } /** * repeated .prefab.Criteria criterion = 1; */ public Builder setCriterion( int index, cloud.prefab.domain.Prefab.Criteria value) { if (criterionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCriterionIsMutable(); criterion_.set(index, value); onChanged(); } else { criterionBuilder_.setMessage(index, value); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder setCriterion( int index, cloud.prefab.domain.Prefab.Criteria.Builder builderForValue) { if (criterionBuilder_ == null) { ensureCriterionIsMutable(); criterion_.set(index, builderForValue.build()); onChanged(); } else { criterionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder addCriterion(cloud.prefab.domain.Prefab.Criteria value) { if (criterionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCriterionIsMutable(); criterion_.add(value); onChanged(); } else { criterionBuilder_.addMessage(value); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder addCriterion( int index, cloud.prefab.domain.Prefab.Criteria value) { if (criterionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCriterionIsMutable(); criterion_.add(index, value); onChanged(); } else { criterionBuilder_.addMessage(index, value); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder addCriterion( cloud.prefab.domain.Prefab.Criteria.Builder builderForValue) { if (criterionBuilder_ == null) { ensureCriterionIsMutable(); criterion_.add(builderForValue.build()); onChanged(); } else { criterionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder addCriterion( int index, cloud.prefab.domain.Prefab.Criteria.Builder builderForValue) { if (criterionBuilder_ == null) { ensureCriterionIsMutable(); criterion_.add(index, builderForValue.build()); onChanged(); } else { criterionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder addAllCriterion( java.lang.Iterable values) { if (criterionBuilder_ == null) { ensureCriterionIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, criterion_); onChanged(); } else { criterionBuilder_.addAllMessages(values); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder clearCriterion() { if (criterionBuilder_ == null) { criterion_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { criterionBuilder_.clear(); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public Builder removeCriterion(int index) { if (criterionBuilder_ == null) { ensureCriterionIsMutable(); criterion_.remove(index); onChanged(); } else { criterionBuilder_.remove(index); } return this; } /** * repeated .prefab.Criteria criterion = 1; */ public cloud.prefab.domain.Prefab.Criteria.Builder getCriterionBuilder( int index) { return getCriterionFieldBuilder().getBuilder(index); } /** * repeated .prefab.Criteria criterion = 1; */ public cloud.prefab.domain.Prefab.CriteriaOrBuilder getCriterionOrBuilder( int index) { if (criterionBuilder_ == null) { return criterion_.get(index); } else { return criterionBuilder_.getMessageOrBuilder(index); } } /** * repeated .prefab.Criteria criterion = 1; */ public java.util.List getCriterionOrBuilderList() { if (criterionBuilder_ != null) { return criterionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(criterion_); } } /** * repeated .prefab.Criteria criterion = 1; */ public cloud.prefab.domain.Prefab.Criteria.Builder addCriterionBuilder() { return getCriterionFieldBuilder().addBuilder( cloud.prefab.domain.Prefab.Criteria.getDefaultInstance()); } /** * repeated .prefab.Criteria criterion = 1; */ public cloud.prefab.domain.Prefab.Criteria.Builder addCriterionBuilder( int index) { return getCriterionFieldBuilder().addBuilder( index, cloud.prefab.domain.Prefab.Criteria.getDefaultInstance()); } /** * repeated .prefab.Criteria criterion = 1; */ public java.util.List getCriterionBuilderList() { return getCriterionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder> getCriterionFieldBuilder() { if (criterionBuilder_ == null) { criterionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Criteria, cloud.prefab.domain.Prefab.Criteria.Builder, cloud.prefab.domain.Prefab.CriteriaOrBuilder>( criterion_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); criterion_ = null; } return criterionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.Segment) } // @@protoc_insertion_point(class_scope:prefab.Segment) private static final cloud.prefab.domain.Prefab.Segment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.Segment(); } public static cloud.prefab.domain.Prefab.Segment getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Segment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Segment(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.Segment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VariantWeightOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.VariantWeight) com.google.protobuf.MessageOrBuilder { /** *
     * out of 1000
     * 
* * int32 weight = 1; * @return The weight. */ int getWeight(); /** * int32 variant_idx = 2; * @return The variantIdx. */ int getVariantIdx(); } /** * Protobuf type {@code prefab.VariantWeight} */ public static final class VariantWeight extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.VariantWeight) VariantWeightOrBuilder { private static final long serialVersionUID = 0L; // Use VariantWeight.newBuilder() to construct. private VariantWeight(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VariantWeight() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VariantWeight(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VariantWeight( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { weight_ = input.readInt32(); break; } case 16: { variantIdx_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_VariantWeight_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_VariantWeight_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.VariantWeight.class, cloud.prefab.domain.Prefab.VariantWeight.Builder.class); } public static final int WEIGHT_FIELD_NUMBER = 1; private int weight_; /** *
     * out of 1000
     * 
* * int32 weight = 1; * @return The weight. */ @java.lang.Override public int getWeight() { return weight_; } public static final int VARIANT_IDX_FIELD_NUMBER = 2; private int variantIdx_; /** * int32 variant_idx = 2; * @return The variantIdx. */ @java.lang.Override public int getVariantIdx() { return variantIdx_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (weight_ != 0) { output.writeInt32(1, weight_); } if (variantIdx_ != 0) { output.writeInt32(2, variantIdx_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (weight_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, weight_); } if (variantIdx_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, variantIdx_); } 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 cloud.prefab.domain.Prefab.VariantWeight)) { return super.equals(obj); } cloud.prefab.domain.Prefab.VariantWeight other = (cloud.prefab.domain.Prefab.VariantWeight) obj; if (getWeight() != other.getWeight()) return false; if (getVariantIdx() != other.getVariantIdx()) 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(); hash = (37 * hash) + WEIGHT_FIELD_NUMBER; hash = (53 * hash) + getWeight(); hash = (37 * hash) + VARIANT_IDX_FIELD_NUMBER; hash = (53 * hash) + getVariantIdx(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.VariantWeight parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.VariantWeight parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.VariantWeight parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.VariantWeight 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.VariantWeight} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.VariantWeight) cloud.prefab.domain.Prefab.VariantWeightOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_VariantWeight_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_VariantWeight_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.VariantWeight.class, cloud.prefab.domain.Prefab.VariantWeight.Builder.class); } // Construct using cloud.prefab.domain.Prefab.VariantWeight.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); weight_ = 0; variantIdx_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_VariantWeight_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeight getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.VariantWeight.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeight build() { cloud.prefab.domain.Prefab.VariantWeight result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeight buildPartial() { cloud.prefab.domain.Prefab.VariantWeight result = new cloud.prefab.domain.Prefab.VariantWeight(this); result.weight_ = weight_; result.variantIdx_ = variantIdx_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.VariantWeight) { return mergeFrom((cloud.prefab.domain.Prefab.VariantWeight)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.VariantWeight other) { if (other == cloud.prefab.domain.Prefab.VariantWeight.getDefaultInstance()) return this; if (other.getWeight() != 0) { setWeight(other.getWeight()); } if (other.getVariantIdx() != 0) { setVariantIdx(other.getVariantIdx()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.VariantWeight parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.VariantWeight) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int weight_ ; /** *
       * out of 1000
       * 
* * int32 weight = 1; * @return The weight. */ @java.lang.Override public int getWeight() { return weight_; } /** *
       * out of 1000
       * 
* * int32 weight = 1; * @param value The weight to set. * @return This builder for chaining. */ public Builder setWeight(int value) { weight_ = value; onChanged(); return this; } /** *
       * out of 1000
       * 
* * int32 weight = 1; * @return This builder for chaining. */ public Builder clearWeight() { weight_ = 0; onChanged(); return this; } private int variantIdx_ ; /** * int32 variant_idx = 2; * @return The variantIdx. */ @java.lang.Override public int getVariantIdx() { return variantIdx_; } /** * int32 variant_idx = 2; * @param value The variantIdx to set. * @return This builder for chaining. */ public Builder setVariantIdx(int value) { variantIdx_ = value; onChanged(); return this; } /** * int32 variant_idx = 2; * @return This builder for chaining. */ public Builder clearVariantIdx() { variantIdx_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.VariantWeight) } // @@protoc_insertion_point(class_scope:prefab.VariantWeight) private static final cloud.prefab.domain.Prefab.VariantWeight DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.VariantWeight(); } public static cloud.prefab.domain.Prefab.VariantWeight getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VariantWeight parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VariantWeight(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.VariantWeight getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeatureFlagOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.FeatureFlag) com.google.protobuf.MessageOrBuilder { /** * bool active = 1; * @return The active. */ boolean getActive(); /** * int32 inactive_variant_idx = 2; * @return The inactiveVariantIdx. */ int getInactiveVariantIdx(); /** * repeated .prefab.Rule rules = 5; */ java.util.List getRulesList(); /** * repeated .prefab.Rule rules = 5; */ cloud.prefab.domain.Prefab.Rule getRules(int index); /** * repeated .prefab.Rule rules = 5; */ int getRulesCount(); /** * repeated .prefab.Rule rules = 5; */ java.util.List getRulesOrBuilderList(); /** * repeated .prefab.Rule rules = 5; */ cloud.prefab.domain.Prefab.RuleOrBuilder getRulesOrBuilder( int index); } /** * Protobuf type {@code prefab.FeatureFlag} */ public static final class FeatureFlag extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.FeatureFlag) FeatureFlagOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureFlag.newBuilder() to construct. private FeatureFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FeatureFlag() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureFlag(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FeatureFlag( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { active_ = input.readBool(); break; } case 16: { inactiveVariantIdx_ = input.readInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add( input.readMessage(cloud.prefab.domain.Prefab.Rule.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlag_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.FeatureFlag.class, cloud.prefab.domain.Prefab.FeatureFlag.Builder.class); } public static final int ACTIVE_FIELD_NUMBER = 1; private boolean active_; /** * bool active = 1; * @return The active. */ @java.lang.Override public boolean getActive() { return active_; } public static final int INACTIVE_VARIANT_IDX_FIELD_NUMBER = 2; private int inactiveVariantIdx_; /** * int32 inactive_variant_idx = 2; * @return The inactiveVariantIdx. */ @java.lang.Override public int getInactiveVariantIdx() { return inactiveVariantIdx_; } public static final int RULES_FIELD_NUMBER = 5; private java.util.List rules_; /** * repeated .prefab.Rule rules = 5; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** * repeated .prefab.Rule rules = 5; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** * repeated .prefab.Rule rules = 5; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** * repeated .prefab.Rule rules = 5; */ @java.lang.Override public cloud.prefab.domain.Prefab.Rule getRules(int index) { return rules_.get(index); } /** * repeated .prefab.Rule rules = 5; */ @java.lang.Override public cloud.prefab.domain.Prefab.RuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (active_ != false) { output.writeBool(1, active_); } if (inactiveVariantIdx_ != 0) { output.writeInt32(2, inactiveVariantIdx_); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(5, rules_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (active_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, active_); } if (inactiveVariantIdx_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, inactiveVariantIdx_); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, rules_.get(i)); } 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 cloud.prefab.domain.Prefab.FeatureFlag)) { return super.equals(obj); } cloud.prefab.domain.Prefab.FeatureFlag other = (cloud.prefab.domain.Prefab.FeatureFlag) obj; if (getActive() != other.getActive()) return false; if (getInactiveVariantIdx() != other.getInactiveVariantIdx()) return false; if (!getRulesList() .equals(other.getRulesList())) 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(); hash = (37 * hash) + ACTIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getActive()); hash = (37 * hash) + INACTIVE_VARIANT_IDX_FIELD_NUMBER; hash = (53 * hash) + getInactiveVariantIdx(); if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlag parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.FeatureFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.FeatureFlag 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.FeatureFlag} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.FeatureFlag) cloud.prefab.domain.Prefab.FeatureFlagOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlag_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.FeatureFlag.class, cloud.prefab.domain.Prefab.FeatureFlag.Builder.class); } // Construct using cloud.prefab.domain.Prefab.FeatureFlag.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); active_ = false; inactiveVariantIdx_ = 0; if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_FeatureFlag_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlag getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlag build() { cloud.prefab.domain.Prefab.FeatureFlag result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlag buildPartial() { cloud.prefab.domain.Prefab.FeatureFlag result = new cloud.prefab.domain.Prefab.FeatureFlag(this); int from_bitField0_ = bitField0_; result.active_ = active_; result.inactiveVariantIdx_ = inactiveVariantIdx_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.FeatureFlag) { return mergeFrom((cloud.prefab.domain.Prefab.FeatureFlag)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.FeatureFlag other) { if (other == cloud.prefab.domain.Prefab.FeatureFlag.getDefaultInstance()) return this; if (other.getActive() != false) { setActive(other.getActive()); } if (other.getInactiveVariantIdx() != 0) { setInactiveVariantIdx(other.getInactiveVariantIdx()); } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.FeatureFlag parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.FeatureFlag) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean active_ ; /** * bool active = 1; * @return The active. */ @java.lang.Override public boolean getActive() { return active_; } /** * bool active = 1; * @param value The active to set. * @return This builder for chaining. */ public Builder setActive(boolean value) { active_ = value; onChanged(); return this; } /** * bool active = 1; * @return This builder for chaining. */ public Builder clearActive() { active_ = false; onChanged(); return this; } private int inactiveVariantIdx_ ; /** * int32 inactive_variant_idx = 2; * @return The inactiveVariantIdx. */ @java.lang.Override public int getInactiveVariantIdx() { return inactiveVariantIdx_; } /** * int32 inactive_variant_idx = 2; * @param value The inactiveVariantIdx to set. * @return This builder for chaining. */ public Builder setInactiveVariantIdx(int value) { inactiveVariantIdx_ = value; onChanged(); return this; } /** * int32 inactive_variant_idx = 2; * @return This builder for chaining. */ public Builder clearInactiveVariantIdx() { inactiveVariantIdx_ = 0; onChanged(); return this; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Rule, cloud.prefab.domain.Prefab.Rule.Builder, cloud.prefab.domain.Prefab.RuleOrBuilder> rulesBuilder_; /** * repeated .prefab.Rule rules = 5; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * repeated .prefab.Rule rules = 5; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * repeated .prefab.Rule rules = 5; */ public cloud.prefab.domain.Prefab.Rule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * repeated .prefab.Rule rules = 5; */ public Builder setRules( int index, cloud.prefab.domain.Prefab.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder setRules( int index, cloud.prefab.domain.Prefab.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder addRules(cloud.prefab.domain.Prefab.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder addRules( int index, cloud.prefab.domain.Prefab.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder addRules( cloud.prefab.domain.Prefab.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder addRules( int index, cloud.prefab.domain.Prefab.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * repeated .prefab.Rule rules = 5; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * repeated .prefab.Rule rules = 5; */ public cloud.prefab.domain.Prefab.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** * repeated .prefab.Rule rules = 5; */ public cloud.prefab.domain.Prefab.RuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .prefab.Rule rules = 5; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * repeated .prefab.Rule rules = 5; */ public cloud.prefab.domain.Prefab.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( cloud.prefab.domain.Prefab.Rule.getDefaultInstance()); } /** * repeated .prefab.Rule rules = 5; */ public cloud.prefab.domain.Prefab.Rule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, cloud.prefab.domain.Prefab.Rule.getDefaultInstance()); } /** * repeated .prefab.Rule rules = 5; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Rule, cloud.prefab.domain.Prefab.Rule.Builder, cloud.prefab.domain.Prefab.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.Rule, cloud.prefab.domain.Prefab.Rule.Builder, cloud.prefab.domain.Prefab.RuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.FeatureFlag) } // @@protoc_insertion_point(class_scope:prefab.FeatureFlag) private static final cloud.prefab.domain.Prefab.FeatureFlag DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.FeatureFlag(); } public static cloud.prefab.domain.Prefab.FeatureFlag getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FeatureFlag parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FeatureFlag(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.FeatureFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.User) com.google.protobuf.MessageOrBuilder { /** * optional string lookup = 1; * @return Whether the lookup field is set. */ boolean hasLookup(); /** * optional string lookup = 1; * @return The lookup. */ java.lang.String getLookup(); /** * optional string lookup = 1; * @return The bytes for lookup. */ com.google.protobuf.ByteString getLookupBytes(); /** * map<string, string> attributes = 2; */ int getAttributesCount(); /** * map<string, string> attributes = 2; */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** * map<string, string> attributes = 2; */ java.util.Map getAttributesMap(); /** * map<string, string> attributes = 2; */ java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> attributes = 2; */ java.lang.String getAttributesOrThrow( java.lang.String key); } /** * Protobuf type {@code prefab.User} */ public static final class User extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.User) UserOrBuilder { private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private User() { lookup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new User(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private User( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; lookup_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); attributes_.getMutableMap().put( attributes__.getKey(), attributes__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_User_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_User_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.User.class, cloud.prefab.domain.Prefab.User.Builder.class); } private int bitField0_; public static final int LOOKUP_FIELD_NUMBER = 1; private volatile java.lang.Object lookup_; /** * optional string lookup = 1; * @return Whether the lookup field is set. */ @java.lang.Override public boolean hasLookup() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string lookup = 1; * @return The lookup. */ @java.lang.Override public java.lang.String getLookup() { java.lang.Object ref = lookup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lookup_ = s; return s; } } /** * optional string lookup = 1; * @return The bytes for lookup. */ @java.lang.Override public com.google.protobuf.ByteString getLookupBytes() { java.lang.Object ref = lookup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lookup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ATTRIBUTES_FIELD_NUMBER = 2; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cloud.prefab.domain.Prefab.internal_static_prefab_User_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lookup_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lookup_); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, attributes__); } 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 cloud.prefab.domain.Prefab.User)) { return super.equals(obj); } cloud.prefab.domain.Prefab.User other = (cloud.prefab.domain.Prefab.User) obj; if (hasLookup() != other.hasLookup()) return false; if (hasLookup()) { if (!getLookup() .equals(other.getLookup())) return false; } if (!internalGetAttributes().equals( other.internalGetAttributes())) 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 (hasLookup()) { hash = (37 * hash) + LOOKUP_FIELD_NUMBER; hash = (53 * hash) + getLookup().hashCode(); } if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.User parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.User parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.User parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.User parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.User parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.User parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.User parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.User parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.User parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.User 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.User} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.User) cloud.prefab.domain.Prefab.UserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_User_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_User_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.User.class, cloud.prefab.domain.Prefab.User.Builder.class); } // Construct using cloud.prefab.domain.Prefab.User.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lookup_ = ""; bitField0_ = (bitField0_ & ~0x00000001); internalGetMutableAttributes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_User_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.User getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.User.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.User build() { cloud.prefab.domain.Prefab.User result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.User buildPartial() { cloud.prefab.domain.Prefab.User result = new cloud.prefab.domain.Prefab.User(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.lookup_ = lookup_; result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.User) { return mergeFrom((cloud.prefab.domain.Prefab.User)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.User other) { if (other == cloud.prefab.domain.Prefab.User.getDefaultInstance()) return this; if (other.hasLookup()) { bitField0_ |= 0x00000001; lookup_ = other.lookup_; onChanged(); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.User parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.User) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object lookup_ = ""; /** * optional string lookup = 1; * @return Whether the lookup field is set. */ public boolean hasLookup() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string lookup = 1; * @return The lookup. */ public java.lang.String getLookup() { java.lang.Object ref = lookup_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lookup_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string lookup = 1; * @return The bytes for lookup. */ public com.google.protobuf.ByteString getLookupBytes() { java.lang.Object ref = lookup_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lookup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string lookup = 1; * @param value The lookup to set. * @return This builder for chaining. */ public Builder setLookup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; lookup_ = value; onChanged(); return this; } /** * optional string lookup = 1; * @return This builder for chaining. */ public Builder clearLookup() { bitField0_ = (bitField0_ & ~0x00000001); lookup_ = getDefaultInstance().getLookup(); onChanged(); return this; } /** * optional string lookup = 1; * @param value The bytes for lookup to set. * @return This builder for chaining. */ public Builder setLookupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; lookup_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } private com.google.protobuf.MapField internalGetMutableAttributes() { onChanged();; if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> attributes = 2; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** * map<string, string> attributes = 2; */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { return internalGetMutableAttributes().getMutableMap(); } /** * map<string, string> attributes = 2; */ public Builder putAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().getMutableMap() .put(key, value); return this; } /** * map<string, string> attributes = 2; */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.User) } // @@protoc_insertion_point(class_scope:prefab.User) private static final cloud.prefab.domain.Prefab.User DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.User(); } public static cloud.prefab.domain.Prefab.User getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public User parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new User(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClientConfigValueOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.ClientConfigValue) com.google.protobuf.MessageOrBuilder { /** * optional int64 int = 1; * @return Whether the int field is set. */ boolean hasInt(); /** * optional int64 int = 1; * @return The int. */ long getInt(); /** * optional string string = 2; * @return Whether the string field is set. */ boolean hasString(); /** * optional string string = 2; * @return The string. */ java.lang.String getString(); /** * optional string string = 2; * @return The bytes for string. */ com.google.protobuf.ByteString getStringBytes(); /** * optional double double = 3; * @return Whether the double field is set. */ boolean hasDouble(); /** * optional double double = 3; * @return The double. */ double getDouble(); /** * optional bool bool = 4; * @return Whether the bool field is set. */ boolean hasBool(); /** * optional bool bool = 4; * @return The bool. */ boolean getBool(); } /** * Protobuf type {@code prefab.ClientConfigValue} */ public static final class ClientConfigValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.ClientConfigValue) ClientConfigValueOrBuilder { private static final long serialVersionUID = 0L; // Use ClientConfigValue.newBuilder() to construct. private ClientConfigValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientConfigValue() { string_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClientConfigValue(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientConfigValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { bitField0_ |= 0x00000001; int_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; string_ = s; break; } case 25: { bitField0_ |= 0x00000004; double_ = input.readDouble(); break; } case 32: { bitField0_ |= 0x00000008; bool_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_ClientConfigValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_ClientConfigValue_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.ClientConfigValue.class, cloud.prefab.domain.Prefab.ClientConfigValue.Builder.class); } private int bitField0_; public static final int INT_FIELD_NUMBER = 1; private long int_; /** * optional int64 int = 1; * @return Whether the int field is set. */ @java.lang.Override public boolean hasInt() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 int = 1; * @return The int. */ @java.lang.Override public long getInt() { return int_; } public static final int STRING_FIELD_NUMBER = 2; private volatile java.lang.Object string_; /** * optional string string = 2; * @return Whether the string field is set. */ @java.lang.Override public boolean hasString() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string string = 2; * @return The string. */ @java.lang.Override public java.lang.String getString() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); string_ = s; return s; } } /** * optional string string = 2; * @return The bytes for string. */ @java.lang.Override public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOUBLE_FIELD_NUMBER = 3; private double double_; /** * optional double double = 3; * @return Whether the double field is set. */ @java.lang.Override public boolean hasDouble() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double double = 3; * @return The double. */ @java.lang.Override public double getDouble() { return double_; } public static final int BOOL_FIELD_NUMBER = 4; private boolean bool_; /** * optional bool bool = 4; * @return Whether the bool field is set. */ @java.lang.Override public boolean hasBool() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool bool = 4; * @return The bool. */ @java.lang.Override public boolean getBool() { return bool_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, int_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, string_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, double_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, bool_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, int_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, string_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, double_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, bool_); } 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 cloud.prefab.domain.Prefab.ClientConfigValue)) { return super.equals(obj); } cloud.prefab.domain.Prefab.ClientConfigValue other = (cloud.prefab.domain.Prefab.ClientConfigValue) obj; if (hasInt() != other.hasInt()) return false; if (hasInt()) { if (getInt() != other.getInt()) return false; } if (hasString() != other.hasString()) return false; if (hasString()) { if (!getString() .equals(other.getString())) return false; } if (hasDouble() != other.hasDouble()) return false; if (hasDouble()) { if (java.lang.Double.doubleToLongBits(getDouble()) != java.lang.Double.doubleToLongBits( other.getDouble())) return false; } if (hasBool() != other.hasBool()) return false; if (hasBool()) { if (getBool() != other.getBool()) 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 (hasInt()) { hash = (37 * hash) + INT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInt()); } if (hasString()) { hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); } if (hasDouble()) { hash = (37 * hash) + DOUBLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDouble())); } if (hasBool()) { hash = (37 * hash) + BOOL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBool()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ClientConfigValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.ClientConfigValue 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.ClientConfigValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.ClientConfigValue) cloud.prefab.domain.Prefab.ClientConfigValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_ClientConfigValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_ClientConfigValue_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.ClientConfigValue.class, cloud.prefab.domain.Prefab.ClientConfigValue.Builder.class); } // Construct using cloud.prefab.domain.Prefab.ClientConfigValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); int_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); string_ = ""; bitField0_ = (bitField0_ & ~0x00000002); double_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); bool_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_ClientConfigValue_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.ClientConfigValue.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue build() { cloud.prefab.domain.Prefab.ClientConfigValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue buildPartial() { cloud.prefab.domain.Prefab.ClientConfigValue result = new cloud.prefab.domain.Prefab.ClientConfigValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.int_ = int_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.string_ = string_; if (((from_bitField0_ & 0x00000004) != 0)) { result.double_ = double_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.bool_ = bool_; 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( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.ClientConfigValue) { return mergeFrom((cloud.prefab.domain.Prefab.ClientConfigValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.ClientConfigValue other) { if (other == cloud.prefab.domain.Prefab.ClientConfigValue.getDefaultInstance()) return this; if (other.hasInt()) { setInt(other.getInt()); } if (other.hasString()) { bitField0_ |= 0x00000002; string_ = other.string_; onChanged(); } if (other.hasDouble()) { setDouble(other.getDouble()); } if (other.hasBool()) { setBool(other.getBool()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.ClientConfigValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.ClientConfigValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long int_ ; /** * optional int64 int = 1; * @return Whether the int field is set. */ @java.lang.Override public boolean hasInt() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 int = 1; * @return The int. */ @java.lang.Override public long getInt() { return int_; } /** * optional int64 int = 1; * @param value The int to set. * @return This builder for chaining. */ public Builder setInt(long value) { bitField0_ |= 0x00000001; int_ = value; onChanged(); return this; } /** * optional int64 int = 1; * @return This builder for chaining. */ public Builder clearInt() { bitField0_ = (bitField0_ & ~0x00000001); int_ = 0L; onChanged(); return this; } private java.lang.Object string_ = ""; /** * optional string string = 2; * @return Whether the string field is set. */ public boolean hasString() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string string = 2; * @return The string. */ public java.lang.String getString() { java.lang.Object ref = string_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); string_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string string = 2; * @return The bytes for string. */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string string = 2; * @param value The string to set. * @return This builder for chaining. */ public Builder setString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; string_ = value; onChanged(); return this; } /** * optional string string = 2; * @return This builder for chaining. */ public Builder clearString() { bitField0_ = (bitField0_ & ~0x00000002); string_ = getDefaultInstance().getString(); onChanged(); return this; } /** * optional string string = 2; * @param value The bytes for string to set. * @return This builder for chaining. */ public Builder setStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; string_ = value; onChanged(); return this; } private double double_ ; /** * optional double double = 3; * @return Whether the double field is set. */ @java.lang.Override public boolean hasDouble() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double double = 3; * @return The double. */ @java.lang.Override public double getDouble() { return double_; } /** * optional double double = 3; * @param value The double to set. * @return This builder for chaining. */ public Builder setDouble(double value) { bitField0_ |= 0x00000004; double_ = value; onChanged(); return this; } /** * optional double double = 3; * @return This builder for chaining. */ public Builder clearDouble() { bitField0_ = (bitField0_ & ~0x00000004); double_ = 0D; onChanged(); return this; } private boolean bool_ ; /** * optional bool bool = 4; * @return Whether the bool field is set. */ @java.lang.Override public boolean hasBool() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool bool = 4; * @return The bool. */ @java.lang.Override public boolean getBool() { return bool_; } /** * optional bool bool = 4; * @param value The bool to set. * @return This builder for chaining. */ public Builder setBool(boolean value) { bitField0_ |= 0x00000008; bool_ = value; onChanged(); return this; } /** * optional bool bool = 4; * @return This builder for chaining. */ public Builder clearBool() { bitField0_ = (bitField0_ & ~0x00000008); bool_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.ClientConfigValue) } // @@protoc_insertion_point(class_scope:prefab.ClientConfigValue) private static final cloud.prefab.domain.Prefab.ClientConfigValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.ClientConfigValue(); } public static cloud.prefab.domain.Prefab.ClientConfigValue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientConfigValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientConfigValue(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConfigEvaluationsOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.ConfigEvaluations) com.google.protobuf.MessageOrBuilder { /** * map<string, .prefab.ClientConfigValue> values = 1; */ int getValuesCount(); /** * map<string, .prefab.ClientConfigValue> values = 1; */ boolean containsValues( java.lang.String key); /** * Use {@link #getValuesMap()} instead. */ @java.lang.Deprecated java.util.Map getValues(); /** * map<string, .prefab.ClientConfigValue> values = 1; */ java.util.Map getValuesMap(); /** * map<string, .prefab.ClientConfigValue> values = 1; */ cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrDefault( java.lang.String key, cloud.prefab.domain.Prefab.ClientConfigValue defaultValue); /** * map<string, .prefab.ClientConfigValue> values = 1; */ cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrThrow( java.lang.String key); } /** * Protobuf type {@code prefab.ConfigEvaluations} */ public static final class ConfigEvaluations extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.ConfigEvaluations) ConfigEvaluationsOrBuilder { private static final long serialVersionUID = 0L; // Use ConfigEvaluations.newBuilder() to construct. private ConfigEvaluations(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConfigEvaluations() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ConfigEvaluations(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConfigEvaluations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { values_ = com.google.protobuf.MapField.newMapField( ValuesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry values__ = input.readMessage( ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); values_.getMutableMap().put( values__.getKey(), values__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.ConfigEvaluations.class, cloud.prefab.domain.Prefab.ConfigEvaluations.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private static final class ValuesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, cloud.prefab.domain.Prefab.ClientConfigValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_ValuesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, cloud.prefab.domain.Prefab.ClientConfigValue.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, cloud.prefab.domain.Prefab.ClientConfigValue> values_; private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { return com.google.protobuf.MapField.emptyMapField( ValuesDefaultEntryHolder.defaultEntry); } return values_; } public int getValuesCount() { return internalGetValues().getMap().size(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public boolean containsValues( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetValues().getMap().containsKey(key); } /** * Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrDefault( java.lang.String key, cloud.prefab.domain.Prefab.ClientConfigValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetValues().getMap().entrySet()) { com.google.protobuf.MapEntry values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, values__); } 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 cloud.prefab.domain.Prefab.ConfigEvaluations)) { return super.equals(obj); } cloud.prefab.domain.Prefab.ConfigEvaluations other = (cloud.prefab.domain.Prefab.ConfigEvaluations) obj; if (!internalGetValues().equals( other.internalGetValues())) 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 (!internalGetValues().getMap().isEmpty()) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + internalGetValues().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.ConfigEvaluations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.ConfigEvaluations 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.ConfigEvaluations} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.ConfigEvaluations) cloud.prefab.domain.Prefab.ConfigEvaluationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.ConfigEvaluations.class, cloud.prefab.domain.Prefab.ConfigEvaluations.Builder.class); } // Construct using cloud.prefab.domain.Prefab.ConfigEvaluations.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableValues().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_ConfigEvaluations_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.ConfigEvaluations getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.ConfigEvaluations.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.ConfigEvaluations build() { cloud.prefab.domain.Prefab.ConfigEvaluations result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.ConfigEvaluations buildPartial() { cloud.prefab.domain.Prefab.ConfigEvaluations result = new cloud.prefab.domain.Prefab.ConfigEvaluations(this); int from_bitField0_ = bitField0_; result.values_ = internalGetValues(); result.values_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.ConfigEvaluations) { return mergeFrom((cloud.prefab.domain.Prefab.ConfigEvaluations)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.ConfigEvaluations other) { if (other == cloud.prefab.domain.Prefab.ConfigEvaluations.getDefaultInstance()) return this; internalGetMutableValues().mergeFrom( other.internalGetValues()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.ConfigEvaluations parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.ConfigEvaluations) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, cloud.prefab.domain.Prefab.ClientConfigValue> values_; private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { return com.google.protobuf.MapField.emptyMapField( ValuesDefaultEntryHolder.defaultEntry); } return values_; } private com.google.protobuf.MapField internalGetMutableValues() { onChanged();; if (values_ == null) { values_ = com.google.protobuf.MapField.newMapField( ValuesDefaultEntryHolder.defaultEntry); } if (!values_.isMutable()) { values_ = values_.copy(); } return values_; } public int getValuesCount() { return internalGetValues().getMap().size(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public boolean containsValues( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetValues().getMap().containsKey(key); } /** * Use {@link #getValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrDefault( java.lang.String key, cloud.prefab.domain.Prefab.ClientConfigValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .prefab.ClientConfigValue> values = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.ClientConfigValue getValuesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearValues() { internalGetMutableValues().getMutableMap() .clear(); return this; } /** * map<string, .prefab.ClientConfigValue> values = 1; */ public Builder removeValues( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableValues().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableValues() { return internalGetMutableValues().getMutableMap(); } /** * map<string, .prefab.ClientConfigValue> values = 1; */ public Builder putValues( java.lang.String key, cloud.prefab.domain.Prefab.ClientConfigValue value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableValues().getMutableMap() .put(key, value); return this; } /** * map<string, .prefab.ClientConfigValue> values = 1; */ public Builder putAllValues( java.util.Map values) { internalGetMutableValues().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.ConfigEvaluations) } // @@protoc_insertion_point(class_scope:prefab.ConfigEvaluations) private static final cloud.prefab.domain.Prefab.ConfigEvaluations DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.ConfigEvaluations(); } public static cloud.prefab.domain.Prefab.ConfigEvaluations getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConfigEvaluations parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConfigEvaluations(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.ConfigEvaluations getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LimitDefinitionOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.LimitDefinition) com.google.protobuf.MessageOrBuilder { /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The enum numeric value on the wire for policyName. */ int getPolicyNameValue(); /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The policyName. */ cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName(); /** * int32 limit = 3; * @return The limit. */ int getLimit(); /** * int32 burst = 4; * @return The burst. */ int getBurst(); /** * int64 account_id = 5; * @return The accountId. */ long getAccountId(); /** * int64 last_modified = 6; * @return The lastModified. */ long getLastModified(); /** * bool returnable = 7; * @return The returnable. */ boolean getReturnable(); /** *
     * [default = L4_BEST_EFFORT]; // Overridable by request
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The enum numeric value on the wire for safetyLevel. */ int getSafetyLevelValue(); /** *
     * [default = L4_BEST_EFFORT]; // Overridable by request
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The safetyLevel. */ cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel(); } /** * Protobuf type {@code prefab.LimitDefinition} */ public static final class LimitDefinition extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.LimitDefinition) LimitDefinitionOrBuilder { private static final long serialVersionUID = 0L; // Use LimitDefinition.newBuilder() to construct. private LimitDefinition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LimitDefinition() { policyName_ = 0; safetyLevel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LimitDefinition(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LimitDefinition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { int rawValue = input.readEnum(); policyName_ = rawValue; break; } case 24: { limit_ = input.readInt32(); break; } case 32: { burst_ = input.readInt32(); break; } case 40: { accountId_ = input.readInt64(); break; } case 48: { lastModified_ = input.readInt64(); break; } case 56: { returnable_ = input.readBool(); break; } case 64: { int rawValue = input.readEnum(); safetyLevel_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinition_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitDefinition.class, cloud.prefab.domain.Prefab.LimitDefinition.Builder.class); } /** * Protobuf enum {@code prefab.LimitDefinition.SafetyLevel} */ public enum SafetyLevel implements com.google.protobuf.ProtocolMessageEnum { /** * NOT_SET = 0; */ NOT_SET(0), /** * L4_BEST_EFFORT = 4; */ L4_BEST_EFFORT(4), /** * L5_BOMBPROOF = 5; */ L5_BOMBPROOF(5), UNRECOGNIZED(-1), ; /** * NOT_SET = 0; */ public static final int NOT_SET_VALUE = 0; /** * L4_BEST_EFFORT = 4; */ public static final int L4_BEST_EFFORT_VALUE = 4; /** * L5_BOMBPROOF = 5; */ public static final int L5_BOMBPROOF_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } 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 SafetyLevel 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 SafetyLevel forNumber(int value) { switch (value) { case 0: return NOT_SET; case 4: return L4_BEST_EFFORT; case 5: return L5_BOMBPROOF; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SafetyLevel> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SafetyLevel findValueByNumber(int number) { return SafetyLevel.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cloud.prefab.domain.Prefab.LimitDefinition.getDescriptor().getEnumTypes().get(0); } private static final SafetyLevel[] VALUES = values(); public static SafetyLevel valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private SafetyLevel(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:prefab.LimitDefinition.SafetyLevel) } public static final int POLICY_NAME_FIELD_NUMBER = 2; private int policyName_; /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The enum numeric value on the wire for policyName. */ @java.lang.Override public int getPolicyNameValue() { return policyName_; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The policyName. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames result = cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.valueOf(policyName_); return result == null ? cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.UNRECOGNIZED : result; } public static final int LIMIT_FIELD_NUMBER = 3; private int limit_; /** * int32 limit = 3; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int BURST_FIELD_NUMBER = 4; private int burst_; /** * int32 burst = 4; * @return The burst. */ @java.lang.Override public int getBurst() { return burst_; } public static final int ACCOUNT_ID_FIELD_NUMBER = 5; private long accountId_; /** * int64 account_id = 5; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } public static final int LAST_MODIFIED_FIELD_NUMBER = 6; private long lastModified_; /** * int64 last_modified = 6; * @return The lastModified. */ @java.lang.Override public long getLastModified() { return lastModified_; } public static final int RETURNABLE_FIELD_NUMBER = 7; private boolean returnable_; /** * bool returnable = 7; * @return The returnable. */ @java.lang.Override public boolean getReturnable() { return returnable_; } public static final int SAFETY_LEVEL_FIELD_NUMBER = 8; private int safetyLevel_; /** *
     * [default = L4_BEST_EFFORT]; // Overridable by request
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** *
     * [default = L4_BEST_EFFORT]; // Overridable by request
     * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (policyName_ != cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.NOT_SET.getNumber()) { output.writeEnum(2, policyName_); } if (limit_ != 0) { output.writeInt32(3, limit_); } if (burst_ != 0) { output.writeInt32(4, burst_); } if (accountId_ != 0L) { output.writeInt64(5, accountId_); } if (lastModified_ != 0L) { output.writeInt64(6, lastModified_); } if (returnable_ != false) { output.writeBool(7, returnable_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { output.writeEnum(8, safetyLevel_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (policyName_ != cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, policyName_); } if (limit_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, limit_); } if (burst_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, burst_); } if (accountId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, accountId_); } if (lastModified_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, lastModified_); } if (returnable_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, returnable_); } if (safetyLevel_ != cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.NOT_SET.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, safetyLevel_); } 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 cloud.prefab.domain.Prefab.LimitDefinition)) { return super.equals(obj); } cloud.prefab.domain.Prefab.LimitDefinition other = (cloud.prefab.domain.Prefab.LimitDefinition) obj; if (policyName_ != other.policyName_) return false; if (getLimit() != other.getLimit()) return false; if (getBurst() != other.getBurst()) return false; if (getAccountId() != other.getAccountId()) return false; if (getLastModified() != other.getLastModified()) return false; if (getReturnable() != other.getReturnable()) return false; if (safetyLevel_ != other.safetyLevel_) 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(); hash = (37 * hash) + POLICY_NAME_FIELD_NUMBER; hash = (53 * hash) + policyName_; hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); hash = (37 * hash) + BURST_FIELD_NUMBER; hash = (53 * hash) + getBurst(); hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAccountId()); hash = (37 * hash) + LAST_MODIFIED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLastModified()); hash = (37 * hash) + RETURNABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReturnable()); hash = (37 * hash) + SAFETY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + safetyLevel_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.LimitDefinition 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.LimitDefinition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.LimitDefinition) cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinition_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitDefinition.class, cloud.prefab.domain.Prefab.LimitDefinition.Builder.class); } // Construct using cloud.prefab.domain.Prefab.LimitDefinition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); policyName_ = 0; limit_ = 0; burst_ = 0; accountId_ = 0L; lastModified_ = 0L; returnable_ = false; safetyLevel_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinition_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition build() { cloud.prefab.domain.Prefab.LimitDefinition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition buildPartial() { cloud.prefab.domain.Prefab.LimitDefinition result = new cloud.prefab.domain.Prefab.LimitDefinition(this); result.policyName_ = policyName_; result.limit_ = limit_; result.burst_ = burst_; result.accountId_ = accountId_; result.lastModified_ = lastModified_; result.returnable_ = returnable_; result.safetyLevel_ = safetyLevel_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.LimitDefinition) { return mergeFrom((cloud.prefab.domain.Prefab.LimitDefinition)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.LimitDefinition other) { if (other == cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance()) return this; if (other.policyName_ != 0) { setPolicyNameValue(other.getPolicyNameValue()); } if (other.getLimit() != 0) { setLimit(other.getLimit()); } if (other.getBurst() != 0) { setBurst(other.getBurst()); } if (other.getAccountId() != 0L) { setAccountId(other.getAccountId()); } if (other.getLastModified() != 0L) { setLastModified(other.getLastModified()); } if (other.getReturnable() != false) { setReturnable(other.getReturnable()); } if (other.safetyLevel_ != 0) { setSafetyLevelValue(other.getSafetyLevelValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.LimitDefinition parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.LimitDefinition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int policyName_ = 0; /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The enum numeric value on the wire for policyName. */ @java.lang.Override public int getPolicyNameValue() { return policyName_; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @param value The enum numeric value on the wire for policyName to set. * @return This builder for chaining. */ public Builder setPolicyNameValue(int value) { policyName_ = value; onChanged(); return this; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return The policyName. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames getPolicyName() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames result = cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.valueOf(policyName_); return result == null ? cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames.UNRECOGNIZED : result; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @param value The policyName to set. * @return This builder for chaining. */ public Builder setPolicyName(cloud.prefab.domain.Prefab.LimitResponse.LimitPolicyNames value) { if (value == null) { throw new NullPointerException(); } policyName_ = value.getNumber(); onChanged(); return this; } /** * .prefab.LimitResponse.LimitPolicyNames policy_name = 2; * @return This builder for chaining. */ public Builder clearPolicyName() { policyName_ = 0; onChanged(); return this; } private int limit_ ; /** * int32 limit = 3; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** * int32 limit = 3; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /** * int32 limit = 3; * @return This builder for chaining. */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } private int burst_ ; /** * int32 burst = 4; * @return The burst. */ @java.lang.Override public int getBurst() { return burst_; } /** * int32 burst = 4; * @param value The burst to set. * @return This builder for chaining. */ public Builder setBurst(int value) { burst_ = value; onChanged(); return this; } /** * int32 burst = 4; * @return This builder for chaining. */ public Builder clearBurst() { burst_ = 0; onChanged(); return this; } private long accountId_ ; /** * int64 account_id = 5; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } /** * int64 account_id = 5; * @param value The accountId to set. * @return This builder for chaining. */ public Builder setAccountId(long value) { accountId_ = value; onChanged(); return this; } /** * int64 account_id = 5; * @return This builder for chaining. */ public Builder clearAccountId() { accountId_ = 0L; onChanged(); return this; } private long lastModified_ ; /** * int64 last_modified = 6; * @return The lastModified. */ @java.lang.Override public long getLastModified() { return lastModified_; } /** * int64 last_modified = 6; * @param value The lastModified to set. * @return This builder for chaining. */ public Builder setLastModified(long value) { lastModified_ = value; onChanged(); return this; } /** * int64 last_modified = 6; * @return This builder for chaining. */ public Builder clearLastModified() { lastModified_ = 0L; onChanged(); return this; } private boolean returnable_ ; /** * bool returnable = 7; * @return The returnable. */ @java.lang.Override public boolean getReturnable() { return returnable_; } /** * bool returnable = 7; * @param value The returnable to set. * @return This builder for chaining. */ public Builder setReturnable(boolean value) { returnable_ = value; onChanged(); return this; } /** * bool returnable = 7; * @return This builder for chaining. */ public Builder clearReturnable() { returnable_ = false; onChanged(); return this; } private int safetyLevel_ = 0; /** *
       * [default = L4_BEST_EFFORT]; // Overridable by request
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The enum numeric value on the wire for safetyLevel. */ @java.lang.Override public int getSafetyLevelValue() { return safetyLevel_; } /** *
       * [default = L4_BEST_EFFORT]; // Overridable by request
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @param value The enum numeric value on the wire for safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevelValue(int value) { safetyLevel_ = value; onChanged(); return this; } /** *
       * [default = L4_BEST_EFFORT]; // Overridable by request
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return The safetyLevel. */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel getSafetyLevel() { @SuppressWarnings("deprecation") cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel result = cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.valueOf(safetyLevel_); return result == null ? cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel.UNRECOGNIZED : result; } /** *
       * [default = L4_BEST_EFFORT]; // Overridable by request
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @param value The safetyLevel to set. * @return This builder for chaining. */ public Builder setSafetyLevel(cloud.prefab.domain.Prefab.LimitDefinition.SafetyLevel value) { if (value == null) { throw new NullPointerException(); } safetyLevel_ = value.getNumber(); onChanged(); return this; } /** *
       * [default = L4_BEST_EFFORT]; // Overridable by request
       * 
* * .prefab.LimitDefinition.SafetyLevel safety_level = 8; * @return This builder for chaining. */ public Builder clearSafetyLevel() { safetyLevel_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.LimitDefinition) } // @@protoc_insertion_point(class_scope:prefab.LimitDefinition) private static final cloud.prefab.domain.Prefab.LimitDefinition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.LimitDefinition(); } public static cloud.prefab.domain.Prefab.LimitDefinition getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LimitDefinition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LimitDefinition(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LimitDefinitionsOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.LimitDefinitions) com.google.protobuf.MessageOrBuilder { /** * repeated .prefab.LimitDefinition definitions = 1; */ java.util.List getDefinitionsList(); /** * repeated .prefab.LimitDefinition definitions = 1; */ cloud.prefab.domain.Prefab.LimitDefinition getDefinitions(int index); /** * repeated .prefab.LimitDefinition definitions = 1; */ int getDefinitionsCount(); /** * repeated .prefab.LimitDefinition definitions = 1; */ java.util.List getDefinitionsOrBuilderList(); /** * repeated .prefab.LimitDefinition definitions = 1; */ cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getDefinitionsOrBuilder( int index); } /** * Protobuf type {@code prefab.LimitDefinitions} */ public static final class LimitDefinitions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.LimitDefinitions) LimitDefinitionsOrBuilder { private static final long serialVersionUID = 0L; // Use LimitDefinitions.newBuilder() to construct. private LimitDefinitions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LimitDefinitions() { definitions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LimitDefinitions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LimitDefinitions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { definitions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } definitions_.add( input.readMessage(cloud.prefab.domain.Prefab.LimitDefinition.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { definitions_ = java.util.Collections.unmodifiableList(definitions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinitions_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitDefinitions.class, cloud.prefab.domain.Prefab.LimitDefinitions.Builder.class); } public static final int DEFINITIONS_FIELD_NUMBER = 1; private java.util.List definitions_; /** * repeated .prefab.LimitDefinition definitions = 1; */ @java.lang.Override public java.util.List getDefinitionsList() { return definitions_; } /** * repeated .prefab.LimitDefinition definitions = 1; */ @java.lang.Override public java.util.List getDefinitionsOrBuilderList() { return definitions_; } /** * repeated .prefab.LimitDefinition definitions = 1; */ @java.lang.Override public int getDefinitionsCount() { return definitions_.size(); } /** * repeated .prefab.LimitDefinition definitions = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinition getDefinitions(int index) { return definitions_.get(index); } /** * repeated .prefab.LimitDefinition definitions = 1; */ @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getDefinitionsOrBuilder( int index) { return definitions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < definitions_.size(); i++) { output.writeMessage(1, definitions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < definitions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, definitions_.get(i)); } 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 cloud.prefab.domain.Prefab.LimitDefinitions)) { return super.equals(obj); } cloud.prefab.domain.Prefab.LimitDefinitions other = (cloud.prefab.domain.Prefab.LimitDefinitions) obj; if (!getDefinitionsList() .equals(other.getDefinitionsList())) 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 (getDefinitionsCount() > 0) { hash = (37 * hash) + DEFINITIONS_FIELD_NUMBER; hash = (53 * hash) + getDefinitionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.LimitDefinitions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.LimitDefinitions 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.LimitDefinitions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.LimitDefinitions) cloud.prefab.domain.Prefab.LimitDefinitionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinitions_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.LimitDefinitions.class, cloud.prefab.domain.Prefab.LimitDefinitions.Builder.class); } // Construct using cloud.prefab.domain.Prefab.LimitDefinitions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDefinitionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (definitionsBuilder_ == null) { definitions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { definitionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_LimitDefinitions_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinitions getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.LimitDefinitions.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinitions build() { cloud.prefab.domain.Prefab.LimitDefinitions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinitions buildPartial() { cloud.prefab.domain.Prefab.LimitDefinitions result = new cloud.prefab.domain.Prefab.LimitDefinitions(this); int from_bitField0_ = bitField0_; if (definitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { definitions_ = java.util.Collections.unmodifiableList(definitions_); bitField0_ = (bitField0_ & ~0x00000001); } result.definitions_ = definitions_; } else { result.definitions_ = definitionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.LimitDefinitions) { return mergeFrom((cloud.prefab.domain.Prefab.LimitDefinitions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.LimitDefinitions other) { if (other == cloud.prefab.domain.Prefab.LimitDefinitions.getDefaultInstance()) return this; if (definitionsBuilder_ == null) { if (!other.definitions_.isEmpty()) { if (definitions_.isEmpty()) { definitions_ = other.definitions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDefinitionsIsMutable(); definitions_.addAll(other.definitions_); } onChanged(); } } else { if (!other.definitions_.isEmpty()) { if (definitionsBuilder_.isEmpty()) { definitionsBuilder_.dispose(); definitionsBuilder_ = null; definitions_ = other.definitions_; bitField0_ = (bitField0_ & ~0x00000001); definitionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDefinitionsFieldBuilder() : null; } else { definitionsBuilder_.addAllMessages(other.definitions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.LimitDefinitions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.LimitDefinitions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List definitions_ = java.util.Collections.emptyList(); private void ensureDefinitionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { definitions_ = new java.util.ArrayList(definitions_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder> definitionsBuilder_; /** * repeated .prefab.LimitDefinition definitions = 1; */ public java.util.List getDefinitionsList() { if (definitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(definitions_); } else { return definitionsBuilder_.getMessageList(); } } /** * repeated .prefab.LimitDefinition definitions = 1; */ public int getDefinitionsCount() { if (definitionsBuilder_ == null) { return definitions_.size(); } else { return definitionsBuilder_.getCount(); } } /** * repeated .prefab.LimitDefinition definitions = 1; */ public cloud.prefab.domain.Prefab.LimitDefinition getDefinitions(int index) { if (definitionsBuilder_ == null) { return definitions_.get(index); } else { return definitionsBuilder_.getMessage(index); } } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder setDefinitions( int index, cloud.prefab.domain.Prefab.LimitDefinition value) { if (definitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefinitionsIsMutable(); definitions_.set(index, value); onChanged(); } else { definitionsBuilder_.setMessage(index, value); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder setDefinitions( int index, cloud.prefab.domain.Prefab.LimitDefinition.Builder builderForValue) { if (definitionsBuilder_ == null) { ensureDefinitionsIsMutable(); definitions_.set(index, builderForValue.build()); onChanged(); } else { definitionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder addDefinitions(cloud.prefab.domain.Prefab.LimitDefinition value) { if (definitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefinitionsIsMutable(); definitions_.add(value); onChanged(); } else { definitionsBuilder_.addMessage(value); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder addDefinitions( int index, cloud.prefab.domain.Prefab.LimitDefinition value) { if (definitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefinitionsIsMutable(); definitions_.add(index, value); onChanged(); } else { definitionsBuilder_.addMessage(index, value); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder addDefinitions( cloud.prefab.domain.Prefab.LimitDefinition.Builder builderForValue) { if (definitionsBuilder_ == null) { ensureDefinitionsIsMutable(); definitions_.add(builderForValue.build()); onChanged(); } else { definitionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder addDefinitions( int index, cloud.prefab.domain.Prefab.LimitDefinition.Builder builderForValue) { if (definitionsBuilder_ == null) { ensureDefinitionsIsMutable(); definitions_.add(index, builderForValue.build()); onChanged(); } else { definitionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder addAllDefinitions( java.lang.Iterable values) { if (definitionsBuilder_ == null) { ensureDefinitionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, definitions_); onChanged(); } else { definitionsBuilder_.addAllMessages(values); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder clearDefinitions() { if (definitionsBuilder_ == null) { definitions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { definitionsBuilder_.clear(); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public Builder removeDefinitions(int index) { if (definitionsBuilder_ == null) { ensureDefinitionsIsMutable(); definitions_.remove(index); onChanged(); } else { definitionsBuilder_.remove(index); } return this; } /** * repeated .prefab.LimitDefinition definitions = 1; */ public cloud.prefab.domain.Prefab.LimitDefinition.Builder getDefinitionsBuilder( int index) { return getDefinitionsFieldBuilder().getBuilder(index); } /** * repeated .prefab.LimitDefinition definitions = 1; */ public cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder getDefinitionsOrBuilder( int index) { if (definitionsBuilder_ == null) { return definitions_.get(index); } else { return definitionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .prefab.LimitDefinition definitions = 1; */ public java.util.List getDefinitionsOrBuilderList() { if (definitionsBuilder_ != null) { return definitionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(definitions_); } } /** * repeated .prefab.LimitDefinition definitions = 1; */ public cloud.prefab.domain.Prefab.LimitDefinition.Builder addDefinitionsBuilder() { return getDefinitionsFieldBuilder().addBuilder( cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance()); } /** * repeated .prefab.LimitDefinition definitions = 1; */ public cloud.prefab.domain.Prefab.LimitDefinition.Builder addDefinitionsBuilder( int index) { return getDefinitionsFieldBuilder().addBuilder( index, cloud.prefab.domain.Prefab.LimitDefinition.getDefaultInstance()); } /** * repeated .prefab.LimitDefinition definitions = 1; */ public java.util.List getDefinitionsBuilderList() { return getDefinitionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder> getDefinitionsFieldBuilder() { if (definitionsBuilder_ == null) { definitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cloud.prefab.domain.Prefab.LimitDefinition, cloud.prefab.domain.Prefab.LimitDefinition.Builder, cloud.prefab.domain.Prefab.LimitDefinitionOrBuilder>( definitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); definitions_ = null; } return definitionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.LimitDefinitions) } // @@protoc_insertion_point(class_scope:prefab.LimitDefinitions) private static final cloud.prefab.domain.Prefab.LimitDefinitions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.LimitDefinitions(); } public static cloud.prefab.domain.Prefab.LimitDefinitions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LimitDefinitions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LimitDefinitions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.LimitDefinitions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BufferedRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.BufferedRequest) com.google.protobuf.MessageOrBuilder { /** * int64 account_id = 1; * @return The accountId. */ long getAccountId(); /** * string method = 2; * @return The method. */ java.lang.String getMethod(); /** * string method = 2; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * string uri = 3; * @return The uri. */ java.lang.String getUri(); /** * string uri = 3; * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); /** * string body = 4; * @return The body. */ java.lang.String getBody(); /** * string body = 4; * @return The bytes for body. */ com.google.protobuf.ByteString getBodyBytes(); /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ java.util.List getLimitGroupsList(); /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ int getLimitGroupsCount(); /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ java.lang.String getLimitGroups(int index); /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ com.google.protobuf.ByteString getLimitGroupsBytes(int index); /** * string content_type = 6; * @return The contentType. */ java.lang.String getContentType(); /** * string content_type = 6; * @return The bytes for contentType. */ com.google.protobuf.ByteString getContentTypeBytes(); /** * bool fifo = 7; * @return The fifo. */ boolean getFifo(); } /** * Protobuf type {@code prefab.BufferedRequest} */ public static final class BufferedRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.BufferedRequest) BufferedRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BufferedRequest.newBuilder() to construct. private BufferedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BufferedRequest() { method_ = ""; uri_ = ""; body_ = ""; limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; contentType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BufferedRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BufferedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { accountId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); method_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); uri_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); body_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { limitGroups_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } limitGroups_.add(s); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); contentType_ = s; break; } case 56: { fifo_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { limitGroups_ = limitGroups_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BufferedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BufferedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BufferedRequest.class, cloud.prefab.domain.Prefab.BufferedRequest.Builder.class); } public static final int ACCOUNT_ID_FIELD_NUMBER = 1; private long accountId_; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } public static final int METHOD_FIELD_NUMBER = 2; private volatile java.lang.Object method_; /** * string method = 2; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } } /** * string method = 2; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int URI_FIELD_NUMBER = 3; private volatile java.lang.Object uri_; /** * string uri = 3; * @return The uri. */ @java.lang.Override public java.lang.String getUri() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** * string uri = 3; * @return The bytes for uri. */ @java.lang.Override public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BODY_FIELD_NUMBER = 4; private volatile java.lang.Object body_; /** * string body = 4; * @return The body. */ @java.lang.Override public java.lang.String getBody() { java.lang.Object ref = body_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); body_ = s; return s; } } /** * string body = 4; * @return The bytes for body. */ @java.lang.Override public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LIMIT_GROUPS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList limitGroups_; /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ public com.google.protobuf.ProtocolStringList getLimitGroupsList() { return limitGroups_; } /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ public int getLimitGroupsCount() { return limitGroups_.size(); } /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ public java.lang.String getLimitGroups(int index) { return limitGroups_.get(index); } /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ public com.google.protobuf.ByteString getLimitGroupsBytes(int index) { return limitGroups_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object contentType_; /** * string content_type = 6; * @return The contentType. */ @java.lang.Override public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } } /** * string content_type = 6; * @return The bytes for contentType. */ @java.lang.Override public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIFO_FIELD_NUMBER = 7; private boolean fifo_; /** * bool fifo = 7; * @return The fifo. */ @java.lang.Override public boolean getFifo() { return fifo_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accountId_ != 0L) { output.writeInt64(1, accountId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, body_); } for (int i = 0; i < limitGroups_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, limitGroups_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, contentType_); } if (fifo_ != false) { output.writeBool(7, fifo_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (accountId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, accountId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, body_); } { int dataSize = 0; for (int i = 0; i < limitGroups_.size(); i++) { dataSize += computeStringSizeNoTag(limitGroups_.getRaw(i)); } size += dataSize; size += 1 * getLimitGroupsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, contentType_); } if (fifo_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, fifo_); } 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 cloud.prefab.domain.Prefab.BufferedRequest)) { return super.equals(obj); } cloud.prefab.domain.Prefab.BufferedRequest other = (cloud.prefab.domain.Prefab.BufferedRequest) obj; if (getAccountId() != other.getAccountId()) return false; if (!getMethod() .equals(other.getMethod())) return false; if (!getUri() .equals(other.getUri())) return false; if (!getBody() .equals(other.getBody())) return false; if (!getLimitGroupsList() .equals(other.getLimitGroupsList())) return false; if (!getContentType() .equals(other.getContentType())) return false; if (getFifo() != other.getFifo()) 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(); hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAccountId()); hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); if (getLimitGroupsCount() > 0) { hash = (37 * hash) + LIMIT_GROUPS_FIELD_NUMBER; hash = (53 * hash) + getLimitGroupsList().hashCode(); } hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getContentType().hashCode(); hash = (37 * hash) + FIFO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFifo()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BufferedRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BufferedRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BufferedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.BufferedRequest 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.BufferedRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.BufferedRequest) cloud.prefab.domain.Prefab.BufferedRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BufferedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BufferedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BufferedRequest.class, cloud.prefab.domain.Prefab.BufferedRequest.Builder.class); } // Construct using cloud.prefab.domain.Prefab.BufferedRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); accountId_ = 0L; method_ = ""; uri_ = ""; body_ = ""; limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); contentType_ = ""; fifo_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_BufferedRequest_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.BufferedRequest getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.BufferedRequest.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.BufferedRequest build() { cloud.prefab.domain.Prefab.BufferedRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.BufferedRequest buildPartial() { cloud.prefab.domain.Prefab.BufferedRequest result = new cloud.prefab.domain.Prefab.BufferedRequest(this); int from_bitField0_ = bitField0_; result.accountId_ = accountId_; result.method_ = method_; result.uri_ = uri_; result.body_ = body_; if (((bitField0_ & 0x00000001) != 0)) { limitGroups_ = limitGroups_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.limitGroups_ = limitGroups_; result.contentType_ = contentType_; result.fifo_ = fifo_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.BufferedRequest) { return mergeFrom((cloud.prefab.domain.Prefab.BufferedRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.BufferedRequest other) { if (other == cloud.prefab.domain.Prefab.BufferedRequest.getDefaultInstance()) return this; if (other.getAccountId() != 0L) { setAccountId(other.getAccountId()); } if (!other.getMethod().isEmpty()) { method_ = other.method_; onChanged(); } if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); } if (!other.getBody().isEmpty()) { body_ = other.body_; onChanged(); } if (!other.limitGroups_.isEmpty()) { if (limitGroups_.isEmpty()) { limitGroups_ = other.limitGroups_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLimitGroupsIsMutable(); limitGroups_.addAll(other.limitGroups_); } onChanged(); } if (!other.getContentType().isEmpty()) { contentType_ = other.contentType_; onChanged(); } if (other.getFifo() != false) { setFifo(other.getFifo()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.BufferedRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.BufferedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long accountId_ ; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } /** * int64 account_id = 1; * @param value The accountId to set. * @return This builder for chaining. */ public Builder setAccountId(long value) { accountId_ = value; onChanged(); return this; } /** * int64 account_id = 1; * @return This builder for chaining. */ public Builder clearAccountId() { accountId_ = 0L; onChanged(); return this; } private java.lang.Object method_ = ""; /** * string method = 2; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } else { return (java.lang.String) ref; } } /** * string method = 2; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string method = 2; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; onChanged(); return this; } /** * string method = 2; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); onChanged(); return this; } /** * string method = 2; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); method_ = value; onChanged(); return this; } private java.lang.Object uri_ = ""; /** * string uri = 3; * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } else { return (java.lang.String) ref; } } /** * string uri = 3; * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string uri = 3; * @param value The uri to set. * @return This builder for chaining. */ public Builder setUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uri_ = value; onChanged(); return this; } /** * string uri = 3; * @return This builder for chaining. */ public Builder clearUri() { uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** * string uri = 3; * @param value The bytes for uri to set. * @return This builder for chaining. */ public Builder setUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; onChanged(); return this; } private java.lang.Object body_ = ""; /** * string body = 4; * @return The body. */ public java.lang.String getBody() { java.lang.Object ref = body_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); body_ = s; return s; } else { return (java.lang.String) ref; } } /** * string body = 4; * @return The bytes for body. */ public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string body = 4; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody( java.lang.String value) { if (value == null) { throw new NullPointerException(); } body_ = value; onChanged(); return this; } /** * string body = 4; * @return This builder for chaining. */ public Builder clearBody() { body_ = getDefaultInstance().getBody(); onChanged(); return this; } /** * string body = 4; * @param value The bytes for body to set. * @return This builder for chaining. */ public Builder setBodyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); body_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLimitGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { limitGroups_ = new com.google.protobuf.LazyStringArrayList(limitGroups_); bitField0_ |= 0x00000001; } } /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ public com.google.protobuf.ProtocolStringList getLimitGroupsList() { return limitGroups_.getUnmodifiableView(); } /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ public int getLimitGroupsCount() { return limitGroups_.size(); } /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ public java.lang.String getLimitGroups(int index) { return limitGroups_.get(index); } /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ public com.google.protobuf.ByteString getLimitGroupsBytes(int index) { return limitGroups_.getByteString(index); } /** * repeated string limit_groups = 5; * @param index The index to set the value at. * @param value The limitGroups to set. * @return This builder for chaining. */ public Builder setLimitGroups( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLimitGroupsIsMutable(); limitGroups_.set(index, value); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param value The limitGroups to add. * @return This builder for chaining. */ public Builder addLimitGroups( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLimitGroupsIsMutable(); limitGroups_.add(value); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param values The limitGroups to add. * @return This builder for chaining. */ public Builder addAllLimitGroups( java.lang.Iterable values) { ensureLimitGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, limitGroups_); onChanged(); return this; } /** * repeated string limit_groups = 5; * @return This builder for chaining. */ public Builder clearLimitGroups() { limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param value The bytes of the limitGroups to add. * @return This builder for chaining. */ public Builder addLimitGroupsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLimitGroupsIsMutable(); limitGroups_.add(value); onChanged(); return this; } private java.lang.Object contentType_ = ""; /** * string content_type = 6; * @return The contentType. */ public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string content_type = 6; * @return The bytes for contentType. */ public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string content_type = 6; * @param value The contentType to set. * @return This builder for chaining. */ public Builder setContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contentType_ = value; onChanged(); return this; } /** * string content_type = 6; * @return This builder for chaining. */ public Builder clearContentType() { contentType_ = getDefaultInstance().getContentType(); onChanged(); return this; } /** * string content_type = 6; * @param value The bytes for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contentType_ = value; onChanged(); return this; } private boolean fifo_ ; /** * bool fifo = 7; * @return The fifo. */ @java.lang.Override public boolean getFifo() { return fifo_; } /** * bool fifo = 7; * @param value The fifo to set. * @return This builder for chaining. */ public Builder setFifo(boolean value) { fifo_ = value; onChanged(); return this; } /** * bool fifo = 7; * @return This builder for chaining. */ public Builder clearFifo() { fifo_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.BufferedRequest) } // @@protoc_insertion_point(class_scope:prefab.BufferedRequest) private static final cloud.prefab.domain.Prefab.BufferedRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.BufferedRequest(); } public static cloud.prefab.domain.Prefab.BufferedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BufferedRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BufferedRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.BufferedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.BatchRequest) com.google.protobuf.MessageOrBuilder { /** * int64 account_id = 1; * @return The accountId. */ long getAccountId(); /** * string method = 2; * @return The method. */ java.lang.String getMethod(); /** * string method = 2; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * string uri = 3; * @return The uri. */ java.lang.String getUri(); /** * string uri = 3; * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); /** * string body = 4; * @return The body. */ java.lang.String getBody(); /** * string body = 4; * @return The bytes for body. */ com.google.protobuf.ByteString getBodyBytes(); /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ java.util.List getLimitGroupsList(); /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ int getLimitGroupsCount(); /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ java.lang.String getLimitGroups(int index); /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ com.google.protobuf.ByteString getLimitGroupsBytes(int index); /** * string batch_template = 6; * @return The batchTemplate. */ java.lang.String getBatchTemplate(); /** * string batch_template = 6; * @return The bytes for batchTemplate. */ com.google.protobuf.ByteString getBatchTemplateBytes(); /** * string batch_separator = 7; * @return The batchSeparator. */ java.lang.String getBatchSeparator(); /** * string batch_separator = 7; * @return The bytes for batchSeparator. */ com.google.protobuf.ByteString getBatchSeparatorBytes(); } /** * Protobuf type {@code prefab.BatchRequest} */ public static final class BatchRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.BatchRequest) BatchRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BatchRequest.newBuilder() to construct. private BatchRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchRequest() { method_ = ""; uri_ = ""; body_ = ""; limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; batchTemplate_ = ""; batchSeparator_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { accountId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); method_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); uri_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); body_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { limitGroups_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } limitGroups_.add(s); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); batchTemplate_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); batchSeparator_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { limitGroups_ = limitGroups_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BatchRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BatchRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BatchRequest.class, cloud.prefab.domain.Prefab.BatchRequest.Builder.class); } public static final int ACCOUNT_ID_FIELD_NUMBER = 1; private long accountId_; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } public static final int METHOD_FIELD_NUMBER = 2; private volatile java.lang.Object method_; /** * string method = 2; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } } /** * string method = 2; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int URI_FIELD_NUMBER = 3; private volatile java.lang.Object uri_; /** * string uri = 3; * @return The uri. */ @java.lang.Override public java.lang.String getUri() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** * string uri = 3; * @return The bytes for uri. */ @java.lang.Override public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BODY_FIELD_NUMBER = 4; private volatile java.lang.Object body_; /** * string body = 4; * @return The body. */ @java.lang.Override public java.lang.String getBody() { java.lang.Object ref = body_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); body_ = s; return s; } } /** * string body = 4; * @return The bytes for body. */ @java.lang.Override public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LIMIT_GROUPS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList limitGroups_; /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ public com.google.protobuf.ProtocolStringList getLimitGroupsList() { return limitGroups_; } /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ public int getLimitGroupsCount() { return limitGroups_.size(); } /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ public java.lang.String getLimitGroups(int index) { return limitGroups_.get(index); } /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ public com.google.protobuf.ByteString getLimitGroupsBytes(int index) { return limitGroups_.getByteString(index); } public static final int BATCH_TEMPLATE_FIELD_NUMBER = 6; private volatile java.lang.Object batchTemplate_; /** * string batch_template = 6; * @return The batchTemplate. */ @java.lang.Override public java.lang.String getBatchTemplate() { java.lang.Object ref = batchTemplate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); batchTemplate_ = s; return s; } } /** * string batch_template = 6; * @return The bytes for batchTemplate. */ @java.lang.Override public com.google.protobuf.ByteString getBatchTemplateBytes() { java.lang.Object ref = batchTemplate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); batchTemplate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BATCH_SEPARATOR_FIELD_NUMBER = 7; private volatile java.lang.Object batchSeparator_; /** * string batch_separator = 7; * @return The batchSeparator. */ @java.lang.Override public java.lang.String getBatchSeparator() { java.lang.Object ref = batchSeparator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); batchSeparator_ = s; return s; } } /** * string batch_separator = 7; * @return The bytes for batchSeparator. */ @java.lang.Override public com.google.protobuf.ByteString getBatchSeparatorBytes() { java.lang.Object ref = batchSeparator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); batchSeparator_ = b; return b; } else { return (com.google.protobuf.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; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accountId_ != 0L) { output.writeInt64(1, accountId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, body_); } for (int i = 0; i < limitGroups_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, limitGroups_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchTemplate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, batchTemplate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchSeparator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, batchSeparator_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (accountId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, accountId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, body_); } { int dataSize = 0; for (int i = 0; i < limitGroups_.size(); i++) { dataSize += computeStringSizeNoTag(limitGroups_.getRaw(i)); } size += dataSize; size += 1 * getLimitGroupsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchTemplate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, batchTemplate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchSeparator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, batchSeparator_); } 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 cloud.prefab.domain.Prefab.BatchRequest)) { return super.equals(obj); } cloud.prefab.domain.Prefab.BatchRequest other = (cloud.prefab.domain.Prefab.BatchRequest) obj; if (getAccountId() != other.getAccountId()) return false; if (!getMethod() .equals(other.getMethod())) return false; if (!getUri() .equals(other.getUri())) return false; if (!getBody() .equals(other.getBody())) return false; if (!getLimitGroupsList() .equals(other.getLimitGroupsList())) return false; if (!getBatchTemplate() .equals(other.getBatchTemplate())) return false; if (!getBatchSeparator() .equals(other.getBatchSeparator())) 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(); hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAccountId()); hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); if (getLimitGroupsCount() > 0) { hash = (37 * hash) + LIMIT_GROUPS_FIELD_NUMBER; hash = (53 * hash) + getLimitGroupsList().hashCode(); } hash = (37 * hash) + BATCH_TEMPLATE_FIELD_NUMBER; hash = (53 * hash) + getBatchTemplate().hashCode(); hash = (37 * hash) + BATCH_SEPARATOR_FIELD_NUMBER; hash = (53 * hash) + getBatchSeparator().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BatchRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BatchRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BatchRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.BatchRequest 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.BatchRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.BatchRequest) cloud.prefab.domain.Prefab.BatchRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BatchRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BatchRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BatchRequest.class, cloud.prefab.domain.Prefab.BatchRequest.Builder.class); } // Construct using cloud.prefab.domain.Prefab.BatchRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); accountId_ = 0L; method_ = ""; uri_ = ""; body_ = ""; limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); batchTemplate_ = ""; batchSeparator_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_BatchRequest_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.BatchRequest getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.BatchRequest.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.BatchRequest build() { cloud.prefab.domain.Prefab.BatchRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.BatchRequest buildPartial() { cloud.prefab.domain.Prefab.BatchRequest result = new cloud.prefab.domain.Prefab.BatchRequest(this); int from_bitField0_ = bitField0_; result.accountId_ = accountId_; result.method_ = method_; result.uri_ = uri_; result.body_ = body_; if (((bitField0_ & 0x00000001) != 0)) { limitGroups_ = limitGroups_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.limitGroups_ = limitGroups_; result.batchTemplate_ = batchTemplate_; result.batchSeparator_ = batchSeparator_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.BatchRequest) { return mergeFrom((cloud.prefab.domain.Prefab.BatchRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.BatchRequest other) { if (other == cloud.prefab.domain.Prefab.BatchRequest.getDefaultInstance()) return this; if (other.getAccountId() != 0L) { setAccountId(other.getAccountId()); } if (!other.getMethod().isEmpty()) { method_ = other.method_; onChanged(); } if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); } if (!other.getBody().isEmpty()) { body_ = other.body_; onChanged(); } if (!other.limitGroups_.isEmpty()) { if (limitGroups_.isEmpty()) { limitGroups_ = other.limitGroups_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLimitGroupsIsMutable(); limitGroups_.addAll(other.limitGroups_); } onChanged(); } if (!other.getBatchTemplate().isEmpty()) { batchTemplate_ = other.batchTemplate_; onChanged(); } if (!other.getBatchSeparator().isEmpty()) { batchSeparator_ = other.batchSeparator_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.BatchRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.BatchRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long accountId_ ; /** * int64 account_id = 1; * @return The accountId. */ @java.lang.Override public long getAccountId() { return accountId_; } /** * int64 account_id = 1; * @param value The accountId to set. * @return This builder for chaining. */ public Builder setAccountId(long value) { accountId_ = value; onChanged(); return this; } /** * int64 account_id = 1; * @return This builder for chaining. */ public Builder clearAccountId() { accountId_ = 0L; onChanged(); return this; } private java.lang.Object method_ = ""; /** * string method = 2; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } else { return (java.lang.String) ref; } } /** * string method = 2; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string method = 2; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; onChanged(); return this; } /** * string method = 2; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); onChanged(); return this; } /** * string method = 2; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); method_ = value; onChanged(); return this; } private java.lang.Object uri_ = ""; /** * string uri = 3; * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } else { return (java.lang.String) ref; } } /** * string uri = 3; * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string uri = 3; * @param value The uri to set. * @return This builder for chaining. */ public Builder setUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uri_ = value; onChanged(); return this; } /** * string uri = 3; * @return This builder for chaining. */ public Builder clearUri() { uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** * string uri = 3; * @param value The bytes for uri to set. * @return This builder for chaining. */ public Builder setUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; onChanged(); return this; } private java.lang.Object body_ = ""; /** * string body = 4; * @return The body. */ public java.lang.String getBody() { java.lang.Object ref = body_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); body_ = s; return s; } else { return (java.lang.String) ref; } } /** * string body = 4; * @return The bytes for body. */ public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); body_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string body = 4; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody( java.lang.String value) { if (value == null) { throw new NullPointerException(); } body_ = value; onChanged(); return this; } /** * string body = 4; * @return This builder for chaining. */ public Builder clearBody() { body_ = getDefaultInstance().getBody(); onChanged(); return this; } /** * string body = 4; * @param value The bytes for body to set. * @return This builder for chaining. */ public Builder setBodyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); body_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLimitGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { limitGroups_ = new com.google.protobuf.LazyStringArrayList(limitGroups_); bitField0_ |= 0x00000001; } } /** * repeated string limit_groups = 5; * @return A list containing the limitGroups. */ public com.google.protobuf.ProtocolStringList getLimitGroupsList() { return limitGroups_.getUnmodifiableView(); } /** * repeated string limit_groups = 5; * @return The count of limitGroups. */ public int getLimitGroupsCount() { return limitGroups_.size(); } /** * repeated string limit_groups = 5; * @param index The index of the element to return. * @return The limitGroups at the given index. */ public java.lang.String getLimitGroups(int index) { return limitGroups_.get(index); } /** * repeated string limit_groups = 5; * @param index The index of the value to return. * @return The bytes of the limitGroups at the given index. */ public com.google.protobuf.ByteString getLimitGroupsBytes(int index) { return limitGroups_.getByteString(index); } /** * repeated string limit_groups = 5; * @param index The index to set the value at. * @param value The limitGroups to set. * @return This builder for chaining. */ public Builder setLimitGroups( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLimitGroupsIsMutable(); limitGroups_.set(index, value); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param value The limitGroups to add. * @return This builder for chaining. */ public Builder addLimitGroups( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLimitGroupsIsMutable(); limitGroups_.add(value); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param values The limitGroups to add. * @return This builder for chaining. */ public Builder addAllLimitGroups( java.lang.Iterable values) { ensureLimitGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, limitGroups_); onChanged(); return this; } /** * repeated string limit_groups = 5; * @return This builder for chaining. */ public Builder clearLimitGroups() { limitGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string limit_groups = 5; * @param value The bytes of the limitGroups to add. * @return This builder for chaining. */ public Builder addLimitGroupsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLimitGroupsIsMutable(); limitGroups_.add(value); onChanged(); return this; } private java.lang.Object batchTemplate_ = ""; /** * string batch_template = 6; * @return The batchTemplate. */ public java.lang.String getBatchTemplate() { java.lang.Object ref = batchTemplate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); batchTemplate_ = s; return s; } else { return (java.lang.String) ref; } } /** * string batch_template = 6; * @return The bytes for batchTemplate. */ public com.google.protobuf.ByteString getBatchTemplateBytes() { java.lang.Object ref = batchTemplate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); batchTemplate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string batch_template = 6; * @param value The batchTemplate to set. * @return This builder for chaining. */ public Builder setBatchTemplate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } batchTemplate_ = value; onChanged(); return this; } /** * string batch_template = 6; * @return This builder for chaining. */ public Builder clearBatchTemplate() { batchTemplate_ = getDefaultInstance().getBatchTemplate(); onChanged(); return this; } /** * string batch_template = 6; * @param value The bytes for batchTemplate to set. * @return This builder for chaining. */ public Builder setBatchTemplateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); batchTemplate_ = value; onChanged(); return this; } private java.lang.Object batchSeparator_ = ""; /** * string batch_separator = 7; * @return The batchSeparator. */ public java.lang.String getBatchSeparator() { java.lang.Object ref = batchSeparator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); batchSeparator_ = s; return s; } else { return (java.lang.String) ref; } } /** * string batch_separator = 7; * @return The bytes for batchSeparator. */ public com.google.protobuf.ByteString getBatchSeparatorBytes() { java.lang.Object ref = batchSeparator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); batchSeparator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string batch_separator = 7; * @param value The batchSeparator to set. * @return This builder for chaining. */ public Builder setBatchSeparator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } batchSeparator_ = value; onChanged(); return this; } /** * string batch_separator = 7; * @return This builder for chaining. */ public Builder clearBatchSeparator() { batchSeparator_ = getDefaultInstance().getBatchSeparator(); onChanged(); return this; } /** * string batch_separator = 7; * @param value The bytes for batchSeparator to set. * @return This builder for chaining. */ public Builder setBatchSeparatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); batchSeparator_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.BatchRequest) } // @@protoc_insertion_point(class_scope:prefab.BatchRequest) private static final cloud.prefab.domain.Prefab.BatchRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.BatchRequest(); } public static cloud.prefab.domain.Prefab.BatchRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.BatchRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BasicResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.BasicResponse) com.google.protobuf.MessageOrBuilder { /** * string message = 1; * @return The message. */ java.lang.String getMessage(); /** * string message = 1; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code prefab.BasicResponse} */ public static final class BasicResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.BasicResponse) BasicResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BasicResponse.newBuilder() to construct. private BasicResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BasicResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BasicResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BasicResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BasicResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BasicResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BasicResponse.class, cloud.prefab.domain.Prefab.BasicResponse.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** * string message = 1; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** * string message = 1; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.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; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } 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 cloud.prefab.domain.Prefab.BasicResponse)) { return super.equals(obj); } cloud.prefab.domain.Prefab.BasicResponse other = (cloud.prefab.domain.Prefab.BasicResponse) obj; if (!getMessage() .equals(other.getMessage())) 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(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BasicResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BasicResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.BasicResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.BasicResponse 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.BasicResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.BasicResponse) cloud.prefab.domain.Prefab.BasicResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_BasicResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_BasicResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.BasicResponse.class, cloud.prefab.domain.Prefab.BasicResponse.Builder.class); } // Construct using cloud.prefab.domain.Prefab.BasicResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_BasicResponse_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.BasicResponse getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.BasicResponse.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.BasicResponse build() { cloud.prefab.domain.Prefab.BasicResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.BasicResponse buildPartial() { cloud.prefab.domain.Prefab.BasicResponse result = new cloud.prefab.domain.Prefab.BasicResponse(this); result.message_ = message_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.BasicResponse) { return mergeFrom((cloud.prefab.domain.Prefab.BasicResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.BasicResponse other) { if (other == cloud.prefab.domain.Prefab.BasicResponse.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.BasicResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.BasicResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object message_ = ""; /** * string message = 1; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 1; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 1; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 1; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 1; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.BasicResponse) } // @@protoc_insertion_point(class_scope:prefab.BasicResponse) private static final cloud.prefab.domain.Prefab.BasicResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.BasicResponse(); } public static cloud.prefab.domain.Prefab.BasicResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BasicResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BasicResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.BasicResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.CreationResponse) com.google.protobuf.MessageOrBuilder { /** * string message = 1; * @return The message. */ java.lang.String getMessage(); /** * string message = 1; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * int64 new_id = 2; * @return The newId. */ long getNewId(); } /** * Protobuf type {@code prefab.CreationResponse} */ public static final class CreationResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.CreationResponse) CreationResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreationResponse.newBuilder() to construct. private CreationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreationResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreationResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 16: { newId_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_CreationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_CreationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.CreationResponse.class, cloud.prefab.domain.Prefab.CreationResponse.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** * string message = 1; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** * string message = 1; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_ID_FIELD_NUMBER = 2; private long newId_; /** * int64 new_id = 2; * @return The newId. */ @java.lang.Override public long getNewId() { return newId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } if (newId_ != 0L) { output.writeInt64(2, newId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } if (newId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, newId_); } 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 cloud.prefab.domain.Prefab.CreationResponse)) { return super.equals(obj); } cloud.prefab.domain.Prefab.CreationResponse other = (cloud.prefab.domain.Prefab.CreationResponse) obj; if (!getMessage() .equals(other.getMessage())) return false; if (getNewId() != other.getNewId()) 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(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + NEW_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNewId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.CreationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.CreationResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.CreationResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.CreationResponse 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.CreationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.CreationResponse) cloud.prefab.domain.Prefab.CreationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_CreationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_CreationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.CreationResponse.class, cloud.prefab.domain.Prefab.CreationResponse.Builder.class); } // Construct using cloud.prefab.domain.Prefab.CreationResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); message_ = ""; newId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_CreationResponse_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.CreationResponse getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.CreationResponse.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.CreationResponse build() { cloud.prefab.domain.Prefab.CreationResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.CreationResponse buildPartial() { cloud.prefab.domain.Prefab.CreationResponse result = new cloud.prefab.domain.Prefab.CreationResponse(this); result.message_ = message_; result.newId_ = newId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.CreationResponse) { return mergeFrom((cloud.prefab.domain.Prefab.CreationResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.CreationResponse other) { if (other == cloud.prefab.domain.Prefab.CreationResponse.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.getNewId() != 0L) { setNewId(other.getNewId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.CreationResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.CreationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object message_ = ""; /** * string message = 1; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 1; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 1; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 1; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 1; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private long newId_ ; /** * int64 new_id = 2; * @return The newId. */ @java.lang.Override public long getNewId() { return newId_; } /** * int64 new_id = 2; * @param value The newId to set. * @return This builder for chaining. */ public Builder setNewId(long value) { newId_ = value; onChanged(); return this; } /** * int64 new_id = 2; * @return This builder for chaining. */ public Builder clearNewId() { newId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.CreationResponse) } // @@protoc_insertion_point(class_scope:prefab.CreationResponse) private static final cloud.prefab.domain.Prefab.CreationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.CreationResponse(); } public static cloud.prefab.domain.Prefab.CreationResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreationResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreationResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.CreationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IdBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.IdBlock) com.google.protobuf.MessageOrBuilder { /** * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** * int64 project_env_id = 2; * @return The projectEnvId. */ long getProjectEnvId(); /** * string sequence_name = 3; * @return The sequenceName. */ java.lang.String getSequenceName(); /** * string sequence_name = 3; * @return The bytes for sequenceName. */ com.google.protobuf.ByteString getSequenceNameBytes(); /** * int64 start = 4; * @return The start. */ long getStart(); /** * int64 end = 5; * @return The end. */ long getEnd(); } /** * Protobuf type {@code prefab.IdBlock} */ public static final class IdBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.IdBlock) IdBlockOrBuilder { private static final long serialVersionUID = 0L; // Use IdBlock.newBuilder() to construct. private IdBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IdBlock() { sequenceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IdBlock(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IdBlock( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { projectId_ = input.readInt64(); break; } case 16: { projectEnvId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); sequenceName_ = s; break; } case 32: { start_ = input.readInt64(); break; } case 40: { end_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.IdBlock.class, cloud.prefab.domain.Prefab.IdBlock.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PROJECT_ENV_ID_FIELD_NUMBER = 2; private long projectEnvId_; /** * int64 project_env_id = 2; * @return The projectEnvId. */ @java.lang.Override public long getProjectEnvId() { return projectEnvId_; } public static final int SEQUENCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object sequenceName_; /** * string sequence_name = 3; * @return The sequenceName. */ @java.lang.Override public java.lang.String getSequenceName() { java.lang.Object ref = sequenceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sequenceName_ = s; return s; } } /** * string sequence_name = 3; * @return The bytes for sequenceName. */ @java.lang.Override public com.google.protobuf.ByteString getSequenceNameBytes() { java.lang.Object ref = sequenceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sequenceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 4; private long start_; /** * int64 start = 4; * @return The start. */ @java.lang.Override public long getStart() { return start_; } public static final int END_FIELD_NUMBER = 5; private long end_; /** * int64 end = 5; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (projectEnvId_ != 0L) { output.writeInt64(2, projectEnvId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sequenceName_); } if (start_ != 0L) { output.writeInt64(4, start_); } if (end_ != 0L) { output.writeInt64(5, end_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (projectEnvId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, projectEnvId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sequenceName_); } if (start_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, start_); } if (end_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, end_); } 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 cloud.prefab.domain.Prefab.IdBlock)) { return super.equals(obj); } cloud.prefab.domain.Prefab.IdBlock other = (cloud.prefab.domain.Prefab.IdBlock) obj; if (getProjectId() != other.getProjectId()) return false; if (getProjectEnvId() != other.getProjectEnvId()) return false; if (!getSequenceName() .equals(other.getSequenceName())) return false; if (getStart() != other.getStart()) return false; if (getEnd() != other.getEnd()) 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(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PROJECT_ENV_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectEnvId()); hash = (37 * hash) + SEQUENCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getSequenceName().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEnd()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlock parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.IdBlock 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.IdBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.IdBlock) cloud.prefab.domain.Prefab.IdBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.IdBlock.class, cloud.prefab.domain.Prefab.IdBlock.Builder.class); } // Construct using cloud.prefab.domain.Prefab.IdBlock.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; projectEnvId_ = 0L; sequenceName_ = ""; start_ = 0L; end_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlock_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlock getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.IdBlock.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlock build() { cloud.prefab.domain.Prefab.IdBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlock buildPartial() { cloud.prefab.domain.Prefab.IdBlock result = new cloud.prefab.domain.Prefab.IdBlock(this); result.projectId_ = projectId_; result.projectEnvId_ = projectEnvId_; result.sequenceName_ = sequenceName_; result.start_ = start_; result.end_ = end_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.IdBlock) { return mergeFrom((cloud.prefab.domain.Prefab.IdBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.IdBlock other) { if (other == cloud.prefab.domain.Prefab.IdBlock.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getProjectEnvId() != 0L) { setProjectEnvId(other.getProjectEnvId()); } if (!other.getSequenceName().isEmpty()) { sequenceName_ = other.sequenceName_; onChanged(); } if (other.getStart() != 0L) { setStart(other.getStart()); } if (other.getEnd() != 0L) { setEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.IdBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.IdBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectId_ ; /** * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long projectEnvId_ ; /** * int64 project_env_id = 2; * @return The projectEnvId. */ @java.lang.Override public long getProjectEnvId() { return projectEnvId_; } /** * int64 project_env_id = 2; * @param value The projectEnvId to set. * @return This builder for chaining. */ public Builder setProjectEnvId(long value) { projectEnvId_ = value; onChanged(); return this; } /** * int64 project_env_id = 2; * @return This builder for chaining. */ public Builder clearProjectEnvId() { projectEnvId_ = 0L; onChanged(); return this; } private java.lang.Object sequenceName_ = ""; /** * string sequence_name = 3; * @return The sequenceName. */ public java.lang.String getSequenceName() { java.lang.Object ref = sequenceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sequenceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sequence_name = 3; * @return The bytes for sequenceName. */ public com.google.protobuf.ByteString getSequenceNameBytes() { java.lang.Object ref = sequenceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sequenceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sequence_name = 3; * @param value The sequenceName to set. * @return This builder for chaining. */ public Builder setSequenceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sequenceName_ = value; onChanged(); return this; } /** * string sequence_name = 3; * @return This builder for chaining. */ public Builder clearSequenceName() { sequenceName_ = getDefaultInstance().getSequenceName(); onChanged(); return this; } /** * string sequence_name = 3; * @param value The bytes for sequenceName to set. * @return This builder for chaining. */ public Builder setSequenceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sequenceName_ = value; onChanged(); return this; } private long start_ ; /** * int64 start = 4; * @return The start. */ @java.lang.Override public long getStart() { return start_; } /** * int64 start = 4; * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(long value) { start_ = value; onChanged(); return this; } /** * int64 start = 4; * @return This builder for chaining. */ public Builder clearStart() { start_ = 0L; onChanged(); return this; } private long end_ ; /** * int64 end = 5; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } /** * int64 end = 5; * @param value The end to set. * @return This builder for chaining. */ public Builder setEnd(long value) { end_ = value; onChanged(); return this; } /** * int64 end = 5; * @return This builder for chaining. */ public Builder clearEnd() { end_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.IdBlock) } // @@protoc_insertion_point(class_scope:prefab.IdBlock) private static final cloud.prefab.domain.Prefab.IdBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.IdBlock(); } public static cloud.prefab.domain.Prefab.IdBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IdBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IdBlock(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IdBlockRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:prefab.IdBlockRequest) com.google.protobuf.MessageOrBuilder { /** * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** * int64 project_env_id = 2; * @return The projectEnvId. */ long getProjectEnvId(); /** * string sequence_name = 3; * @return The sequenceName. */ java.lang.String getSequenceName(); /** * string sequence_name = 3; * @return The bytes for sequenceName. */ com.google.protobuf.ByteString getSequenceNameBytes(); /** * int64 size = 4; * @return The size. */ long getSize(); } /** * Protobuf type {@code prefab.IdBlockRequest} */ public static final class IdBlockRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:prefab.IdBlockRequest) IdBlockRequestOrBuilder { private static final long serialVersionUID = 0L; // Use IdBlockRequest.newBuilder() to construct. private IdBlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IdBlockRequest() { sequenceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IdBlockRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IdBlockRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { projectId_ = input.readInt64(); break; } case 16: { projectEnvId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); sequenceName_ = s; break; } case 32: { size_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.IdBlockRequest.class, cloud.prefab.domain.Prefab.IdBlockRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PROJECT_ENV_ID_FIELD_NUMBER = 2; private long projectEnvId_; /** * int64 project_env_id = 2; * @return The projectEnvId. */ @java.lang.Override public long getProjectEnvId() { return projectEnvId_; } public static final int SEQUENCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object sequenceName_; /** * string sequence_name = 3; * @return The sequenceName. */ @java.lang.Override public java.lang.String getSequenceName() { java.lang.Object ref = sequenceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sequenceName_ = s; return s; } } /** * string sequence_name = 3; * @return The bytes for sequenceName. */ @java.lang.Override public com.google.protobuf.ByteString getSequenceNameBytes() { java.lang.Object ref = sequenceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sequenceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIZE_FIELD_NUMBER = 4; private long size_; /** * int64 size = 4; * @return The size. */ @java.lang.Override public long getSize() { return size_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (projectEnvId_ != 0L) { output.writeInt64(2, projectEnvId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sequenceName_); } if (size_ != 0L) { output.writeInt64(4, size_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (projectEnvId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, projectEnvId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sequenceName_); } if (size_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, size_); } 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 cloud.prefab.domain.Prefab.IdBlockRequest)) { return super.equals(obj); } cloud.prefab.domain.Prefab.IdBlockRequest other = (cloud.prefab.domain.Prefab.IdBlockRequest) obj; if (getProjectId() != other.getProjectId()) return false; if (getProjectEnvId() != other.getProjectEnvId()) return false; if (!getSequenceName() .equals(other.getSequenceName())) return false; if (getSize() != other.getSize()) 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(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PROJECT_ENV_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectEnvId()); hash = (37 * hash) + SEQUENCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getSequenceName().hashCode(); hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cloud.prefab.domain.Prefab.IdBlockRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.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(cloud.prefab.domain.Prefab.IdBlockRequest 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( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code prefab.IdBlockRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:prefab.IdBlockRequest) cloud.prefab.domain.Prefab.IdBlockRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cloud.prefab.domain.Prefab.IdBlockRequest.class, cloud.prefab.domain.Prefab.IdBlockRequest.Builder.class); } // Construct using cloud.prefab.domain.Prefab.IdBlockRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; projectEnvId_ = 0L; sequenceName_ = ""; size_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cloud.prefab.domain.Prefab.internal_static_prefab_IdBlockRequest_descriptor; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlockRequest getDefaultInstanceForType() { return cloud.prefab.domain.Prefab.IdBlockRequest.getDefaultInstance(); } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlockRequest build() { cloud.prefab.domain.Prefab.IdBlockRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlockRequest buildPartial() { cloud.prefab.domain.Prefab.IdBlockRequest result = new cloud.prefab.domain.Prefab.IdBlockRequest(this); result.projectId_ = projectId_; result.projectEnvId_ = projectEnvId_; result.sequenceName_ = sequenceName_; result.size_ = size_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cloud.prefab.domain.Prefab.IdBlockRequest) { return mergeFrom((cloud.prefab.domain.Prefab.IdBlockRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cloud.prefab.domain.Prefab.IdBlockRequest other) { if (other == cloud.prefab.domain.Prefab.IdBlockRequest.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getProjectEnvId() != 0L) { setProjectEnvId(other.getProjectEnvId()); } if (!other.getSequenceName().isEmpty()) { sequenceName_ = other.sequenceName_; onChanged(); } if (other.getSize() != 0L) { setSize(other.getSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cloud.prefab.domain.Prefab.IdBlockRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cloud.prefab.domain.Prefab.IdBlockRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectId_ ; /** * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long projectEnvId_ ; /** * int64 project_env_id = 2; * @return The projectEnvId. */ @java.lang.Override public long getProjectEnvId() { return projectEnvId_; } /** * int64 project_env_id = 2; * @param value The projectEnvId to set. * @return This builder for chaining. */ public Builder setProjectEnvId(long value) { projectEnvId_ = value; onChanged(); return this; } /** * int64 project_env_id = 2; * @return This builder for chaining. */ public Builder clearProjectEnvId() { projectEnvId_ = 0L; onChanged(); return this; } private java.lang.Object sequenceName_ = ""; /** * string sequence_name = 3; * @return The sequenceName. */ public java.lang.String getSequenceName() { java.lang.Object ref = sequenceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sequenceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sequence_name = 3; * @return The bytes for sequenceName. */ public com.google.protobuf.ByteString getSequenceNameBytes() { java.lang.Object ref = sequenceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sequenceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sequence_name = 3; * @param value The sequenceName to set. * @return This builder for chaining. */ public Builder setSequenceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sequenceName_ = value; onChanged(); return this; } /** * string sequence_name = 3; * @return This builder for chaining. */ public Builder clearSequenceName() { sequenceName_ = getDefaultInstance().getSequenceName(); onChanged(); return this; } /** * string sequence_name = 3; * @param value The bytes for sequenceName to set. * @return This builder for chaining. */ public Builder setSequenceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sequenceName_ = value; onChanged(); return this; } private long size_ ; /** * int64 size = 4; * @return The size. */ @java.lang.Override public long getSize() { return size_; } /** * int64 size = 4; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(long value) { size_ = value; onChanged(); return this; } /** * int64 size = 4; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:prefab.IdBlockRequest) } // @@protoc_insertion_point(class_scope:prefab.IdBlockRequest) private static final cloud.prefab.domain.Prefab.IdBlockRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cloud.prefab.domain.Prefab.IdBlockRequest(); } public static cloud.prefab.domain.Prefab.IdBlockRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IdBlockRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IdBlockRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cloud.prefab.domain.Prefab.IdBlockRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ConfigServicePointer_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ConfigServicePointer_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ConfigValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ConfigValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_Configs_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_Configs_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_Config_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_Config_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ConfigRow_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ConfigRow_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_LimitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_LimitResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_LimitRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_LimitRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_FeatureFlagVariant_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_FeatureFlagVariant_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_Criteria_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_Criteria_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_Rule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_Rule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_Segment_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_Segment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_VariantWeight_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_VariantWeight_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_FeatureFlag_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_FeatureFlag_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_User_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_User_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_User_AttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_User_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ClientConfigValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ClientConfigValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ConfigEvaluations_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ConfigEvaluations_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_ConfigEvaluations_ValuesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_ConfigEvaluations_ValuesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_LimitDefinition_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_LimitDefinition_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_LimitDefinitions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_LimitDefinitions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_BufferedRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_BufferedRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_BatchRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_BatchRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_BasicResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_BasicResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_CreationResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_CreationResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_IdBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_IdBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_prefab_IdBlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_prefab_IdBlockRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\014prefab.proto\022\006prefab\"W\n\024ConfigServiceP" + "ointer\022\022\n\nproject_id\030\001 \001(\003\022\023\n\013start_at_i" + "d\030\002 \001(\003\022\026\n\016project_env_id\030\003 \001(\003\"\357\001\n\013Conf" + "igValue\022\r\n\003int\030\001 \001(\003H\000\022\020\n\006string\030\002 \001(\tH\000" + "\022\017\n\005bytes\030\003 \001(\014H\000\022\020\n\006double\030\004 \001(\001H\000\022\016\n\004b" + "ool\030\005 \001(\010H\000\022+\n\014feature_flag\030\006 \001(\0132\023.pref" + "ab.FeatureFlagH\000\0223\n\020limit_definition\030\007 \001" + "(\0132\027.prefab.LimitDefinitionH\000\022\"\n\007segment" + "\030\010 \001(\0132\017.prefab.SegmentH\000B\006\n\004type\"h\n\007Con" + "figs\022\037\n\007configs\030\001 \003(\0132\016.prefab.Config\022<\n" + "\026config_service_pointer\030\002 \001(\0132\034.prefab.C" + "onfigServicePointer\"\230\001\n\006Config\022\n\n\002id\030\001 \001" + "(\003\022\022\n\nproject_id\030\002 \001(\003\022\013\n\003key\030\003 \001(\t\022\022\n\nc" + "hanged_by\030\004 \001(\t\022\037\n\004rows\030\005 \003(\0132\021.prefab.C" + "onfigRow\022,\n\010variants\030\006 \003(\0132\032.prefab.Feat" + "ureFlagVariant\"Z\n\tConfigRow\022\026\n\016project_e" + "nv_id\030\001 \001(\003\022\021\n\tnamespace\030\002 \001(\t\022\"\n\005value\030" + "\003 \001(\0132\023.prefab.ConfigValue\"\333\003\n\rLimitResp" + "onse\022\016\n\006passed\030\001 \001(\010\022\022\n\nexpires_at\030\002 \001(\003" + "\022\026\n\016enforced_group\030\003 \001(\t\022\026\n\016current_buck" + "et\030\004 \001(\003\022\024\n\014policy_group\030\005 \001(\t\022;\n\013policy" + "_name\030\006 \001(\0162&.prefab.LimitResponse.Limit" + "PolicyNames\022\024\n\014policy_limit\030\007 \001(\005\022\016\n\006amo" + "unt\030\010 \001(\003\022\026\n\016limit_reset_at\030\t \001(\003\0229\n\014saf" + "ety_level\030\n \001(\0162#.prefab.LimitDefinition" + ".SafetyLevel\"\251\001\n\020LimitPolicyNames\022\013\n\007NOT" + "_SET\020\000\022\024\n\020SECONDLY_ROLLING\020\001\022\024\n\020MINUTELY" + "_ROLLING\020\003\022\022\n\016HOURLY_ROLLING\020\005\022\021\n\rDAILY_" + "ROLLING\020\007\022\023\n\017MONTHLY_ROLLING\020\010\022\014\n\010INFINI" + "TE\020\t\022\022\n\016YEARLY_ROLLING\020\n\"\231\002\n\014LimitReques" + "t\022\022\n\naccount_id\030\001 \001(\003\022\026\n\016acquire_amount\030" + "\002 \001(\005\022\016\n\006groups\030\003 \003(\t\022:\n\016limit_combiner\030" + "\004 \001(\0162\".prefab.LimitRequest.LimitCombine" + "r\022\036\n\026allow_partial_response\030\005 \001(\010\0229\n\014saf" + "ety_level\030\006 \001(\0162#.prefab.LimitDefinition" + ".SafetyLevel\"6\n\rLimitCombiner\022\013\n\007NOT_SET" + "\020\000\022\013\n\007MINIMUM\020\001\022\013\n\007MAXIMUM\020\002\"\255\001\n\022Feature" + "FlagVariant\022\020\n\003int\030\001 \001(\003H\000\210\001\001\022\023\n\006string\030" + "\002 \001(\tH\001\210\001\001\022\023\n\006double\030\003 \001(\001H\002\210\001\001\022\021\n\004bool\030" + "\004 \001(\010H\003\210\001\001\022\014\n\004name\030\005 \001(\t\022\023\n\013description\030" + "\006 \001(\tB\006\n\004_intB\t\n\007_stringB\t\n\007_doubleB\007\n\005_" + "bool\"\304\002\n\010Criteria\022\020\n\010property\030\001 \001(\t\0223\n\010o" + "perator\030\002 \001(\0162!.prefab.Criteria.Criteria" + "Operator\022\016\n\006values\030\003 \003(\t\"\340\001\n\020CriteriaOpe" + "rator\022\013\n\007NOT_SET\020\000\022\021\n\rLOOKUP_KEY_IN\020\001\022\025\n" + "\021LOOKUP_KEY_NOT_IN\020\002\022\n\n\006IN_SEG\020\003\022\016\n\nNOT_" + "IN_SEG\020\004\022\017\n\013ALWAYS_TRUE\020\005\022\022\n\016PROP_IS_ONE" + "_OF\020\006\022\026\n\022PROP_IS_NOT_ONE_OF\020\007\022\031\n\025PROP_EN" + "DS_WITH_ONE_OF\020\010\022!\n\035PROP_DOES_NOT_END_WI" + "TH_ONE_OF\020\t\"Z\n\004Rule\022\"\n\010criteria\030\001 \001(\0132\020." + "prefab.Criteria\022.\n\017variant_weights\030\002 \003(\013" + "2\025.prefab.VariantWeight\".\n\007Segment\022#\n\tcr" + "iterion\030\001 \003(\0132\020.prefab.Criteria\"4\n\rVaria" + "ntWeight\022\016\n\006weight\030\001 \001(\005\022\023\n\013variant_idx\030" + "\002 \001(\005\"X\n\013FeatureFlag\022\016\n\006active\030\001 \001(\010\022\034\n\024" + "inactive_variant_idx\030\002 \001(\005\022\033\n\005rules\030\005 \003(" + "\0132\014.prefab.Rule\"\213\001\n\004User\022\023\n\006lookup\030\001 \001(\t" + "H\000\210\001\001\0220\n\nattributes\030\002 \003(\0132\034.prefab.User." + "AttributesEntry\0321\n\017AttributesEntry\022\013\n\003ke" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\t\n\007_lookup\"\211\001" + "\n\021ClientConfigValue\022\020\n\003int\030\001 \001(\003H\000\210\001\001\022\023\n" + "\006string\030\002 \001(\tH\001\210\001\001\022\023\n\006double\030\003 \001(\001H\002\210\001\001\022" + "\021\n\004bool\030\004 \001(\010H\003\210\001\001B\006\n\004_intB\t\n\007_stringB\t\n" + "\007_doubleB\007\n\005_bool\"\224\001\n\021ConfigEvaluations\022" + "5\n\006values\030\001 \003(\0132%.prefab.ConfigEvaluatio" + "ns.ValuesEntry\032H\n\013ValuesEntry\022\013\n\003key\030\001 \001" + "(\t\022(\n\005value\030\002 \001(\0132\031.prefab.ClientConfigV" + "alue:\0028\001\"\250\002\n\017LimitDefinition\022;\n\013policy_n" + "ame\030\002 \001(\0162&.prefab.LimitResponse.LimitPo" + "licyNames\022\r\n\005limit\030\003 \001(\005\022\r\n\005burst\030\004 \001(\005\022" + "\022\n\naccount_id\030\005 \001(\003\022\025\n\rlast_modified\030\006 \001" + "(\003\022\022\n\nreturnable\030\007 \001(\010\0229\n\014safety_level\030\010" + " \001(\0162#.prefab.LimitDefinition.SafetyLeve" + "l\"@\n\013SafetyLevel\022\013\n\007NOT_SET\020\000\022\022\n\016L4_BEST" + "_EFFORT\020\004\022\020\n\014L5_BOMBPROOF\020\005\"@\n\020LimitDefi" + "nitions\022,\n\013definitions\030\001 \003(\0132\027.prefab.Li" + "mitDefinition\"\212\001\n\017BufferedRequest\022\022\n\nacc" + "ount_id\030\001 \001(\003\022\016\n\006method\030\002 \001(\t\022\013\n\003uri\030\003 \001" + "(\t\022\014\n\004body\030\004 \001(\t\022\024\n\014limit_groups\030\005 \003(\t\022\024" + "\n\014content_type\030\006 \001(\t\022\014\n\004fifo\030\007 \001(\010\"\224\001\n\014B" + "atchRequest\022\022\n\naccount_id\030\001 \001(\003\022\016\n\006metho" + "d\030\002 \001(\t\022\013\n\003uri\030\003 \001(\t\022\014\n\004body\030\004 \001(\t\022\024\n\014li" + "mit_groups\030\005 \003(\t\022\026\n\016batch_template\030\006 \001(\t" + "\022\027\n\017batch_separator\030\007 \001(\t\" \n\rBasicRespon" + "se\022\017\n\007message\030\001 \001(\t\"3\n\020CreationResponse\022" + "\017\n\007message\030\001 \001(\t\022\016\n\006new_id\030\002 \001(\003\"h\n\007IdBl" + "ock\022\022\n\nproject_id\030\001 \001(\003\022\026\n\016project_env_i" + "d\030\002 \001(\003\022\025\n\rsequence_name\030\003 \001(\t\022\r\n\005start\030" + "\004 \001(\003\022\013\n\003end\030\005 \001(\003\"a\n\016IdBlockRequest\022\022\n\n" + "project_id\030\001 \001(\003\022\026\n\016project_env_id\030\002 \001(\003" + "\022\025\n\rsequence_name\030\003 \001(\t\022\014\n\004size\030\004 \001(\003*G\n" + "\tOnFailure\022\013\n\007NOT_SET\020\000\022\020\n\014LOG_AND_PASS\020" + "\001\022\020\n\014LOG_AND_FAIL\020\002\022\t\n\005THROW\020\0032O\n\020RateLi" + "mitService\022;\n\nLimitCheck\022\024.prefab.LimitR" + "equest\032\025.prefab.LimitResponse\"\0002\306\001\n\rConf" + "igService\022>\n\tGetConfig\022\034.prefab.ConfigSe" + "rvicePointer\032\017.prefab.Configs\"\0000\001\022?\n\014Get" + "AllConfig\022\034.prefab.ConfigServicePointer\032" + "\017.prefab.Configs\"\000\0224\n\006Upsert\022\016.prefab.Co" + "nfig\032\030.prefab.CreationResponse\"\0002B\n\tIdSe" + "rvice\0225\n\010GetBlock\022\026.prefab.IdBlockReques" + "t\032\017.prefab.IdBlock\"\0002D\n\rClientService\0223\n" + "\006GetAll\022\014.prefab.User\032\031.prefab.ConfigEva" + "luations\"\000B\035\n\023cloud.prefab.domainB\006Prefa" + "bb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_prefab_ConfigServicePointer_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_prefab_ConfigServicePointer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ConfigServicePointer_descriptor, new java.lang.String[] { "ProjectId", "StartAtId", "ProjectEnvId", }); internal_static_prefab_ConfigValue_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_prefab_ConfigValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ConfigValue_descriptor, new java.lang.String[] { "Int", "String", "Bytes", "Double", "Bool", "FeatureFlag", "LimitDefinition", "Segment", "Type", }); internal_static_prefab_Configs_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_prefab_Configs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_Configs_descriptor, new java.lang.String[] { "Configs", "ConfigServicePointer", }); internal_static_prefab_Config_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_prefab_Config_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_Config_descriptor, new java.lang.String[] { "Id", "ProjectId", "Key", "ChangedBy", "Rows", "Variants", }); internal_static_prefab_ConfigRow_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_prefab_ConfigRow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ConfigRow_descriptor, new java.lang.String[] { "ProjectEnvId", "Namespace", "Value", }); internal_static_prefab_LimitResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_prefab_LimitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_LimitResponse_descriptor, new java.lang.String[] { "Passed", "ExpiresAt", "EnforcedGroup", "CurrentBucket", "PolicyGroup", "PolicyName", "PolicyLimit", "Amount", "LimitResetAt", "SafetyLevel", }); internal_static_prefab_LimitRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_prefab_LimitRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_LimitRequest_descriptor, new java.lang.String[] { "AccountId", "AcquireAmount", "Groups", "LimitCombiner", "AllowPartialResponse", "SafetyLevel", }); internal_static_prefab_FeatureFlagVariant_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_prefab_FeatureFlagVariant_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_FeatureFlagVariant_descriptor, new java.lang.String[] { "Int", "String", "Double", "Bool", "Name", "Description", "Int", "String", "Double", "Bool", }); internal_static_prefab_Criteria_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_prefab_Criteria_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_Criteria_descriptor, new java.lang.String[] { "Property", "Operator", "Values", }); internal_static_prefab_Rule_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_prefab_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_Rule_descriptor, new java.lang.String[] { "Criteria", "VariantWeights", }); internal_static_prefab_Segment_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_prefab_Segment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_Segment_descriptor, new java.lang.String[] { "Criterion", }); internal_static_prefab_VariantWeight_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_prefab_VariantWeight_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_VariantWeight_descriptor, new java.lang.String[] { "Weight", "VariantIdx", }); internal_static_prefab_FeatureFlag_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_prefab_FeatureFlag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_FeatureFlag_descriptor, new java.lang.String[] { "Active", "InactiveVariantIdx", "Rules", }); internal_static_prefab_User_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_prefab_User_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_User_descriptor, new java.lang.String[] { "Lookup", "Attributes", "Lookup", }); internal_static_prefab_User_AttributesEntry_descriptor = internal_static_prefab_User_descriptor.getNestedTypes().get(0); internal_static_prefab_User_AttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_User_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_prefab_ClientConfigValue_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_prefab_ClientConfigValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ClientConfigValue_descriptor, new java.lang.String[] { "Int", "String", "Double", "Bool", "Int", "String", "Double", "Bool", }); internal_static_prefab_ConfigEvaluations_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_prefab_ConfigEvaluations_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ConfigEvaluations_descriptor, new java.lang.String[] { "Values", }); internal_static_prefab_ConfigEvaluations_ValuesEntry_descriptor = internal_static_prefab_ConfigEvaluations_descriptor.getNestedTypes().get(0); internal_static_prefab_ConfigEvaluations_ValuesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_ConfigEvaluations_ValuesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_prefab_LimitDefinition_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_prefab_LimitDefinition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_LimitDefinition_descriptor, new java.lang.String[] { "PolicyName", "Limit", "Burst", "AccountId", "LastModified", "Returnable", "SafetyLevel", }); internal_static_prefab_LimitDefinitions_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_prefab_LimitDefinitions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_LimitDefinitions_descriptor, new java.lang.String[] { "Definitions", }); internal_static_prefab_BufferedRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_prefab_BufferedRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_BufferedRequest_descriptor, new java.lang.String[] { "AccountId", "Method", "Uri", "Body", "LimitGroups", "ContentType", "Fifo", }); internal_static_prefab_BatchRequest_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_prefab_BatchRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_BatchRequest_descriptor, new java.lang.String[] { "AccountId", "Method", "Uri", "Body", "LimitGroups", "BatchTemplate", "BatchSeparator", }); internal_static_prefab_BasicResponse_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_prefab_BasicResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_BasicResponse_descriptor, new java.lang.String[] { "Message", }); internal_static_prefab_CreationResponse_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_prefab_CreationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_CreationResponse_descriptor, new java.lang.String[] { "Message", "NewId", }); internal_static_prefab_IdBlock_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_prefab_IdBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_IdBlock_descriptor, new java.lang.String[] { "ProjectId", "ProjectEnvId", "SequenceName", "Start", "End", }); internal_static_prefab_IdBlockRequest_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_prefab_IdBlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_prefab_IdBlockRequest_descriptor, new java.lang.String[] { "ProjectId", "ProjectEnvId", "SequenceName", "Size", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy