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

alluxio.grpc.BlockInfo Maven / Gradle / Ivy

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

package alluxio.grpc;

/**
 * 
 **
 * Contains the information of a block in Alluxio. It maintains the worker nodes where the replicas
 * of the blocks are stored.
 * 
* * Protobuf type {@code alluxio.grpc.BlockInfo} */ public final class BlockInfo extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.grpc.BlockInfo) BlockInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BlockInfo.newBuilder() to construct. private BlockInfo(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlockInfo() { locations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BlockInfo(); } @java.lang.Override public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.CommonProto.internal_static_alluxio_grpc_BlockInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.CommonProto.internal_static_alluxio_grpc_BlockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.BlockInfo.class, alluxio.grpc.BlockInfo.Builder.class); } private int bitField0_; public static final int BLOCKID_FIELD_NUMBER = 1; private long blockId_; /** * optional int64 blockId = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 blockId = 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 LOCATIONS_FIELD_NUMBER = 3; private java.util.List locations_; /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ @java.lang.Override public java.util.List getLocationsList() { return locations_; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ @java.lang.Override public java.util.List getLocationsOrBuilderList() { return locations_; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ @java.lang.Override public int getLocationsCount() { return locations_.size(); } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ @java.lang.Override public alluxio.grpc.BlockLocation getLocations(int index) { return locations_.get(index); } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ @java.lang.Override public alluxio.grpc.BlockLocationOrBuilder getLocationsOrBuilder( int index) { return locations_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(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_); } for (int i = 0; i < locations_.size(); i++) { output.writeMessage(3, locations_.get(i)); } 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_); } for (int i = 0; i < locations_.size(); i++) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(3, locations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.grpc.BlockInfo)) { return super.equals(obj); } alluxio.grpc.BlockInfo other = (alluxio.grpc.BlockInfo) 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 (!getLocationsList() .equals(other.getLocationsList())) 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) + BLOCKID_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 (getLocationsCount() > 0) { hash = (37 * hash) + LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getLocationsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.grpc.BlockInfo parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.BlockInfo parseFrom( java.nio.ByteBuffer data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.BlockInfo parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.BlockInfo parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.BlockInfo parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.BlockInfo parseFrom( byte[] data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.BlockInfo parseFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.BlockInfo parseFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.BlockInfo parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static alluxio.grpc.BlockInfo parseDelimitedFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.BlockInfo parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.BlockInfo parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(alluxio.grpc.BlockInfo 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; } /** *
   **
   * Contains the information of a block in Alluxio. It maintains the worker nodes where the replicas
   * of the blocks are stored.
   * 
* * Protobuf type {@code alluxio.grpc.BlockInfo} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.grpc.BlockInfo) alluxio.grpc.BlockInfoOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.CommonProto.internal_static_alluxio_grpc_BlockInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.CommonProto.internal_static_alluxio_grpc_BlockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.BlockInfo.class, alluxio.grpc.BlockInfo.Builder.class); } // Construct using alluxio.grpc.BlockInfo.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); length_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); } else { locations_ = null; locationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.grpc.CommonProto.internal_static_alluxio_grpc_BlockInfo_descriptor; } @java.lang.Override public alluxio.grpc.BlockInfo getDefaultInstanceForType() { return alluxio.grpc.BlockInfo.getDefaultInstance(); } @java.lang.Override public alluxio.grpc.BlockInfo build() { alluxio.grpc.BlockInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.grpc.BlockInfo buildPartial() { alluxio.grpc.BlockInfo result = new alluxio.grpc.BlockInfo(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 (locationsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { locations_ = java.util.Collections.unmodifiableList(locations_); bitField0_ = (bitField0_ & ~0x00000004); } result.locations_ = locations_; } else { result.locations_ = locationsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) { if (other instanceof alluxio.grpc.BlockInfo) { return mergeFrom((alluxio.grpc.BlockInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.grpc.BlockInfo other) { if (other == alluxio.grpc.BlockInfo.getDefaultInstance()) return this; if (other.hasBlockId()) { setBlockId(other.getBlockId()); } if (other.hasLength()) { setLength(other.getLength()); } if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureLocationsIsMutable(); locations_.addAll(other.locations_); } onChanged(); } } else { if (!other.locations_.isEmpty()) { if (locationsBuilder_.isEmpty()) { locationsBuilder_.dispose(); locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000004); locationsBuilder_ = alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } } } 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: { alluxio.grpc.BlockLocation m = input.readMessage( alluxio.grpc.BlockLocation.PARSER, extensionRegistry); if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(m); } else { locationsBuilder_.addMessage(m); } 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 blockId = 1; * @return Whether the blockId field is set. */ @java.lang.Override public boolean hasBlockId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 blockId = 1; * @return The blockId. */ @java.lang.Override public long getBlockId() { return blockId_; } /** * optional int64 blockId = 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 blockId = 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 java.util.List locations_ = java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000004; } } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder> locationsBuilder_; /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public java.util.List getLocationsList() { if (locationsBuilder_ == null) { return java.util.Collections.unmodifiableList(locations_); } else { return locationsBuilder_.getMessageList(); } } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public int getLocationsCount() { if (locationsBuilder_ == null) { return locations_.size(); } else { return locationsBuilder_.getCount(); } } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public alluxio.grpc.BlockLocation getLocations(int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessage(index); } } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder setLocations( int index, alluxio.grpc.BlockLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); } else { locationsBuilder_.setMessage(index, value); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder setLocations( int index, alluxio.grpc.BlockLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.set(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder addLocations(alluxio.grpc.BlockLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(value); onChanged(); } else { locationsBuilder_.addMessage(value); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder addLocations( int index, alluxio.grpc.BlockLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(index, value); onChanged(); } else { locationsBuilder_.addMessage(index, value); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder addLocations( alluxio.grpc.BlockLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder addLocations( int index, alluxio.grpc.BlockLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder addAllLocations( java.lang.Iterable values) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, locations_); onChanged(); } else { locationsBuilder_.addAllMessages(values); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder clearLocations() { if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { locationsBuilder_.clear(); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public Builder removeLocations(int index) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.remove(index); onChanged(); } else { locationsBuilder_.remove(index); } return this; } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public alluxio.grpc.BlockLocation.Builder getLocationsBuilder( int index) { return getLocationsFieldBuilder().getBuilder(index); } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public alluxio.grpc.BlockLocationOrBuilder getLocationsOrBuilder( int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public java.util.List getLocationsOrBuilderList() { if (locationsBuilder_ != null) { return locationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locations_); } } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public alluxio.grpc.BlockLocation.Builder addLocationsBuilder() { return getLocationsFieldBuilder().addBuilder( alluxio.grpc.BlockLocation.getDefaultInstance()); } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public alluxio.grpc.BlockLocation.Builder addLocationsBuilder( int index) { return getLocationsFieldBuilder().addBuilder( index, alluxio.grpc.BlockLocation.getDefaultInstance()); } /** * repeated .alluxio.grpc.BlockLocation locations = 3; */ public java.util.List getLocationsBuilderList() { return getLocationsFieldBuilder().getBuilderList(); } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { locationsBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.BlockLocation, alluxio.grpc.BlockLocation.Builder, alluxio.grpc.BlockLocationOrBuilder>( locations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); locations_ = null; } return locationsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:alluxio.grpc.BlockInfo) } // @@protoc_insertion_point(class_scope:alluxio.grpc.BlockInfo) private static final alluxio.grpc.BlockInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.grpc.BlockInfo(); } public static alluxio.grpc.BlockInfo 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 BlockInfo parsePartialFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.alluxio.shaded.client.io.IOException e) { throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static alluxio.shaded.client.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public alluxio.grpc.BlockInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy