if (data != null) { try { return CachedPackInfoList.parseFrom(data).getPackList(); } catch (InvalidProtocolBufferException e) { CachedPackInfoList.Builder list = CachedPackInfoList.newBuilder(); list.addAllPack(r); client.modify( singleton(Change.put(memKey, list.build().toByteArray())), none); return r;
public org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList buildPartial() { org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList result = new org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList(this); int from_bitField0_ = bitField0_; if (packBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { pack_ = java.util.Collections.unmodifiableList(pack_); bitField0_ = (bitField0_ & ~0x00000001); } result.pack_ = pack_; } else { result.pack_ = packBuilder_.build(); } onBuilt(); return result; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDefaultInstance()) return this; if (packBuilder_ == null) { if (!other.pack_.isEmpty()) { this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDefaultInstance()) return this; if (packBuilder_ == null) { if (!other.pack_.isEmpty()) { this.mergeUnknownFields(other.getUnknownFields()); return this;
if (data != null) { try { return CachedPackInfoList.parseFrom(data).getPackList(); } catch (InvalidProtocolBufferException e) { CachedPackInfoList.Builder list = CachedPackInfoList.newBuilder(); list.addAllPack(r); client.modify( singleton(Change.put(memKey, list.build().toByteArray())), none); return r;
public Builder toBuilder() { return newBuilder(this); }
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList) obj; boolean result = true; result = result && getPackList() .equals(other.getPackList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList prototype) {
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList prototype) {
public org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList getDefaultInstanceForType() { return org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDefaultInstance(); }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList) obj; boolean result = true; result = result && getPackList() .equals(other.getPackList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList getDefaultInstanceForType() { return org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDefaultInstance(); }
public org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList buildPartial() { org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList result = new org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList(this); int from_bitField0_ = bitField0_; if (packBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { pack_ = java.util.Collections.unmodifiableList(pack_); bitField0_ = (bitField0_ & ~0x00000001); } result.pack_ = pack_; } else { result.pack_ = packBuilder_.build(); } onBuilt(); return result; }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDescriptor(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList.getDescriptor(); }
public static Builder newBuilder(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public static Builder newBuilder(org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public static org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return newBuilder().mergeFrom(data, extensionRegistry) .buildParsed(); } public static org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList parseFrom(byte[] data)
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < pack_.size(); i++) { output.writeMessage(1, pack_.get(i)); } getUnknownFields().writeTo(output); }