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

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

There is a newer version: 313
Show newest version
// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: proto/journal/block.proto

package alluxio.proto.journal;

public final class Block {
  private Block() {}
  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 BlockContainerIdGeneratorEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.BlockContainerIdGeneratorEntry)
      alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {

    /**
     * optional int64 next_container_id = 1;
     * @return Whether the nextContainerId field is set.
     */
    boolean hasNextContainerId();
    /**
     * optional int64 next_container_id = 1;
     * @return The nextContainerId.
     */
    long getNextContainerId();
  }
  /**
   * 
   * next available id: 2
   * 
* * Protobuf type {@code alluxio.proto.journal.BlockContainerIdGeneratorEntry} */ public static final class BlockContainerIdGeneratorEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.BlockContainerIdGeneratorEntry) BlockContainerIdGeneratorEntryOrBuilder { private static final long serialVersionUID = 0L; // Use BlockContainerIdGeneratorEntry.newBuilder() to construct. private BlockContainerIdGeneratorEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlockContainerIdGeneratorEntry() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BlockContainerIdGeneratorEntry(); } @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.Block.internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.class, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder.class); } private int bitField0_; public static final int NEXT_CONTAINER_ID_FIELD_NUMBER = 1; private long nextContainerId_; /** * optional int64 next_container_id = 1; * @return Whether the nextContainerId field is set. */ @java.lang.Override public boolean hasNextContainerId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 next_container_id = 1; * @return The nextContainerId. */ @java.lang.Override public long getNextContainerId() { return nextContainerId_; } 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)) { output.writeInt64(1, nextContainerId_); } 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.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(1, nextContainerId_); } 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.Block.BlockContainerIdGeneratorEntry)) { return super.equals(obj); } alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry other = (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) obj; if (hasNextContainerId() != other.hasNextContainerId()) return false; if (hasNextContainerId()) { if (getNextContainerId() != other.getNextContainerId()) 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 (hasNextContainerId()) { hash = (37 * hash) + NEXT_CONTAINER_ID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getNextContainerId()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry 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.BlockContainerIdGeneratorEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.BlockContainerIdGeneratorEntry) alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.class, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder.class); } // Construct using alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); nextContainerId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry getDefaultInstanceForType() { return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry build() { alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry buildPartial() { alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry result = new alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.nextContainerId_ = nextContainerId_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( 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.Block.BlockContainerIdGeneratorEntry) { return mergeFrom((alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry other) { if (other == alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance()) return this; if (other.hasNextContainerId()) { setNextContainerId(other.getNextContainerId()); } 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 8: { nextContainerId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 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 long nextContainerId_ ; /** * optional int64 next_container_id = 1; * @return Whether the nextContainerId field is set. */ @java.lang.Override public boolean hasNextContainerId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 next_container_id = 1; * @return The nextContainerId. */ @java.lang.Override public long getNextContainerId() { return nextContainerId_; } /** * optional int64 next_container_id = 1; * @param value The nextContainerId to set. * @return This builder for chaining. */ public Builder setNextContainerId(long value) { bitField0_ |= 0x00000001; nextContainerId_ = value; onChanged(); return this; } /** * optional int64 next_container_id = 1; * @return This builder for chaining. */ public Builder clearNextContainerId() { bitField0_ = (bitField0_ & ~0x00000001); nextContainerId_ = 0L; 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.BlockContainerIdGeneratorEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.BlockContainerIdGeneratorEntry) private static final alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry(); } public static alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry 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 BlockContainerIdGeneratorEntry 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.Block.BlockContainerIdGeneratorEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlockInfoEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.BlockInfoEntry) alluxio.shaded.client.com.google.protobuf.MessageOrBuilder { /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ boolean hasBlockId(); /** * optional int64 block_id = 1; * @return The blockId. */ long getBlockId(); /** * optional int64 length = 2; * @return Whether the length field is set. */ boolean hasLength(); /** * optional int64 length = 2; * @return The length. */ long getLength(); /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return Whether the blockLocation field is set. */ boolean hasBlockLocation(); /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return The blockLocation. */ alluxio.grpc.BlockLocation getBlockLocation(); /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ alluxio.grpc.BlockLocationOrBuilder getBlockLocationOrBuilder(); } /** *
   * next available id: 3
   * 
* * Protobuf type {@code alluxio.proto.journal.BlockInfoEntry} */ public static final class BlockInfoEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.BlockInfoEntry) BlockInfoEntryOrBuilder { private static final long serialVersionUID = 0L; // Use BlockInfoEntry.newBuilder() to construct. private BlockInfoEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlockInfoEntry() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BlockInfoEntry(); } @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.Block.internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockInfoEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.BlockInfoEntry.class, alluxio.proto.journal.Block.BlockInfoEntry.Builder.class); } private int bitField0_; public static final int BLOCK_ID_FIELD_NUMBER = 1; private long blockId_; /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 block_id = 1; * @return The blockId. */ @java.lang.Override public long getBlockId() { return blockId_; } public static final int LENGTH_FIELD_NUMBER = 2; private long length_; /** * optional int64 length = 2; * @return Whether the length field is set. */ @java.lang.Override public boolean hasLength() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 length = 2; * @return The length. */ @java.lang.Override public long getLength() { return length_; } public static final int BLOCK_LOCATION_FIELD_NUMBER = 3; private alluxio.grpc.BlockLocation blockLocation_; /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return Whether the blockLocation field is set. */ @java.lang.Override public boolean hasBlockLocation() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return The blockLocation. */ @java.lang.Override public alluxio.grpc.BlockLocation getBlockLocation() { return blockLocation_ == null ? alluxio.grpc.BlockLocation.getDefaultInstance() : blockLocation_; } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ @java.lang.Override public alluxio.grpc.BlockLocationOrBuilder getBlockLocationOrBuilder() { return blockLocation_ == null ? alluxio.grpc.BlockLocation.getDefaultInstance() : blockLocation_; } 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)) { output.writeInt64(1, blockId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, length_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getBlockLocation()); } 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.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(1, blockId_); } if (((bitField0_ & 0x00000002) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(2, length_); } if (((bitField0_ & 0x00000004) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(3, getBlockLocation()); } 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.Block.BlockInfoEntry)) { return super.equals(obj); } alluxio.proto.journal.Block.BlockInfoEntry other = (alluxio.proto.journal.Block.BlockInfoEntry) obj; if (hasBlockId() != other.hasBlockId()) return false; if (hasBlockId()) { if (getBlockId() != other.getBlockId()) return false; } if (hasLength() != other.hasLength()) return false; if (hasLength()) { if (getLength() != other.getLength()) return false; } if (hasBlockLocation() != other.hasBlockLocation()) return false; if (hasBlockLocation()) { if (!getBlockLocation() .equals(other.getBlockLocation())) 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 (hasBlockId()) { hash = (37 * hash) + BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getBlockId()); } if (hasLength()) { hash = (37 * hash) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getLength()); } if (hasBlockLocation()) { hash = (37 * hash) + BLOCK_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getBlockLocation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Block.BlockInfoEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.Block.BlockInfoEntry 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.BlockInfoEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.BlockInfoEntry) alluxio.proto.journal.Block.BlockInfoEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockInfoEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.BlockInfoEntry.class, alluxio.proto.journal.Block.BlockInfoEntry.Builder.class); } // Construct using alluxio.proto.journal.Block.BlockInfoEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBlockLocationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); blockId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); length_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (blockLocationBuilder_ == null) { blockLocation_ = null; } else { blockLocationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Block.BlockInfoEntry getDefaultInstanceForType() { return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Block.BlockInfoEntry build() { alluxio.proto.journal.Block.BlockInfoEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Block.BlockInfoEntry buildPartial() { alluxio.proto.journal.Block.BlockInfoEntry result = new alluxio.proto.journal.Block.BlockInfoEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.blockId_ = blockId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.length_ = length_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (blockLocationBuilder_ == null) { result.blockLocation_ = blockLocation_; } else { result.blockLocation_ = blockLocationBuilder_.build(); } to_bitField0_ |= 0x00000004; } 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.Block.BlockInfoEntry) { return mergeFrom((alluxio.proto.journal.Block.BlockInfoEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Block.BlockInfoEntry other) { if (other == alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance()) return this; if (other.hasBlockId()) { setBlockId(other.getBlockId()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasBlockLocation()) { mergeBlockLocation(other.getBlockLocation()); } 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 8: { blockId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { length_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getBlockLocationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 long blockId_ ; /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 block_id = 1; * @return The blockId. */ @java.lang.Override public long getBlockId() { return blockId_; } /** * optional int64 block_id = 1; * @param value The blockId to set. * @return This builder for chaining. */ public Builder setBlockId(long value) { bitField0_ |= 0x00000001; blockId_ = value; onChanged(); return this; } /** * optional int64 block_id = 1; * @return This builder for chaining. */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000001); blockId_ = 0L; onChanged(); return this; } private long length_ ; /** * optional int64 length = 2; * @return Whether the length field is set. */ @java.lang.Override public boolean hasLength() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 length = 2; * @return The length. */ @java.lang.Override public long getLength() { return length_; } /** * optional int64 length = 2; * @param value The length to set. * @return This builder for chaining. */ public Builder setLength(long value) { bitField0_ |= 0x00000002; length_ = value; onChanged(); return this; } /** * optional int64 length = 2; * @return This builder for chaining. */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000002); length_ = 0L; onChanged(); return this; } private alluxio.grpc.BlockLocation blockLocation_; private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder> blockLocationBuilder_; /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return Whether the blockLocation field is set. */ public boolean hasBlockLocation() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.BlockLocation block_location = 3; * @return The blockLocation. */ public alluxio.grpc.BlockLocation getBlockLocation() { if (blockLocationBuilder_ == null) { return blockLocation_ == null ? alluxio.grpc.BlockLocation.getDefaultInstance() : blockLocation_; } else { return blockLocationBuilder_.getMessage(); } } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public Builder setBlockLocation(alluxio.grpc.BlockLocation value) { if (blockLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blockLocation_ = value; onChanged(); } else { blockLocationBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public Builder setBlockLocation( alluxio.grpc.BlockLocation.Builder builderForValue) { if (blockLocationBuilder_ == null) { blockLocation_ = builderForValue.build(); onChanged(); } else { blockLocationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public Builder mergeBlockLocation(alluxio.grpc.BlockLocation value) { if (blockLocationBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && blockLocation_ != null && blockLocation_ != alluxio.grpc.BlockLocation.getDefaultInstance()) { blockLocation_ = alluxio.grpc.BlockLocation.newBuilder(blockLocation_).mergeFrom(value).buildPartial(); } else { blockLocation_ = value; } onChanged(); } else { blockLocationBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public Builder clearBlockLocation() { if (blockLocationBuilder_ == null) { blockLocation_ = null; onChanged(); } else { blockLocationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public alluxio.grpc.BlockLocation.Builder getBlockLocationBuilder() { bitField0_ |= 0x00000004; onChanged(); return getBlockLocationFieldBuilder().getBuilder(); } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ public alluxio.grpc.BlockLocationOrBuilder getBlockLocationOrBuilder() { if (blockLocationBuilder_ != null) { return blockLocationBuilder_.getMessageOrBuilder(); } else { return blockLocation_ == null ? alluxio.grpc.BlockLocation.getDefaultInstance() : blockLocation_; } } /** * optional .alluxio.grpc.BlockLocation block_location = 3; */ private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder> getBlockLocationFieldBuilder() { if (blockLocationBuilder_ == null) { blockLocationBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder>( getBlockLocation(), getParentForChildren(), isClean()); blockLocation_ = null; } return blockLocationBuilder_; } @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.BlockInfoEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.BlockInfoEntry) private static final alluxio.proto.journal.Block.BlockInfoEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Block.BlockInfoEntry(); } public static alluxio.proto.journal.Block.BlockInfoEntry 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 BlockInfoEntry 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.Block.BlockInfoEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteBlockEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.DeleteBlockEntry) alluxio.shaded.client.com.google.protobuf.MessageOrBuilder { /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ boolean hasBlockId(); /** * optional int64 block_id = 1; * @return The blockId. */ long getBlockId(); } /** *
   * next available id: 2
   * 
* * Protobuf type {@code alluxio.proto.journal.DeleteBlockEntry} */ public static final class DeleteBlockEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.DeleteBlockEntry) DeleteBlockEntryOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteBlockEntry.newBuilder() to construct. private DeleteBlockEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteBlockEntry() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteBlockEntry(); } @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.Block.internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_DeleteBlockEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.DeleteBlockEntry.class, alluxio.proto.journal.Block.DeleteBlockEntry.Builder.class); } private int bitField0_; public static final int BLOCK_ID_FIELD_NUMBER = 1; private long blockId_; /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 block_id = 1; * @return The blockId. */ @java.lang.Override public long getBlockId() { return blockId_; } 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)) { output.writeInt64(1, blockId_); } 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.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(1, blockId_); } 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.Block.DeleteBlockEntry)) { return super.equals(obj); } alluxio.proto.journal.Block.DeleteBlockEntry other = (alluxio.proto.journal.Block.DeleteBlockEntry) obj; if (hasBlockId() != other.hasBlockId()) return false; if (hasBlockId()) { if (getBlockId() != other.getBlockId()) 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 (hasBlockId()) { hash = (37 * hash) + BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getBlockId()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Block.DeleteBlockEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.Block.DeleteBlockEntry 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.DeleteBlockEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.DeleteBlockEntry) alluxio.proto.journal.Block.DeleteBlockEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_DeleteBlockEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Block.DeleteBlockEntry.class, alluxio.proto.journal.Block.DeleteBlockEntry.Builder.class); } // Construct using alluxio.proto.journal.Block.DeleteBlockEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); blockId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Block.internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Block.DeleteBlockEntry getDefaultInstanceForType() { return alluxio.proto.journal.Block.DeleteBlockEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Block.DeleteBlockEntry build() { alluxio.proto.journal.Block.DeleteBlockEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Block.DeleteBlockEntry buildPartial() { alluxio.proto.journal.Block.DeleteBlockEntry result = new alluxio.proto.journal.Block.DeleteBlockEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.blockId_ = blockId_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( 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.Block.DeleteBlockEntry) { return mergeFrom((alluxio.proto.journal.Block.DeleteBlockEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Block.DeleteBlockEntry other) { if (other == alluxio.proto.journal.Block.DeleteBlockEntry.getDefaultInstance()) return this; if (other.hasBlockId()) { setBlockId(other.getBlockId()); } 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 8: { blockId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 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 long blockId_ ; /** * optional int64 block_id = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 block_id = 1; * @return The blockId. */ @java.lang.Override public long getBlockId() { return blockId_; } /** * optional int64 block_id = 1; * @param value The blockId to set. * @return This builder for chaining. */ public Builder setBlockId(long value) { bitField0_ |= 0x00000001; blockId_ = value; onChanged(); return this; } /** * optional int64 block_id = 1; * @return This builder for chaining. */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000001); blockId_ = 0L; 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.DeleteBlockEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.DeleteBlockEntry) private static final alluxio.proto.journal.Block.DeleteBlockEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Block.DeleteBlockEntry(); } public static alluxio.proto.journal.Block.DeleteBlockEntry 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 DeleteBlockEntry 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.Block.DeleteBlockEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_BlockInfoEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_DeleteBlockEntry_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\031proto/journal/block.proto\022\025alluxio.pro" + "to.journal\032\021grpc/alluxio.shaded.client.com.on.proto\";\n\036BlockCo" + "ntainerIdGeneratorEntry\022\031\n\021next_containe" + "r_id\030\001 \001(\003\"g\n\016BlockInfoEntry\022\020\n\010block_id" + "\030\001 \001(\003\022\016\n\006length\030\002 \001(\003\0223\n\016block_location" + "\030\003 \001(\0132\033.alluxio.grpc.BlockLocation\"$\n\020D" + "eleteBlockEntry\022\020\n\010block_id\030\001 \001(\003" }; descriptor = alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor[] { alluxio.grpc.CommonProto.getDescriptor(), }); internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_BlockContainerIdGeneratorEntry_descriptor, new java.lang.String[] { "NextContainerId", }); internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_alluxio_proto_journal_BlockInfoEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_BlockInfoEntry_descriptor, new java.lang.String[] { "BlockId", "Length", "BlockLocation", }); internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_alluxio_proto_journal_DeleteBlockEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_DeleteBlockEntry_descriptor, new java.lang.String[] { "BlockId", }); alluxio.grpc.CommonProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy