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

org.polypheny.prism.Column Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: org/polypheny/prism/namespace_meta_responses.proto

package org.polypheny.prism;

/**
 * 
 *
 *The Column message describes the attributes of a specific column within a table.
 * 
* * Protobuf type {@code org.polypheny.prism.Column} */ public final class Column extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.polypheny.prism.Column) ColumnOrBuilder { private static final long serialVersionUID = 0L; // Use Column.newBuilder() to construct. private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Column() { namespaceName_ = ""; tableName_ = ""; columnName_ = ""; typeName_ = ""; defaultValueAsString_ = ""; collation_ = ""; columnType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Column(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.polypheny.prism.NamespaceMetaResponses.internal_static_org_polypheny_prism_Column_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.polypheny.prism.NamespaceMetaResponses.internal_static_org_polypheny_prism_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.polypheny.prism.Column.class, org.polypheny.prism.Column.Builder.class); } /** *
   *
   *The PrimaryKey message provides details about a table’s primary key.
   * 
* * Protobuf enum {@code org.polypheny.prism.Column.ColumnType} */ public enum ColumnType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * The database where the primary key’s table is located.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * The namespace or schema of the primary key’s table.
     * 
* * REGULAR = 1; */ REGULAR(1), /** *
     * The table with this primary key.
     * 
* * CALCULATED = 2; */ CALCULATED(2), /** *
     * The columns that make up the primary key.
     * 
* * VERSION = 3; */ VERSION(3), UNRECOGNIZED(-1), ; /** *
     * The database where the primary key’s table is located.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
     * The namespace or schema of the primary key’s table.
     * 
* * REGULAR = 1; */ public static final int REGULAR_VALUE = 1; /** *
     * The table with this primary key.
     * 
* * CALCULATED = 2; */ public static final int CALCULATED_VALUE = 2; /** *
     * The columns that make up the primary key.
     * 
* * VERSION = 3; */ public static final int VERSION_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ColumnType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ColumnType forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return REGULAR; case 2: return CALCULATED; case 3: return VERSION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ColumnType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ColumnType findValueByNumber(int number) { return ColumnType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.polypheny.prism.Column.getDescriptor().getEnumTypes().get(0); } private static final ColumnType[] VALUES = values(); public static ColumnType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ColumnType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.polypheny.prism.Column.ColumnType) } private int bitField0_; public static final int NAMESPACE_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object namespaceName_ = ""; /** *
   * The namespace or schema of the column’s table.
   * 
* * string namespace_name = 2; * @return The namespaceName. */ @java.lang.Override public java.lang.String getNamespaceName() { java.lang.Object ref = namespaceName_; 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(); namespaceName_ = s; return s; } } /** *
   * The namespace or schema of the column’s table.
   * 
* * string namespace_name = 2; * @return The bytes for namespaceName. */ @java.lang.Override public com.google.protobuf.ByteString getNamespaceNameBytes() { java.lang.Object ref = namespaceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** *
   * The table to which this column belongs.
   * 
* * string table_name = 3; * @return The tableName. */ @java.lang.Override public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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(); tableName_ = s; return s; } } /** *
   * The table to which this column belongs.
   * 
* * string table_name = 3; * @return The bytes for tableName. */ @java.lang.Override public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLUMN_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** *
   * The name of the column.
   * 
* * string column_name = 4; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; 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(); columnName_ = s; return s; } } /** *
   * The name of the column.
   * 
* * string column_name = 4; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_NAME_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object typeName_ = ""; /** *
   * The data type of the column.
   * 
* * string type_name = 5; * @return The typeName. */ @java.lang.Override public java.lang.String getTypeName() { java.lang.Object ref = typeName_; 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(); typeName_ = s; return s; } } /** *
   * The data type of the column.
   * 
* * string type_name = 5; * @return The bytes for typeName. */ @java.lang.Override public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_LENGTH_FIELD_NUMBER = 6; private int typeLength_ = 0; /** *
   * The length or size of the column type, if applicable.
   * 
* * optional int32 type_length = 6; * @return Whether the typeLength field is set. */ @java.lang.Override public boolean hasTypeLength() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The length or size of the column type, if applicable.
   * 
* * optional int32 type_length = 6; * @return The typeLength. */ @java.lang.Override public int getTypeLength() { return typeLength_; } public static final int TYPE_SCALE_FIELD_NUMBER = 7; private int typeScale_ = 0; /** *
   * The scale of the column type, if applicable.
   * 
* * optional int32 type_scale = 7; * @return Whether the typeScale field is set. */ @java.lang.Override public boolean hasTypeScale() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The scale of the column type, if applicable.
   * 
* * optional int32 type_scale = 7; * @return The typeScale. */ @java.lang.Override public int getTypeScale() { return typeScale_; } public static final int IS_NULLABLE_FIELD_NUMBER = 8; private boolean isNullable_ = false; /** *
   * Indicates if the column can contain null values.
   * 
* * bool is_nullable = 8; * @return The isNullable. */ @java.lang.Override public boolean getIsNullable() { return isNullable_; } public static final int DEFAULT_VALUE_AS_STRING_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object defaultValueAsString_ = ""; /** *
   * The default value of the column, represented as a string.
   * 
* * optional string default_value_as_string = 9; * @return Whether the defaultValueAsString field is set. */ @java.lang.Override public boolean hasDefaultValueAsString() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * The default value of the column, represented as a string.
   * 
* * optional string default_value_as_string = 9; * @return The defaultValueAsString. */ @java.lang.Override public java.lang.String getDefaultValueAsString() { java.lang.Object ref = defaultValueAsString_; 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(); defaultValueAsString_ = s; return s; } } /** *
   * The default value of the column, represented as a string.
   * 
* * optional string default_value_as_string = 9; * @return The bytes for defaultValueAsString. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultValueAsStringBytes() { java.lang.Object ref = defaultValueAsString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultValueAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLUMN_INDEX_FIELD_NUMBER = 10; private int columnIndex_ = 0; /** *
   * The positional index of the column in the table.
   * 
* * int32 column_index = 10; * @return The columnIndex. */ @java.lang.Override public int getColumnIndex() { return columnIndex_; } public static final int COLLATION_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object collation_ = ""; /** *
   * The collation name for the column, if applicable.
   * 
* * optional string collation = 11; * @return Whether the collation field is set. */ @java.lang.Override public boolean hasCollation() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * The collation name for the column, if applicable.
   * 
* * optional string collation = 11; * @return The collation. */ @java.lang.Override public java.lang.String getCollation() { java.lang.Object ref = collation_; 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(); collation_ = s; return s; } } /** *
   * The collation name for the column, if applicable.
   * 
* * optional string collation = 11; * @return The bytes for collation. */ @java.lang.Override public com.google.protobuf.ByteString getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_HIDDEN_FIELD_NUMBER = 12; private boolean isHidden_ = false; /** *
   * Indicates if the column is hidden.
   * 
* * bool is_hidden = 12; * @return The isHidden. */ @java.lang.Override public boolean getIsHidden() { return isHidden_; } public static final int COLUMN_TYPE_FIELD_NUMBER = 13; private int columnType_ = 0; /** *
   * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
   * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @return The enum numeric value on the wire for columnType. */ @java.lang.Override public int getColumnTypeValue() { return columnType_; } /** *
   * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
   * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @return The columnType. */ @java.lang.Override public org.polypheny.prism.Column.ColumnType getColumnType() { org.polypheny.prism.Column.ColumnType result = org.polypheny.prism.Column.ColumnType.forNumber(columnType_); return result == null ? org.polypheny.prism.Column.ColumnType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespaceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, columnName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, typeName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(6, typeLength_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(7, typeScale_); } if (isNullable_ != false) { output.writeBool(8, isNullable_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, defaultValueAsString_); } if (columnIndex_ != 0) { output.writeInt32(10, columnIndex_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, collation_); } if (isHidden_ != false) { output.writeBool(12, isHidden_); } if (columnType_ != org.polypheny.prism.Column.ColumnType.UNSPECIFIED.getNumber()) { output.writeEnum(13, columnType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespaceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, columnName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, typeName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, typeLength_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, typeScale_); } if (isNullable_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, isNullable_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, defaultValueAsString_); } if (columnIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, columnIndex_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, collation_); } if (isHidden_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, isHidden_); } if (columnType_ != org.polypheny.prism.Column.ColumnType.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, columnType_); } 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 org.polypheny.prism.Column)) { return super.equals(obj); } org.polypheny.prism.Column other = (org.polypheny.prism.Column) obj; if (!getNamespaceName() .equals(other.getNamespaceName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (!getColumnName() .equals(other.getColumnName())) return false; if (!getTypeName() .equals(other.getTypeName())) return false; if (hasTypeLength() != other.hasTypeLength()) return false; if (hasTypeLength()) { if (getTypeLength() != other.getTypeLength()) return false; } if (hasTypeScale() != other.hasTypeScale()) return false; if (hasTypeScale()) { if (getTypeScale() != other.getTypeScale()) return false; } if (getIsNullable() != other.getIsNullable()) return false; if (hasDefaultValueAsString() != other.hasDefaultValueAsString()) return false; if (hasDefaultValueAsString()) { if (!getDefaultValueAsString() .equals(other.getDefaultValueAsString())) return false; } if (getColumnIndex() != other.getColumnIndex()) return false; if (hasCollation() != other.hasCollation()) return false; if (hasCollation()) { if (!getCollation() .equals(other.getCollation())) return false; } if (getIsHidden() != other.getIsHidden()) return false; if (columnType_ != other.columnType_) 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) + NAMESPACE_NAME_FIELD_NUMBER; hash = (53 * hash) + getNamespaceName().hashCode(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTypeName().hashCode(); if (hasTypeLength()) { hash = (37 * hash) + TYPE_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getTypeLength(); } if (hasTypeScale()) { hash = (37 * hash) + TYPE_SCALE_FIELD_NUMBER; hash = (53 * hash) + getTypeScale(); } hash = (37 * hash) + IS_NULLABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsNullable()); if (hasDefaultValueAsString()) { hash = (37 * hash) + DEFAULT_VALUE_AS_STRING_FIELD_NUMBER; hash = (53 * hash) + getDefaultValueAsString().hashCode(); } hash = (37 * hash) + COLUMN_INDEX_FIELD_NUMBER; hash = (53 * hash) + getColumnIndex(); if (hasCollation()) { hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); } hash = (37 * hash) + IS_HIDDEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsHidden()); hash = (37 * hash) + COLUMN_TYPE_FIELD_NUMBER; hash = (53 * hash) + columnType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.polypheny.prism.Column parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.Column parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.polypheny.prism.Column parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.polypheny.prism.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.Column parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.polypheny.prism.Column parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.polypheny.prism.Column parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.polypheny.prism.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.polypheny.prism.Column parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.polypheny.prism.Column parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.polypheny.prism.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.polypheny.prism.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   *
   *The Column message describes the attributes of a specific column within a table.
   * 
* * Protobuf type {@code org.polypheny.prism.Column} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.polypheny.prism.Column) org.polypheny.prism.ColumnOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.polypheny.prism.NamespaceMetaResponses.internal_static_org_polypheny_prism_Column_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.polypheny.prism.NamespaceMetaResponses.internal_static_org_polypheny_prism_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.polypheny.prism.Column.class, org.polypheny.prism.Column.Builder.class); } // Construct using org.polypheny.prism.Column.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; namespaceName_ = ""; tableName_ = ""; columnName_ = ""; typeName_ = ""; typeLength_ = 0; typeScale_ = 0; isNullable_ = false; defaultValueAsString_ = ""; columnIndex_ = 0; collation_ = ""; isHidden_ = false; columnType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.polypheny.prism.NamespaceMetaResponses.internal_static_org_polypheny_prism_Column_descriptor; } @java.lang.Override public org.polypheny.prism.Column getDefaultInstanceForType() { return org.polypheny.prism.Column.getDefaultInstance(); } @java.lang.Override public org.polypheny.prism.Column build() { org.polypheny.prism.Column result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.polypheny.prism.Column buildPartial() { org.polypheny.prism.Column result = new org.polypheny.prism.Column(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.polypheny.prism.Column result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.namespaceName_ = namespaceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tableName_ = tableName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.columnName_ = columnName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.typeName_ = typeName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.typeLength_ = typeLength_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.typeScale_ = typeScale_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.isNullable_ = isNullable_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.defaultValueAsString_ = defaultValueAsString_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000100) != 0)) { result.columnIndex_ = columnIndex_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.collation_ = collation_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000400) != 0)) { result.isHidden_ = isHidden_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.columnType_ = columnType_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.polypheny.prism.Column) { return mergeFrom((org.polypheny.prism.Column)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.polypheny.prism.Column other) { if (other == org.polypheny.prism.Column.getDefaultInstance()) return this; if (!other.getNamespaceName().isEmpty()) { namespaceName_ = other.namespaceName_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasTypeLength()) { setTypeLength(other.getTypeLength()); } if (other.hasTypeScale()) { setTypeScale(other.getTypeScale()); } if (other.getIsNullable() != false) { setIsNullable(other.getIsNullable()); } if (other.hasDefaultValueAsString()) { defaultValueAsString_ = other.defaultValueAsString_; bitField0_ |= 0x00000080; onChanged(); } if (other.getColumnIndex() != 0) { setColumnIndex(other.getColumnIndex()); } if (other.hasCollation()) { collation_ = other.collation_; bitField0_ |= 0x00000200; onChanged(); } if (other.getIsHidden() != false) { setIsHidden(other.getIsHidden()); } if (other.columnType_ != 0) { setColumnTypeValue(other.getColumnTypeValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { namespaceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 18 case 26: { tableName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 26 case 34: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 34 case 42: { typeName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 42 case 48: { typeLength_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 48 case 56: { typeScale_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 56 case 64: { isNullable_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 64 case 74: { defaultValueAsString_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000080; break; } // case 74 case 80: { columnIndex_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 80 case 90: { collation_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 90 case 96: { isHidden_ = input.readBool(); bitField0_ |= 0x00000400; break; } // case 96 case 104: { columnType_ = input.readEnum(); bitField0_ |= 0x00000800; break; } // case 104 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object namespaceName_ = ""; /** *
     * The namespace or schema of the column’s table.
     * 
* * string namespace_name = 2; * @return The namespaceName. */ public java.lang.String getNamespaceName() { java.lang.Object ref = namespaceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The namespace or schema of the column’s table.
     * 
* * string namespace_name = 2; * @return The bytes for namespaceName. */ public com.google.protobuf.ByteString getNamespaceNameBytes() { java.lang.Object ref = namespaceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The namespace or schema of the column’s table.
     * 
* * string namespace_name = 2; * @param value The namespaceName to set. * @return This builder for chaining. */ public Builder setNamespaceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } namespaceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The namespace or schema of the column’s table.
     * 
* * string namespace_name = 2; * @return This builder for chaining. */ public Builder clearNamespaceName() { namespaceName_ = getDefaultInstance().getNamespaceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * The namespace or schema of the column’s table.
     * 
* * string namespace_name = 2; * @param value The bytes for namespaceName to set. * @return This builder for chaining. */ public Builder setNamespaceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); namespaceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object tableName_ = ""; /** *
     * The table to which this column belongs.
     * 
* * string table_name = 3; * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The table to which this column belongs.
     * 
* * string table_name = 3; * @return The bytes for tableName. */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The table to which this column belongs.
     * 
* * string table_name = 3; * @param value The tableName to set. * @return This builder for chaining. */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The table to which this column belongs.
     * 
* * string table_name = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The table to which this column belongs.
     * 
* * string table_name = 3; * @param value The bytes for tableName to set. * @return This builder for chaining. */ public Builder setTableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object columnName_ = ""; /** *
     * The name of the column.
     * 
* * string column_name = 4; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The name of the column.
     * 
* * string column_name = 4; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name of the column.
     * 
* * string column_name = 4; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The name of the column.
     * 
* * string column_name = 4; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * The name of the column.
     * 
* * string column_name = 4; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object typeName_ = ""; /** *
     * The data type of the column.
     * 
* * string type_name = 5; * @return The typeName. */ public java.lang.String getTypeName() { java.lang.Object ref = typeName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The data type of the column.
     * 
* * string type_name = 5; * @return The bytes for typeName. */ public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The data type of the column.
     * 
* * string type_name = 5; * @param value The typeName to set. * @return This builder for chaining. */ public Builder setTypeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } typeName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The data type of the column.
     * 
* * string type_name = 5; * @return This builder for chaining. */ public Builder clearTypeName() { typeName_ = getDefaultInstance().getTypeName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * The data type of the column.
     * 
* * string type_name = 5; * @param value The bytes for typeName to set. * @return This builder for chaining. */ public Builder setTypeNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); typeName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private int typeLength_ ; /** *
     * The length or size of the column type, if applicable.
     * 
* * optional int32 type_length = 6; * @return Whether the typeLength field is set. */ @java.lang.Override public boolean hasTypeLength() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The length or size of the column type, if applicable.
     * 
* * optional int32 type_length = 6; * @return The typeLength. */ @java.lang.Override public int getTypeLength() { return typeLength_; } /** *
     * The length or size of the column type, if applicable.
     * 
* * optional int32 type_length = 6; * @param value The typeLength to set. * @return This builder for chaining. */ public Builder setTypeLength(int value) { typeLength_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The length or size of the column type, if applicable.
     * 
* * optional int32 type_length = 6; * @return This builder for chaining. */ public Builder clearTypeLength() { bitField0_ = (bitField0_ & ~0x00000010); typeLength_ = 0; onChanged(); return this; } private int typeScale_ ; /** *
     * The scale of the column type, if applicable.
     * 
* * optional int32 type_scale = 7; * @return Whether the typeScale field is set. */ @java.lang.Override public boolean hasTypeScale() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The scale of the column type, if applicable.
     * 
* * optional int32 type_scale = 7; * @return The typeScale. */ @java.lang.Override public int getTypeScale() { return typeScale_; } /** *
     * The scale of the column type, if applicable.
     * 
* * optional int32 type_scale = 7; * @param value The typeScale to set. * @return This builder for chaining. */ public Builder setTypeScale(int value) { typeScale_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * The scale of the column type, if applicable.
     * 
* * optional int32 type_scale = 7; * @return This builder for chaining. */ public Builder clearTypeScale() { bitField0_ = (bitField0_ & ~0x00000020); typeScale_ = 0; onChanged(); return this; } private boolean isNullable_ ; /** *
     * Indicates if the column can contain null values.
     * 
* * bool is_nullable = 8; * @return The isNullable. */ @java.lang.Override public boolean getIsNullable() { return isNullable_; } /** *
     * Indicates if the column can contain null values.
     * 
* * bool is_nullable = 8; * @param value The isNullable to set. * @return This builder for chaining. */ public Builder setIsNullable(boolean value) { isNullable_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Indicates if the column can contain null values.
     * 
* * bool is_nullable = 8; * @return This builder for chaining. */ public Builder clearIsNullable() { bitField0_ = (bitField0_ & ~0x00000040); isNullable_ = false; onChanged(); return this; } private java.lang.Object defaultValueAsString_ = ""; /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @return Whether the defaultValueAsString field is set. */ public boolean hasDefaultValueAsString() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @return The defaultValueAsString. */ public java.lang.String getDefaultValueAsString() { java.lang.Object ref = defaultValueAsString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValueAsString_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @return The bytes for defaultValueAsString. */ public com.google.protobuf.ByteString getDefaultValueAsStringBytes() { java.lang.Object ref = defaultValueAsString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultValueAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @param value The defaultValueAsString to set. * @return This builder for chaining. */ public Builder setDefaultValueAsString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultValueAsString_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @return This builder for chaining. */ public Builder clearDefaultValueAsString() { defaultValueAsString_ = getDefaultInstance().getDefaultValueAsString(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** *
     * The default value of the column, represented as a string.
     * 
* * optional string default_value_as_string = 9; * @param value The bytes for defaultValueAsString to set. * @return This builder for chaining. */ public Builder setDefaultValueAsStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultValueAsString_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private int columnIndex_ ; /** *
     * The positional index of the column in the table.
     * 
* * int32 column_index = 10; * @return The columnIndex. */ @java.lang.Override public int getColumnIndex() { return columnIndex_; } /** *
     * The positional index of the column in the table.
     * 
* * int32 column_index = 10; * @param value The columnIndex to set. * @return This builder for chaining. */ public Builder setColumnIndex(int value) { columnIndex_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * The positional index of the column in the table.
     * 
* * int32 column_index = 10; * @return This builder for chaining. */ public Builder clearColumnIndex() { bitField0_ = (bitField0_ & ~0x00000100); columnIndex_ = 0; onChanged(); return this; } private java.lang.Object collation_ = ""; /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @return Whether the collation field is set. */ public boolean hasCollation() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @return The collation. */ public java.lang.String getCollation() { java.lang.Object ref = collation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collation_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @return The bytes for collation. */ public com.google.protobuf.ByteString getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @param value The collation to set. * @return This builder for chaining. */ public Builder setCollation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collation_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @return This builder for chaining. */ public Builder clearCollation() { collation_ = getDefaultInstance().getCollation(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
     * The collation name for the column, if applicable.
     * 
* * optional string collation = 11; * @param value The bytes for collation to set. * @return This builder for chaining. */ public Builder setCollationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collation_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private boolean isHidden_ ; /** *
     * Indicates if the column is hidden.
     * 
* * bool is_hidden = 12; * @return The isHidden. */ @java.lang.Override public boolean getIsHidden() { return isHidden_; } /** *
     * Indicates if the column is hidden.
     * 
* * bool is_hidden = 12; * @param value The isHidden to set. * @return This builder for chaining. */ public Builder setIsHidden(boolean value) { isHidden_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Indicates if the column is hidden.
     * 
* * bool is_hidden = 12; * @return This builder for chaining. */ public Builder clearIsHidden() { bitField0_ = (bitField0_ & ~0x00000400); isHidden_ = false; onChanged(); return this; } private int columnType_ = 0; /** *
     * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
     * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @return The enum numeric value on the wire for columnType. */ @java.lang.Override public int getColumnTypeValue() { return columnType_; } /** *
     * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
     * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @param value The enum numeric value on the wire for columnType to set. * @return This builder for chaining. */ public Builder setColumnTypeValue(int value) { columnType_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
     * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @return The columnType. */ @java.lang.Override public org.polypheny.prism.Column.ColumnType getColumnType() { org.polypheny.prism.Column.ColumnType result = org.polypheny.prism.Column.ColumnType.forNumber(columnType_); return result == null ? org.polypheny.prism.Column.ColumnType.UNRECOGNIZED : result; } /** *
     * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
     * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @param value The columnType to set. * @return This builder for chaining. */ public Builder setColumnType(org.polypheny.prism.Column.ColumnType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; columnType_ = value.getNumber(); onChanged(); return this; } /** *
     * An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION).
     * 
* * .org.polypheny.prism.Column.ColumnType column_type = 13; * @return This builder for chaining. */ public Builder clearColumnType() { bitField0_ = (bitField0_ & ~0x00000800); columnType_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.polypheny.prism.Column) } // @@protoc_insertion_point(class_scope:org.polypheny.prism.Column) private static final org.polypheny.prism.Column DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.polypheny.prism.Column(); } public static org.polypheny.prism.Column getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Column parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.polypheny.prism.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy