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

grpc.permission_messages.Permissions Maven / Gradle / Ivy

There is a newer version: 0.119.4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: permissionmessages.proto

package grpc.permission_messages;

/**
 * Protobuf type {@code permission_messages.Permissions}
 */
public final class Permissions extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:permission_messages.Permissions)
    PermissionsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Permissions.newBuilder() to construct.
  private Permissions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private Permissions() {
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return grpc.permission_messages.Permissionmessages.internal_static_permission_messages_Permissions_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return grpc.permission_messages.Permissionmessages.internal_static_permission_messages_Permissions_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            grpc.permission_messages.Permissions.class, grpc.permission_messages.Permissions.Builder.class);
  }

  private int kindCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object kind_;
  public enum KindCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    SUPER_USER(1),
    EXPLICIT(2),
    KIND_NOT_SET(0);
    private final int value;
    private KindCase(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 KindCase valueOf(int value) {
      return forNumber(value);
    }

    public static KindCase forNumber(int value) {
      switch (value) {
        case 1: return SUPER_USER;
        case 2: return EXPLICIT;
        case 0: return KIND_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public KindCase
  getKindCase() {
    return KindCase.forNumber(
        kindCase_);
  }

  public static final int SUPER_USER_FIELD_NUMBER = 1;
  /**
   * .permission_messages.SuperUserPermissions super_user = 1;
   * @return Whether the superUser field is set.
   */
  public boolean hasSuperUser() {
    return kindCase_ == 1;
  }
  /**
   * .permission_messages.SuperUserPermissions super_user = 1;
   * @return The enum numeric value on the wire for superUser.
   */
  public int getSuperUserValue() {
    if (kindCase_ == 1) {
      return (java.lang.Integer) kind_;
    }
    return 0;
  }
  /**
   * .permission_messages.SuperUserPermissions super_user = 1;
   * @return The superUser.
   */
  public grpc.permission_messages.SuperUserPermissions getSuperUser() {
    if (kindCase_ == 1) {
      grpc.permission_messages.SuperUserPermissions result = grpc.permission_messages.SuperUserPermissions.forNumber(
          (java.lang.Integer) kind_);
      return result == null ? grpc.permission_messages.SuperUserPermissions.UNRECOGNIZED : result;
    }
    return grpc.permission_messages.SuperUserPermissions.SuperUser;
  }

  public static final int EXPLICIT_FIELD_NUMBER = 2;
  /**
   * .permission_messages.ExplicitPermissions explicit = 2;
   * @return Whether the explicit field is set.
   */
  @java.lang.Override
  public boolean hasExplicit() {
    return kindCase_ == 2;
  }
  /**
   * .permission_messages.ExplicitPermissions explicit = 2;
   * @return The explicit.
   */
  @java.lang.Override
  public grpc.permission_messages.ExplicitPermissions getExplicit() {
    if (kindCase_ == 2) {
       return (grpc.permission_messages.ExplicitPermissions) kind_;
    }
    return grpc.permission_messages.ExplicitPermissions.getDefaultInstance();
  }
  /**
   * .permission_messages.ExplicitPermissions explicit = 2;
   */
  @java.lang.Override
  public grpc.permission_messages.ExplicitPermissionsOrBuilder getExplicitOrBuilder() {
    if (kindCase_ == 2) {
       return (grpc.permission_messages.ExplicitPermissions) kind_;
    }
    return grpc.permission_messages.ExplicitPermissions.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 (kindCase_ == 1) {
      output.writeEnum(1, ((java.lang.Integer) kind_));
    }
    if (kindCase_ == 2) {
      output.writeMessage(2, (grpc.permission_messages.ExplicitPermissions) kind_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (kindCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(1, ((java.lang.Integer) kind_));
    }
    if (kindCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (grpc.permission_messages.ExplicitPermissions) kind_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof grpc.permission_messages.Permissions)) {
      return super.equals(obj);
    }
    grpc.permission_messages.Permissions other = (grpc.permission_messages.Permissions) obj;

    if (!getKindCase().equals(other.getKindCase())) return false;
    switch (kindCase_) {
      case 1:
        if (getSuperUserValue()
            != other.getSuperUserValue()) return false;
        break;
      case 2:
        if (!getExplicit()
            .equals(other.getExplicit())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    switch (kindCase_) {
      case 1:
        hash = (37 * hash) + SUPER_USER_FIELD_NUMBER;
        hash = (53 * hash) + getSuperUserValue();
        break;
      case 2:
        hash = (37 * hash) + EXPLICIT_FIELD_NUMBER;
        hash = (53 * hash) + getExplicit().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static grpc.permission_messages.Permissions parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.permission_messages.Permissions parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.permission_messages.Permissions parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.permission_messages.Permissions parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.permission_messages.Permissions parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.permission_messages.Permissions parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.permission_messages.Permissions parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.permission_messages.Permissions 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 grpc.permission_messages.Permissions parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static grpc.permission_messages.Permissions 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 grpc.permission_messages.Permissions parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.permission_messages.Permissions 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(grpc.permission_messages.Permissions 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 permission_messages.Permissions}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:permission_messages.Permissions)
      grpc.permission_messages.PermissionsOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.permission_messages.Permissionmessages.internal_static_permission_messages_Permissions_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.permission_messages.Permissionmessages.internal_static_permission_messages_Permissions_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.permission_messages.Permissions.class, grpc.permission_messages.Permissions.Builder.class);
    }

    // Construct using grpc.permission_messages.Permissions.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (explicitBuilder_ != null) {
        explicitBuilder_.clear();
      }
      kindCase_ = 0;
      kind_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return grpc.permission_messages.Permissionmessages.internal_static_permission_messages_Permissions_descriptor;
    }

    @java.lang.Override
    public grpc.permission_messages.Permissions getDefaultInstanceForType() {
      return grpc.permission_messages.Permissions.getDefaultInstance();
    }

    @java.lang.Override
    public grpc.permission_messages.Permissions build() {
      grpc.permission_messages.Permissions result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public grpc.permission_messages.Permissions buildPartial() {
      grpc.permission_messages.Permissions result = new grpc.permission_messages.Permissions(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartial0(grpc.permission_messages.Permissions result) {
      int from_bitField0_ = bitField0_;
    }

    private void buildPartialOneofs(grpc.permission_messages.Permissions result) {
      result.kindCase_ = kindCase_;
      result.kind_ = this.kind_;
      if (kindCase_ == 2 &&
          explicitBuilder_ != null) {
        result.kind_ = explicitBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof grpc.permission_messages.Permissions) {
        return mergeFrom((grpc.permission_messages.Permissions)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(grpc.permission_messages.Permissions other) {
      if (other == grpc.permission_messages.Permissions.getDefaultInstance()) return this;
      switch (other.getKindCase()) {
        case SUPER_USER: {
          setSuperUserValue(other.getSuperUserValue());
          break;
        }
        case EXPLICIT: {
          mergeExplicit(other.getExplicit());
          break;
        }
        case KIND_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();
              kindCase_ = 1;
              kind_ = rawValue;
              break;
            } // case 8
            case 18: {
              input.readMessage(
                  getExplicitFieldBuilder().getBuilder(),
                  extensionRegistry);
              kindCase_ = 2;
              break;
            } // case 18
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int kindCase_ = 0;
    private java.lang.Object kind_;
    public KindCase
        getKindCase() {
      return KindCase.forNumber(
          kindCase_);
    }

    public Builder clearKind() {
      kindCase_ = 0;
      kind_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @return Whether the superUser field is set.
     */
    @java.lang.Override
    public boolean hasSuperUser() {
      return kindCase_ == 1;
    }
    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @return The enum numeric value on the wire for superUser.
     */
    @java.lang.Override
    public int getSuperUserValue() {
      if (kindCase_ == 1) {
        return ((java.lang.Integer) kind_).intValue();
      }
      return 0;
    }
    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @param value The enum numeric value on the wire for superUser to set.
     * @return This builder for chaining.
     */
    public Builder setSuperUserValue(int value) {
      kindCase_ = 1;
      kind_ = value;
      onChanged();
      return this;
    }
    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @return The superUser.
     */
    @java.lang.Override
    public grpc.permission_messages.SuperUserPermissions getSuperUser() {
      if (kindCase_ == 1) {
        grpc.permission_messages.SuperUserPermissions result = grpc.permission_messages.SuperUserPermissions.forNumber(
            (java.lang.Integer) kind_);
        return result == null ? grpc.permission_messages.SuperUserPermissions.UNRECOGNIZED : result;
      }
      return grpc.permission_messages.SuperUserPermissions.SuperUser;
    }
    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @param value The superUser to set.
     * @return This builder for chaining.
     */
    public Builder setSuperUser(grpc.permission_messages.SuperUserPermissions value) {
      if (value == null) {
        throw new NullPointerException();
      }
      kindCase_ = 1;
      kind_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .permission_messages.SuperUserPermissions super_user = 1;
     * @return This builder for chaining.
     */
    public Builder clearSuperUser() {
      if (kindCase_ == 1) {
        kindCase_ = 0;
        kind_ = null;
        onChanged();
      }
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.permission_messages.ExplicitPermissions, grpc.permission_messages.ExplicitPermissions.Builder, grpc.permission_messages.ExplicitPermissionsOrBuilder> explicitBuilder_;
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     * @return Whether the explicit field is set.
     */
    @java.lang.Override
    public boolean hasExplicit() {
      return kindCase_ == 2;
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     * @return The explicit.
     */
    @java.lang.Override
    public grpc.permission_messages.ExplicitPermissions getExplicit() {
      if (explicitBuilder_ == null) {
        if (kindCase_ == 2) {
          return (grpc.permission_messages.ExplicitPermissions) kind_;
        }
        return grpc.permission_messages.ExplicitPermissions.getDefaultInstance();
      } else {
        if (kindCase_ == 2) {
          return explicitBuilder_.getMessage();
        }
        return grpc.permission_messages.ExplicitPermissions.getDefaultInstance();
      }
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    public Builder setExplicit(grpc.permission_messages.ExplicitPermissions value) {
      if (explicitBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        kind_ = value;
        onChanged();
      } else {
        explicitBuilder_.setMessage(value);
      }
      kindCase_ = 2;
      return this;
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    public Builder setExplicit(
        grpc.permission_messages.ExplicitPermissions.Builder builderForValue) {
      if (explicitBuilder_ == null) {
        kind_ = builderForValue.build();
        onChanged();
      } else {
        explicitBuilder_.setMessage(builderForValue.build());
      }
      kindCase_ = 2;
      return this;
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    public Builder mergeExplicit(grpc.permission_messages.ExplicitPermissions value) {
      if (explicitBuilder_ == null) {
        if (kindCase_ == 2 &&
            kind_ != grpc.permission_messages.ExplicitPermissions.getDefaultInstance()) {
          kind_ = grpc.permission_messages.ExplicitPermissions.newBuilder((grpc.permission_messages.ExplicitPermissions) kind_)
              .mergeFrom(value).buildPartial();
        } else {
          kind_ = value;
        }
        onChanged();
      } else {
        if (kindCase_ == 2) {
          explicitBuilder_.mergeFrom(value);
        } else {
          explicitBuilder_.setMessage(value);
        }
      }
      kindCase_ = 2;
      return this;
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    public Builder clearExplicit() {
      if (explicitBuilder_ == null) {
        if (kindCase_ == 2) {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
        }
      } else {
        if (kindCase_ == 2) {
          kindCase_ = 0;
          kind_ = null;
        }
        explicitBuilder_.clear();
      }
      return this;
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    public grpc.permission_messages.ExplicitPermissions.Builder getExplicitBuilder() {
      return getExplicitFieldBuilder().getBuilder();
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    @java.lang.Override
    public grpc.permission_messages.ExplicitPermissionsOrBuilder getExplicitOrBuilder() {
      if ((kindCase_ == 2) && (explicitBuilder_ != null)) {
        return explicitBuilder_.getMessageOrBuilder();
      } else {
        if (kindCase_ == 2) {
          return (grpc.permission_messages.ExplicitPermissions) kind_;
        }
        return grpc.permission_messages.ExplicitPermissions.getDefaultInstance();
      }
    }
    /**
     * .permission_messages.ExplicitPermissions explicit = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        grpc.permission_messages.ExplicitPermissions, grpc.permission_messages.ExplicitPermissions.Builder, grpc.permission_messages.ExplicitPermissionsOrBuilder> 
        getExplicitFieldBuilder() {
      if (explicitBuilder_ == null) {
        if (!(kindCase_ == 2)) {
          kind_ = grpc.permission_messages.ExplicitPermissions.getDefaultInstance();
        }
        explicitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            grpc.permission_messages.ExplicitPermissions, grpc.permission_messages.ExplicitPermissions.Builder, grpc.permission_messages.ExplicitPermissionsOrBuilder>(
                (grpc.permission_messages.ExplicitPermissions) kind_,
                getParentForChildren(),
                isClean());
        kind_ = null;
      }
      kindCase_ = 2;
      onChanged();
      return explicitBuilder_;
    }
    @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:permission_messages.Permissions)
  }

  // @@protoc_insertion_point(class_scope:permission_messages.Permissions)
  private static final grpc.permission_messages.Permissions DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new grpc.permission_messages.Permissions();
  }

  public static grpc.permission_messages.Permissions getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public Permissions parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

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

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

  @java.lang.Override
  public grpc.permission_messages.Permissions getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy