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

alluxio.proto.journal.Meta Maven / Gradle / Ivy

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

package alluxio.proto.journal;

public final class Meta {
  private Meta() {}
  public static void registerAllExtensions(
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface PathPropertiesEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.PathPropertiesEntry)
      alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {

    /**
     * optional string path = 1;
     * @return Whether the path field is set.
     */
    boolean hasPath();
    /**
     * optional string path = 1;
     * @return The path.
     */
    java.lang.String getPath();
    /**
     * optional string path = 1;
     * @return The bytes for path.
     */
    alluxio.shaded.client.com.google.protobuf.ByteString
        getPathBytes();

    /**
     * map<string, string> properties = 2;
     */
    int getPropertiesCount();
    /**
     * map<string, string> properties = 2;
     */
    boolean containsProperties(
        java.lang.String key);
    /**
     * Use {@link #getPropertiesMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getProperties();
    /**
     * map<string, string> properties = 2;
     */
    java.util.Map
    getPropertiesMap();
    /**
     * map<string, string> properties = 2;
     */

    java.lang.String getPropertiesOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * map<string, string> properties = 2;
     */

    java.lang.String getPropertiesOrThrow(
        java.lang.String key);
  }
  /**
   * 
   * next available id: 3
   * 
* * Protobuf type {@code alluxio.proto.journal.PathPropertiesEntry} */ public static final class PathPropertiesEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.PathPropertiesEntry) PathPropertiesEntryOrBuilder { private static final long serialVersionUID = 0L; // Use PathPropertiesEntry.newBuilder() to construct. private PathPropertiesEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PathPropertiesEntry() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PathPropertiesEntry(); } @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.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.PathPropertiesEntry.class, alluxio.proto.journal.Meta.PathPropertiesEntry.Builder.class); } private int bitField0_; public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * optional string path = 1; * @return Whether the path field is set. */ @java.lang.Override public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * optional string path = 1; * @return The bytes for path. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int PROPERTIES_FIELD_NUMBER = 2; private static final class PropertiesDefaultEntryHolder { static final alluxio.shaded.client.com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = alluxio.shaded.client.com.google.protobuf.MapEntry .newDefaultInstance( alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_descriptor, alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING, "", alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING, ""); } private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** * map<string, string> properties = 2; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, path_); } for (java.util.Map.Entry entry : internalGetProperties().getMap().entrySet()) { alluxio.shaded.client.com.google.protobuf.MapEntry properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(2, properties__); } 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.proto.journal.Meta.PathPropertiesEntry)) { return super.equals(obj); } alluxio.proto.journal.Meta.PathPropertiesEntry other = (alluxio.proto.journal.Meta.PathPropertiesEntry) obj; if (hasPath() != other.hasPath()) return false; if (hasPath()) { if (!getPath() .equals(other.getPath())) return false; } if (!internalGetProperties().equals( other.internalGetProperties())) 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 (hasPath()) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); } if (!internalGetProperties().getMap().isEmpty()) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + internalGetProperties().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Meta.PathPropertiesEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry 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; } /** *
     * next available id: 3
     * 
* * Protobuf type {@code alluxio.proto.journal.PathPropertiesEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.PathPropertiesEntry) alluxio.proto.journal.Meta.PathPropertiesEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor; } @SuppressWarnings({"rawtypes"}) protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetProperties(); 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 2: return internalGetMutableProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.PathPropertiesEntry.class, alluxio.proto.journal.Meta.PathPropertiesEntry.Builder.class); } // Construct using alluxio.proto.journal.Meta.PathPropertiesEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; bitField0_ = (bitField0_ & ~0x00000001); internalGetMutableProperties().clear(); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Meta.PathPropertiesEntry getDefaultInstanceForType() { return alluxio.proto.journal.Meta.PathPropertiesEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Meta.PathPropertiesEntry build() { alluxio.proto.journal.Meta.PathPropertiesEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Meta.PathPropertiesEntry buildPartial() { alluxio.proto.journal.Meta.PathPropertiesEntry result = new alluxio.proto.journal.Meta.PathPropertiesEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.path_ = path_; result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); 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.proto.journal.Meta.PathPropertiesEntry) { return mergeFrom((alluxio.proto.journal.Meta.PathPropertiesEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Meta.PathPropertiesEntry other) { if (other == alluxio.proto.journal.Meta.PathPropertiesEntry.getDefaultInstance()) return this; if (other.hasPath()) { bitField0_ |= 0x00000001; path_ = other.path_; onChanged(); } internalGetMutableProperties().mergeFrom( other.internalGetProperties()); 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: { path_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { alluxio.shaded.client.com.google.protobuf.MapEntry properties__ = input.readMessage( PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableProperties().getMutableMap().put( properties__.getKey(), properties__.getValue()); break; } // case 18 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 java.lang.Object path_ = ""; /** * optional string path = 1; * @return Whether the path field is set. */ public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string path = 1; * @return The bytes for path. */ public alluxio.shaded.client.com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; onChanged(); return this; } /** * optional string path = 1; * @return This builder for chaining. */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000001); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * optional string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; onChanged(); return this; } private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } private alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableProperties() { onChanged();; if (properties_ == null) { properties_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** * map<string, string> properties = 2; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearProperties() { internalGetMutableProperties().getMutableMap() .clear(); return this; } /** * map<string, string> properties = 2; */ public Builder removeProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableProperties().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /** * map<string, string> properties = 2; */ public Builder putProperties( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableProperties().getMutableMap() .put(key, value); return this; } /** * map<string, string> properties = 2; */ public Builder putAllProperties( java.util.Map values) { internalGetMutableProperties().getMutableMap() .putAll(values); 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.proto.journal.PathPropertiesEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.PathPropertiesEntry) private static final alluxio.proto.journal.Meta.PathPropertiesEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Meta.PathPropertiesEntry(); } public static alluxio.proto.journal.Meta.PathPropertiesEntry 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 PathPropertiesEntry 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.proto.journal.Meta.PathPropertiesEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RemovePathPropertiesEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.RemovePathPropertiesEntry) alluxio.shaded.client.com.google.protobuf.MessageOrBuilder { /** * optional string path = 1; * @return Whether the path field is set. */ boolean hasPath(); /** * optional string path = 1; * @return The path. */ java.lang.String getPath(); /** * optional string path = 1; * @return The bytes for path. */ alluxio.shaded.client.com.google.protobuf.ByteString getPathBytes(); } /** *
   * next available id: 2
   * 
* * Protobuf type {@code alluxio.proto.journal.RemovePathPropertiesEntry} */ public static final class RemovePathPropertiesEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.RemovePathPropertiesEntry) RemovePathPropertiesEntryOrBuilder { private static final long serialVersionUID = 0L; // Use RemovePathPropertiesEntry.newBuilder() to construct. private RemovePathPropertiesEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RemovePathPropertiesEntry() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RemovePathPropertiesEntry(); } @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.proto.journal.Meta.internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.RemovePathPropertiesEntry.class, alluxio.proto.journal.Meta.RemovePathPropertiesEntry.Builder.class); } private int bitField0_; public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * optional string path = 1; * @return Whether the path field is set. */ @java.lang.Override public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * optional string path = 1; * @return The bytes for path. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (alluxio.shaded.client.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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, path_); } 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.proto.journal.Meta.RemovePathPropertiesEntry)) { return super.equals(obj); } alluxio.proto.journal.Meta.RemovePathPropertiesEntry other = (alluxio.proto.journal.Meta.RemovePathPropertiesEntry) obj; if (hasPath() != other.hasPath()) return false; if (hasPath()) { if (!getPath() .equals(other.getPath())) 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 (hasPath()) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Meta.RemovePathPropertiesEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry 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; } /** *
     * next available id: 2
     * 
* * Protobuf type {@code alluxio.proto.journal.RemovePathPropertiesEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.RemovePathPropertiesEntry) alluxio.proto.journal.Meta.RemovePathPropertiesEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.RemovePathPropertiesEntry.class, alluxio.proto.journal.Meta.RemovePathPropertiesEntry.Builder.class); } // Construct using alluxio.proto.journal.Meta.RemovePathPropertiesEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Meta.RemovePathPropertiesEntry getDefaultInstanceForType() { return alluxio.proto.journal.Meta.RemovePathPropertiesEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Meta.RemovePathPropertiesEntry build() { alluxio.proto.journal.Meta.RemovePathPropertiesEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Meta.RemovePathPropertiesEntry buildPartial() { alluxio.proto.journal.Meta.RemovePathPropertiesEntry result = new alluxio.proto.journal.Meta.RemovePathPropertiesEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.path_ = path_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( 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.proto.journal.Meta.RemovePathPropertiesEntry) { return mergeFrom((alluxio.proto.journal.Meta.RemovePathPropertiesEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Meta.RemovePathPropertiesEntry other) { if (other == alluxio.proto.journal.Meta.RemovePathPropertiesEntry.getDefaultInstance()) return this; if (other.hasPath()) { bitField0_ |= 0x00000001; path_ = other.path_; onChanged(); } 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: { path_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 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 java.lang.Object path_ = ""; /** * optional string path = 1; * @return Whether the path field is set. */ public boolean hasPath() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string path = 1; * @return The bytes for path. */ public alluxio.shaded.client.com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; onChanged(); return this; } /** * optional string path = 1; * @return This builder for chaining. */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000001); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * optional string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; path_ = value; 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.proto.journal.RemovePathPropertiesEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.RemovePathPropertiesEntry) private static final alluxio.proto.journal.Meta.RemovePathPropertiesEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Meta.RemovePathPropertiesEntry(); } public static alluxio.proto.journal.Meta.RemovePathPropertiesEntry 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 RemovePathPropertiesEntry 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.proto.journal.Meta.RemovePathPropertiesEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClusterInfoEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.ClusterInfoEntry) alluxio.shaded.client.com.google.protobuf.MessageOrBuilder { /** * optional string cluster_id = 1; * @return Whether the clusterId field is set. */ boolean hasClusterId(); /** * optional string cluster_id = 1; * @return The clusterId. */ java.lang.String getClusterId(); /** * optional string cluster_id = 1; * @return The bytes for clusterId. */ alluxio.shaded.client.com.google.protobuf.ByteString getClusterIdBytes(); } /** *
   * next available id: 2
   * 
* * Protobuf type {@code alluxio.proto.journal.ClusterInfoEntry} */ public static final class ClusterInfoEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.ClusterInfoEntry) ClusterInfoEntryOrBuilder { private static final long serialVersionUID = 0L; // Use ClusterInfoEntry.newBuilder() to construct. private ClusterInfoEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClusterInfoEntry() { clusterId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClusterInfoEntry(); } @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.proto.journal.Meta.internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_ClusterInfoEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.ClusterInfoEntry.class, alluxio.proto.journal.Meta.ClusterInfoEntry.Builder.class); } private int bitField0_; public static final int CLUSTER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object clusterId_; /** * optional string cluster_id = 1; * @return Whether the clusterId field is set. */ @java.lang.Override public boolean hasClusterId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string cluster_id = 1; * @return The clusterId. */ @java.lang.Override public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clusterId_ = s; } return s; } } /** * optional string cluster_id = 1; * @return The bytes for clusterId. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clusterId_ = b; return b; } else { return (alluxio.shaded.client.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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, clusterId_); } 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.proto.journal.Meta.ClusterInfoEntry)) { return super.equals(obj); } alluxio.proto.journal.Meta.ClusterInfoEntry other = (alluxio.proto.journal.Meta.ClusterInfoEntry) obj; if (hasClusterId() != other.hasClusterId()) return false; if (hasClusterId()) { if (!getClusterId() .equals(other.getClusterId())) 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 (hasClusterId()) { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Meta.ClusterInfoEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry 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; } /** *
     * next available id: 2
     * 
* * Protobuf type {@code alluxio.proto.journal.ClusterInfoEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.ClusterInfoEntry) alluxio.proto.journal.Meta.ClusterInfoEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_ClusterInfoEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Meta.ClusterInfoEntry.class, alluxio.proto.journal.Meta.ClusterInfoEntry.Builder.class); } // Construct using alluxio.proto.journal.Meta.ClusterInfoEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); clusterId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Meta.internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Meta.ClusterInfoEntry getDefaultInstanceForType() { return alluxio.proto.journal.Meta.ClusterInfoEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Meta.ClusterInfoEntry build() { alluxio.proto.journal.Meta.ClusterInfoEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Meta.ClusterInfoEntry buildPartial() { alluxio.proto.journal.Meta.ClusterInfoEntry result = new alluxio.proto.journal.Meta.ClusterInfoEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.clusterId_ = clusterId_; 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.proto.journal.Meta.ClusterInfoEntry) { return mergeFrom((alluxio.proto.journal.Meta.ClusterInfoEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Meta.ClusterInfoEntry other) { if (other == alluxio.proto.journal.Meta.ClusterInfoEntry.getDefaultInstance()) return this; if (other.hasClusterId()) { bitField0_ |= 0x00000001; clusterId_ = other.clusterId_; onChanged(); } 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: { clusterId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 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 java.lang.Object clusterId_ = ""; /** * optional string cluster_id = 1; * @return Whether the clusterId field is set. */ public boolean hasClusterId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string cluster_id = 1; * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clusterId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string cluster_id = 1; * @return The bytes for clusterId. */ public alluxio.shaded.client.com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clusterId_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string cluster_id = 1; * @param value The clusterId to set. * @return This builder for chaining. */ public Builder setClusterId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clusterId_ = value; onChanged(); return this; } /** * optional string cluster_id = 1; * @return This builder for chaining. */ public Builder clearClusterId() { bitField0_ = (bitField0_ & ~0x00000001); clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** * optional string cluster_id = 1; * @param value The bytes for clusterId to set. * @return This builder for chaining. */ public Builder setClusterIdBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clusterId_ = value; 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.proto.journal.ClusterInfoEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.ClusterInfoEntry) private static final alluxio.proto.journal.Meta.ClusterInfoEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Meta.ClusterInfoEntry(); } public static alluxio.proto.journal.Meta.ClusterInfoEntry 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 ClusterInfoEntry 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.proto.journal.Meta.ClusterInfoEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_PathPropertiesEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_ClusterInfoEntry_fieldAccessorTable; public static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\030proto/journal/meta.proto\022\025alluxio.prot" + "o.journal\"\246\001\n\023PathPropertiesEntry\022\014\n\004pat" + "h\030\001 \001(\t\022N\n\nproperties\030\002 \003(\0132:.alluxio.pr" + "oto.journal.PathPropertiesEntry.Properti" + "esEntry\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022" + "\r\n\005value\030\002 \001(\t:\0028\001\")\n\031RemovePathProperti" + "esEntry\022\014\n\004path\030\001 \001(\t\"&\n\020ClusterInfoEntr" + "y\022\022\n\ncluster_id\030\001 \001(\t" }; descriptor = alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_alluxio_proto_journal_PathPropertiesEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor, new java.lang.String[] { "Path", "Properties", }); internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_descriptor = internal_static_alluxio_proto_journal_PathPropertiesEntry_descriptor.getNestedTypes().get(0); internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_PathPropertiesEntry_PropertiesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_RemovePathPropertiesEntry_descriptor, new java.lang.String[] { "Path", }); internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_alluxio_proto_journal_ClusterInfoEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_ClusterInfoEntry_descriptor, new java.lang.String[] { "ClusterId", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy