Wire format: ///
U8 = 0;
- */
- U8(0),
- /**
- * U16 = 1;
- */
- U16(1),
- /**
- * U32 = 2;
- */
- U32(2),
- /**
- * U64 = 3;
- */
- U64(3),
- /**
- * I8 = 4;
- */
- I8(4),
- /**
- * I16 = 5;
- */
- I16(5),
- /**
- * I32 = 6;
- */
- I32(6),
- /**
- * I64 = 7;
- */
- I64(7),
- /**
- * F16 = 8;
- */
- F16(8),
- /**
- * F32 = 9;
- */
- F32(9),
- /**
- * F64 = 10;
- */
- F64(10),
- UNRECOGNIZED(-1),
- ;
-
- /**
- * U8 = 0;
- */
- public static final int U8_VALUE = 0;
- /**
- * U16 = 1;
- */
- public static final int U16_VALUE = 1;
- /**
- * U32 = 2;
- */
- public static final int U32_VALUE = 2;
- /**
- * U64 = 3;
- */
- public static final int U64_VALUE = 3;
- /**
- * I8 = 4;
- */
- public static final int I8_VALUE = 4;
- /**
- * I16 = 5;
- */
- public static final int I16_VALUE = 5;
- /**
- * I32 = 6;
- */
- public static final int I32_VALUE = 6;
- /**
- * I64 = 7;
- */
- public static final int I64_VALUE = 7;
- /**
- * F16 = 8;
- */
- public static final int F16_VALUE = 8;
- /**
- * F32 = 9;
- */
- public static final int F32_VALUE = 9;
- /**
- * F64 = 10;
- */
- public static final int F64_VALUE = 10;
- private static final com.google.protobuf.Internal.EnumLiteMap<
- PType> internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMapbool nullable = 1;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface PrimitiveOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Primitive)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @return The enum numeric value on the wire for type.
- */
- int getTypeValue();
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @return The type.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getType();
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface DecimalOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Decimal)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 precision = 1;
- *
- * @return The precision.
- */
- int getPrecision();
-
- /**
- * int32 scale = 2;
- *
- * @return The scale.
- */
- int getScale();
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface Utf8OrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Utf8)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * bool nullable = 1;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface BinaryOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Binary)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * bool nullable = 1;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface StructOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Struct)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * repeated string names = 1;
- *
- * @return A list containing the names.
- */
- java.util.Listrepeated string names = 1;
- *
- * @return The count of names.
- */
- int getNamesCount();
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the element to return.
- * @return The names at the given index.
- */
- java.lang.String getNames(int index);
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the value to return.
- * @return The bytes of the names at the given index.
- */
- com.google.protobuf.ByteString
- getNamesBytes(int index);
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- java.util.Listrepeated .vortex.dtype.DType dtypes = 2;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DType getDtypes(int index);
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- int getDtypesCount();
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- getDtypesOrBuilderList();
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getDtypesOrBuilder(
- int index);
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface ListOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.List)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- boolean hasElementType();
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType();
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder();
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface FixedSizeListOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.FixedSizeList)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- boolean hasElementType();
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType();
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder();
-
- /**
- * uint32 size = 2;
- *
- * @return The size.
- */
- int getSize();
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface ExtensionOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Extension)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * string id = 1;
- *
- * @return The id.
- */
- java.lang.String getId();
-
- /**
- * string id = 1;
- *
- * @return The bytes for id.
- */
- com.google.protobuf.ByteString
- getIdBytes();
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return Whether the storageDtype field is set.
- */
- boolean hasStorageDtype();
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return The storageDtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DType getStorageDtype();
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getStorageDtypeOrBuilder();
-
- /**
- * optional bytes metadata = 3;
- *
- * @return Whether the metadata field is set.
- */
- boolean hasMetadata();
-
- /**
- * optional bytes metadata = 3;
- *
- * @return The metadata.
- */
- com.google.protobuf.ByteString getMetadata();
- }
-
- public interface VariantOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Variant)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * bool nullable = 1;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface UnionOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Union)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * bool nullable = 4;
- *
- * @return The nullable.
- */
- boolean getNullable();
- }
-
- public interface DTypeOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.DType)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.Null null = 1;
- *
- * @return Whether the null field is set.
- */
- boolean hasNull();
-
- /**
- * .vortex.dtype.Null null = 1;
- *
- * @return The null.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Null getNull();
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.NullOrBuilder getNullOrBuilder();
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return Whether the bool field is set.
- */
- boolean hasBool();
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return The bool.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Bool getBool();
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.BoolOrBuilder getBoolOrBuilder();
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return Whether the primitive field is set.
- */
- boolean hasPrimitive();
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return The primitive.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Primitive getPrimitive();
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PrimitiveOrBuilder getPrimitiveOrBuilder();
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return Whether the decimal field is set.
- */
- boolean hasDecimal();
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return The decimal.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Decimal getDecimal();
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DecimalOrBuilder getDecimalOrBuilder();
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return Whether the utf8 field is set.
- */
- boolean hasUtf8();
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return The utf8.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8 getUtf8();
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8OrBuilder getUtf8OrBuilder();
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return Whether the binary field is set.
- */
- boolean hasBinary();
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return The binary.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Binary getBinary();
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.BinaryOrBuilder getBinaryOrBuilder();
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return Whether the struct field is set.
- */
- boolean hasStruct();
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return The struct.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Struct getStruct();
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.StructOrBuilder getStructOrBuilder();
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return Whether the list field is set.
- */
- boolean hasList();
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return The list.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.List getList();
-
- /**
- * .vortex.dtype.List list = 8;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.ListOrBuilder getListOrBuilder();
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return Whether the extension field is set.
- */
- boolean hasExtension();
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return The extension.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Extension getExtension();
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.ExtensionOrBuilder getExtensionOrBuilder();
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return Whether the fixedSizeList field is set.
- */
- boolean hasFixedSizeList();
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return The fixedSizeList.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList getFixedSizeList();
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeListOrBuilder getFixedSizeListOrBuilder();
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return Whether the variant field is set.
- */
- boolean hasVariant();
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return The variant.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Variant getVariant();
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.VariantOrBuilder getVariantOrBuilder();
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return Whether the union field is set.
- */
- boolean hasUnion();
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return The union.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Union getUnion();
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.UnionOrBuilder getUnionOrBuilder();
-
- io.github.dfa1.vortex.proto.DTypeProtos.DType.DtypeTypeCase getDtypeTypeCase();
- }
-
- public interface FieldOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.Field)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * string name = 1;
- *
- * @return Whether the name field is set.
- */
- boolean hasName();
-
- /**
- * string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
-
- /**
- * string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-
- io.github.dfa1.vortex.proto.DTypeProtos.Field.FieldTypeCase getFieldTypeCase();
- }
-
- public interface FieldPathOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.dtype.FieldPath)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- java.util.Listrepeated .vortex.dtype.Field path = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.Field getPath(int index);
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- int getPathCount();
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder>
- getPathOrBuilderList();
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder getPathOrBuilder(
- int index);
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Null}
- */
- public static final class Null extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Null)
- NullOrBuilder {
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Null)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Null DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nullable_ != false) {
- output.writeBool(1, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Bool)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Bool other = (io.github.dfa1.vortex.proto.DTypeProtos.Bool) obj;
-
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 1;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Bool)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Primitive}
- */
- public static final class Primitive extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Primitive)
- PrimitiveOrBuilder {
- public static final int TYPE_FIELD_NUMBER = 1;
- public static final int NULLABLE_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Primitive)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Primitive DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType type = 1;
- *
- * @return The enum numeric value on the wire for type.
- */
- @java.lang.Override
- public int getTypeValue() {
- return type_;
- }
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @return The type.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getType() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(type_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (type_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, type_);
- }
- if (nullable_ != false) {
- output.writeBool(2, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (type_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, type_);
- }
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Primitive)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Primitive other = (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) obj;
-
- if (type_ != other.type_) {
- return false;
- }
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + TYPE_FIELD_NUMBER;
- hash = (53 * hash) + type_;
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType type = 1;
- *
- * @return The enum numeric value on the wire for type.
- */
- @java.lang.Override
- public int getTypeValue() {
- return type_;
- }
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @param value The enum numeric value on the wire for type to set.
- * @return This builder for chaining.
- */
- public Builder setTypeValue(int value) {
- type_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @return The type.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getType() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(type_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @param value The type to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setType(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- type_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType type = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- type_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 2;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000002);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Primitive)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Decimal}
- */
- public static final class Decimal extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Decimal)
- DecimalOrBuilder {
- public static final int PRECISION_FIELD_NUMBER = 1;
- public static final int SCALE_FIELD_NUMBER = 2;
- public static final int NULLABLE_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Decimal)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Decimal DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 precision = 1;
- *
- * @return The precision.
- */
- @java.lang.Override
- public int getPrecision() {
- return precision_;
- }
-
- /**
- * int32 scale = 2;
- *
- * @return The scale.
- */
- @java.lang.Override
- public int getScale() {
- return scale_;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (precision_ != 0) {
- output.writeUInt32(1, precision_);
- }
- if (scale_ != 0) {
- output.writeInt32(2, scale_);
- }
- if (nullable_ != false) {
- output.writeBool(3, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (precision_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, precision_);
- }
- if (scale_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, scale_);
- }
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Decimal)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Decimal other = (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) obj;
-
- if (getPrecision()
- != other.getPrecision()) {
- return false;
- }
- if (getScale()
- != other.getScale()) {
- return false;
- }
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + PRECISION_FIELD_NUMBER;
- hash = (53 * hash) + getPrecision();
- hash = (37 * hash) + SCALE_FIELD_NUMBER;
- hash = (53 * hash) + getScale();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 precision = 1;
- *
- * @return The precision.
- */
- @java.lang.Override
- public int getPrecision() {
- return precision_;
- }
-
- /**
- * uint32 precision = 1;
- *
- * @param value The precision to set.
- * @return This builder for chaining.
- */
- public Builder setPrecision(int value) {
-
- precision_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 precision = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearPrecision() {
- bitField0_ = (bitField0_ & ~0x00000001);
- precision_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * int32 scale = 2;
- *
- * @return The scale.
- */
- @java.lang.Override
- public int getScale() {
- return scale_;
- }
-
- /**
- * int32 scale = 2;
- *
- * @param value The scale to set.
- * @return This builder for chaining.
- */
- public Builder setScale(int value) {
-
- scale_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * int32 scale = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearScale() {
- bitField0_ = (bitField0_ & ~0x00000002);
- scale_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 3;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000004);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Decimal)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Utf8}
- */
- public static final class Utf8 extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Utf8)
- Utf8OrBuilder {
- public static final int NULLABLE_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Utf8)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Utf8 DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nullable_ != false) {
- output.writeBool(1, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Utf8)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8 other = (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) obj;
-
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 1;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Utf8)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Binary}
- */
- public static final class Binary extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Binary)
- BinaryOrBuilder {
- public static final int NULLABLE_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Binary)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Binary DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nullable_ != false) {
- output.writeBool(1, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Binary)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Binary other = (io.github.dfa1.vortex.proto.DTypeProtos.Binary) obj;
-
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 1;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Binary)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Struct}
- */
- public static final class Struct extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Struct)
- StructOrBuilder {
- public static final int NAMES_FIELD_NUMBER = 1;
- public static final int DTYPES_FIELD_NUMBER = 2;
- public static final int NULLABLE_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Struct)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Struct DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserrepeated string names = 1;
- *
- * @return A list containing the names.
- */
- public com.google.protobuf.ProtocolStringList
- getNamesList() {
- return names_;
- }
-
- /**
- * repeated string names = 1;
- *
- * @return The count of names.
- */
- public int getNamesCount() {
- return names_.size();
- }
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the element to return.
- * @return The names at the given index.
- */
- public java.lang.String getNames(int index) {
- return names_.get(index);
- }
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the value to return.
- * @return The bytes of the names at the given index.
- */
- public com.google.protobuf.ByteString
- getNamesBytes(int index) {
- return names_.getByteString(index);
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- @java.lang.Override
- public java.util.Listrepeated .vortex.dtype.DType dtypes = 2;
- */
- @java.lang.Override
- public java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- getDtypesOrBuilderList() {
- return dtypes_;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- @java.lang.Override
- public int getDtypesCount() {
- return dtypes_.size();
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getDtypes(int index) {
- return dtypes_.get(index);
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getDtypesOrBuilder(
- int index) {
- return dtypes_.get(index);
- }
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < names_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, names_.getRaw(i));
- }
- for (int i = 0; i < dtypes_.size(); i++) {
- output.writeMessage(2, dtypes_.get(i));
- }
- if (nullable_ != false) {
- output.writeBool(3, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- {
- int dataSize = 0;
- for (int i = 0; i < names_.size(); i++) {
- dataSize += computeStringSizeNoTag(names_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getNamesList().size();
- }
-
- {
- final int count = dtypes_.size();
- for (int i = 0; i < count; i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSizeNoTag(dtypes_.get(i));
- }
- size += 1 * count;
- }
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Struct)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Struct other = (io.github.dfa1.vortex.proto.DTypeProtos.Struct) obj;
-
- if (!getNamesList()
- .equals(other.getNamesList())) {
- return false;
- }
- if (!getDtypesList()
- .equals(other.getDtypesList())) {
- return false;
- }
- if (getNullable()
- != other.getNullable()) {
- 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 (getNamesCount() > 0) {
- hash = (37 * hash) + NAMES_FIELD_NUMBER;
- hash = (53 * hash) + getNamesList().hashCode();
- }
- if (getDtypesCount() > 0) {
- hash = (37 * hash) + DTYPES_FIELD_NUMBER;
- hash = (53 * hash) + getDtypesList().hashCode();
- }
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserrepeated string names = 1;
- *
- * @return A list containing the names.
- */
- public com.google.protobuf.ProtocolStringList
- getNamesList() {
- names_.makeImmutable();
- return names_;
- }
-
- /**
- * repeated string names = 1;
- *
- * @return The count of names.
- */
- public int getNamesCount() {
- return names_.size();
- }
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the element to return.
- * @return The names at the given index.
- */
- public java.lang.String getNames(int index) {
- return names_.get(index);
- }
-
- /**
- * repeated string names = 1;
- *
- * @param index The index of the value to return.
- * @return The bytes of the names at the given index.
- */
- public com.google.protobuf.ByteString
- getNamesBytes(int index) {
- return names_.getByteString(index);
- }
-
- /**
- * repeated string names = 1;
- *
- * @param index The index to set the value at.
- * @param value The names to set.
- * @return This builder for chaining.
- */
- public Builder setNames(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNamesIsMutable();
- names_.set(index, value);
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * repeated string names = 1;
- *
- * @param value The names to add.
- * @return This builder for chaining.
- */
- public Builder addNames(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNamesIsMutable();
- names_.add(value);
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * repeated string names = 1;
- *
- * @param values The names to add.
- * @return This builder for chaining.
- */
- public Builder addAllNames(
- java.lang.Iterablerepeated string names = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNames() {
- names_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- ;
- onChanged();
- return this;
- }
-
- /**
- * repeated string names = 1;
- *
- * @param value The bytes of the names to add.
- * @return This builder for chaining.
- */
- public Builder addNamesBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- ensureNamesIsMutable();
- names_.add(value);
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private void ensureDtypesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- dtypes_ = new java.util.ArrayListrepeated .vortex.dtype.DType dtypes = 2;
- */
- public java.util.Listrepeated .vortex.dtype.DType dtypes = 2;
- */
- public int getDtypesCount() {
- if (dtypesBuilder_ == null) {
- return dtypes_.size();
- } else {
- return dtypesBuilder_.getCount();
- }
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getDtypes(int index) {
- if (dtypesBuilder_ == null) {
- return dtypes_.get(index);
- } else {
- return dtypesBuilder_.getMessage(index);
- }
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder setDtypes(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (dtypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDtypesIsMutable();
- dtypes_.set(index, value);
- onChanged();
- } else {
- dtypesBuilder_.setMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder setDtypes(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (dtypesBuilder_ == null) {
- ensureDtypesIsMutable();
- dtypes_.set(index, builderForValue.build());
- onChanged();
- } else {
- dtypesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder addDtypes(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (dtypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDtypesIsMutable();
- dtypes_.add(value);
- onChanged();
- } else {
- dtypesBuilder_.addMessage(value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder addDtypes(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (dtypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDtypesIsMutable();
- dtypes_.add(index, value);
- onChanged();
- } else {
- dtypesBuilder_.addMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder addDtypes(
- io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (dtypesBuilder_ == null) {
- ensureDtypesIsMutable();
- dtypes_.add(builderForValue.build());
- onChanged();
- } else {
- dtypesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder addDtypes(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (dtypesBuilder_ == null) {
- ensureDtypesIsMutable();
- dtypes_.add(index, builderForValue.build());
- onChanged();
- } else {
- dtypesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder addAllDtypes(
- java.lang.Iterable extends io.github.dfa1.vortex.proto.DTypeProtos.DType> values) {
- if (dtypesBuilder_ == null) {
- ensureDtypesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, dtypes_);
- onChanged();
- } else {
- dtypesBuilder_.addAllMessages(values);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder clearDtypes() {
- if (dtypesBuilder_ == null) {
- dtypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- dtypesBuilder_.clear();
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public Builder removeDtypes(int index) {
- if (dtypesBuilder_ == null) {
- ensureDtypesIsMutable();
- dtypes_.remove(index);
- onChanged();
- } else {
- dtypesBuilder_.remove(index);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder getDtypesBuilder(
- int index) {
- return internalGetDtypesFieldBuilder().getBuilder(index);
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getDtypesOrBuilder(
- int index) {
- if (dtypesBuilder_ == null) {
- return dtypes_.get(index);
- } else {
- return dtypesBuilder_.getMessageOrBuilder(index);
- }
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- getDtypesOrBuilderList() {
- if (dtypesBuilder_ != null) {
- return dtypesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(dtypes_);
- }
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder addDtypesBuilder() {
- return internalGetDtypesFieldBuilder().addBuilder(
- io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder addDtypesBuilder(
- int index) {
- return internalGetDtypesFieldBuilder().addBuilder(
- index, io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.dtype.DType dtypes = 2;
- */
- public java.util.Listbool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 3;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000004);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Struct)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.List}
- */
- public static final class List extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.List)
- ListOrBuilder {
- public static final int ELEMENT_TYPE_FIELD_NUMBER = 1;
- public static final int NULLABLE_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.List)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.List DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- @java.lang.Override
- public boolean hasElementType() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType() {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder() {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getElementType());
- }
- if (nullable_ != false) {
- output.writeBool(2, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getElementType());
- }
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.List)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.List other = (io.github.dfa1.vortex.proto.DTypeProtos.List) obj;
-
- if (hasElementType() != other.hasElementType()) {
- return false;
- }
- if (hasElementType()) {
- if (!getElementType()
- .equals(other.getElementType())) {
- return false;
- }
- }
- if (getNullable()
- != other.getNullable()) {
- 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 (hasElementType()) {
- hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getElementType().hashCode();
- }
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- public boolean hasElementType() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType() {
- if (elementTypeBuilder_ == null) {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- } else {
- return elementTypeBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder setElementType(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (elementTypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- elementType_ = value;
- } else {
- elementTypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder setElementType(
- io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (elementTypeBuilder_ == null) {
- elementType_ = builderForValue.build();
- } else {
- elementTypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder mergeElementType(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (elementTypeBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- elementType_ != null &&
- elementType_ != io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance()) {
- getElementTypeBuilder().mergeFrom(value);
- } else {
- elementType_ = value;
- }
- } else {
- elementTypeBuilder_.mergeFrom(value);
- }
- if (elementType_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder clearElementType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- elementType_ = null;
- if (elementTypeBuilder_ != null) {
- elementTypeBuilder_.dispose();
- elementTypeBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder getElementTypeBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return internalGetElementTypeFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder() {
- if (elementTypeBuilder_ != null) {
- return elementTypeBuilder_.getMessageOrBuilder();
- } else {
- return elementType_ == null ?
- io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- internalGetElementTypeFieldBuilder() {
- if (elementTypeBuilder_ == null) {
- elementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>(
- getElementType(),
- getParentForChildren(),
- isClean());
- elementType_ = null;
- }
- return elementTypeBuilder_;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 2;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000002);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.List)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.FixedSizeList}
- */
- public static final class FixedSizeList extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.FixedSizeList)
- FixedSizeListOrBuilder {
- public static final int ELEMENT_TYPE_FIELD_NUMBER = 1;
- public static final int SIZE_FIELD_NUMBER = 2;
- public static final int NULLABLE_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.FixedSizeList)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- @java.lang.Override
- public boolean hasElementType() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType() {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder() {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
-
- /**
- * uint32 size = 2;
- *
- * @return The size.
- */
- @java.lang.Override
- public int getSize() {
- return size_;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getElementType());
- }
- if (size_ != 0) {
- output.writeUInt32(2, size_);
- }
- if (nullable_ != false) {
- output.writeBool(3, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getElementType());
- }
- if (size_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, size_);
- }
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList other = (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) obj;
-
- if (hasElementType() != other.hasElementType()) {
- return false;
- }
- if (hasElementType()) {
- if (!getElementType()
- .equals(other.getElementType())) {
- return false;
- }
- }
- if (getSize()
- != other.getSize()) {
- return false;
- }
- if (getNullable()
- != other.getNullable()) {
- 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 (hasElementType()) {
- hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getElementType().hashCode();
- }
- hash = (37 * hash) + SIZE_FIELD_NUMBER;
- hash = (53 * hash) + getSize();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.DType element_type = 1;
- *
- * @return Whether the elementType field is set.
- */
- public boolean hasElementType() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- *
- * @return The elementType.
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getElementType() {
- if (elementTypeBuilder_ == null) {
- return elementType_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- } else {
- return elementTypeBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder setElementType(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (elementTypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- elementType_ = value;
- } else {
- elementTypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder setElementType(
- io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (elementTypeBuilder_ == null) {
- elementType_ = builderForValue.build();
- } else {
- elementTypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder mergeElementType(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (elementTypeBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- elementType_ != null &&
- elementType_ != io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance()) {
- getElementTypeBuilder().mergeFrom(value);
- } else {
- elementType_ = value;
- }
- } else {
- elementTypeBuilder_.mergeFrom(value);
- }
- if (elementType_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public Builder clearElementType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- elementType_ = null;
- if (elementTypeBuilder_ != null) {
- elementTypeBuilder_.dispose();
- elementTypeBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder getElementTypeBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return internalGetElementTypeFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getElementTypeOrBuilder() {
- if (elementTypeBuilder_ != null) {
- return elementTypeBuilder_.getMessageOrBuilder();
- } else {
- return elementType_ == null ?
- io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : elementType_;
- }
- }
-
- /**
- * .vortex.dtype.DType element_type = 1;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- internalGetElementTypeFieldBuilder() {
- if (elementTypeBuilder_ == null) {
- elementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>(
- getElementType(),
- getParentForChildren(),
- isClean());
- elementType_ = null;
- }
- return elementTypeBuilder_;
- }
-
- /**
- * uint32 size = 2;
- *
- * @return The size.
- */
- @java.lang.Override
- public int getSize() {
- return size_;
- }
-
- /**
- * uint32 size = 2;
- *
- * @param value The size to set.
- * @return This builder for chaining.
- */
- public Builder setSize(int value) {
-
- size_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 size = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearSize() {
- bitField0_ = (bitField0_ & ~0x00000002);
- size_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 3;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000004);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.FixedSizeList)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Extension}
- */
- public static final class Extension extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Extension)
- ExtensionOrBuilder {
- public static final int ID_FIELD_NUMBER = 1;
- public static final int STORAGE_DTYPE_FIELD_NUMBER = 2;
- public static final int METADATA_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Extension)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Extension DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserstring id = 1;
- *
- * @return The id.
- */
- @java.lang.Override
- public java.lang.String getId() {
- java.lang.Object ref = id_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- id_ = s;
- return s;
- }
- }
-
- /**
- * string id = 1;
- *
- * @return The bytes for id.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getIdBytes() {
- java.lang.Object ref = id_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- id_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return Whether the storageDtype field is set.
- */
- @java.lang.Override
- public boolean hasStorageDtype() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return The storageDtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getStorageDtype() {
- return storageDtype_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : storageDtype_;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getStorageDtypeOrBuilder() {
- return storageDtype_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : storageDtype_;
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @return Whether the metadata field is set.
- */
- @java.lang.Override
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @return The metadata.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getMetadata() {
- return metadata_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, id_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(2, getStorageDtype());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeBytes(3, metadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getStorageDtype());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, metadata_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Extension)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Extension other = (io.github.dfa1.vortex.proto.DTypeProtos.Extension) obj;
-
- if (!getId()
- .equals(other.getId())) {
- return false;
- }
- if (hasStorageDtype() != other.hasStorageDtype()) {
- return false;
- }
- if (hasStorageDtype()) {
- if (!getStorageDtype()
- .equals(other.getStorageDtype())) {
- return false;
- }
- }
- if (hasMetadata() != other.hasMetadata()) {
- return false;
- }
- if (hasMetadata()) {
- if (!getMetadata()
- .equals(other.getMetadata())) {
- 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();
- hash = (37 * hash) + ID_FIELD_NUMBER;
- hash = (53 * hash) + getId().hashCode();
- if (hasStorageDtype()) {
- hash = (37 * hash) + STORAGE_DTYPE_FIELD_NUMBER;
- hash = (53 * hash) + getStorageDtype().hashCode();
- }
- if (hasMetadata()) {
- hash = (37 * hash) + METADATA_FIELD_NUMBER;
- hash = (53 * hash) + getMetadata().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserstring id = 1;
- *
- * @return The id.
- */
- public java.lang.String getId() {
- java.lang.Object ref = id_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- id_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
-
- /**
- * string id = 1;
- *
- * @param value The id to set.
- * @return This builder for chaining.
- */
- public Builder setId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- id_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * string id = 1;
- *
- * @return The bytes for id.
- */
- public com.google.protobuf.ByteString
- getIdBytes() {
- java.lang.Object ref = id_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- id_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- /**
- * string id = 1;
- *
- * @param value The bytes for id to set.
- * @return This builder for chaining.
- */
- public Builder setIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- id_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * string id = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearId() {
- id_ = getDefaultInstance().getId();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return Whether the storageDtype field is set.
- */
- public boolean hasStorageDtype() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- *
- * @return The storageDtype.
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getStorageDtype() {
- if (storageDtypeBuilder_ == null) {
- return storageDtype_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : storageDtype_;
- } else {
- return storageDtypeBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public Builder setStorageDtype(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (storageDtypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- storageDtype_ = value;
- } else {
- storageDtypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public Builder setStorageDtype(
- io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder builderForValue) {
- if (storageDtypeBuilder_ == null) {
- storageDtype_ = builderForValue.build();
- } else {
- storageDtypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public Builder mergeStorageDtype(io.github.dfa1.vortex.proto.DTypeProtos.DType value) {
- if (storageDtypeBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- storageDtype_ != null &&
- storageDtype_ != io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance()) {
- getStorageDtypeBuilder().mergeFrom(value);
- } else {
- storageDtype_ = value;
- }
- } else {
- storageDtypeBuilder_.mergeFrom(value);
- }
- if (storageDtype_ != null) {
- bitField0_ |= 0x00000002;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public Builder clearStorageDtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- storageDtype_ = null;
- if (storageDtypeBuilder_ != null) {
- storageDtypeBuilder_.dispose();
- storageDtypeBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder getStorageDtypeBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return internalGetStorageDtypeFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getStorageDtypeOrBuilder() {
- if (storageDtypeBuilder_ != null) {
- return storageDtypeBuilder_.getMessageOrBuilder();
- } else {
- return storageDtype_ == null ?
- io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : storageDtype_;
- }
- }
-
- /**
- * .vortex.dtype.DType storage_dtype = 2;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>
- internalGetStorageDtypeFieldBuilder() {
- if (storageDtypeBuilder_ == null) {
- storageDtypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.DType, io.github.dfa1.vortex.proto.DTypeProtos.DType.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder>(
- getStorageDtype(),
- getParentForChildren(),
- isClean());
- storageDtype_ = null;
- }
- return storageDtypeBuilder_;
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @return Whether the metadata field is set.
- */
- @java.lang.Override
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000004) != 0);
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @return The metadata.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getMetadata() {
- return metadata_;
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @param value The metadata to set.
- * @return This builder for chaining.
- */
- public Builder setMetadata(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional bytes metadata = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000004);
- metadata_ = getDefaultInstance().getMetadata();
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Extension)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Variant}
- */
- public static final class Variant extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Variant)
- VariantOrBuilder {
- public static final int NULLABLE_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Variant)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Variant DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nullable_ != false) {
- output.writeBool(1, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Variant)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Variant other = (io.github.dfa1.vortex.proto.DTypeProtos.Variant) obj;
-
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbool nullable = 1;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 1;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Variant)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Union}
- */
- public static final class Union extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Union)
- UnionOrBuilder {
- public static final int NULLABLE_FIELD_NUMBER = 4;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Union)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Union DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserbool nullable = 4;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nullable_ != false) {
- output.writeBool(4, nullable_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nullable_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(4, nullable_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Union)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Union other = (io.github.dfa1.vortex.proto.DTypeProtos.Union) obj;
-
- if (getNullable()
- != other.getNullable()) {
- 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();
- hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getNullable());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbool nullable = 4;
- *
- * @return The nullable.
- */
- @java.lang.Override
- public boolean getNullable() {
- return nullable_;
- }
-
- /**
- * bool nullable = 4;
- *
- * @param value The nullable to set.
- * @return This builder for chaining.
- */
- public Builder setNullable(boolean value) {
-
- nullable_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bool nullable = 4;
- *
- * @return This builder for chaining.
- */
- public Builder clearNullable() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nullable_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Union)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.DType}
- */
- public static final class DType extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.DType)
- DTypeOrBuilder {
- public static final int NULL_FIELD_NUMBER = 1;
- public static final int BOOL_FIELD_NUMBER = 2;
- public static final int PRIMITIVE_FIELD_NUMBER = 3;
- public static final int DECIMAL_FIELD_NUMBER = 4;
- public static final int UTF8_FIELD_NUMBER = 5;
- public static final int BINARY_FIELD_NUMBER = 6;
- public static final int STRUCT_FIELD_NUMBER = 7;
- public static final int LIST_FIELD_NUMBER = 8;
- public static final int EXTENSION_FIELD_NUMBER = 9;
- public static final int FIXED_SIZE_LIST_FIELD_NUMBER = 10;
-
- ;
- public static final int VARIANT_FIELD_NUMBER = 11;
- public static final int UNION_FIELD_NUMBER = 12;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.DType)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.DType DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.Null null = 1;
- *
- * @return Whether the null field is set.
- */
- @java.lang.Override
- public boolean hasNull() {
- return dtypeTypeCase_ == 1;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- *
- * @return The null.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Null getNull() {
- if (dtypeTypeCase_ == 1) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.NullOrBuilder getNullOrBuilder() {
- if (dtypeTypeCase_ == 1) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return Whether the bool field is set.
- */
- @java.lang.Override
- public boolean hasBool() {
- return dtypeTypeCase_ == 2;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return The bool.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Bool getBool() {
- if (dtypeTypeCase_ == 2) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.BoolOrBuilder getBoolOrBuilder() {
- if (dtypeTypeCase_ == 2) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return Whether the primitive field is set.
- */
- @java.lang.Override
- public boolean hasPrimitive() {
- return dtypeTypeCase_ == 3;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return The primitive.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Primitive getPrimitive() {
- if (dtypeTypeCase_ == 3) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PrimitiveOrBuilder getPrimitiveOrBuilder() {
- if (dtypeTypeCase_ == 3) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return Whether the decimal field is set.
- */
- @java.lang.Override
- public boolean hasDecimal() {
- return dtypeTypeCase_ == 4;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return The decimal.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Decimal getDecimal() {
- if (dtypeTypeCase_ == 4) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DecimalOrBuilder getDecimalOrBuilder() {
- if (dtypeTypeCase_ == 4) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return Whether the utf8 field is set.
- */
- @java.lang.Override
- public boolean hasUtf8() {
- return dtypeTypeCase_ == 5;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return The utf8.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Utf8 getUtf8() {
- if (dtypeTypeCase_ == 5) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Utf8OrBuilder getUtf8OrBuilder() {
- if (dtypeTypeCase_ == 5) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return Whether the binary field is set.
- */
- @java.lang.Override
- public boolean hasBinary() {
- return dtypeTypeCase_ == 6;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return The binary.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Binary getBinary() {
- if (dtypeTypeCase_ == 6) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.BinaryOrBuilder getBinaryOrBuilder() {
- if (dtypeTypeCase_ == 6) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return Whether the struct field is set.
- */
- @java.lang.Override
- public boolean hasStruct() {
- return dtypeTypeCase_ == 7;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return The struct.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Struct getStruct() {
- if (dtypeTypeCase_ == 7) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.StructOrBuilder getStructOrBuilder() {
- if (dtypeTypeCase_ == 7) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return Whether the list field is set.
- */
- @java.lang.Override
- public boolean hasList() {
- return dtypeTypeCase_ == 8;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return The list.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.List getList() {
- if (dtypeTypeCase_ == 8) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.ListOrBuilder getListOrBuilder() {
- if (dtypeTypeCase_ == 8) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return Whether the extension field is set.
- */
- @java.lang.Override
- public boolean hasExtension() {
- return dtypeTypeCase_ == 9;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return The extension.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Extension getExtension() {
- if (dtypeTypeCase_ == 9) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.ExtensionOrBuilder getExtensionOrBuilder() {
- if (dtypeTypeCase_ == 9) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return Whether the fixedSizeList field is set.
- */
- @java.lang.Override
- public boolean hasFixedSizeList() {
- return dtypeTypeCase_ == 10;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return The fixedSizeList.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList getFixedSizeList() {
- if (dtypeTypeCase_ == 10) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeListOrBuilder getFixedSizeListOrBuilder() {
- if (dtypeTypeCase_ == 10) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return Whether the variant field is set.
- */
- @java.lang.Override
- public boolean hasVariant() {
- return dtypeTypeCase_ == 11;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return The variant.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Variant getVariant() {
- if (dtypeTypeCase_ == 11) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.VariantOrBuilder getVariantOrBuilder() {
- if (dtypeTypeCase_ == 11) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return Whether the union field is set.
- */
- @java.lang.Override
- public boolean hasUnion() {
- return dtypeTypeCase_ == 12;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return The union.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Union getUnion() {
- if (dtypeTypeCase_ == 12) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.UnionOrBuilder getUnionOrBuilder() {
- if (dtypeTypeCase_ == 12) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (dtypeTypeCase_ == 1) {
- output.writeMessage(1, (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_);
- }
- if (dtypeTypeCase_ == 2) {
- output.writeMessage(2, (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_);
- }
- if (dtypeTypeCase_ == 3) {
- output.writeMessage(3, (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_);
- }
- if (dtypeTypeCase_ == 4) {
- output.writeMessage(4, (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_);
- }
- if (dtypeTypeCase_ == 5) {
- output.writeMessage(5, (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_);
- }
- if (dtypeTypeCase_ == 6) {
- output.writeMessage(6, (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_);
- }
- if (dtypeTypeCase_ == 7) {
- output.writeMessage(7, (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_);
- }
- if (dtypeTypeCase_ == 8) {
- output.writeMessage(8, (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_);
- }
- if (dtypeTypeCase_ == 9) {
- output.writeMessage(9, (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_);
- }
- if (dtypeTypeCase_ == 10) {
- output.writeMessage(10, (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_);
- }
- if (dtypeTypeCase_ == 11) {
- output.writeMessage(11, (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_);
- }
- if (dtypeTypeCase_ == 12) {
- output.writeMessage(12, (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (dtypeTypeCase_ == 1) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_);
- }
- if (dtypeTypeCase_ == 2) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_);
- }
- if (dtypeTypeCase_ == 3) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_);
- }
- if (dtypeTypeCase_ == 4) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_);
- }
- if (dtypeTypeCase_ == 5) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_);
- }
- if (dtypeTypeCase_ == 6) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_);
- }
- if (dtypeTypeCase_ == 7) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_);
- }
- if (dtypeTypeCase_ == 8) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_);
- }
- if (dtypeTypeCase_ == 9) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_);
- }
- if (dtypeTypeCase_ == 10) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_);
- }
- if (dtypeTypeCase_ == 11) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(11, (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_);
- }
- if (dtypeTypeCase_ == 12) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.DType)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.DType other = (io.github.dfa1.vortex.proto.DTypeProtos.DType) obj;
-
- if (!getDtypeTypeCase().equals(other.getDtypeTypeCase())) {
- return false;
- }
- switch (dtypeTypeCase_) {
- case 1:
- if (!getNull()
- .equals(other.getNull())) {
- return false;
- }
- break;
- case 2:
- if (!getBool()
- .equals(other.getBool())) {
- return false;
- }
- break;
- case 3:
- if (!getPrimitive()
- .equals(other.getPrimitive())) {
- return false;
- }
- break;
- case 4:
- if (!getDecimal()
- .equals(other.getDecimal())) {
- return false;
- }
- break;
- case 5:
- if (!getUtf8()
- .equals(other.getUtf8())) {
- return false;
- }
- break;
- case 6:
- if (!getBinary()
- .equals(other.getBinary())) {
- return false;
- }
- break;
- case 7:
- if (!getStruct()
- .equals(other.getStruct())) {
- return false;
- }
- break;
- case 8:
- if (!getList()
- .equals(other.getList())) {
- return false;
- }
- break;
- case 9:
- if (!getExtension()
- .equals(other.getExtension())) {
- return false;
- }
- break;
- case 10:
- if (!getFixedSizeList()
- .equals(other.getFixedSizeList())) {
- return false;
- }
- break;
- case 11:
- if (!getVariant()
- .equals(other.getVariant())) {
- return false;
- }
- break;
- case 12:
- if (!getUnion()
- .equals(other.getUnion())) {
- return false;
- }
- break;
- case 0:
- default:
- }
- 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();
- switch (dtypeTypeCase_) {
- case 1:
- hash = (37 * hash) + NULL_FIELD_NUMBER;
- hash = (53 * hash) + getNull().hashCode();
- break;
- case 2:
- hash = (37 * hash) + BOOL_FIELD_NUMBER;
- hash = (53 * hash) + getBool().hashCode();
- break;
- case 3:
- hash = (37 * hash) + PRIMITIVE_FIELD_NUMBER;
- hash = (53 * hash) + getPrimitive().hashCode();
- break;
- case 4:
- hash = (37 * hash) + DECIMAL_FIELD_NUMBER;
- hash = (53 * hash) + getDecimal().hashCode();
- break;
- case 5:
- hash = (37 * hash) + UTF8_FIELD_NUMBER;
- hash = (53 * hash) + getUtf8().hashCode();
- break;
- case 6:
- hash = (37 * hash) + BINARY_FIELD_NUMBER;
- hash = (53 * hash) + getBinary().hashCode();
- break;
- case 7:
- hash = (37 * hash) + STRUCT_FIELD_NUMBER;
- hash = (53 * hash) + getStruct().hashCode();
- break;
- case 8:
- hash = (37 * hash) + LIST_FIELD_NUMBER;
- hash = (53 * hash) + getList().hashCode();
- break;
- case 9:
- hash = (37 * hash) + EXTENSION_FIELD_NUMBER;
- hash = (53 * hash) + getExtension().hashCode();
- break;
- case 10:
- hash = (37 * hash) + FIXED_SIZE_LIST_FIELD_NUMBER;
- hash = (53 * hash) + getFixedSizeList().hashCode();
- break;
- case 11:
- hash = (37 * hash) + VARIANT_FIELD_NUMBER;
- hash = (53 * hash) + getVariant().hashCode();
- break;
- case 12:
- hash = (37 * hash) + UNION_FIELD_NUMBER;
- hash = (53 * hash) + getUnion().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.Null null = 1;
- *
- * @return Whether the null field is set.
- */
- @java.lang.Override
- public boolean hasNull() {
- return dtypeTypeCase_ == 1;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- *
- * @return The null.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Null getNull() {
- if (nullBuilder_ == null) {
- if (dtypeTypeCase_ == 1) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 1) {
- return nullBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- public Builder setNull(io.github.dfa1.vortex.proto.DTypeProtos.Null value) {
- if (nullBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- nullBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 1;
- return this;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- public Builder setNull(
- io.github.dfa1.vortex.proto.DTypeProtos.Null.Builder builderForValue) {
- if (nullBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- nullBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 1;
- return this;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- public Builder mergeNull(io.github.dfa1.vortex.proto.DTypeProtos.Null value) {
- if (nullBuilder_ == null) {
- if (dtypeTypeCase_ == 1 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Null.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 1) {
- nullBuilder_.mergeFrom(value);
- } else {
- nullBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 1;
- return this;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- public Builder clearNull() {
- if (nullBuilder_ == null) {
- if (dtypeTypeCase_ == 1) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 1) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- nullBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Null.Builder getNullBuilder() {
- return internalGetNullFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.NullOrBuilder getNullOrBuilder() {
- if ((dtypeTypeCase_ == 1) && (nullBuilder_ != null)) {
- return nullBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 1) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Null null = 1;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Null, io.github.dfa1.vortex.proto.DTypeProtos.Null.Builder, io.github.dfa1.vortex.proto.DTypeProtos.NullOrBuilder>
- internalGetNullFieldBuilder() {
- if (nullBuilder_ == null) {
- if (!(dtypeTypeCase_ == 1)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Null.getDefaultInstance();
- }
- nullBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Null, io.github.dfa1.vortex.proto.DTypeProtos.Null.Builder, io.github.dfa1.vortex.proto.DTypeProtos.NullOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Null) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 1;
- onChanged();
- return nullBuilder_;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return Whether the bool field is set.
- */
- @java.lang.Override
- public boolean hasBool() {
- return dtypeTypeCase_ == 2;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- *
- * @return The bool.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Bool getBool() {
- if (boolBuilder_ == null) {
- if (dtypeTypeCase_ == 2) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 2) {
- return boolBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- public Builder setBool(io.github.dfa1.vortex.proto.DTypeProtos.Bool value) {
- if (boolBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- boolBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 2;
- return this;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- public Builder setBool(
- io.github.dfa1.vortex.proto.DTypeProtos.Bool.Builder builderForValue) {
- if (boolBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- boolBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 2;
- return this;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- public Builder mergeBool(io.github.dfa1.vortex.proto.DTypeProtos.Bool value) {
- if (boolBuilder_ == null) {
- if (dtypeTypeCase_ == 2 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Bool.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 2) {
- boolBuilder_.mergeFrom(value);
- } else {
- boolBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 2;
- return this;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- public Builder clearBool() {
- if (boolBuilder_ == null) {
- if (dtypeTypeCase_ == 2) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 2) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- boolBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Bool.Builder getBoolBuilder() {
- return internalGetBoolFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.BoolOrBuilder getBoolOrBuilder() {
- if ((dtypeTypeCase_ == 2) && (boolBuilder_ != null)) {
- return boolBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 2) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Bool bool = 2;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Bool, io.github.dfa1.vortex.proto.DTypeProtos.Bool.Builder, io.github.dfa1.vortex.proto.DTypeProtos.BoolOrBuilder>
- internalGetBoolFieldBuilder() {
- if (boolBuilder_ == null) {
- if (!(dtypeTypeCase_ == 2)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Bool.getDefaultInstance();
- }
- boolBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Bool, io.github.dfa1.vortex.proto.DTypeProtos.Bool.Builder, io.github.dfa1.vortex.proto.DTypeProtos.BoolOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Bool) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 2;
- onChanged();
- return boolBuilder_;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return Whether the primitive field is set.
- */
- @java.lang.Override
- public boolean hasPrimitive() {
- return dtypeTypeCase_ == 3;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- *
- * @return The primitive.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Primitive getPrimitive() {
- if (primitiveBuilder_ == null) {
- if (dtypeTypeCase_ == 3) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 3) {
- return primitiveBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- public Builder setPrimitive(io.github.dfa1.vortex.proto.DTypeProtos.Primitive value) {
- if (primitiveBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- primitiveBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 3;
- return this;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- public Builder setPrimitive(
- io.github.dfa1.vortex.proto.DTypeProtos.Primitive.Builder builderForValue) {
- if (primitiveBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- primitiveBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 3;
- return this;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- public Builder mergePrimitive(io.github.dfa1.vortex.proto.DTypeProtos.Primitive value) {
- if (primitiveBuilder_ == null) {
- if (dtypeTypeCase_ == 3 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Primitive.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 3) {
- primitiveBuilder_.mergeFrom(value);
- } else {
- primitiveBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 3;
- return this;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- public Builder clearPrimitive() {
- if (primitiveBuilder_ == null) {
- if (dtypeTypeCase_ == 3) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 3) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- primitiveBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Primitive.Builder getPrimitiveBuilder() {
- return internalGetPrimitiveFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PrimitiveOrBuilder getPrimitiveOrBuilder() {
- if ((dtypeTypeCase_ == 3) && (primitiveBuilder_ != null)) {
- return primitiveBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 3) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Primitive primitive = 3;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Primitive, io.github.dfa1.vortex.proto.DTypeProtos.Primitive.Builder, io.github.dfa1.vortex.proto.DTypeProtos.PrimitiveOrBuilder>
- internalGetPrimitiveFieldBuilder() {
- if (primitiveBuilder_ == null) {
- if (!(dtypeTypeCase_ == 3)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Primitive.getDefaultInstance();
- }
- primitiveBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Primitive, io.github.dfa1.vortex.proto.DTypeProtos.Primitive.Builder, io.github.dfa1.vortex.proto.DTypeProtos.PrimitiveOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Primitive) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 3;
- onChanged();
- return primitiveBuilder_;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return Whether the decimal field is set.
- */
- @java.lang.Override
- public boolean hasDecimal() {
- return dtypeTypeCase_ == 4;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- *
- * @return The decimal.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Decimal getDecimal() {
- if (decimalBuilder_ == null) {
- if (dtypeTypeCase_ == 4) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 4) {
- return decimalBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- public Builder setDecimal(io.github.dfa1.vortex.proto.DTypeProtos.Decimal value) {
- if (decimalBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- decimalBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 4;
- return this;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- public Builder setDecimal(
- io.github.dfa1.vortex.proto.DTypeProtos.Decimal.Builder builderForValue) {
- if (decimalBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- decimalBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 4;
- return this;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- public Builder mergeDecimal(io.github.dfa1.vortex.proto.DTypeProtos.Decimal value) {
- if (decimalBuilder_ == null) {
- if (dtypeTypeCase_ == 4 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Decimal.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 4) {
- decimalBuilder_.mergeFrom(value);
- } else {
- decimalBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 4;
- return this;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- public Builder clearDecimal() {
- if (decimalBuilder_ == null) {
- if (dtypeTypeCase_ == 4) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 4) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- decimalBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Decimal.Builder getDecimalBuilder() {
- return internalGetDecimalFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DecimalOrBuilder getDecimalOrBuilder() {
- if ((dtypeTypeCase_ == 4) && (decimalBuilder_ != null)) {
- return decimalBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 4) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Decimal decimal = 4;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Decimal, io.github.dfa1.vortex.proto.DTypeProtos.Decimal.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DecimalOrBuilder>
- internalGetDecimalFieldBuilder() {
- if (decimalBuilder_ == null) {
- if (!(dtypeTypeCase_ == 4)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Decimal.getDefaultInstance();
- }
- decimalBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Decimal, io.github.dfa1.vortex.proto.DTypeProtos.Decimal.Builder, io.github.dfa1.vortex.proto.DTypeProtos.DecimalOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Decimal) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 4;
- onChanged();
- return decimalBuilder_;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return Whether the utf8 field is set.
- */
- @java.lang.Override
- public boolean hasUtf8() {
- return dtypeTypeCase_ == 5;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- *
- * @return The utf8.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Utf8 getUtf8() {
- if (utf8Builder_ == null) {
- if (dtypeTypeCase_ == 5) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 5) {
- return utf8Builder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- public Builder setUtf8(io.github.dfa1.vortex.proto.DTypeProtos.Utf8 value) {
- if (utf8Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- utf8Builder_.setMessage(value);
- }
- dtypeTypeCase_ = 5;
- return this;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- public Builder setUtf8(
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8.Builder builderForValue) {
- if (utf8Builder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- utf8Builder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 5;
- return this;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- public Builder mergeUtf8(io.github.dfa1.vortex.proto.DTypeProtos.Utf8 value) {
- if (utf8Builder_ == null) {
- if (dtypeTypeCase_ == 5 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Utf8.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 5) {
- utf8Builder_.mergeFrom(value);
- } else {
- utf8Builder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 5;
- return this;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- public Builder clearUtf8() {
- if (utf8Builder_ == null) {
- if (dtypeTypeCase_ == 5) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 5) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- utf8Builder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Utf8.Builder getUtf8Builder() {
- return internalGetUtf8FieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Utf8OrBuilder getUtf8OrBuilder() {
- if ((dtypeTypeCase_ == 5) && (utf8Builder_ != null)) {
- return utf8Builder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 5) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Utf8 utf8 = 5;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8, io.github.dfa1.vortex.proto.DTypeProtos.Utf8.Builder, io.github.dfa1.vortex.proto.DTypeProtos.Utf8OrBuilder>
- internalGetUtf8FieldBuilder() {
- if (utf8Builder_ == null) {
- if (!(dtypeTypeCase_ == 5)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Utf8.getDefaultInstance();
- }
- utf8Builder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Utf8, io.github.dfa1.vortex.proto.DTypeProtos.Utf8.Builder, io.github.dfa1.vortex.proto.DTypeProtos.Utf8OrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Utf8) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 5;
- onChanged();
- return utf8Builder_;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return Whether the binary field is set.
- */
- @java.lang.Override
- public boolean hasBinary() {
- return dtypeTypeCase_ == 6;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- *
- * @return The binary.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Binary getBinary() {
- if (binaryBuilder_ == null) {
- if (dtypeTypeCase_ == 6) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 6) {
- return binaryBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- public Builder setBinary(io.github.dfa1.vortex.proto.DTypeProtos.Binary value) {
- if (binaryBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- binaryBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 6;
- return this;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- public Builder setBinary(
- io.github.dfa1.vortex.proto.DTypeProtos.Binary.Builder builderForValue) {
- if (binaryBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- binaryBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 6;
- return this;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- public Builder mergeBinary(io.github.dfa1.vortex.proto.DTypeProtos.Binary value) {
- if (binaryBuilder_ == null) {
- if (dtypeTypeCase_ == 6 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Binary.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 6) {
- binaryBuilder_.mergeFrom(value);
- } else {
- binaryBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 6;
- return this;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- public Builder clearBinary() {
- if (binaryBuilder_ == null) {
- if (dtypeTypeCase_ == 6) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 6) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- binaryBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Binary.Builder getBinaryBuilder() {
- return internalGetBinaryFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.BinaryOrBuilder getBinaryOrBuilder() {
- if ((dtypeTypeCase_ == 6) && (binaryBuilder_ != null)) {
- return binaryBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 6) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Binary binary = 6;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Binary, io.github.dfa1.vortex.proto.DTypeProtos.Binary.Builder, io.github.dfa1.vortex.proto.DTypeProtos.BinaryOrBuilder>
- internalGetBinaryFieldBuilder() {
- if (binaryBuilder_ == null) {
- if (!(dtypeTypeCase_ == 6)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Binary.getDefaultInstance();
- }
- binaryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Binary, io.github.dfa1.vortex.proto.DTypeProtos.Binary.Builder, io.github.dfa1.vortex.proto.DTypeProtos.BinaryOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Binary) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 6;
- onChanged();
- return binaryBuilder_;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return Whether the struct field is set.
- */
- @java.lang.Override
- public boolean hasStruct() {
- return dtypeTypeCase_ == 7;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- *
- * @return The struct.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Struct getStruct() {
- if (structBuilder_ == null) {
- if (dtypeTypeCase_ == 7) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 7) {
- return structBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- public Builder setStruct(io.github.dfa1.vortex.proto.DTypeProtos.Struct value) {
- if (structBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- structBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 7;
- return this;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- public Builder setStruct(
- io.github.dfa1.vortex.proto.DTypeProtos.Struct.Builder builderForValue) {
- if (structBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- structBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 7;
- return this;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- public Builder mergeStruct(io.github.dfa1.vortex.proto.DTypeProtos.Struct value) {
- if (structBuilder_ == null) {
- if (dtypeTypeCase_ == 7 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Struct.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 7) {
- structBuilder_.mergeFrom(value);
- } else {
- structBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 7;
- return this;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- public Builder clearStruct() {
- if (structBuilder_ == null) {
- if (dtypeTypeCase_ == 7) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 7) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- structBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Struct.Builder getStructBuilder() {
- return internalGetStructFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.StructOrBuilder getStructOrBuilder() {
- if ((dtypeTypeCase_ == 7) && (structBuilder_ != null)) {
- return structBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 7) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Struct struct = 7;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Struct, io.github.dfa1.vortex.proto.DTypeProtos.Struct.Builder, io.github.dfa1.vortex.proto.DTypeProtos.StructOrBuilder>
- internalGetStructFieldBuilder() {
- if (structBuilder_ == null) {
- if (!(dtypeTypeCase_ == 7)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Struct.getDefaultInstance();
- }
- structBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Struct, io.github.dfa1.vortex.proto.DTypeProtos.Struct.Builder, io.github.dfa1.vortex.proto.DTypeProtos.StructOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Struct) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 7;
- onChanged();
- return structBuilder_;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return Whether the list field is set.
- */
- @java.lang.Override
- public boolean hasList() {
- return dtypeTypeCase_ == 8;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- *
- * @return The list.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.List getList() {
- if (listBuilder_ == null) {
- if (dtypeTypeCase_ == 8) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 8) {
- return listBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- public Builder setList(io.github.dfa1.vortex.proto.DTypeProtos.List value) {
- if (listBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- listBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 8;
- return this;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- public Builder setList(
- io.github.dfa1.vortex.proto.DTypeProtos.List.Builder builderForValue) {
- if (listBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- listBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 8;
- return this;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- public Builder mergeList(io.github.dfa1.vortex.proto.DTypeProtos.List value) {
- if (listBuilder_ == null) {
- if (dtypeTypeCase_ == 8 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.List.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 8) {
- listBuilder_.mergeFrom(value);
- } else {
- listBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 8;
- return this;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- public Builder clearList() {
- if (listBuilder_ == null) {
- if (dtypeTypeCase_ == 8) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 8) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- listBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.List.Builder getListBuilder() {
- return internalGetListFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.ListOrBuilder getListOrBuilder() {
- if ((dtypeTypeCase_ == 8) && (listBuilder_ != null)) {
- return listBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 8) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.List list = 8;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.List, io.github.dfa1.vortex.proto.DTypeProtos.List.Builder, io.github.dfa1.vortex.proto.DTypeProtos.ListOrBuilder>
- internalGetListFieldBuilder() {
- if (listBuilder_ == null) {
- if (!(dtypeTypeCase_ == 8)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.List.getDefaultInstance();
- }
- listBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.List, io.github.dfa1.vortex.proto.DTypeProtos.List.Builder, io.github.dfa1.vortex.proto.DTypeProtos.ListOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.List) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 8;
- onChanged();
- return listBuilder_;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return Whether the extension field is set.
- */
- @java.lang.Override
- public boolean hasExtension() {
- return dtypeTypeCase_ == 9;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- *
- * @return The extension.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Extension getExtension() {
- if (extensionBuilder_ == null) {
- if (dtypeTypeCase_ == 9) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 9) {
- return extensionBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- public Builder setExtension(io.github.dfa1.vortex.proto.DTypeProtos.Extension value) {
- if (extensionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- extensionBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 9;
- return this;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- public Builder setExtension(
- io.github.dfa1.vortex.proto.DTypeProtos.Extension.Builder builderForValue) {
- if (extensionBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- extensionBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 9;
- return this;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- public Builder mergeExtension(io.github.dfa1.vortex.proto.DTypeProtos.Extension value) {
- if (extensionBuilder_ == null) {
- if (dtypeTypeCase_ == 9 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Extension.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 9) {
- extensionBuilder_.mergeFrom(value);
- } else {
- extensionBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 9;
- return this;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- public Builder clearExtension() {
- if (extensionBuilder_ == null) {
- if (dtypeTypeCase_ == 9) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 9) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- extensionBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Extension.Builder getExtensionBuilder() {
- return internalGetExtensionFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.ExtensionOrBuilder getExtensionOrBuilder() {
- if ((dtypeTypeCase_ == 9) && (extensionBuilder_ != null)) {
- return extensionBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 9) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Extension extension = 9;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Extension, io.github.dfa1.vortex.proto.DTypeProtos.Extension.Builder, io.github.dfa1.vortex.proto.DTypeProtos.ExtensionOrBuilder>
- internalGetExtensionFieldBuilder() {
- if (extensionBuilder_ == null) {
- if (!(dtypeTypeCase_ == 9)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Extension.getDefaultInstance();
- }
- extensionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Extension, io.github.dfa1.vortex.proto.DTypeProtos.Extension.Builder, io.github.dfa1.vortex.proto.DTypeProtos.ExtensionOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Extension) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 9;
- onChanged();
- return extensionBuilder_;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return Whether the fixedSizeList field is set.
- */
- @java.lang.Override
- public boolean hasFixedSizeList() {
- return dtypeTypeCase_ == 10;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- *
- * @return The fixedSizeList.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList getFixedSizeList() {
- if (fixedSizeListBuilder_ == null) {
- if (dtypeTypeCase_ == 10) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 10) {
- return fixedSizeListBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- }
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- public Builder setFixedSizeList(io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList value) {
- if (fixedSizeListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- fixedSizeListBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 10;
- return this;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- public Builder setFixedSizeList(
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.Builder builderForValue) {
- if (fixedSizeListBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- fixedSizeListBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 10;
- return this;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- public Builder mergeFixedSizeList(io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList value) {
- if (fixedSizeListBuilder_ == null) {
- if (dtypeTypeCase_ == 10 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 10) {
- fixedSizeListBuilder_.mergeFrom(value);
- } else {
- fixedSizeListBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 10;
- return this;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- public Builder clearFixedSizeList() {
- if (fixedSizeListBuilder_ == null) {
- if (dtypeTypeCase_ == 10) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 10) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- fixedSizeListBuilder_.clear();
- }
- return this;
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.Builder getFixedSizeListBuilder() {
- return internalGetFixedSizeListFieldBuilder().getBuilder();
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeListOrBuilder getFixedSizeListOrBuilder() {
- if ((dtypeTypeCase_ == 10) && (fixedSizeListBuilder_ != null)) {
- return fixedSizeListBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 10) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- }
- }
-
- /**
- * - * This is after `Extension` for backwards compatibility. - *- * - *
.vortex.dtype.FixedSizeList fixed_size_list = 10;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList, io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.Builder, io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeListOrBuilder>
- internalGetFixedSizeListFieldBuilder() {
- if (fixedSizeListBuilder_ == null) {
- if (!(dtypeTypeCase_ == 10)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.getDefaultInstance();
- }
- fixedSizeListBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList, io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList.Builder, io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeListOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.FixedSizeList) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 10;
- onChanged();
- return fixedSizeListBuilder_;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return Whether the variant field is set.
- */
- @java.lang.Override
- public boolean hasVariant() {
- return dtypeTypeCase_ == 11;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- *
- * @return The variant.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Variant getVariant() {
- if (variantBuilder_ == null) {
- if (dtypeTypeCase_ == 11) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 11) {
- return variantBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- public Builder setVariant(io.github.dfa1.vortex.proto.DTypeProtos.Variant value) {
- if (variantBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- variantBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 11;
- return this;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- public Builder setVariant(
- io.github.dfa1.vortex.proto.DTypeProtos.Variant.Builder builderForValue) {
- if (variantBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- variantBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 11;
- return this;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- public Builder mergeVariant(io.github.dfa1.vortex.proto.DTypeProtos.Variant value) {
- if (variantBuilder_ == null) {
- if (dtypeTypeCase_ == 11 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Variant.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 11) {
- variantBuilder_.mergeFrom(value);
- } else {
- variantBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 11;
- return this;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- public Builder clearVariant() {
- if (variantBuilder_ == null) {
- if (dtypeTypeCase_ == 11) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 11) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- variantBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Variant.Builder getVariantBuilder() {
- return internalGetVariantFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.VariantOrBuilder getVariantOrBuilder() {
- if ((dtypeTypeCase_ == 11) && (variantBuilder_ != null)) {
- return variantBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 11) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Variant variant = 11;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Variant, io.github.dfa1.vortex.proto.DTypeProtos.Variant.Builder, io.github.dfa1.vortex.proto.DTypeProtos.VariantOrBuilder>
- internalGetVariantFieldBuilder() {
- if (variantBuilder_ == null) {
- if (!(dtypeTypeCase_ == 11)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Variant.getDefaultInstance();
- }
- variantBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Variant, io.github.dfa1.vortex.proto.DTypeProtos.Variant.Builder, io.github.dfa1.vortex.proto.DTypeProtos.VariantOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Variant) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 11;
- onChanged();
- return variantBuilder_;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return Whether the union field is set.
- */
- @java.lang.Override
- public boolean hasUnion() {
- return dtypeTypeCase_ == 12;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- *
- * @return The union.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Union getUnion() {
- if (unionBuilder_ == null) {
- if (dtypeTypeCase_ == 12) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- } else {
- if (dtypeTypeCase_ == 12) {
- return unionBuilder_.getMessage();
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- public Builder setUnion(io.github.dfa1.vortex.proto.DTypeProtos.Union value) {
- if (unionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dtypeType_ = value;
- onChanged();
- } else {
- unionBuilder_.setMessage(value);
- }
- dtypeTypeCase_ = 12;
- return this;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- public Builder setUnion(
- io.github.dfa1.vortex.proto.DTypeProtos.Union.Builder builderForValue) {
- if (unionBuilder_ == null) {
- dtypeType_ = builderForValue.build();
- onChanged();
- } else {
- unionBuilder_.setMessage(builderForValue.build());
- }
- dtypeTypeCase_ = 12;
- return this;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- public Builder mergeUnion(io.github.dfa1.vortex.proto.DTypeProtos.Union value) {
- if (unionBuilder_ == null) {
- if (dtypeTypeCase_ == 12 &&
- dtypeType_ != io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance()) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Union.newBuilder((io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_)
- .mergeFrom(value).buildPartial();
- } else {
- dtypeType_ = value;
- }
- onChanged();
- } else {
- if (dtypeTypeCase_ == 12) {
- unionBuilder_.mergeFrom(value);
- } else {
- unionBuilder_.setMessage(value);
- }
- }
- dtypeTypeCase_ = 12;
- return this;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- public Builder clearUnion() {
- if (unionBuilder_ == null) {
- if (dtypeTypeCase_ == 12) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- onChanged();
- }
- } else {
- if (dtypeTypeCase_ == 12) {
- dtypeTypeCase_ = 0;
- dtypeType_ = null;
- }
- unionBuilder_.clear();
- }
- return this;
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Union.Builder getUnionBuilder() {
- return internalGetUnionFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.UnionOrBuilder getUnionOrBuilder() {
- if ((dtypeTypeCase_ == 12) && (unionBuilder_ != null)) {
- return unionBuilder_.getMessageOrBuilder();
- } else {
- if (dtypeTypeCase_ == 12) {
- return (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_;
- }
- return io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- }
- }
-
- /**
- * .vortex.dtype.Union union = 12;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Union, io.github.dfa1.vortex.proto.DTypeProtos.Union.Builder, io.github.dfa1.vortex.proto.DTypeProtos.UnionOrBuilder>
- internalGetUnionFieldBuilder() {
- if (unionBuilder_ == null) {
- if (!(dtypeTypeCase_ == 12)) {
- dtypeType_ = io.github.dfa1.vortex.proto.DTypeProtos.Union.getDefaultInstance();
- }
- unionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.DTypeProtos.Union, io.github.dfa1.vortex.proto.DTypeProtos.Union.Builder, io.github.dfa1.vortex.proto.DTypeProtos.UnionOrBuilder>(
- (io.github.dfa1.vortex.proto.DTypeProtos.Union) dtypeType_,
- getParentForChildren(),
- isClean());
- dtypeType_ = null;
- }
- dtypeTypeCase_ = 12;
- onChanged();
- return unionBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.DType)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.Field}
- */
- public static final class Field extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.Field)
- FieldOrBuilder {
- public static final int NAME_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.Field)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.Field DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserstring name = 1;
- *
- * @return Whether the name field is set.
- */
- public boolean hasName() {
- return fieldTypeCase_ == 1;
- }
-
- /**
- * string name = 1;
- *
- * @return The name.
- */
- public java.lang.String getName() {
- if (fieldTypeCase_ != 1) {
- return "";
- }
- java.lang.Object ref = fieldType_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- fieldType_ = s;
- return s;
- }
- }
-
- /**
- * string name = 1;
- *
- * @return The bytes for name.
- */
- public com.google.protobuf.ByteString
- getNameBytes() {
- if (fieldTypeCase_ != 1) {
- return com.google.protobuf.ByteString.copyFromUtf8("");
- }
- java.lang.Object ref = fieldType_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- fieldType_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (fieldTypeCase_ == 1) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, fieldType_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (fieldTypeCase_ == 1) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, fieldType_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.Field)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.Field other = (io.github.dfa1.vortex.proto.DTypeProtos.Field) obj;
-
- if (!getFieldTypeCase().equals(other.getFieldTypeCase())) {
- return false;
- }
- switch (fieldTypeCase_) {
- case 1:
- if (!getName()
- .equals(other.getName())) {
- return false;
- }
- break;
- case 0:
- default:
- }
- 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();
- switch (fieldTypeCase_) {
- case 1:
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserstring name = 1;
- *
- * @return Whether the name field is set.
- */
- @java.lang.Override
- public boolean hasName() {
- return fieldTypeCase_ == 1;
- }
-
- /**
- * string name = 1;
- *
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- if (fieldTypeCase_ != 1) {
- return "";
- }
- java.lang.Object ref = fieldType_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- fieldType_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
-
- /**
- * string name = 1;
- *
- * @param value The name to set.
- * @return This builder for chaining.
- */
- public Builder setName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- fieldTypeCase_ = 1;
- fieldType_ = value;
- onChanged();
- return this;
- }
-
- /**
- * string name = 1;
- *
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- if (fieldTypeCase_ != 1) {
- return com.google.protobuf.ByteString.copyFromUtf8("");
- }
- java.lang.Object ref = fieldType_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- fieldType_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- /**
- * string name = 1;
- *
- * @param value The bytes for name to set.
- * @return This builder for chaining.
- */
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- fieldTypeCase_ = 1;
- fieldType_ = value;
- onChanged();
- return this;
- }
-
- /**
- * string name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearName() {
- if (fieldTypeCase_ == 1) {
- fieldTypeCase_ = 0;
- fieldType_ = null;
- onChanged();
- }
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.dtype.Field)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.dtype.FieldPath}
- */
- public static final class FieldPath extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.dtype.FieldPath)
- FieldPathOrBuilder {
- public static final int PATH_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.dtype.FieldPath)
- private static final io.github.dfa1.vortex.proto.DTypeProtos.FieldPath DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserrepeated .vortex.dtype.Field path = 1;
- */
- @java.lang.Override
- public java.util.Listrepeated .vortex.dtype.Field path = 1;
- */
- @java.lang.Override
- public java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder>
- getPathOrBuilderList() {
- return path_;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- @java.lang.Override
- public int getPathCount() {
- return path_.size();
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.Field getPath(int index) {
- return path_.get(index);
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder getPathOrBuilder(
- int index) {
- return path_.get(index);
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < path_.size(); i++) {
- output.writeMessage(1, path_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
-
- {
- final int count = path_.size();
- for (int i = 0; i < count; i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSizeNoTag(path_.get(i));
- }
- size += 1 * count;
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.DTypeProtos.FieldPath)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.DTypeProtos.FieldPath other = (io.github.dfa1.vortex.proto.DTypeProtos.FieldPath) obj;
-
- if (!getPathList()
- .equals(other.getPathList())) {
- 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 (getPathCount() > 0) {
- hash = (37 * hash) + PATH_FIELD_NUMBER;
- hash = (53 * hash) + getPathList().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserrepeated .vortex.dtype.Field path = 1;
- */
- public java.util.Listrepeated .vortex.dtype.Field path = 1;
- */
- public int getPathCount() {
- if (pathBuilder_ == null) {
- return path_.size();
- } else {
- return pathBuilder_.getCount();
- }
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Field getPath(int index) {
- if (pathBuilder_ == null) {
- return path_.get(index);
- } else {
- return pathBuilder_.getMessage(index);
- }
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder setPath(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.Field value) {
- if (pathBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePathIsMutable();
- path_.set(index, value);
- onChanged();
- } else {
- pathBuilder_.setMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder setPath(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder builderForValue) {
- if (pathBuilder_ == null) {
- ensurePathIsMutable();
- path_.set(index, builderForValue.build());
- onChanged();
- } else {
- pathBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder addPath(io.github.dfa1.vortex.proto.DTypeProtos.Field value) {
- if (pathBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePathIsMutable();
- path_.add(value);
- onChanged();
- } else {
- pathBuilder_.addMessage(value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder addPath(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.Field value) {
- if (pathBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePathIsMutable();
- path_.add(index, value);
- onChanged();
- } else {
- pathBuilder_.addMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder addPath(
- io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder builderForValue) {
- if (pathBuilder_ == null) {
- ensurePathIsMutable();
- path_.add(builderForValue.build());
- onChanged();
- } else {
- pathBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder addPath(
- int index, io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder builderForValue) {
- if (pathBuilder_ == null) {
- ensurePathIsMutable();
- path_.add(index, builderForValue.build());
- onChanged();
- } else {
- pathBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder addAllPath(
- java.lang.Iterable extends io.github.dfa1.vortex.proto.DTypeProtos.Field> values) {
- if (pathBuilder_ == null) {
- ensurePathIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, path_);
- onChanged();
- } else {
- pathBuilder_.addAllMessages(values);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder clearPath() {
- if (pathBuilder_ == null) {
- path_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- pathBuilder_.clear();
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public Builder removePath(int index) {
- if (pathBuilder_ == null) {
- ensurePathIsMutable();
- path_.remove(index);
- onChanged();
- } else {
- pathBuilder_.remove(index);
- }
- return this;
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder getPathBuilder(
- int index) {
- return internalGetPathFieldBuilder().getBuilder(index);
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder getPathOrBuilder(
- int index) {
- if (pathBuilder_ == null) {
- return path_.get(index);
- } else {
- return pathBuilder_.getMessageOrBuilder(index);
- }
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public java.util.List extends io.github.dfa1.vortex.proto.DTypeProtos.FieldOrBuilder>
- getPathOrBuilderList() {
- if (pathBuilder_ != null) {
- return pathBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(path_);
- }
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder addPathBuilder() {
- return internalGetPathFieldBuilder().addBuilder(
- io.github.dfa1.vortex.proto.DTypeProtos.Field.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public io.github.dfa1.vortex.proto.DTypeProtos.Field.Builder addPathBuilder(
- int index) {
- return internalGetPathFieldBuilder().addBuilder(
- index, io.github.dfa1.vortex.proto.DTypeProtos.Field.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.dtype.Field path = 1;
- */
- public java.util.Listuint64 len = 1;
- *
- * @return The len.
- */
- long getLen();
-
- /**
- * uint64 offset = 2;
- *
- * @return The offset.
- */
- long getOffset();
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- int getIndicesPtypeValue();
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype();
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return Whether the chunkOffsetsLen field is set.
- */
- boolean hasChunkOffsetsLen();
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return The chunkOffsetsLen.
- */
- long getChunkOffsetsLen();
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return Whether the chunkOffsetsPtype field is set.
- */
- boolean hasChunkOffsetsPtype();
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for chunkOffsetsPtype.
- */
- int getChunkOffsetsPtypeValue();
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The chunkOffsetsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getChunkOffsetsPtype();
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return Whether the offsetWithinChunk field is set.
- */
- boolean hasOffsetWithinChunk();
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return The offsetWithinChunk.
- */
- long getOffsetWithinChunk();
- }
-
- public interface SparseMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.SparseMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return Whether the patches field is set.
- */
- boolean hasPatches();
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return The patches.
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches();
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder();
- }
-
- public interface DictMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.DictMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 values_len = 1;
- *
- * @return The valuesLen.
- */
- int getValuesLen();
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesPtype.
- */
- int getCodesPtypeValue();
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The codesPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesPtype();
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return Whether the isNullableCodes field is set.
- */
- boolean hasIsNullableCodes();
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return The isNullableCodes.
- */
- boolean getIsNullableCodes();
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return Whether the allValuesReferenced field is set.
- */
- boolean hasAllValuesReferenced();
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return The allValuesReferenced.
- */
- boolean getAllValuesReferenced();
- }
-
- public interface RunEndMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.RunEndMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @return The enum numeric value on the wire for endsPtype.
- */
- int getEndsPtypeValue();
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @return The endsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getEndsPtype();
-
- /**
- * uint64 num_runs = 2;
- *
- * @return The numRuns.
- */
- long getNumRuns();
-
- /**
- * uint64 offset = 3;
- *
- * @return The offset.
- */
- long getOffset();
- }
-
- public interface ALPMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ALPMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 exp_e = 1;
- *
- * @return The expE.
- */
- int getExpE();
-
- /**
- * uint32 exp_f = 2;
- *
- * @return The expF.
- */
- int getExpF();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- boolean hasPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder();
- }
-
- public interface BitPackedMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.BitPackedMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 bit_width = 1;
- *
- * @return The bitWidth.
- */
- int getBitWidth();
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- int getOffset();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- boolean hasPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder();
- }
-
- public interface SequenceMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.SequenceMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- *
- * @return Whether the base field is set.
- */
- boolean hasBase();
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- *
- * @return The base.
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getBase();
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getBaseOrBuilder();
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return Whether the multiplier field is set.
- */
- boolean hasMultiplier();
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return The multiplier.
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getMultiplier();
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getMultiplierOrBuilder();
- }
-
- public interface VarBinMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.VarBinMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The enum numeric value on the wire for offsetsPtype.
- */
- int getOffsetsPtypeValue();
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The offsetsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetsPtype();
- }
-
- public interface FSSTMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.FSSTMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The enum numeric value on the wire for uncompressedLengthsPtype.
- */
- int getUncompressedLengthsPtypeValue();
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The uncompressedLengthsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getUncompressedLengthsPtype();
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesOffsetsPtype.
- */
- int getCodesOffsetsPtypeValue();
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The codesOffsetsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesOffsetsPtype();
- }
-
- public interface DeltaMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.DeltaMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint64 deltas_len = 1;
- *
- * @return The deltasLen.
- */
- long getDeltasLen();
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- int getOffset();
- }
-
- public interface DecimalMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.DecimalMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * - * DecimalType: I8=0, I16=1, I32=2, I64=3, I128=4, I256=5 - *- * - *
int32 values_type = 1;
- *
- * @return The valuesType.
- */
- int getValuesType();
- }
-
- public interface DecimalBytePartsMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.DecimalBytePartsMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The enum numeric value on the wire for zerothChildPtype.
- */
- int getZerothChildPtypeValue();
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The zerothChildPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getZerothChildPtype();
-
- /**
- * uint32 lower_part_count = 2;
- *
- * @return The lowerPartCount.
- */
- int getLowerPartCount();
- }
-
- public interface DateTimePartsMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.DateTimePartsMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @return The enum numeric value on the wire for daysPtype.
- */
- int getDaysPtypeValue();
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @return The daysPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getDaysPtype();
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The enum numeric value on the wire for secondsPtype.
- */
- int getSecondsPtypeValue();
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The secondsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getSecondsPtype();
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The enum numeric value on the wire for subsecondsPtype.
- */
- int getSubsecondsPtypeValue();
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The subsecondsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getSubsecondsPtype();
- }
-
- public interface ZstdFrameMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ZstdFrameMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint64 uncompressed_size = 1;
- *
- * @return The uncompressedSize.
- */
- long getUncompressedSize();
-
- /**
- * uint64 n_values = 2;
- *
- * @return The nValues.
- */
- long getNValues();
- }
-
- public interface ZstdMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ZstdMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 dictionary_size = 1;
- *
- * @return The dictionarySize.
- */
- int getDictionarySize();
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- java.util.Listrepeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata getFrames(int index);
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- int getFramesCount();
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder>
- getFramesOrBuilderList();
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder getFramesOrBuilder(
- int index);
- }
-
- public interface RLEMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.RLEMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint64 values_len = 1;
- *
- * @return The valuesLen.
- */
- long getValuesLen();
-
- /**
- * uint64 indices_len = 2;
- *
- * @return The indicesLen.
- */
- long getIndicesLen();
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- int getIndicesPtypeValue();
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype();
-
- /**
- * uint64 values_idx_offsets_len = 4;
- *
- * @return The valuesIdxOffsetsLen.
- */
- long getValuesIdxOffsetsLen();
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for valuesIdxOffsetsPtype.
- */
- int getValuesIdxOffsetsPtypeValue();
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The valuesIdxOffsetsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getValuesIdxOffsetsPtype();
-
- /**
- * uint64 offset = 6;
- *
- * @return The offset.
- */
- long getOffset();
- }
-
- public interface ListMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ListMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- long getElementsLen();
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- int getOffsetPtypeValue();
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype();
- }
-
- public interface ListViewMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ListViewMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- long getElementsLen();
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- int getOffsetPtypeValue();
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype();
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The enum numeric value on the wire for sizePtype.
- */
- int getSizePtypeValue();
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The sizePtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getSizePtype();
- }
-
- public interface ALPRDMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.ALPRDMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 right_bit_width = 1;
- *
- * @return The rightBitWidth.
- */
- int getRightBitWidth();
-
- /**
- * uint32 dict_len = 2;
- *
- * @return The dictLen.
- */
- int getDictLen();
-
- /**
- * repeated uint32 dict = 3;
- *
- * @return A list containing the dict.
- */
- java.util.Listrepeated uint32 dict = 3;
- *
- * @return The count of dict.
- */
- int getDictCount();
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param index The index of the element to return.
- * @return The dict at the given index.
- */
- int getDict(int index);
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The enum numeric value on the wire for leftPartsPtype.
- */
- int getLeftPartsPtypeValue();
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The leftPartsPtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.PType getLeftPartsPtype();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return Whether the patches field is set.
- */
- boolean hasPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return The patches.
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches();
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder();
- }
-
- public interface PcoPageInfoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.PcoPageInfo)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 n_values = 1;
- *
- * @return The nValues.
- */
- int getNValues();
- }
-
- public interface PcoChunkInfoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.PcoChunkInfo)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- java.util.Listrepeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo getPages(int index);
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- int getPagesCount();
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder>
- getPagesOrBuilderList();
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder getPagesOrBuilder(
- int index);
- }
-
- public interface PcoMetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.encodings.PcoMetadata)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * bytes header = 1;
- *
- * @return The header.
- */
- com.google.protobuf.ByteString getHeader();
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- java.util.Listrepeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo getChunks(int index);
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- int getChunksCount();
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder>
- getChunksOrBuilderList();
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder getChunksOrBuilder(
- int index);
- }
-
- /**
- * Protobuf type {@code vortex.encodings.PatchesMetadata}
- */
- public static final class PatchesMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.PatchesMetadata)
- PatchesMetadataOrBuilder {
- public static final int LEN_FIELD_NUMBER = 1;
- public static final int OFFSET_FIELD_NUMBER = 2;
- public static final int INDICES_PTYPE_FIELD_NUMBER = 3;
- public static final int CHUNK_OFFSETS_LEN_FIELD_NUMBER = 4;
- public static final int CHUNK_OFFSETS_PTYPE_FIELD_NUMBER = 5;
- public static final int OFFSET_WITHIN_CHUNK_FIELD_NUMBER = 6;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.PatchesMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint64 len = 1;
- *
- * @return The len.
- */
- @java.lang.Override
- public long getLen() {
- return len_;
- }
-
- /**
- * uint64 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- @java.lang.Override
- public int getIndicesPtypeValue() {
- return indicesPtype_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(indicesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return Whether the chunkOffsetsLen field is set.
- */
- @java.lang.Override
- public boolean hasChunkOffsetsLen() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return The chunkOffsetsLen.
- */
- @java.lang.Override
- public long getChunkOffsetsLen() {
- return chunkOffsetsLen_;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return Whether the chunkOffsetsPtype field is set.
- */
- @java.lang.Override
- public boolean hasChunkOffsetsPtype() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for chunkOffsetsPtype.
- */
- @java.lang.Override
- public int getChunkOffsetsPtypeValue() {
- return chunkOffsetsPtype_;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The chunkOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getChunkOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(chunkOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return Whether the offsetWithinChunk field is set.
- */
- @java.lang.Override
- public boolean hasOffsetWithinChunk() {
- return ((bitField0_ & 0x00000004) != 0);
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return The offsetWithinChunk.
- */
- @java.lang.Override
- public long getOffsetWithinChunk() {
- return offsetWithinChunk_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (len_ != 0L) {
- output.writeUInt64(1, len_);
- }
- if (offset_ != 0L) {
- output.writeUInt64(2, offset_);
- }
- if (indicesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(3, indicesPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeUInt64(4, chunkOffsetsLen_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeEnum(5, chunkOffsetsPtype_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeUInt64(6, offsetWithinChunk_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (len_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, len_);
- }
- if (offset_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, offset_);
- }
- if (indicesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, indicesPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(4, chunkOffsetsLen_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(5, chunkOffsetsPtype_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(6, offsetWithinChunk_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata) obj;
-
- if (getLen()
- != other.getLen()) {
- return false;
- }
- if (getOffset()
- != other.getOffset()) {
- return false;
- }
- if (indicesPtype_ != other.indicesPtype_) {
- return false;
- }
- if (hasChunkOffsetsLen() != other.hasChunkOffsetsLen()) {
- return false;
- }
- if (hasChunkOffsetsLen()) {
- if (getChunkOffsetsLen()
- != other.getChunkOffsetsLen()) {
- return false;
- }
- }
- if (hasChunkOffsetsPtype() != other.hasChunkOffsetsPtype()) {
- return false;
- }
- if (hasChunkOffsetsPtype()) {
- if (chunkOffsetsPtype_ != other.chunkOffsetsPtype_) {
- return false;
- }
- }
- if (hasOffsetWithinChunk() != other.hasOffsetWithinChunk()) {
- return false;
- }
- if (hasOffsetWithinChunk()) {
- if (getOffsetWithinChunk()
- != other.getOffsetWithinChunk()) {
- 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();
- hash = (37 * hash) + LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getLen());
- hash = (37 * hash) + OFFSET_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getOffset());
- hash = (37 * hash) + INDICES_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + indicesPtype_;
- if (hasChunkOffsetsLen()) {
- hash = (37 * hash) + CHUNK_OFFSETS_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getChunkOffsetsLen());
- }
- if (hasChunkOffsetsPtype()) {
- hash = (37 * hash) + CHUNK_OFFSETS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + chunkOffsetsPtype_;
- }
- if (hasOffsetWithinChunk()) {
- hash = (37 * hash) + OFFSET_WITHIN_CHUNK_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getOffsetWithinChunk());
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 len = 1;
- *
- * @return The len.
- */
- @java.lang.Override
- public long getLen() {
- return len_;
- }
-
- /**
- * uint64 len = 1;
- *
- * @param value The len to set.
- * @return This builder for chaining.
- */
- public Builder setLen(long value) {
-
- len_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- len_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- /**
- * uint64 offset = 2;
- *
- * @param value The offset to set.
- * @return This builder for chaining.
- */
- public Builder setOffset(long value) {
-
- offset_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000002);
- offset_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- @java.lang.Override
- public int getIndicesPtypeValue() {
- return indicesPtype_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @param value The enum numeric value on the wire for indicesPtype to set.
- * @return This builder for chaining.
- */
- public Builder setIndicesPtypeValue(int value) {
- indicesPtype_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(indicesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @param value The indicesPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setIndicesPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- indicesPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearIndicesPtype() {
- bitField0_ = (bitField0_ & ~0x00000004);
- indicesPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return Whether the chunkOffsetsLen field is set.
- */
- @java.lang.Override
- public boolean hasChunkOffsetsLen() {
- return ((bitField0_ & 0x00000008) != 0);
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return The chunkOffsetsLen.
- */
- @java.lang.Override
- public long getChunkOffsetsLen() {
- return chunkOffsetsLen_;
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @param value The chunkOffsetsLen to set.
- * @return This builder for chaining.
- */
- public Builder setChunkOffsetsLen(long value) {
-
- chunkOffsetsLen_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
-
- /**
- * optional uint64 chunk_offsets_len = 4;
- *
- * @return This builder for chaining.
- */
- public Builder clearChunkOffsetsLen() {
- bitField0_ = (bitField0_ & ~0x00000008);
- chunkOffsetsLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return Whether the chunkOffsetsPtype field is set.
- */
- @java.lang.Override
- public boolean hasChunkOffsetsPtype() {
- return ((bitField0_ & 0x00000010) != 0);
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for chunkOffsetsPtype.
- */
- @java.lang.Override
- public int getChunkOffsetsPtypeValue() {
- return chunkOffsetsPtype_;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @param value The enum numeric value on the wire for chunkOffsetsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setChunkOffsetsPtypeValue(int value) {
- chunkOffsetsPtype_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return The chunkOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getChunkOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(chunkOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @param value The chunkOffsetsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setChunkOffsetsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- chunkOffsetsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.dtype.PType chunk_offsets_ptype = 5;
- *
- * @return This builder for chaining.
- */
- public Builder clearChunkOffsetsPtype() {
- bitField0_ = (bitField0_ & ~0x00000010);
- chunkOffsetsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return Whether the offsetWithinChunk field is set.
- */
- @java.lang.Override
- public boolean hasOffsetWithinChunk() {
- return ((bitField0_ & 0x00000020) != 0);
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return The offsetWithinChunk.
- */
- @java.lang.Override
- public long getOffsetWithinChunk() {
- return offsetWithinChunk_;
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @param value The offsetWithinChunk to set.
- * @return This builder for chaining.
- */
- public Builder setOffsetWithinChunk(long value) {
-
- offsetWithinChunk_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
-
- /**
- * optional uint64 offset_within_chunk = 6;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffsetWithinChunk() {
- bitField0_ = (bitField0_ & ~0x00000020);
- offsetWithinChunk_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.PatchesMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.SparseMetadata}
- */
- public static final class SparseMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.SparseMetadata)
- SparseMetadataOrBuilder {
- public static final int PATCHES_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.SparseMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.SparseMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return Whether the patches field is set.
- */
- @java.lang.Override
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return The patches.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getPatches());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getPatches());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.SparseMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.SparseMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.SparseMetadata) obj;
-
- if (hasPatches() != other.hasPatches()) {
- return false;
- }
- if (hasPatches()) {
- if (!getPatches()
- .equals(other.getPatches())) {
- 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 (hasPatches()) {
- hash = (37 * hash) + PATCHES_FIELD_NUMBER;
- hash = (53 * hash) + getPatches().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return Whether the patches field is set.
- */
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- *
- * @return The patches.
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- if (patchesBuilder_ == null) {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- } else {
- return patchesBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public Builder setPatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- patches_ = value;
- } else {
- patchesBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public Builder setPatches(
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder builderForValue) {
- if (patchesBuilder_ == null) {
- patches_ = builderForValue.build();
- } else {
- patchesBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public Builder mergePatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- patches_ != null &&
- patches_ != io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance()) {
- getPatchesBuilder().mergeFrom(value);
- } else {
- patches_ = value;
- }
- } else {
- patchesBuilder_.mergeFrom(value);
- }
- if (patches_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public Builder clearPatches() {
- bitField0_ = (bitField0_ & ~0x00000001);
- patches_ = null;
- if (patchesBuilder_ != null) {
- patchesBuilder_.dispose();
- patchesBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder getPatchesBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return internalGetPatchesFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- if (patchesBuilder_ != null) {
- return patchesBuilder_.getMessageOrBuilder();
- } else {
- return patches_ == null ?
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
- }
-
- /**
- * .vortex.encodings.PatchesMetadata patches = 1;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>
- internalGetPatchesFieldBuilder() {
- if (patchesBuilder_ == null) {
- patchesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>(
- getPatches(),
- getParentForChildren(),
- isClean());
- patches_ = null;
- }
- return patchesBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.SparseMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.DictMetadata}
- */
- public static final class DictMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.DictMetadata)
- DictMetadataOrBuilder {
- public static final int VALUES_LEN_FIELD_NUMBER = 1;
- public static final int CODES_PTYPE_FIELD_NUMBER = 2;
- public static final int IS_NULLABLE_CODES_FIELD_NUMBER = 3;
- public static final int ALL_VALUES_REFERENCED_FIELD_NUMBER = 4;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.DictMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.DictMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 values_len = 1;
- *
- * @return The valuesLen.
- */
- @java.lang.Override
- public int getValuesLen() {
- return valuesLen_;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesPtype.
- */
- @java.lang.Override
- public int getCodesPtypeValue() {
- return codesPtype_;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The codesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(codesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return Whether the isNullableCodes field is set.
- */
- @java.lang.Override
- public boolean hasIsNullableCodes() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return The isNullableCodes.
- */
- @java.lang.Override
- public boolean getIsNullableCodes() {
- return isNullableCodes_;
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return Whether the allValuesReferenced field is set.
- */
- @java.lang.Override
- public boolean hasAllValuesReferenced() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return The allValuesReferenced.
- */
- @java.lang.Override
- public boolean getAllValuesReferenced() {
- return allValuesReferenced_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (valuesLen_ != 0) {
- output.writeUInt32(1, valuesLen_);
- }
- if (codesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(2, codesPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeBool(3, isNullableCodes_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeBool(4, allValuesReferenced_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (valuesLen_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, valuesLen_);
- }
- if (codesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, codesPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, isNullableCodes_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(4, allValuesReferenced_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.DictMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.DictMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.DictMetadata) obj;
-
- if (getValuesLen()
- != other.getValuesLen()) {
- return false;
- }
- if (codesPtype_ != other.codesPtype_) {
- return false;
- }
- if (hasIsNullableCodes() != other.hasIsNullableCodes()) {
- return false;
- }
- if (hasIsNullableCodes()) {
- if (getIsNullableCodes()
- != other.getIsNullableCodes()) {
- return false;
- }
- }
- if (hasAllValuesReferenced() != other.hasAllValuesReferenced()) {
- return false;
- }
- if (hasAllValuesReferenced()) {
- if (getAllValuesReferenced()
- != other.getAllValuesReferenced()) {
- 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();
- hash = (37 * hash) + VALUES_LEN_FIELD_NUMBER;
- hash = (53 * hash) + getValuesLen();
- hash = (37 * hash) + CODES_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + codesPtype_;
- if (hasIsNullableCodes()) {
- hash = (37 * hash) + IS_NULLABLE_CODES_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getIsNullableCodes());
- }
- if (hasAllValuesReferenced()) {
- hash = (37 * hash) + ALL_VALUES_REFERENCED_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getAllValuesReferenced());
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 values_len = 1;
- *
- * @return The valuesLen.
- */
- @java.lang.Override
- public int getValuesLen() {
- return valuesLen_;
- }
-
- /**
- * uint32 values_len = 1;
- *
- * @param value The valuesLen to set.
- * @return This builder for chaining.
- */
- public Builder setValuesLen(int value) {
-
- valuesLen_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 values_len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearValuesLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- valuesLen_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesPtype.
- */
- @java.lang.Override
- public int getCodesPtypeValue() {
- return codesPtype_;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @param value The enum numeric value on the wire for codesPtype to set.
- * @return This builder for chaining.
- */
- public Builder setCodesPtypeValue(int value) {
- codesPtype_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return The codesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(codesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @param value The codesPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setCodesPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- codesPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_ptype = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearCodesPtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- codesPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return Whether the isNullableCodes field is set.
- */
- @java.lang.Override
- public boolean hasIsNullableCodes() {
- return ((bitField0_ & 0x00000004) != 0);
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return The isNullableCodes.
- */
- @java.lang.Override
- public boolean getIsNullableCodes() {
- return isNullableCodes_;
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @param value The isNullableCodes to set.
- * @return This builder for chaining.
- */
- public Builder setIsNullableCodes(boolean value) {
-
- isNullableCodes_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional bool is_nullable_codes = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearIsNullableCodes() {
- bitField0_ = (bitField0_ & ~0x00000004);
- isNullableCodes_ = false;
- onChanged();
- return this;
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return Whether the allValuesReferenced field is set.
- */
- @java.lang.Override
- public boolean hasAllValuesReferenced() {
- return ((bitField0_ & 0x00000008) != 0);
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return The allValuesReferenced.
- */
- @java.lang.Override
- public boolean getAllValuesReferenced() {
- return allValuesReferenced_;
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @param value The allValuesReferenced to set.
- * @return This builder for chaining.
- */
- public Builder setAllValuesReferenced(boolean value) {
-
- allValuesReferenced_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
-
- /**
- * optional bool all_values_referenced = 4;
- *
- * @return This builder for chaining.
- */
- public Builder clearAllValuesReferenced() {
- bitField0_ = (bitField0_ & ~0x00000008);
- allValuesReferenced_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.DictMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.RunEndMetadata}
- */
- public static final class RunEndMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.RunEndMetadata)
- RunEndMetadataOrBuilder {
- public static final int ENDS_PTYPE_FIELD_NUMBER = 1;
- public static final int NUM_RUNS_FIELD_NUMBER = 2;
- public static final int OFFSET_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.RunEndMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.RunEndMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType ends_ptype = 1;
- *
- * @return The enum numeric value on the wire for endsPtype.
- */
- @java.lang.Override
- public int getEndsPtypeValue() {
- return endsPtype_;
- }
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @return The endsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getEndsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(endsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * uint64 num_runs = 2;
- *
- * @return The numRuns.
- */
- @java.lang.Override
- public long getNumRuns() {
- return numRuns_;
- }
-
- /**
- * uint64 offset = 3;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (endsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, endsPtype_);
- }
- if (numRuns_ != 0L) {
- output.writeUInt64(2, numRuns_);
- }
- if (offset_ != 0L) {
- output.writeUInt64(3, offset_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (endsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, endsPtype_);
- }
- if (numRuns_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, numRuns_);
- }
- if (offset_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(3, offset_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.RunEndMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.RunEndMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.RunEndMetadata) obj;
-
- if (endsPtype_ != other.endsPtype_) {
- return false;
- }
- if (getNumRuns()
- != other.getNumRuns()) {
- return false;
- }
- if (getOffset()
- != other.getOffset()) {
- 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();
- hash = (37 * hash) + ENDS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + endsPtype_;
- hash = (37 * hash) + NUM_RUNS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getNumRuns());
- hash = (37 * hash) + OFFSET_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getOffset());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType ends_ptype = 1;
- *
- * @return The enum numeric value on the wire for endsPtype.
- */
- @java.lang.Override
- public int getEndsPtypeValue() {
- return endsPtype_;
- }
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @param value The enum numeric value on the wire for endsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setEndsPtypeValue(int value) {
- endsPtype_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @return The endsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getEndsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(endsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @param value The endsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setEndsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- endsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType ends_ptype = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearEndsPtype() {
- bitField0_ = (bitField0_ & ~0x00000001);
- endsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint64 num_runs = 2;
- *
- * @return The numRuns.
- */
- @java.lang.Override
- public long getNumRuns() {
- return numRuns_;
- }
-
- /**
- * uint64 num_runs = 2;
- *
- * @param value The numRuns to set.
- * @return This builder for chaining.
- */
- public Builder setNumRuns(long value) {
-
- numRuns_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint64 num_runs = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearNumRuns() {
- bitField0_ = (bitField0_ & ~0x00000002);
- numRuns_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 3;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- /**
- * uint64 offset = 3;
- *
- * @param value The offset to set.
- * @return This builder for chaining.
- */
- public Builder setOffset(long value) {
-
- offset_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000004);
- offset_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.RunEndMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ALPMetadata}
- */
- public static final class ALPMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ALPMetadata)
- ALPMetadataOrBuilder {
- public static final int EXP_E_FIELD_NUMBER = 1;
- public static final int EXP_F_FIELD_NUMBER = 2;
- public static final int PATCHES_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ALPMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ALPMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 exp_e = 1;
- *
- * @return The expE.
- */
- @java.lang.Override
- public int getExpE() {
- return expE_;
- }
-
- /**
- * uint32 exp_f = 2;
- *
- * @return The expF.
- */
- @java.lang.Override
- public int getExpF() {
- return expF_;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- @java.lang.Override
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (expE_ != 0) {
- output.writeUInt32(1, expE_);
- }
- if (expF_ != 0) {
- output.writeUInt32(2, expF_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(3, getPatches());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (expE_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, expE_);
- }
- if (expF_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, expF_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getPatches());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ALPMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ALPMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ALPMetadata) obj;
-
- if (getExpE()
- != other.getExpE()) {
- return false;
- }
- if (getExpF()
- != other.getExpF()) {
- return false;
- }
- if (hasPatches() != other.hasPatches()) {
- return false;
- }
- if (hasPatches()) {
- if (!getPatches()
- .equals(other.getPatches())) {
- 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();
- hash = (37 * hash) + EXP_E_FIELD_NUMBER;
- hash = (53 * hash) + getExpE();
- hash = (37 * hash) + EXP_F_FIELD_NUMBER;
- hash = (53 * hash) + getExpF();
- if (hasPatches()) {
- hash = (37 * hash) + PATCHES_FIELD_NUMBER;
- hash = (53 * hash) + getPatches().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 exp_e = 1;
- *
- * @return The expE.
- */
- @java.lang.Override
- public int getExpE() {
- return expE_;
- }
-
- /**
- * uint32 exp_e = 1;
- *
- * @param value The expE to set.
- * @return This builder for chaining.
- */
- public Builder setExpE(int value) {
-
- expE_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 exp_e = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearExpE() {
- bitField0_ = (bitField0_ & ~0x00000001);
- expE_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint32 exp_f = 2;
- *
- * @return The expF.
- */
- @java.lang.Override
- public int getExpF() {
- return expF_;
- }
-
- /**
- * uint32 exp_f = 2;
- *
- * @param value The expF to set.
- * @return This builder for chaining.
- */
- public Builder setExpF(int value) {
-
- expF_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 exp_f = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearExpF() {
- bitField0_ = (bitField0_ & ~0x00000002);
- expF_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000004) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- if (patchesBuilder_ == null) {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- } else {
- return patchesBuilder_.getMessage();
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder setPatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- patches_ = value;
- } else {
- patchesBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder setPatches(
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder builderForValue) {
- if (patchesBuilder_ == null) {
- patches_ = builderForValue.build();
- } else {
- patchesBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder mergePatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- patches_ != null &&
- patches_ != io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance()) {
- getPatchesBuilder().mergeFrom(value);
- } else {
- patches_ = value;
- }
- } else {
- patchesBuilder_.mergeFrom(value);
- }
- if (patches_ != null) {
- bitField0_ |= 0x00000004;
- onChanged();
- }
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder clearPatches() {
- bitField0_ = (bitField0_ & ~0x00000004);
- patches_ = null;
- if (patchesBuilder_ != null) {
- patchesBuilder_.dispose();
- patchesBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder getPatchesBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return internalGetPatchesFieldBuilder().getBuilder();
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- if (patchesBuilder_ != null) {
- return patchesBuilder_.getMessageOrBuilder();
- } else {
- return patches_ == null ?
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>
- internalGetPatchesFieldBuilder() {
- if (patchesBuilder_ == null) {
- patchesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>(
- getPatches(),
- getParentForChildren(),
- isClean());
- patches_ = null;
- }
- return patchesBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.ALPMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.BitPackedMetadata}
- */
- public static final class BitPackedMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.BitPackedMetadata)
- BitPackedMetadataOrBuilder {
- public static final int BIT_WIDTH_FIELD_NUMBER = 1;
- public static final int OFFSET_FIELD_NUMBER = 2;
- public static final int PATCHES_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.BitPackedMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.BitPackedMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 bit_width = 1;
- *
- * @return The bitWidth.
- */
- @java.lang.Override
- public int getBitWidth() {
- return bitWidth_;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public int getOffset() {
- return offset_;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- @java.lang.Override
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (bitWidth_ != 0) {
- output.writeUInt32(1, bitWidth_);
- }
- if (offset_ != 0) {
- output.writeUInt32(2, offset_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(3, getPatches());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (bitWidth_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, bitWidth_);
- }
- if (offset_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, offset_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getPatches());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.BitPackedMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.BitPackedMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.BitPackedMetadata) obj;
-
- if (getBitWidth()
- != other.getBitWidth()) {
- return false;
- }
- if (getOffset()
- != other.getOffset()) {
- return false;
- }
- if (hasPatches() != other.hasPatches()) {
- return false;
- }
- if (hasPatches()) {
- if (!getPatches()
- .equals(other.getPatches())) {
- 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();
- hash = (37 * hash) + BIT_WIDTH_FIELD_NUMBER;
- hash = (53 * hash) + getBitWidth();
- hash = (37 * hash) + OFFSET_FIELD_NUMBER;
- hash = (53 * hash) + getOffset();
- if (hasPatches()) {
- hash = (37 * hash) + PATCHES_FIELD_NUMBER;
- hash = (53 * hash) + getPatches().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 bit_width = 1;
- *
- * @return The bitWidth.
- */
- @java.lang.Override
- public int getBitWidth() {
- return bitWidth_;
- }
-
- /**
- * uint32 bit_width = 1;
- *
- * @param value The bitWidth to set.
- * @return This builder for chaining.
- */
- public Builder setBitWidth(int value) {
-
- bitWidth_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 bit_width = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearBitWidth() {
- bitField0_ = (bitField0_ & ~0x00000001);
- bitWidth_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public int getOffset() {
- return offset_;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @param value The offset to set.
- * @return This builder for chaining.
- */
- public Builder setOffset(int value) {
-
- offset_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000002);
- offset_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return Whether the patches field is set.
- */
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000004) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- *
- * @return The patches.
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- if (patchesBuilder_ == null) {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- } else {
- return patchesBuilder_.getMessage();
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder setPatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- patches_ = value;
- } else {
- patchesBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder setPatches(
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder builderForValue) {
- if (patchesBuilder_ == null) {
- patches_ = builderForValue.build();
- } else {
- patchesBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder mergePatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- patches_ != null &&
- patches_ != io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance()) {
- getPatchesBuilder().mergeFrom(value);
- } else {
- patches_ = value;
- }
- } else {
- patchesBuilder_.mergeFrom(value);
- }
- if (patches_ != null) {
- bitField0_ |= 0x00000004;
- onChanged();
- }
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public Builder clearPatches() {
- bitField0_ = (bitField0_ & ~0x00000004);
- patches_ = null;
- if (patchesBuilder_ != null) {
- patchesBuilder_.dispose();
- patchesBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder getPatchesBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return internalGetPatchesFieldBuilder().getBuilder();
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- if (patchesBuilder_ != null) {
- return patchesBuilder_.getMessageOrBuilder();
- } else {
- return patches_ == null ?
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 3;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>
- internalGetPatchesFieldBuilder() {
- if (patchesBuilder_ == null) {
- patchesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>(
- getPatches(),
- getParentForChildren(),
- isClean());
- patches_ = null;
- }
- return patchesBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.BitPackedMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.SequenceMetadata}
- */
- public static final class SequenceMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.SequenceMetadata)
- SequenceMetadataOrBuilder {
- public static final int BASE_FIELD_NUMBER = 1;
- public static final int MULTIPLIER_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.SequenceMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.SequenceMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.scalar.ScalarValue base = 1;
- *
- * @return Whether the base field is set.
- */
- @java.lang.Override
- public boolean hasBase() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- *
- * @return The base.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getBase() {
- return base_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : base_;
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getBaseOrBuilder() {
- return base_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : base_;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return Whether the multiplier field is set.
- */
- @java.lang.Override
- public boolean hasMultiplier() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return The multiplier.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getMultiplier() {
- return multiplier_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : multiplier_;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getMultiplierOrBuilder() {
- return multiplier_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : multiplier_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getBase());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeMessage(2, getMultiplier());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getBase());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getMultiplier());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.SequenceMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.SequenceMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.SequenceMetadata) obj;
-
- if (hasBase() != other.hasBase()) {
- return false;
- }
- if (hasBase()) {
- if (!getBase()
- .equals(other.getBase())) {
- return false;
- }
- }
- if (hasMultiplier() != other.hasMultiplier()) {
- return false;
- }
- if (hasMultiplier()) {
- if (!getMultiplier()
- .equals(other.getMultiplier())) {
- 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 (hasBase()) {
- hash = (37 * hash) + BASE_FIELD_NUMBER;
- hash = (53 * hash) + getBase().hashCode();
- }
- if (hasMultiplier()) {
- hash = (37 * hash) + MULTIPLIER_FIELD_NUMBER;
- hash = (53 * hash) + getMultiplier().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.scalar.ScalarValue base = 1;
- *
- * @return Whether the base field is set.
- */
- public boolean hasBase() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- *
- * @return The base.
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getBase() {
- if (baseBuilder_ == null) {
- return base_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : base_;
- } else {
- return baseBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public Builder setBase(io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue value) {
- if (baseBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- base_ = value;
- } else {
- baseBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public Builder setBase(
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder builderForValue) {
- if (baseBuilder_ == null) {
- base_ = builderForValue.build();
- } else {
- baseBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public Builder mergeBase(io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue value) {
- if (baseBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- base_ != null &&
- base_ != io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance()) {
- getBaseBuilder().mergeFrom(value);
- } else {
- base_ = value;
- }
- } else {
- baseBuilder_.mergeFrom(value);
- }
- if (base_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public Builder clearBase() {
- bitField0_ = (bitField0_ & ~0x00000001);
- base_ = null;
- if (baseBuilder_ != null) {
- baseBuilder_.dispose();
- baseBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder getBaseBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return internalGetBaseFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getBaseOrBuilder() {
- if (baseBuilder_ != null) {
- return baseBuilder_.getMessageOrBuilder();
- } else {
- return base_ == null ?
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : base_;
- }
- }
-
- /**
- * .vortex.scalar.ScalarValue base = 1;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder>
- internalGetBaseFieldBuilder() {
- if (baseBuilder_ == null) {
- baseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder>(
- getBase(),
- getParentForChildren(),
- isClean());
- base_ = null;
- }
- return baseBuilder_;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return Whether the multiplier field is set.
- */
- public boolean hasMultiplier() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- *
- * @return The multiplier.
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getMultiplier() {
- if (multiplierBuilder_ == null) {
- return multiplier_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : multiplier_;
- } else {
- return multiplierBuilder_.getMessage();
- }
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public Builder setMultiplier(io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue value) {
- if (multiplierBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- multiplier_ = value;
- } else {
- multiplierBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public Builder setMultiplier(
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder builderForValue) {
- if (multiplierBuilder_ == null) {
- multiplier_ = builderForValue.build();
- } else {
- multiplierBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public Builder mergeMultiplier(io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue value) {
- if (multiplierBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- multiplier_ != null &&
- multiplier_ != io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance()) {
- getMultiplierBuilder().mergeFrom(value);
- } else {
- multiplier_ = value;
- }
- } else {
- multiplierBuilder_.mergeFrom(value);
- }
- if (multiplier_ != null) {
- bitField0_ |= 0x00000002;
- onChanged();
- }
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public Builder clearMultiplier() {
- bitField0_ = (bitField0_ & ~0x00000002);
- multiplier_ = null;
- if (multiplierBuilder_ != null) {
- multiplierBuilder_.dispose();
- multiplierBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder getMultiplierBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return internalGetMultiplierFieldBuilder().getBuilder();
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getMultiplierOrBuilder() {
- if (multiplierBuilder_ != null) {
- return multiplierBuilder_.getMessageOrBuilder();
- } else {
- return multiplier_ == null ?
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : multiplier_;
- }
- }
-
- /**
- * .vortex.scalar.ScalarValue multiplier = 2;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder>
- internalGetMultiplierFieldBuilder() {
- if (multiplierBuilder_ == null) {
- multiplierBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.Builder, io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder>(
- getMultiplier(),
- getParentForChildren(),
- isClean());
- multiplier_ = null;
- }
- return multiplierBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.SequenceMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.VarBinMetadata}
- */
- public static final class VarBinMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.VarBinMetadata)
- VarBinMetadataOrBuilder {
- public static final int OFFSETS_PTYPE_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.VarBinMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.VarBinMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The enum numeric value on the wire for offsetsPtype.
- */
- @java.lang.Override
- public int getOffsetsPtypeValue() {
- return offsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The offsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (offsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, offsetsPtype_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (offsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, offsetsPtype_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.VarBinMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.VarBinMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.VarBinMetadata) obj;
-
- if (offsetsPtype_ != other.offsetsPtype_) {
- 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();
- hash = (37 * hash) + OFFSETS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + offsetsPtype_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The enum numeric value on the wire for offsetsPtype.
- */
- @java.lang.Override
- public int getOffsetsPtypeValue() {
- return offsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @param value The enum numeric value on the wire for offsetsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setOffsetsPtypeValue(int value) {
- offsetsPtype_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @return The offsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @param value The offsetsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setOffsetsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- offsetsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offsets_ptype = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffsetsPtype() {
- bitField0_ = (bitField0_ & ~0x00000001);
- offsetsPtype_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.VarBinMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.FSSTMetadata}
- */
- public static final class FSSTMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.FSSTMetadata)
- FSSTMetadataOrBuilder {
- public static final int UNCOMPRESSED_LENGTHS_PTYPE_FIELD_NUMBER = 1;
- public static final int CODES_OFFSETS_PTYPE_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.FSSTMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.FSSTMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The enum numeric value on the wire for uncompressedLengthsPtype.
- */
- @java.lang.Override
- public int getUncompressedLengthsPtypeValue() {
- return uncompressedLengthsPtype_;
- }
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The uncompressedLengthsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getUncompressedLengthsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(uncompressedLengthsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesOffsetsPtype.
- */
- @java.lang.Override
- public int getCodesOffsetsPtypeValue() {
- return codesOffsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The codesOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(codesOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (uncompressedLengthsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, uncompressedLengthsPtype_);
- }
- if (codesOffsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(2, codesOffsetsPtype_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (uncompressedLengthsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, uncompressedLengthsPtype_);
- }
- if (codesOffsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, codesOffsetsPtype_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.FSSTMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.FSSTMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.FSSTMetadata) obj;
-
- if (uncompressedLengthsPtype_ != other.uncompressedLengthsPtype_) {
- return false;
- }
- if (codesOffsetsPtype_ != other.codesOffsetsPtype_) {
- 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();
- hash = (37 * hash) + UNCOMPRESSED_LENGTHS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + uncompressedLengthsPtype_;
- hash = (37 * hash) + CODES_OFFSETS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + codesOffsetsPtype_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The enum numeric value on the wire for uncompressedLengthsPtype.
- */
- @java.lang.Override
- public int getUncompressedLengthsPtypeValue() {
- return uncompressedLengthsPtype_;
- }
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @param value The enum numeric value on the wire for uncompressedLengthsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setUncompressedLengthsPtypeValue(int value) {
- uncompressedLengthsPtype_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return The uncompressedLengthsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getUncompressedLengthsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(uncompressedLengthsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @param value The uncompressedLengthsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setUncompressedLengthsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- uncompressedLengthsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType uncompressed_lengths_ptype = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearUncompressedLengthsPtype() {
- bitField0_ = (bitField0_ & ~0x00000001);
- uncompressedLengthsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The enum numeric value on the wire for codesOffsetsPtype.
- */
- @java.lang.Override
- public int getCodesOffsetsPtypeValue() {
- return codesOffsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @param value The enum numeric value on the wire for codesOffsetsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setCodesOffsetsPtypeValue(int value) {
- codesOffsetsPtype_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return The codesOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getCodesOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(codesOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @param value The codesOffsetsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setCodesOffsetsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- codesOffsetsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType codes_offsets_ptype = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearCodesOffsetsPtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- codesOffsetsPtype_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.FSSTMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.DeltaMetadata}
- */
- public static final class DeltaMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.DeltaMetadata)
- DeltaMetadataOrBuilder {
- public static final int DELTAS_LEN_FIELD_NUMBER = 1;
- public static final int OFFSET_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.DeltaMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.DeltaMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint64 deltas_len = 1;
- *
- * @return The deltasLen.
- */
- @java.lang.Override
- public long getDeltasLen() {
- return deltasLen_;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public int getOffset() {
- return offset_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (deltasLen_ != 0L) {
- output.writeUInt64(1, deltasLen_);
- }
- if (offset_ != 0) {
- output.writeUInt32(2, offset_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (deltasLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, deltasLen_);
- }
- if (offset_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, offset_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.DeltaMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.DeltaMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.DeltaMetadata) obj;
-
- if (getDeltasLen()
- != other.getDeltasLen()) {
- return false;
- }
- if (getOffset()
- != other.getOffset()) {
- 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();
- hash = (37 * hash) + DELTAS_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getDeltasLen());
- hash = (37 * hash) + OFFSET_FIELD_NUMBER;
- hash = (53 * hash) + getOffset();
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 deltas_len = 1;
- *
- * @return The deltasLen.
- */
- @java.lang.Override
- public long getDeltasLen() {
- return deltasLen_;
- }
-
- /**
- * uint64 deltas_len = 1;
- *
- * @param value The deltasLen to set.
- * @return This builder for chaining.
- */
- public Builder setDeltasLen(long value) {
-
- deltasLen_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 deltas_len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearDeltasLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- deltasLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return The offset.
- */
- @java.lang.Override
- public int getOffset() {
- return offset_;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @param value The offset to set.
- * @return This builder for chaining.
- */
- public Builder setOffset(int value) {
-
- offset_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 offset = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000002);
- offset_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.DeltaMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.DecimalMetadata}
- */
- public static final class DecimalMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.DecimalMetadata)
- DecimalMetadataOrBuilder {
- public static final int VALUES_TYPE_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.DecimalMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.DecimalMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser- * DecimalType: I8=0, I16=1, I32=2, I64=3, I128=4, I256=5 - *- * - *
int32 values_type = 1;
- *
- * @return The valuesType.
- */
- @java.lang.Override
- public int getValuesType() {
- return valuesType_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (valuesType_ != 0) {
- output.writeInt32(1, valuesType_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (valuesType_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, valuesType_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.DecimalMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.DecimalMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.DecimalMetadata) obj;
-
- if (getValuesType()
- != other.getValuesType()) {
- 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();
- hash = (37 * hash) + VALUES_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getValuesType();
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser- * DecimalType: I8=0, I16=1, I32=2, I64=3, I128=4, I256=5 - *- * - *
int32 values_type = 1;
- *
- * @return The valuesType.
- */
- @java.lang.Override
- public int getValuesType() {
- return valuesType_;
- }
-
- /**
- * - * DecimalType: I8=0, I16=1, I32=2, I64=3, I128=4, I256=5 - *- * - *
int32 values_type = 1;
- *
- * @param value The valuesType to set.
- * @return This builder for chaining.
- */
- public Builder setValuesType(int value) {
-
- valuesType_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * - * DecimalType: I8=0, I16=1, I32=2, I64=3, I128=4, I256=5 - *- * - *
int32 values_type = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearValuesType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- valuesType_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.DecimalMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.DecimalBytePartsMetadata}
- */
- public static final class DecimalBytePartsMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.DecimalBytePartsMetadata)
- DecimalBytePartsMetadataOrBuilder {
- public static final int ZEROTH_CHILD_PTYPE_FIELD_NUMBER = 1;
- public static final int LOWER_PART_COUNT_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.DecimalBytePartsMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.DecimalBytePartsMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The enum numeric value on the wire for zerothChildPtype.
- */
- @java.lang.Override
- public int getZerothChildPtypeValue() {
- return zerothChildPtype_;
- }
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The zerothChildPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getZerothChildPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(zerothChildPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * uint32 lower_part_count = 2;
- *
- * @return The lowerPartCount.
- */
- @java.lang.Override
- public int getLowerPartCount() {
- return lowerPartCount_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (zerothChildPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, zerothChildPtype_);
- }
- if (lowerPartCount_ != 0) {
- output.writeUInt32(2, lowerPartCount_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (zerothChildPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, zerothChildPtype_);
- }
- if (lowerPartCount_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, lowerPartCount_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.DecimalBytePartsMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.DecimalBytePartsMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.DecimalBytePartsMetadata) obj;
-
- if (zerothChildPtype_ != other.zerothChildPtype_) {
- return false;
- }
- if (getLowerPartCount()
- != other.getLowerPartCount()) {
- 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();
- hash = (37 * hash) + ZEROTH_CHILD_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + zerothChildPtype_;
- hash = (37 * hash) + LOWER_PART_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + getLowerPartCount();
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The enum numeric value on the wire for zerothChildPtype.
- */
- @java.lang.Override
- public int getZerothChildPtypeValue() {
- return zerothChildPtype_;
- }
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @param value The enum numeric value on the wire for zerothChildPtype to set.
- * @return This builder for chaining.
- */
- public Builder setZerothChildPtypeValue(int value) {
- zerothChildPtype_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return The zerothChildPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getZerothChildPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(zerothChildPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @param value The zerothChildPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setZerothChildPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- zerothChildPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType zeroth_child_ptype = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearZerothChildPtype() {
- bitField0_ = (bitField0_ & ~0x00000001);
- zerothChildPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint32 lower_part_count = 2;
- *
- * @return The lowerPartCount.
- */
- @java.lang.Override
- public int getLowerPartCount() {
- return lowerPartCount_;
- }
-
- /**
- * uint32 lower_part_count = 2;
- *
- * @param value The lowerPartCount to set.
- * @return This builder for chaining.
- */
- public Builder setLowerPartCount(int value) {
-
- lowerPartCount_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 lower_part_count = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearLowerPartCount() {
- bitField0_ = (bitField0_ & ~0x00000002);
- lowerPartCount_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.DecimalBytePartsMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.DateTimePartsMetadata}
- */
- public static final class DateTimePartsMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.DateTimePartsMetadata)
- DateTimePartsMetadataOrBuilder {
- public static final int DAYS_PTYPE_FIELD_NUMBER = 1;
- public static final int SECONDS_PTYPE_FIELD_NUMBER = 2;
- public static final int SUBSECONDS_PTYPE_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.DateTimePartsMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.DateTimePartsMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.PType days_ptype = 1;
- *
- * @return The enum numeric value on the wire for daysPtype.
- */
- @java.lang.Override
- public int getDaysPtypeValue() {
- return daysPtype_;
- }
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @return The daysPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getDaysPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(daysPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The enum numeric value on the wire for secondsPtype.
- */
- @java.lang.Override
- public int getSecondsPtypeValue() {
- return secondsPtype_;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The secondsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSecondsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(secondsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The enum numeric value on the wire for subsecondsPtype.
- */
- @java.lang.Override
- public int getSubsecondsPtypeValue() {
- return subsecondsPtype_;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The subsecondsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSubsecondsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(subsecondsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (daysPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(1, daysPtype_);
- }
- if (secondsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(2, secondsPtype_);
- }
- if (subsecondsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(3, subsecondsPtype_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (daysPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, daysPtype_);
- }
- if (secondsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, secondsPtype_);
- }
- if (subsecondsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, subsecondsPtype_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.DateTimePartsMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.DateTimePartsMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.DateTimePartsMetadata) obj;
-
- if (daysPtype_ != other.daysPtype_) {
- return false;
- }
- if (secondsPtype_ != other.secondsPtype_) {
- return false;
- }
- if (subsecondsPtype_ != other.subsecondsPtype_) {
- 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();
- hash = (37 * hash) + DAYS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + daysPtype_;
- hash = (37 * hash) + SECONDS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + secondsPtype_;
- hash = (37 * hash) + SUBSECONDS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + subsecondsPtype_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser.vortex.dtype.PType days_ptype = 1;
- *
- * @return The enum numeric value on the wire for daysPtype.
- */
- @java.lang.Override
- public int getDaysPtypeValue() {
- return daysPtype_;
- }
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @param value The enum numeric value on the wire for daysPtype to set.
- * @return This builder for chaining.
- */
- public Builder setDaysPtypeValue(int value) {
- daysPtype_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @return The daysPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getDaysPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(daysPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @param value The daysPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setDaysPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- daysPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType days_ptype = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearDaysPtype() {
- bitField0_ = (bitField0_ & ~0x00000001);
- daysPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The enum numeric value on the wire for secondsPtype.
- */
- @java.lang.Override
- public int getSecondsPtypeValue() {
- return secondsPtype_;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @param value The enum numeric value on the wire for secondsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setSecondsPtypeValue(int value) {
- secondsPtype_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return The secondsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSecondsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(secondsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @param value The secondsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setSecondsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- secondsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType seconds_ptype = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearSecondsPtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- secondsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The enum numeric value on the wire for subsecondsPtype.
- */
- @java.lang.Override
- public int getSubsecondsPtypeValue() {
- return subsecondsPtype_;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @param value The enum numeric value on the wire for subsecondsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setSubsecondsPtypeValue(int value) {
- subsecondsPtype_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return The subsecondsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSubsecondsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(subsecondsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @param value The subsecondsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setSubsecondsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- subsecondsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType subseconds_ptype = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearSubsecondsPtype() {
- bitField0_ = (bitField0_ & ~0x00000004);
- subsecondsPtype_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.DateTimePartsMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ZstdFrameMetadata}
- */
- public static final class ZstdFrameMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ZstdFrameMetadata)
- ZstdFrameMetadataOrBuilder {
- public static final int UNCOMPRESSED_SIZE_FIELD_NUMBER = 1;
- public static final int N_VALUES_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ZstdFrameMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint64 uncompressed_size = 1;
- *
- * @return The uncompressedSize.
- */
- @java.lang.Override
- public long getUncompressedSize() {
- return uncompressedSize_;
- }
-
- /**
- * uint64 n_values = 2;
- *
- * @return The nValues.
- */
- @java.lang.Override
- public long getNValues() {
- return nValues_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (uncompressedSize_ != 0L) {
- output.writeUInt64(1, uncompressedSize_);
- }
- if (nValues_ != 0L) {
- output.writeUInt64(2, nValues_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (uncompressedSize_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, uncompressedSize_);
- }
- if (nValues_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, nValues_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata) obj;
-
- if (getUncompressedSize()
- != other.getUncompressedSize()) {
- return false;
- }
- if (getNValues()
- != other.getNValues()) {
- 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();
- hash = (37 * hash) + UNCOMPRESSED_SIZE_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getUncompressedSize());
- hash = (37 * hash) + N_VALUES_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getNValues());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 uncompressed_size = 1;
- *
- * @return The uncompressedSize.
- */
- @java.lang.Override
- public long getUncompressedSize() {
- return uncompressedSize_;
- }
-
- /**
- * uint64 uncompressed_size = 1;
- *
- * @param value The uncompressedSize to set.
- * @return This builder for chaining.
- */
- public Builder setUncompressedSize(long value) {
-
- uncompressedSize_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 uncompressed_size = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearUncompressedSize() {
- bitField0_ = (bitField0_ & ~0x00000001);
- uncompressedSize_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * uint64 n_values = 2;
- *
- * @return The nValues.
- */
- @java.lang.Override
- public long getNValues() {
- return nValues_;
- }
-
- /**
- * uint64 n_values = 2;
- *
- * @param value The nValues to set.
- * @return This builder for chaining.
- */
- public Builder setNValues(long value) {
-
- nValues_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint64 n_values = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearNValues() {
- bitField0_ = (bitField0_ & ~0x00000002);
- nValues_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.ZstdFrameMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ZstdMetadata}
- */
- public static final class ZstdMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ZstdMetadata)
- ZstdMetadataOrBuilder {
- public static final int DICTIONARY_SIZE_FIELD_NUMBER = 1;
- public static final int FRAMES_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ZstdMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ZstdMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 dictionary_size = 1;
- *
- * @return The dictionarySize.
- */
- @java.lang.Override
- public int getDictionarySize() {
- return dictionarySize_;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- @java.lang.Override
- public java.util.Listrepeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- @java.lang.Override
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder>
- getFramesOrBuilderList() {
- return frames_;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- @java.lang.Override
- public int getFramesCount() {
- return frames_.size();
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata getFrames(int index) {
- return frames_.get(index);
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder getFramesOrBuilder(
- int index) {
- return frames_.get(index);
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (dictionarySize_ != 0) {
- output.writeUInt32(1, dictionarySize_);
- }
- for (int i = 0; i < frames_.size(); i++) {
- output.writeMessage(2, frames_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (dictionarySize_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, dictionarySize_);
- }
-
- {
- final int count = frames_.size();
- for (int i = 0; i < count; i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSizeNoTag(frames_.get(i));
- }
- size += 1 * count;
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ZstdMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ZstdMetadata) obj;
-
- if (getDictionarySize()
- != other.getDictionarySize()) {
- return false;
- }
- if (!getFramesList()
- .equals(other.getFramesList())) {
- 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();
- hash = (37 * hash) + DICTIONARY_SIZE_FIELD_NUMBER;
- hash = (53 * hash) + getDictionarySize();
- if (getFramesCount() > 0) {
- hash = (37 * hash) + FRAMES_FIELD_NUMBER;
- hash = (53 * hash) + getFramesList().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 dictionary_size = 1;
- *
- * @return The dictionarySize.
- */
- @java.lang.Override
- public int getDictionarySize() {
- return dictionarySize_;
- }
-
- /**
- * uint32 dictionary_size = 1;
- *
- * @param value The dictionarySize to set.
- * @return This builder for chaining.
- */
- public Builder setDictionarySize(int value) {
-
- dictionarySize_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 dictionary_size = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearDictionarySize() {
- bitField0_ = (bitField0_ & ~0x00000001);
- dictionarySize_ = 0;
- onChanged();
- return this;
- }
-
- private void ensureFramesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- frames_ = new java.util.ArrayListrepeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public java.util.Listrepeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public int getFramesCount() {
- if (framesBuilder_ == null) {
- return frames_.size();
- } else {
- return framesBuilder_.getCount();
- }
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata getFrames(int index) {
- if (framesBuilder_ == null) {
- return frames_.get(index);
- } else {
- return framesBuilder_.getMessage(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder setFrames(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata value) {
- if (framesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFramesIsMutable();
- frames_.set(index, value);
- onChanged();
- } else {
- framesBuilder_.setMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder setFrames(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder builderForValue) {
- if (framesBuilder_ == null) {
- ensureFramesIsMutable();
- frames_.set(index, builderForValue.build());
- onChanged();
- } else {
- framesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder addFrames(io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata value) {
- if (framesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFramesIsMutable();
- frames_.add(value);
- onChanged();
- } else {
- framesBuilder_.addMessage(value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder addFrames(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata value) {
- if (framesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFramesIsMutable();
- frames_.add(index, value);
- onChanged();
- } else {
- framesBuilder_.addMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder addFrames(
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder builderForValue) {
- if (framesBuilder_ == null) {
- ensureFramesIsMutable();
- frames_.add(builderForValue.build());
- onChanged();
- } else {
- framesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder addFrames(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder builderForValue) {
- if (framesBuilder_ == null) {
- ensureFramesIsMutable();
- frames_.add(index, builderForValue.build());
- onChanged();
- } else {
- framesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder addAllFrames(
- java.lang.Iterable extends io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata> values) {
- if (framesBuilder_ == null) {
- ensureFramesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, frames_);
- onChanged();
- } else {
- framesBuilder_.addAllMessages(values);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder clearFrames() {
- if (framesBuilder_ == null) {
- frames_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- framesBuilder_.clear();
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public Builder removeFrames(int index) {
- if (framesBuilder_ == null) {
- ensureFramesIsMutable();
- frames_.remove(index);
- onChanged();
- } else {
- framesBuilder_.remove(index);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder getFramesBuilder(
- int index) {
- return internalGetFramesFieldBuilder().getBuilder(index);
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder getFramesOrBuilder(
- int index) {
- if (framesBuilder_ == null) {
- return frames_.get(index);
- } else {
- return framesBuilder_.getMessageOrBuilder(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadataOrBuilder>
- getFramesOrBuilderList() {
- if (framesBuilder_ != null) {
- return framesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(frames_);
- }
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder addFramesBuilder() {
- return internalGetFramesFieldBuilder().addBuilder(
- io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.Builder addFramesBuilder(
- int index) {
- return internalGetFramesFieldBuilder().addBuilder(
- index, io.github.dfa1.vortex.proto.EncodingProtos.ZstdFrameMetadata.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.ZstdFrameMetadata frames = 2;
- */
- public java.util.Listuint64 values_len = 1;
- *
- * @return The valuesLen.
- */
- @java.lang.Override
- public long getValuesLen() {
- return valuesLen_;
- }
-
- /**
- * uint64 indices_len = 2;
- *
- * @return The indicesLen.
- */
- @java.lang.Override
- public long getIndicesLen() {
- return indicesLen_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- @java.lang.Override
- public int getIndicesPtypeValue() {
- return indicesPtype_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(indicesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * uint64 values_idx_offsets_len = 4;
- *
- * @return The valuesIdxOffsetsLen.
- */
- @java.lang.Override
- public long getValuesIdxOffsetsLen() {
- return valuesIdxOffsetsLen_;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for valuesIdxOffsetsPtype.
- */
- @java.lang.Override
- public int getValuesIdxOffsetsPtypeValue() {
- return valuesIdxOffsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The valuesIdxOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getValuesIdxOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(valuesIdxOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * uint64 offset = 6;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (valuesLen_ != 0L) {
- output.writeUInt64(1, valuesLen_);
- }
- if (indicesLen_ != 0L) {
- output.writeUInt64(2, indicesLen_);
- }
- if (indicesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(3, indicesPtype_);
- }
- if (valuesIdxOffsetsLen_ != 0L) {
- output.writeUInt64(4, valuesIdxOffsetsLen_);
- }
- if (valuesIdxOffsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(5, valuesIdxOffsetsPtype_);
- }
- if (offset_ != 0L) {
- output.writeUInt64(6, offset_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (valuesLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, valuesLen_);
- }
- if (indicesLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, indicesLen_);
- }
- if (indicesPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, indicesPtype_);
- }
- if (valuesIdxOffsetsLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(4, valuesIdxOffsetsLen_);
- }
- if (valuesIdxOffsetsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(5, valuesIdxOffsetsPtype_);
- }
- if (offset_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(6, offset_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.RLEMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.RLEMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.RLEMetadata) obj;
-
- if (getValuesLen()
- != other.getValuesLen()) {
- return false;
- }
- if (getIndicesLen()
- != other.getIndicesLen()) {
- return false;
- }
- if (indicesPtype_ != other.indicesPtype_) {
- return false;
- }
- if (getValuesIdxOffsetsLen()
- != other.getValuesIdxOffsetsLen()) {
- return false;
- }
- if (valuesIdxOffsetsPtype_ != other.valuesIdxOffsetsPtype_) {
- return false;
- }
- if (getOffset()
- != other.getOffset()) {
- 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();
- hash = (37 * hash) + VALUES_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getValuesLen());
- hash = (37 * hash) + INDICES_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getIndicesLen());
- hash = (37 * hash) + INDICES_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + indicesPtype_;
- hash = (37 * hash) + VALUES_IDX_OFFSETS_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getValuesIdxOffsetsLen());
- hash = (37 * hash) + VALUES_IDX_OFFSETS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + valuesIdxOffsetsPtype_;
- hash = (37 * hash) + OFFSET_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getOffset());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 values_len = 1;
- *
- * @return The valuesLen.
- */
- @java.lang.Override
- public long getValuesLen() {
- return valuesLen_;
- }
-
- /**
- * uint64 values_len = 1;
- *
- * @param value The valuesLen to set.
- * @return This builder for chaining.
- */
- public Builder setValuesLen(long value) {
-
- valuesLen_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 values_len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearValuesLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- valuesLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * uint64 indices_len = 2;
- *
- * @return The indicesLen.
- */
- @java.lang.Override
- public long getIndicesLen() {
- return indicesLen_;
- }
-
- /**
- * uint64 indices_len = 2;
- *
- * @param value The indicesLen to set.
- * @return This builder for chaining.
- */
- public Builder setIndicesLen(long value) {
-
- indicesLen_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint64 indices_len = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearIndicesLen() {
- bitField0_ = (bitField0_ & ~0x00000002);
- indicesLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The enum numeric value on the wire for indicesPtype.
- */
- @java.lang.Override
- public int getIndicesPtypeValue() {
- return indicesPtype_;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @param value The enum numeric value on the wire for indicesPtype to set.
- * @return This builder for chaining.
- */
- public Builder setIndicesPtypeValue(int value) {
- indicesPtype_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return The indicesPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getIndicesPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(indicesPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @param value The indicesPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setIndicesPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- indicesPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType indices_ptype = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearIndicesPtype() {
- bitField0_ = (bitField0_ & ~0x00000004);
- indicesPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint64 values_idx_offsets_len = 4;
- *
- * @return The valuesIdxOffsetsLen.
- */
- @java.lang.Override
- public long getValuesIdxOffsetsLen() {
- return valuesIdxOffsetsLen_;
- }
-
- /**
- * uint64 values_idx_offsets_len = 4;
- *
- * @param value The valuesIdxOffsetsLen to set.
- * @return This builder for chaining.
- */
- public Builder setValuesIdxOffsetsLen(long value) {
-
- valuesIdxOffsetsLen_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
-
- /**
- * uint64 values_idx_offsets_len = 4;
- *
- * @return This builder for chaining.
- */
- public Builder clearValuesIdxOffsetsLen() {
- bitField0_ = (bitField0_ & ~0x00000008);
- valuesIdxOffsetsLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The enum numeric value on the wire for valuesIdxOffsetsPtype.
- */
- @java.lang.Override
- public int getValuesIdxOffsetsPtypeValue() {
- return valuesIdxOffsetsPtype_;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @param value The enum numeric value on the wire for valuesIdxOffsetsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setValuesIdxOffsetsPtypeValue(int value) {
- valuesIdxOffsetsPtype_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return The valuesIdxOffsetsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getValuesIdxOffsetsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(valuesIdxOffsetsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @param value The valuesIdxOffsetsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setValuesIdxOffsetsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- valuesIdxOffsetsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType values_idx_offsets_ptype = 5;
- *
- * @return This builder for chaining.
- */
- public Builder clearValuesIdxOffsetsPtype() {
- bitField0_ = (bitField0_ & ~0x00000010);
- valuesIdxOffsetsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 6;
- *
- * @return The offset.
- */
- @java.lang.Override
- public long getOffset() {
- return offset_;
- }
-
- /**
- * uint64 offset = 6;
- *
- * @param value The offset to set.
- * @return This builder for chaining.
- */
- public Builder setOffset(long value) {
-
- offset_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
-
- /**
- * uint64 offset = 6;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000020);
- offset_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.RLEMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ListMetadata}
- */
- public static final class ListMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ListMetadata)
- ListMetadataOrBuilder {
- public static final int ELEMENTS_LEN_FIELD_NUMBER = 1;
- public static final int OFFSET_PTYPE_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ListMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ListMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- @java.lang.Override
- public long getElementsLen() {
- return elementsLen_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- @java.lang.Override
- public int getOffsetPtypeValue() {
- return offsetPtype_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (elementsLen_ != 0L) {
- output.writeUInt64(1, elementsLen_);
- }
- if (offsetPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(2, offsetPtype_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (elementsLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, elementsLen_);
- }
- if (offsetPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, offsetPtype_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ListMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ListMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ListMetadata) obj;
-
- if (getElementsLen()
- != other.getElementsLen()) {
- return false;
- }
- if (offsetPtype_ != other.offsetPtype_) {
- 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();
- hash = (37 * hash) + ELEMENTS_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getElementsLen());
- hash = (37 * hash) + OFFSET_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + offsetPtype_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- @java.lang.Override
- public long getElementsLen() {
- return elementsLen_;
- }
-
- /**
- * uint64 elements_len = 1;
- *
- * @param value The elementsLen to set.
- * @return This builder for chaining.
- */
- public Builder setElementsLen(long value) {
-
- elementsLen_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 elements_len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearElementsLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- elementsLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- @java.lang.Override
- public int getOffsetPtypeValue() {
- return offsetPtype_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @param value The enum numeric value on the wire for offsetPtype to set.
- * @return This builder for chaining.
- */
- public Builder setOffsetPtypeValue(int value) {
- offsetPtype_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @param value The offsetPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setOffsetPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- offsetPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffsetPtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- offsetPtype_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.ListMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ListViewMetadata}
- */
- public static final class ListViewMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ListViewMetadata)
- ListViewMetadataOrBuilder {
- public static final int ELEMENTS_LEN_FIELD_NUMBER = 1;
- public static final int OFFSET_PTYPE_FIELD_NUMBER = 2;
- public static final int SIZE_PTYPE_FIELD_NUMBER = 3;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ListViewMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ListViewMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- @java.lang.Override
- public long getElementsLen() {
- return elementsLen_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- @java.lang.Override
- public int getOffsetPtypeValue() {
- return offsetPtype_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The enum numeric value on the wire for sizePtype.
- */
- @java.lang.Override
- public int getSizePtypeValue() {
- return sizePtype_;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The sizePtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSizePtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(sizePtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (elementsLen_ != 0L) {
- output.writeUInt64(1, elementsLen_);
- }
- if (offsetPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(2, offsetPtype_);
- }
- if (sizePtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(3, sizePtype_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (elementsLen_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, elementsLen_);
- }
- if (offsetPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, offsetPtype_);
- }
- if (sizePtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, sizePtype_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ListViewMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ListViewMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ListViewMetadata) obj;
-
- if (getElementsLen()
- != other.getElementsLen()) {
- return false;
- }
- if (offsetPtype_ != other.offsetPtype_) {
- return false;
- }
- if (sizePtype_ != other.sizePtype_) {
- 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();
- hash = (37 * hash) + ELEMENTS_LEN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getElementsLen());
- hash = (37 * hash) + OFFSET_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + offsetPtype_;
- hash = (37 * hash) + SIZE_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + sizePtype_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint64 elements_len = 1;
- *
- * @return The elementsLen.
- */
- @java.lang.Override
- public long getElementsLen() {
- return elementsLen_;
- }
-
- /**
- * uint64 elements_len = 1;
- *
- * @param value The elementsLen to set.
- * @return This builder for chaining.
- */
- public Builder setElementsLen(long value) {
-
- elementsLen_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint64 elements_len = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearElementsLen() {
- bitField0_ = (bitField0_ & ~0x00000001);
- elementsLen_ = 0L;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The enum numeric value on the wire for offsetPtype.
- */
- @java.lang.Override
- public int getOffsetPtypeValue() {
- return offsetPtype_;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @param value The enum numeric value on the wire for offsetPtype to set.
- * @return This builder for chaining.
- */
- public Builder setOffsetPtypeValue(int value) {
- offsetPtype_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return The offsetPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getOffsetPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(offsetPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @param value The offsetPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setOffsetPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- offsetPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType offset_ptype = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearOffsetPtype() {
- bitField0_ = (bitField0_ & ~0x00000002);
- offsetPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The enum numeric value on the wire for sizePtype.
- */
- @java.lang.Override
- public int getSizePtypeValue() {
- return sizePtype_;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @param value The enum numeric value on the wire for sizePtype to set.
- * @return This builder for chaining.
- */
- public Builder setSizePtypeValue(int value) {
- sizePtype_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return The sizePtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getSizePtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(sizePtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @param value The sizePtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setSizePtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- sizePtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType size_ptype = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearSizePtype() {
- bitField0_ = (bitField0_ & ~0x00000004);
- sizePtype_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.ListViewMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.ALPRDMetadata}
- */
- public static final class ALPRDMetadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.ALPRDMetadata)
- ALPRDMetadataOrBuilder {
- public static final int RIGHT_BIT_WIDTH_FIELD_NUMBER = 1;
- public static final int DICT_LEN_FIELD_NUMBER = 2;
- public static final int DICT_FIELD_NUMBER = 3;
- public static final int LEFT_PARTS_PTYPE_FIELD_NUMBER = 4;
- public static final int PATCHES_FIELD_NUMBER = 5;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.ALPRDMetadata)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.ALPRDMetadata DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 right_bit_width = 1;
- *
- * @return The rightBitWidth.
- */
- @java.lang.Override
- public int getRightBitWidth() {
- return rightBitWidth_;
- }
-
- /**
- * uint32 dict_len = 2;
- *
- * @return The dictLen.
- */
- @java.lang.Override
- public int getDictLen() {
- return dictLen_;
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @return A list containing the dict.
- */
- @java.lang.Override
- public java.util.Listrepeated uint32 dict = 3;
- *
- * @return The count of dict.
- */
- public int getDictCount() {
- return dict_.size();
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param index The index of the element to return.
- * @return The dict at the given index.
- */
- public int getDict(int index) {
- return dict_.getInt(index);
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The enum numeric value on the wire for leftPartsPtype.
- */
- @java.lang.Override
- public int getLeftPartsPtypeValue() {
- return leftPartsPtype_;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The leftPartsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getLeftPartsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(leftPartsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return Whether the patches field is set.
- */
- @java.lang.Override
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return The patches.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (rightBitWidth_ != 0) {
- output.writeUInt32(1, rightBitWidth_);
- }
- if (dictLen_ != 0) {
- output.writeUInt32(2, dictLen_);
- }
- if (getDictList().size() > 0) {
- output.writeUInt32NoTag(26);
- output.writeUInt32NoTag(dictMemoizedSerializedSize);
- }
- for (int i = 0; i < dict_.size(); i++) {
- output.writeUInt32NoTag(dict_.getInt(i));
- }
- if (leftPartsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- output.writeEnum(4, leftPartsPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(5, getPatches());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (rightBitWidth_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, rightBitWidth_);
- }
- if (dictLen_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, dictLen_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < dict_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeUInt32SizeNoTag(dict_.getInt(i));
- }
- size += dataSize;
- if (!getDictList().isEmpty()) {
- size += 1;
- size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
- }
- dictMemoizedSerializedSize = dataSize;
- }
- if (leftPartsPtype_ != io.github.dfa1.vortex.proto.DTypeProtos.PType.U8.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(4, leftPartsPtype_);
- }
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getPatches());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.ALPRDMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.ALPRDMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.ALPRDMetadata) obj;
-
- if (getRightBitWidth()
- != other.getRightBitWidth()) {
- return false;
- }
- if (getDictLen()
- != other.getDictLen()) {
- return false;
- }
- if (!getDictList()
- .equals(other.getDictList())) {
- return false;
- }
- if (leftPartsPtype_ != other.leftPartsPtype_) {
- return false;
- }
- if (hasPatches() != other.hasPatches()) {
- return false;
- }
- if (hasPatches()) {
- if (!getPatches()
- .equals(other.getPatches())) {
- 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();
- hash = (37 * hash) + RIGHT_BIT_WIDTH_FIELD_NUMBER;
- hash = (53 * hash) + getRightBitWidth();
- hash = (37 * hash) + DICT_LEN_FIELD_NUMBER;
- hash = (53 * hash) + getDictLen();
- if (getDictCount() > 0) {
- hash = (37 * hash) + DICT_FIELD_NUMBER;
- hash = (53 * hash) + getDictList().hashCode();
- }
- hash = (37 * hash) + LEFT_PARTS_PTYPE_FIELD_NUMBER;
- hash = (53 * hash) + leftPartsPtype_;
- if (hasPatches()) {
- hash = (37 * hash) + PATCHES_FIELD_NUMBER;
- hash = (53 * hash) + getPatches().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 right_bit_width = 1;
- *
- * @return The rightBitWidth.
- */
- @java.lang.Override
- public int getRightBitWidth() {
- return rightBitWidth_;
- }
-
- /**
- * uint32 right_bit_width = 1;
- *
- * @param value The rightBitWidth to set.
- * @return This builder for chaining.
- */
- public Builder setRightBitWidth(int value) {
-
- rightBitWidth_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 right_bit_width = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearRightBitWidth() {
- bitField0_ = (bitField0_ & ~0x00000001);
- rightBitWidth_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * uint32 dict_len = 2;
- *
- * @return The dictLen.
- */
- @java.lang.Override
- public int getDictLen() {
- return dictLen_;
- }
-
- /**
- * uint32 dict_len = 2;
- *
- * @param value The dictLen to set.
- * @return This builder for chaining.
- */
- public Builder setDictLen(int value) {
-
- dictLen_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- /**
- * uint32 dict_len = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearDictLen() {
- bitField0_ = (bitField0_ & ~0x00000002);
- dictLen_ = 0;
- onChanged();
- return this;
- }
-
- private void ensureDictIsMutable() {
- if (!dict_.isModifiable()) {
- dict_ = makeMutableCopy(dict_);
- }
- bitField0_ |= 0x00000004;
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @return A list containing the dict.
- */
- public java.util.Listrepeated uint32 dict = 3;
- *
- * @return The count of dict.
- */
- public int getDictCount() {
- return dict_.size();
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param index The index of the element to return.
- * @return The dict at the given index.
- */
- public int getDict(int index) {
- return dict_.getInt(index);
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param index The index to set the value at.
- * @param value The dict to set.
- * @return This builder for chaining.
- */
- public Builder setDict(
- int index, int value) {
-
- ensureDictIsMutable();
- dict_.setInt(index, value);
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param value The dict to add.
- * @return This builder for chaining.
- */
- public Builder addDict(int value) {
-
- ensureDictIsMutable();
- dict_.addInt(value);
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @param values The dict to add.
- * @return This builder for chaining.
- */
- public Builder addAllDict(
- java.lang.Iterable extends java.lang.Integer> values) {
- ensureDictIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, dict_);
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- * repeated uint32 dict = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearDict() {
- dict_ = emptyIntList();
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The enum numeric value on the wire for leftPartsPtype.
- */
- @java.lang.Override
- public int getLeftPartsPtypeValue() {
- return leftPartsPtype_;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @param value The enum numeric value on the wire for leftPartsPtype to set.
- * @return This builder for chaining.
- */
- public Builder setLeftPartsPtypeValue(int value) {
- leftPartsPtype_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return The leftPartsPtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.PType getLeftPartsPtype() {
- io.github.dfa1.vortex.proto.DTypeProtos.PType result = io.github.dfa1.vortex.proto.DTypeProtos.PType.forNumber(leftPartsPtype_);
- return result == null ? io.github.dfa1.vortex.proto.DTypeProtos.PType.UNRECOGNIZED : result;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @param value The leftPartsPtype to set.
- * @return This builder for chaining.
- * @throws IllegalArgumentException if UNRECOGNIZED is provided.
- */
- public Builder setLeftPartsPtype(io.github.dfa1.vortex.proto.DTypeProtos.PType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- leftPartsPtype_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- * .vortex.dtype.PType left_parts_ptype = 4;
- *
- * @return This builder for chaining.
- */
- public Builder clearLeftPartsPtype() {
- bitField0_ = (bitField0_ & ~0x00000008);
- leftPartsPtype_ = 0;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return Whether the patches field is set.
- */
- public boolean hasPatches() {
- return ((bitField0_ & 0x00000010) != 0);
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- *
- * @return The patches.
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata getPatches() {
- if (patchesBuilder_ == null) {
- return patches_ == null ? io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- } else {
- return patchesBuilder_.getMessage();
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public Builder setPatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- patches_ = value;
- } else {
- patchesBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public Builder setPatches(
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder builderForValue) {
- if (patchesBuilder_ == null) {
- patches_ = builderForValue.build();
- } else {
- patchesBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public Builder mergePatches(io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata value) {
- if (patchesBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0) &&
- patches_ != null &&
- patches_ != io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance()) {
- getPatchesBuilder().mergeFrom(value);
- } else {
- patches_ = value;
- }
- } else {
- patchesBuilder_.mergeFrom(value);
- }
- if (patches_ != null) {
- bitField0_ |= 0x00000010;
- onChanged();
- }
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public Builder clearPatches() {
- bitField0_ = (bitField0_ & ~0x00000010);
- patches_ = null;
- if (patchesBuilder_ != null) {
- patchesBuilder_.dispose();
- patchesBuilder_ = null;
- }
- onChanged();
- return this;
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder getPatchesBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return internalGetPatchesFieldBuilder().getBuilder();
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder getPatchesOrBuilder() {
- if (patchesBuilder_ != null) {
- return patchesBuilder_.getMessageOrBuilder();
- } else {
- return patches_ == null ?
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.getDefaultInstance() : patches_;
- }
- }
-
- /**
- * optional .vortex.encodings.PatchesMetadata patches = 5;
- */
- private com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>
- internalGetPatchesFieldBuilder() {
- if (patchesBuilder_ == null) {
- patchesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadata.Builder, io.github.dfa1.vortex.proto.EncodingProtos.PatchesMetadataOrBuilder>(
- getPatches(),
- getParentForChildren(),
- isClean());
- patches_ = null;
- }
- return patchesBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.ALPRDMetadata)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.PcoPageInfo}
- */
- public static final class PcoPageInfo extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.PcoPageInfo)
- PcoPageInfoOrBuilder {
- public static final int N_VALUES_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.PcoPageInfo)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parseruint32 n_values = 1;
- *
- * @return The nValues.
- */
- @java.lang.Override
- public int getNValues() {
- return nValues_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (nValues_ != 0) {
- output.writeUInt32(1, nValues_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (nValues_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, nValues_);
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo other = (io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo) obj;
-
- if (getNValues()
- != other.getNValues()) {
- 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();
- hash = (37 * hash) + N_VALUES_FIELD_NUMBER;
- hash = (53 * hash) + getNValues();
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parseruint32 n_values = 1;
- *
- * @return The nValues.
- */
- @java.lang.Override
- public int getNValues() {
- return nValues_;
- }
-
- /**
- * uint32 n_values = 1;
- *
- * @param value The nValues to set.
- * @return This builder for chaining.
- */
- public Builder setNValues(int value) {
-
- nValues_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * uint32 n_values = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearNValues() {
- bitField0_ = (bitField0_ & ~0x00000001);
- nValues_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:vortex.encodings.PcoPageInfo)
- }
-
- }
-
- /**
- * Protobuf type {@code vortex.encodings.PcoChunkInfo}
- */
- public static final class PcoChunkInfo extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.encodings.PcoChunkInfo)
- PcoChunkInfoOrBuilder {
- public static final int PAGES_FIELD_NUMBER = 1;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.encodings.PcoChunkInfo)
- private static final io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parserrepeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- @java.lang.Override
- public java.util.Listrepeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- @java.lang.Override
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder>
- getPagesOrBuilderList() {
- return pages_;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- @java.lang.Override
- public int getPagesCount() {
- return pages_.size();
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo getPages(int index) {
- return pages_.get(index);
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder getPagesOrBuilder(
- int index) {
- return pages_.get(index);
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < pages_.size(); i++) {
- output.writeMessage(1, pages_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
-
- {
- final int count = pages_.size();
- for (int i = 0; i < count; i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSizeNoTag(pages_.get(i));
- }
- size += 1 * count;
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo other = (io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo) obj;
-
- if (!getPagesList()
- .equals(other.getPagesList())) {
- 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 (getPagesCount() > 0) {
- hash = (37 * hash) + PAGES_FIELD_NUMBER;
- hash = (53 * hash) + getPagesList().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserrepeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public java.util.Listrepeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public int getPagesCount() {
- if (pagesBuilder_ == null) {
- return pages_.size();
- } else {
- return pagesBuilder_.getCount();
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo getPages(int index) {
- if (pagesBuilder_ == null) {
- return pages_.get(index);
- } else {
- return pagesBuilder_.getMessage(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder setPages(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo value) {
- if (pagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePagesIsMutable();
- pages_.set(index, value);
- onChanged();
- } else {
- pagesBuilder_.setMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder setPages(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder builderForValue) {
- if (pagesBuilder_ == null) {
- ensurePagesIsMutable();
- pages_.set(index, builderForValue.build());
- onChanged();
- } else {
- pagesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder addPages(io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo value) {
- if (pagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePagesIsMutable();
- pages_.add(value);
- onChanged();
- } else {
- pagesBuilder_.addMessage(value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder addPages(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo value) {
- if (pagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePagesIsMutable();
- pages_.add(index, value);
- onChanged();
- } else {
- pagesBuilder_.addMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder addPages(
- io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder builderForValue) {
- if (pagesBuilder_ == null) {
- ensurePagesIsMutable();
- pages_.add(builderForValue.build());
- onChanged();
- } else {
- pagesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder addPages(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder builderForValue) {
- if (pagesBuilder_ == null) {
- ensurePagesIsMutable();
- pages_.add(index, builderForValue.build());
- onChanged();
- } else {
- pagesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder addAllPages(
- java.lang.Iterable extends io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo> values) {
- if (pagesBuilder_ == null) {
- ensurePagesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, pages_);
- onChanged();
- } else {
- pagesBuilder_.addAllMessages(values);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder clearPages() {
- if (pagesBuilder_ == null) {
- pages_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- pagesBuilder_.clear();
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public Builder removePages(int index) {
- if (pagesBuilder_ == null) {
- ensurePagesIsMutable();
- pages_.remove(index);
- onChanged();
- } else {
- pagesBuilder_.remove(index);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder getPagesBuilder(
- int index) {
- return internalGetPagesFieldBuilder().getBuilder(index);
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder getPagesOrBuilder(
- int index) {
- if (pagesBuilder_ == null) {
- return pages_.get(index);
- } else {
- return pagesBuilder_.getMessageOrBuilder(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfoOrBuilder>
- getPagesOrBuilderList() {
- if (pagesBuilder_ != null) {
- return pagesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(pages_);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder addPagesBuilder() {
- return internalGetPagesFieldBuilder().addBuilder(
- io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.Builder addPagesBuilder(
- int index) {
- return internalGetPagesFieldBuilder().addBuilder(
- index, io.github.dfa1.vortex.proto.EncodingProtos.PcoPageInfo.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.PcoPageInfo pages = 1;
- */
- public java.util.Listbytes header = 1;
- *
- * @return The header.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getHeader() {
- return header_;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- @java.lang.Override
- public java.util.Listrepeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- @java.lang.Override
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder>
- getChunksOrBuilderList() {
- return chunks_;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- @java.lang.Override
- public int getChunksCount() {
- return chunks_.size();
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo getChunks(int index) {
- return chunks_.get(index);
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder getChunksOrBuilder(
- int index) {
- return chunks_.get(index);
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (!header_.isEmpty()) {
- output.writeBytes(1, header_);
- }
- for (int i = 0; i < chunks_.size(); i++) {
- output.writeMessage(2, chunks_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (!header_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, header_);
- }
-
- {
- final int count = chunks_.size();
- for (int i = 0; i < count; i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSizeNoTag(chunks_.get(i));
- }
- size += 1 * count;
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.EncodingProtos.PcoMetadata)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.EncodingProtos.PcoMetadata other = (io.github.dfa1.vortex.proto.EncodingProtos.PcoMetadata) obj;
-
- if (!getHeader()
- .equals(other.getHeader())) {
- return false;
- }
- if (!getChunksList()
- .equals(other.getChunksList())) {
- 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();
- hash = (37 * hash) + HEADER_FIELD_NUMBER;
- hash = (53 * hash) + getHeader().hashCode();
- if (getChunksCount() > 0) {
- hash = (37 * hash) + CHUNKS_FIELD_NUMBER;
- hash = (53 * hash) + getChunksList().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parserbytes header = 1;
- *
- * @return The header.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getHeader() {
- return header_;
- }
-
- /**
- * bytes header = 1;
- *
- * @param value The header to set.
- * @return This builder for chaining.
- */
- public Builder setHeader(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- header_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- /**
- * bytes header = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearHeader() {
- bitField0_ = (bitField0_ & ~0x00000001);
- header_ = getDefaultInstance().getHeader();
- onChanged();
- return this;
- }
-
- private void ensureChunksIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- chunks_ = new java.util.ArrayListrepeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public java.util.Listrepeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public int getChunksCount() {
- if (chunksBuilder_ == null) {
- return chunks_.size();
- } else {
- return chunksBuilder_.getCount();
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo getChunks(int index) {
- if (chunksBuilder_ == null) {
- return chunks_.get(index);
- } else {
- return chunksBuilder_.getMessage(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder setChunks(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo value) {
- if (chunksBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChunksIsMutable();
- chunks_.set(index, value);
- onChanged();
- } else {
- chunksBuilder_.setMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder setChunks(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder builderForValue) {
- if (chunksBuilder_ == null) {
- ensureChunksIsMutable();
- chunks_.set(index, builderForValue.build());
- onChanged();
- } else {
- chunksBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder addChunks(io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo value) {
- if (chunksBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChunksIsMutable();
- chunks_.add(value);
- onChanged();
- } else {
- chunksBuilder_.addMessage(value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder addChunks(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo value) {
- if (chunksBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChunksIsMutable();
- chunks_.add(index, value);
- onChanged();
- } else {
- chunksBuilder_.addMessage(index, value);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder addChunks(
- io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder builderForValue) {
- if (chunksBuilder_ == null) {
- ensureChunksIsMutable();
- chunks_.add(builderForValue.build());
- onChanged();
- } else {
- chunksBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder addChunks(
- int index, io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder builderForValue) {
- if (chunksBuilder_ == null) {
- ensureChunksIsMutable();
- chunks_.add(index, builderForValue.build());
- onChanged();
- } else {
- chunksBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder addAllChunks(
- java.lang.Iterable extends io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo> values) {
- if (chunksBuilder_ == null) {
- ensureChunksIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, chunks_);
- onChanged();
- } else {
- chunksBuilder_.addAllMessages(values);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder clearChunks() {
- if (chunksBuilder_ == null) {
- chunks_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- chunksBuilder_.clear();
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public Builder removeChunks(int index) {
- if (chunksBuilder_ == null) {
- ensureChunksIsMutable();
- chunks_.remove(index);
- onChanged();
- } else {
- chunksBuilder_.remove(index);
- }
- return this;
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder getChunksBuilder(
- int index) {
- return internalGetChunksFieldBuilder().getBuilder(index);
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder getChunksOrBuilder(
- int index) {
- if (chunksBuilder_ == null) {
- return chunks_.get(index);
- } else {
- return chunksBuilder_.getMessageOrBuilder(index);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public java.util.List extends io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfoOrBuilder>
- getChunksOrBuilderList() {
- if (chunksBuilder_ != null) {
- return chunksBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(chunks_);
- }
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder addChunksBuilder() {
- return internalGetChunksFieldBuilder().addBuilder(
- io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.Builder addChunksBuilder(
- int index) {
- return internalGetChunksFieldBuilder().addBuilder(
- index, io.github.dfa1.vortex.proto.EncodingProtos.PcoChunkInfo.getDefaultInstance());
- }
-
- /**
- * repeated .vortex.encodings.PcoChunkInfo chunks = 2;
- */
- public java.util.List.vortex.dtype.DType dtype = 1;
- *
- * @return Whether the dtype field is set.
- */
- boolean hasDtype();
-
- /**
- * .vortex.dtype.DType dtype = 1;
- *
- * @return The dtype.
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DType getDtype();
-
- /**
- * .vortex.dtype.DType dtype = 1;
- */
- io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getDtypeOrBuilder();
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- *
- * @return Whether the value field is set.
- */
- boolean hasValue();
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- *
- * @return The value.
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getValue();
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getValueOrBuilder();
- }
-
- public interface ScalarValueOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.scalar.ScalarValue)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .google.protobuf.NullValue null_value = 1;
- *
- * @return Whether the nullValue field is set.
- */
- boolean hasNullValue();
-
- /**
- * .google.protobuf.NullValue null_value = 1;
- *
- * @return The enum numeric value on the wire for nullValue.
- */
- int getNullValueValue();
-
- /**
- * .google.protobuf.NullValue null_value = 1;
- *
- * @return The nullValue.
- */
- com.google.protobuf.NullValue getNullValue();
-
- /**
- * bool bool_value = 2;
- *
- * @return Whether the boolValue field is set.
- */
- boolean hasBoolValue();
-
- /**
- * bool bool_value = 2;
- *
- * @return The boolValue.
- */
- boolean getBoolValue();
-
- /**
- * sint64 int64_value = 3;
- *
- * @return Whether the int64Value field is set.
- */
- boolean hasInt64Value();
-
- /**
- * sint64 int64_value = 3;
- *
- * @return The int64Value.
- */
- long getInt64Value();
-
- /**
- * uint64 uint64_value = 4;
- *
- * @return Whether the uint64Value field is set.
- */
- boolean hasUint64Value();
-
- /**
- * uint64 uint64_value = 4;
- *
- * @return The uint64Value.
- */
- long getUint64Value();
-
- /**
- * float f32_value = 5;
- *
- * @return Whether the f32Value field is set.
- */
- boolean hasF32Value();
-
- /**
- * float f32_value = 5;
- *
- * @return The f32Value.
- */
- float getF32Value();
-
- /**
- * double f64_value = 6;
- *
- * @return Whether the f64Value field is set.
- */
- boolean hasF64Value();
-
- /**
- * double f64_value = 6;
- *
- * @return The f64Value.
- */
- double getF64Value();
-
- /**
- * string string_value = 7;
- *
- * @return Whether the stringValue field is set.
- */
- boolean hasStringValue();
-
- /**
- * string string_value = 7;
- *
- * @return The stringValue.
- */
- java.lang.String getStringValue();
-
- /**
- * string string_value = 7;
- *
- * @return The bytes for stringValue.
- */
- com.google.protobuf.ByteString
- getStringValueBytes();
-
- /**
- * bytes bytes_value = 8;
- *
- * @return Whether the bytesValue field is set.
- */
- boolean hasBytesValue();
-
- /**
- * bytes bytes_value = 8;
- *
- * @return The bytesValue.
- */
- com.google.protobuf.ByteString getBytesValue();
-
- /**
- * .vortex.scalar.ListValue list_value = 9;
- *
- * @return Whether the listValue field is set.
- */
- boolean hasListValue();
-
- /**
- * .vortex.scalar.ListValue list_value = 9;
- *
- * @return The listValue.
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ListValue getListValue();
-
- /**
- * .vortex.scalar.ListValue list_value = 9;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ListValueOrBuilder getListValueOrBuilder();
-
- /**
- * uint64 f16_value = 10;
- *
- * @return Whether the f16Value field is set.
- */
- boolean hasF16Value();
-
- /**
- * uint64 f16_value = 10;
- *
- * @return The f16Value.
- */
- long getF16Value();
-
- /**
- * - * Variant scalars carry a row-specific nested scalar. - * See RFC 0015: https://github.com/vortex-data/rfcs/blob/develop/accepted/0015-variant-type.md - *- * - *
.vortex.scalar.Scalar variant_value = 11;
- *
- * @return Whether the variantValue field is set.
- */
- boolean hasVariantValue();
-
- /**
- * - * Variant scalars carry a row-specific nested scalar. - * See RFC 0015: https://github.com/vortex-data/rfcs/blob/develop/accepted/0015-variant-type.md - *- * - *
.vortex.scalar.Scalar variant_value = 11;
- *
- * @return The variantValue.
- */
- io.github.dfa1.vortex.proto.ScalarProtos.Scalar getVariantValue();
-
- /**
- * - * Variant scalars carry a row-specific nested scalar. - * See RFC 0015: https://github.com/vortex-data/rfcs/blob/develop/accepted/0015-variant-type.md - *- * - *
.vortex.scalar.Scalar variant_value = 11;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarOrBuilder getVariantValueOrBuilder();
-
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.KindCase getKindCase();
- }
-
- public interface ListValueOrBuilder extends
- // @@protoc_insertion_point(interface_extends:vortex.scalar.ListValue)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * repeated .vortex.scalar.ScalarValue values = 1;
- */
- java.util.Listrepeated .vortex.scalar.ScalarValue values = 1;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getValues(int index);
-
- /**
- * repeated .vortex.scalar.ScalarValue values = 1;
- */
- int getValuesCount();
-
- /**
- * repeated .vortex.scalar.ScalarValue values = 1;
- */
- java.util.List extends io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder>
- getValuesOrBuilderList();
-
- /**
- * repeated .vortex.scalar.ScalarValue values = 1;
- */
- io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getValuesOrBuilder(
- int index);
- }
-
- /**
- * Protobuf type {@code vortex.scalar.Scalar}
- */
- public static final class Scalar extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:vortex.scalar.Scalar)
- ScalarOrBuilder {
- public static final int DTYPE_FIELD_NUMBER = 1;
- public static final int VALUE_FIELD_NUMBER = 2;
- private static final long serialVersionUID = 0L;
- // @@protoc_insertion_point(class_scope:vortex.scalar.Scalar)
- private static final io.github.dfa1.vortex.proto.ScalarProtos.Scalar DEFAULT_INSTANCE;
- private static final com.google.protobuf.Parser.vortex.dtype.DType dtype = 1;
- *
- * @return Whether the dtype field is set.
- */
- @java.lang.Override
- public boolean hasDtype() {
- return ((bitField0_ & 0x00000001) != 0);
- }
-
- /**
- * .vortex.dtype.DType dtype = 1;
- *
- * @return The dtype.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DType getDtype() {
- return dtype_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : dtype_;
- }
-
- /**
- * .vortex.dtype.DType dtype = 1;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.DTypeProtos.DTypeOrBuilder getDtypeOrBuilder() {
- return dtype_ == null ? io.github.dfa1.vortex.proto.DTypeProtos.DType.getDefaultInstance() : dtype_;
- }
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- *
- * @return Whether the value field is set.
- */
- @java.lang.Override
- public boolean hasValue() {
- return ((bitField0_ & 0x00000002) != 0);
- }
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- *
- * @return The value.
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue getValue() {
- return value_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : value_;
- }
-
- /**
- * .vortex.scalar.ScalarValue value = 2;
- */
- @java.lang.Override
- public io.github.dfa1.vortex.proto.ScalarProtos.ScalarValueOrBuilder getValueOrBuilder() {
- return value_ == null ? io.github.dfa1.vortex.proto.ScalarProtos.ScalarValue.getDefaultInstance() : value_;
- }
-
- @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(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getDtype());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeMessage(2, getValue());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int computeSerializedSize_0() {
- int size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getDtype());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getValue());
- }
- return size;
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) {
- return size;
- }
-
- size = 0;
- size += computeSerializedSize_0();
- 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 io.github.dfa1.vortex.proto.ScalarProtos.Scalar)) {
- return super.equals(obj);
- }
- io.github.dfa1.vortex.proto.ScalarProtos.Scalar other = (io.github.dfa1.vortex.proto.ScalarProtos.Scalar) obj;
-
- if (hasDtype() != other.hasDtype()) {
- return false;
- }
- if (hasDtype()) {
- if (!getDtype()
- .equals(other.getDtype())) {
- return false;
- }
- }
- if (hasValue() != other.hasValue()) {
- return false;
- }
- if (hasValue()) {
- if (!getValue()
- .equals(other.getValue())) {
- 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 (hasDtype()) {
- hash = (37 * hash) + DTYPE_FIELD_NUMBER;
- hash = (53 * hash) + getDtype().hashCode();
- }
- if (hasValue()) {
- hash = (37 * hash) + VALUE_FIELD_NUMBER;
- hash = (53 * hash) + getValue().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser