public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor
.computeEnumSize(2, objectType_.getNumber());
org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectType value = org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue);
org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectType value = org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue);
info.setObjectType(GitStore.ChunkInfo.ObjectType.valueOf(objectType)); if (fragment) info.setIsFragment(true);
info.setObjectType(GitStore.ChunkInfo.ObjectType.valueOf(objectType)); if (fragment) info.setIsFragment(true);
.computeEnumSize(2, objectType_.getNumber());
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, source_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, objectType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isFragment_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCachedPackKeyBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, objectCounts_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, chunkSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, indexSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, metaSize_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, source_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, objectType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isFragment_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCachedPackKeyBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, objectCounts_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, chunkSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, indexSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, metaSize_); } getUnknownFields().writeTo(output); }
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor
public static ObjectType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; }
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor
public static ObjectType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; }