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

alluxio.grpc.ConfigCheckReport Maven / Gradle / Ivy

// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: grpc/meta_master.proto

package alluxio.grpc;

/**
 * Protobuf type {@code alluxio.grpc.meta.ConfigCheckReport}
 */
public final class ConfigCheckReport extends
    alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:alluxio.grpc.meta.ConfigCheckReport)
    ConfigCheckReportOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ConfigCheckReport.newBuilder() to construct.
  private ConfigCheckReport(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ConfigCheckReport() {
    status_ = 1;
  }

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

  @java.lang.Override
  public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 1:
        return internalGetErrors();
      case 2:
        return internalGetWarns();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            alluxio.grpc.ConfigCheckReport.class, alluxio.grpc.ConfigCheckReport.Builder.class);
  }

  private int bitField0_;
  public static final int ERRORS_FIELD_NUMBER = 1;
  private static final class ErrorsDefaultEntryHolder {
    static final alluxio.shaded.client.com.google.protobuf.MapEntry<
        java.lang.String, alluxio.grpc.InconsistentProperties> defaultEntry =
            alluxio.shaded.client.com.google.protobuf.MapEntry
            .newDefaultInstance(
                alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_ErrorsEntry_descriptor, 
                alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.MESSAGE,
                alluxio.grpc.InconsistentProperties.getDefaultInstance());
  }
  private alluxio.shaded.client.com.google.protobuf.MapField<
      java.lang.String, alluxio.grpc.InconsistentProperties> errors_;
  private alluxio.shaded.client.com.google.protobuf.MapField
  internalGetErrors() {
    if (errors_ == null) {
      return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
          ErrorsDefaultEntryHolder.defaultEntry);
    }
    return errors_;
  }

  public int getErrorsCount() {
    return internalGetErrors().getMap().size();
  }
  /**
   * 
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public boolean containsErrors( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetErrors().getMap().containsKey(key); } /** * Use {@link #getErrorsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getErrors() { return getErrorsMap(); } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public java.util.Map getErrorsMap() { return internalGetErrors().getMap(); } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getErrorsOrDefault( java.lang.String key, alluxio.grpc.InconsistentProperties defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetErrors().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getErrorsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetErrors().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int WARNS_FIELD_NUMBER = 2; private static final class WarnsDefaultEntryHolder { static final alluxio.shaded.client.com.google.protobuf.MapEntry< java.lang.String, alluxio.grpc.InconsistentProperties> defaultEntry = alluxio.shaded.client.com.google.protobuf.MapEntry .newDefaultInstance( alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_WarnsEntry_descriptor, alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING, "", alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.MESSAGE, alluxio.grpc.InconsistentProperties.getDefaultInstance()); } private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, alluxio.grpc.InconsistentProperties> warns_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetWarns() { if (warns_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( WarnsDefaultEntryHolder.defaultEntry); } return warns_; } public int getWarnsCount() { return internalGetWarns().getMap().size(); } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public boolean containsWarns( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetWarns().getMap().containsKey(key); } /** * Use {@link #getWarnsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getWarns() { return getWarnsMap(); } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public java.util.Map getWarnsMap() { return internalGetWarns().getMap(); } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getWarnsOrDefault( java.lang.String key, alluxio.grpc.InconsistentProperties defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWarns().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Scope name as key
   * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getWarnsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWarns().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @return The status. */ @java.lang.Override public alluxio.grpc.ConfigStatus getStatus() { @SuppressWarnings("deprecation") alluxio.grpc.ConfigStatus result = alluxio.grpc.ConfigStatus.valueOf(status_); return result == null ? alluxio.grpc.ConfigStatus.PASSED : 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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetErrors(), ErrorsDefaultEntryHolder.defaultEntry, 1); alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetWarns(), WarnsDefaultEntryHolder.defaultEntry, 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(3, status_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetErrors().getMap().entrySet()) { alluxio.shaded.client.com.google.protobuf.MapEntry errors__ = ErrorsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(1, errors__); } for (java.util.Map.Entry entry : internalGetWarns().getMap().entrySet()) { alluxio.shaded.client.com.google.protobuf.MapEntry warns__ = WarnsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(2, warns__); } if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteEnumSize(3, status_); } 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 alluxio.grpc.ConfigCheckReport)) { return super.equals(obj); } alluxio.grpc.ConfigCheckReport other = (alluxio.grpc.ConfigCheckReport) obj; if (!internalGetErrors().equals( other.internalGetErrors())) return false; if (!internalGetWarns().equals( other.internalGetWarns())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (status_ != other.status_) return false; } 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(); if (!internalGetErrors().getMap().isEmpty()) { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + internalGetErrors().hashCode(); } if (!internalGetWarns().getMap().isEmpty()) { hash = (37 * hash) + WARNS_FIELD_NUMBER; hash = (53 * hash) + internalGetWarns().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.grpc.ConfigCheckReport parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.ConfigCheckReport parseFrom( java.nio.ByteBuffer data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.ConfigCheckReport parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.ConfigCheckReport parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.ConfigCheckReport parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.ConfigCheckReport parseFrom( byte[] data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.ConfigCheckReport parseFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.ConfigCheckReport parseFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.ConfigCheckReport parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static alluxio.grpc.ConfigCheckReport parseDelimitedFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.ConfigCheckReport parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.ConfigCheckReport parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.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(alluxio.grpc.ConfigCheckReport 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( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.grpc.meta.ConfigCheckReport} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.grpc.meta.ConfigCheckReport) alluxio.grpc.ConfigCheckReportOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_descriptor; } @SuppressWarnings({"rawtypes"}) protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetErrors(); case 2: return internalGetWarns(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableErrors(); case 2: return internalGetMutableWarns(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.ConfigCheckReport.class, alluxio.grpc.ConfigCheckReport.Builder.class); } // Construct using alluxio.grpc.ConfigCheckReport.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableErrors().clear(); internalGetMutableWarns().clear(); status_ = 1; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_ConfigCheckReport_descriptor; } @java.lang.Override public alluxio.grpc.ConfigCheckReport getDefaultInstanceForType() { return alluxio.grpc.ConfigCheckReport.getDefaultInstance(); } @java.lang.Override public alluxio.grpc.ConfigCheckReport build() { alluxio.grpc.ConfigCheckReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.grpc.ConfigCheckReport buildPartial() { alluxio.grpc.ConfigCheckReport result = new alluxio.grpc.ConfigCheckReport(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.errors_ = internalGetErrors(); result.errors_.makeImmutable(); result.warns_ = internalGetWarns(); result.warns_.makeImmutable(); if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000001; } result.status_ = status_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) { if (other instanceof alluxio.grpc.ConfigCheckReport) { return mergeFrom((alluxio.grpc.ConfigCheckReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.grpc.ConfigCheckReport other) { if (other == alluxio.grpc.ConfigCheckReport.getDefaultInstance()) return this; internalGetMutableErrors().mergeFrom( other.internalGetErrors()); internalGetMutableWarns().mergeFrom( other.internalGetWarns()); if (other.hasStatus()) { setStatus(other.getStatus()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.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 10: { alluxio.shaded.client.com.google.protobuf.MapEntry errors__ = input.readMessage( ErrorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableErrors().getMutableMap().put( errors__.getKey(), errors__.getValue()); break; } // case 10 case 18: { alluxio.shaded.client.com.google.protobuf.MapEntry warns__ = input.readMessage( WarnsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableWarns().getMutableMap().put( warns__.getKey(), warns__.getValue()); break; } // case 18 case 24: { int tmpRaw = input.readEnum(); alluxio.grpc.ConfigStatus tmpValue = alluxio.grpc.ConfigStatus.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { status_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, alluxio.grpc.InconsistentProperties> errors_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetErrors() { if (errors_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( ErrorsDefaultEntryHolder.defaultEntry); } return errors_; } private alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableErrors() { onChanged();; if (errors_ == null) { errors_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField( ErrorsDefaultEntryHolder.defaultEntry); } if (!errors_.isMutable()) { errors_ = errors_.copy(); } return errors_; } public int getErrorsCount() { return internalGetErrors().getMap().size(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public boolean containsErrors( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetErrors().getMap().containsKey(key); } /** * Use {@link #getErrorsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getErrors() { return getErrorsMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public java.util.Map getErrorsMap() { return internalGetErrors().getMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getErrorsOrDefault( java.lang.String key, alluxio.grpc.InconsistentProperties defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetErrors().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getErrorsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetErrors().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearErrors() { internalGetMutableErrors().getMutableMap() .clear(); return this; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ public Builder removeErrors( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableErrors().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableErrors() { return internalGetMutableErrors().getMutableMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ public Builder putErrors( java.lang.String key, alluxio.grpc.InconsistentProperties value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableErrors().getMutableMap() .put(key, value); return this; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> errors = 1; */ public Builder putAllErrors( java.util.Map values) { internalGetMutableErrors().getMutableMap() .putAll(values); return this; } private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, alluxio.grpc.InconsistentProperties> warns_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetWarns() { if (warns_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( WarnsDefaultEntryHolder.defaultEntry); } return warns_; } private alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableWarns() { onChanged();; if (warns_ == null) { warns_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField( WarnsDefaultEntryHolder.defaultEntry); } if (!warns_.isMutable()) { warns_ = warns_.copy(); } return warns_; } public int getWarnsCount() { return internalGetWarns().getMap().size(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public boolean containsWarns( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetWarns().getMap().containsKey(key); } /** * Use {@link #getWarnsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getWarns() { return getWarnsMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public java.util.Map getWarnsMap() { return internalGetWarns().getMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getWarnsOrDefault( java.lang.String key, alluxio.grpc.InconsistentProperties defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWarns().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ @java.lang.Override public alluxio.grpc.InconsistentProperties getWarnsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWarns().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearWarns() { internalGetMutableWarns().getMutableMap() .clear(); return this; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ public Builder removeWarns( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableWarns().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableWarns() { return internalGetMutableWarns().getMutableMap(); } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ public Builder putWarns( java.lang.String key, alluxio.grpc.InconsistentProperties value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableWarns().getMutableMap() .put(key, value); return this; } /** *
     * Scope name as key
     * 
* * map<string, .alluxio.grpc.meta.InconsistentProperties> warns = 2; */ public Builder putAllWarns( java.util.Map values) { internalGetMutableWarns().getMutableMap() .putAll(values); return this; } private int status_ = 1; /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @return The status. */ @java.lang.Override public alluxio.grpc.ConfigStatus getStatus() { @SuppressWarnings("deprecation") alluxio.grpc.ConfigStatus result = alluxio.grpc.ConfigStatus.valueOf(status_); return result == null ? alluxio.grpc.ConfigStatus.PASSED : result; } /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(alluxio.grpc.ConfigStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value.getNumber(); onChanged(); return this; } /** * optional .alluxio.grpc.meta.ConfigStatus status = 3; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = 1; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:alluxio.grpc.meta.ConfigCheckReport) } // @@protoc_insertion_point(class_scope:alluxio.grpc.meta.ConfigCheckReport) private static final alluxio.grpc.ConfigCheckReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.grpc.ConfigCheckReport(); } public static alluxio.grpc.ConfigCheckReport getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() { @java.lang.Override public ConfigCheckReport parsePartialFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.alluxio.shaded.client.io.IOException e) { throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static alluxio.shaded.client.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public alluxio.grpc.ConfigCheckReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy