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

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

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

package org.polypheny.prism;

/**
 * 
 *
 *The RelationalFrame message encapsulates the structure of a relational frame, which includes metadata about columns and rows of data within a relational table.
 *This structure is essential for representing the schema and data of a table in a structured format, facilitating data manipulation and query operations.
 * 
* * Protobuf type {@code org.polypheny.prism.RelationalFrame} */ public final class RelationalFrame extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.polypheny.prism.RelationalFrame) RelationalFrameOrBuilder { private static final long serialVersionUID = 0L; // Use RelationalFrame.newBuilder() to construct. private RelationalFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RelationalFrame() { columnMeta_ = java.util.Collections.emptyList(); rows_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RelationalFrame(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.polypheny.prism.RelationalResult.internal_static_org_polypheny_prism_RelationalFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.polypheny.prism.RelationalResult.internal_static_org_polypheny_prism_RelationalFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( org.polypheny.prism.RelationalFrame.class, org.polypheny.prism.RelationalFrame.Builder.class); } public static final int COLUMN_META_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List columnMeta_; /** *
   *
   *A collection of metadata about each column in the frame.
   *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
   * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ @java.lang.Override public java.util.List getColumnMetaList() { return columnMeta_; } /** *
   *
   *A collection of metadata about each column in the frame.
   *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
   * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ @java.lang.Override public java.util.List getColumnMetaOrBuilderList() { return columnMeta_; } /** *
   *
   *A collection of metadata about each column in the frame.
   *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
   * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ @java.lang.Override public int getColumnMetaCount() { return columnMeta_.size(); } /** *
   *
   *A collection of metadata about each column in the frame.
   *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
   * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ @java.lang.Override public org.polypheny.prism.ColumnMeta getColumnMeta(int index) { return columnMeta_.get(index); } /** *
   *
   *A collection of metadata about each column in the frame.
   *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
   * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ @java.lang.Override public org.polypheny.prism.ColumnMetaOrBuilder getColumnMetaOrBuilder( int index) { return columnMeta_.get(index); } public static final int ROWS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List rows_; /** *
   *
   *The rows of data within the frame.
   *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
   * 
* * repeated .org.polypheny.prism.Row rows = 2; */ @java.lang.Override public java.util.List getRowsList() { return rows_; } /** *
   *
   *The rows of data within the frame.
   *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
   * 
* * repeated .org.polypheny.prism.Row rows = 2; */ @java.lang.Override public java.util.List getRowsOrBuilderList() { return rows_; } /** *
   *
   *The rows of data within the frame.
   *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
   * 
* * repeated .org.polypheny.prism.Row rows = 2; */ @java.lang.Override public int getRowsCount() { return rows_.size(); } /** *
   *
   *The rows of data within the frame.
   *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
   * 
* * repeated .org.polypheny.prism.Row rows = 2; */ @java.lang.Override public org.polypheny.prism.Row getRows(int index) { return rows_.get(index); } /** *
   *
   *The rows of data within the frame.
   *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
   * 
* * repeated .org.polypheny.prism.Row rows = 2; */ @java.lang.Override public org.polypheny.prism.RowOrBuilder getRowsOrBuilder( int index) { return rows_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < columnMeta_.size(); i++) { output.writeMessage(1, columnMeta_.get(i)); } for (int i = 0; i < rows_.size(); i++) { output.writeMessage(2, rows_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < columnMeta_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, columnMeta_.get(i)); } for (int i = 0; i < rows_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, rows_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.polypheny.prism.RelationalFrame)) { return super.equals(obj); } org.polypheny.prism.RelationalFrame other = (org.polypheny.prism.RelationalFrame) obj; if (!getColumnMetaList() .equals(other.getColumnMetaList())) return false; if (!getRowsList() .equals(other.getRowsList())) 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 (getColumnMetaCount() > 0) { hash = (37 * hash) + COLUMN_META_FIELD_NUMBER; hash = (53 * hash) + getColumnMetaList().hashCode(); } if (getRowsCount() > 0) { hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRowsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.polypheny.prism.RelationalFrame parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.RelationalFrame 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.RelationalFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.RelationalFrame 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.RelationalFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.polypheny.prism.RelationalFrame parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.polypheny.prism.RelationalFrame parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.polypheny.prism.RelationalFrame 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.RelationalFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.polypheny.prism.RelationalFrame 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.RelationalFrame parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.polypheny.prism.RelationalFrame 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.RelationalFrame 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 RelationalFrame message encapsulates the structure of a relational frame, which includes metadata about columns and rows of data within a relational table.
   *This structure is essential for representing the schema and data of a table in a structured format, facilitating data manipulation and query operations.
   * 
* * Protobuf type {@code org.polypheny.prism.RelationalFrame} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.polypheny.prism.RelationalFrame) org.polypheny.prism.RelationalFrameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.polypheny.prism.RelationalResult.internal_static_org_polypheny_prism_RelationalFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.polypheny.prism.RelationalResult.internal_static_org_polypheny_prism_RelationalFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( org.polypheny.prism.RelationalFrame.class, org.polypheny.prism.RelationalFrame.Builder.class); } // Construct using org.polypheny.prism.RelationalFrame.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (columnMetaBuilder_ == null) { columnMeta_ = java.util.Collections.emptyList(); } else { columnMeta_ = null; columnMetaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (rowsBuilder_ == null) { rows_ = java.util.Collections.emptyList(); } else { rows_ = null; rowsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.polypheny.prism.RelationalResult.internal_static_org_polypheny_prism_RelationalFrame_descriptor; } @java.lang.Override public org.polypheny.prism.RelationalFrame getDefaultInstanceForType() { return org.polypheny.prism.RelationalFrame.getDefaultInstance(); } @java.lang.Override public org.polypheny.prism.RelationalFrame build() { org.polypheny.prism.RelationalFrame result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.polypheny.prism.RelationalFrame buildPartial() { org.polypheny.prism.RelationalFrame result = new org.polypheny.prism.RelationalFrame(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(org.polypheny.prism.RelationalFrame result) { if (columnMetaBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { columnMeta_ = java.util.Collections.unmodifiableList(columnMeta_); bitField0_ = (bitField0_ & ~0x00000001); } result.columnMeta_ = columnMeta_; } else { result.columnMeta_ = columnMetaBuilder_.build(); } if (rowsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { rows_ = java.util.Collections.unmodifiableList(rows_); bitField0_ = (bitField0_ & ~0x00000002); } result.rows_ = rows_; } else { result.rows_ = rowsBuilder_.build(); } } private void buildPartial0(org.polypheny.prism.RelationalFrame result) { int from_bitField0_ = 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.RelationalFrame) { return mergeFrom((org.polypheny.prism.RelationalFrame)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.polypheny.prism.RelationalFrame other) { if (other == org.polypheny.prism.RelationalFrame.getDefaultInstance()) return this; if (columnMetaBuilder_ == null) { if (!other.columnMeta_.isEmpty()) { if (columnMeta_.isEmpty()) { columnMeta_ = other.columnMeta_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColumnMetaIsMutable(); columnMeta_.addAll(other.columnMeta_); } onChanged(); } } else { if (!other.columnMeta_.isEmpty()) { if (columnMetaBuilder_.isEmpty()) { columnMetaBuilder_.dispose(); columnMetaBuilder_ = null; columnMeta_ = other.columnMeta_; bitField0_ = (bitField0_ & ~0x00000001); columnMetaBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnMetaFieldBuilder() : null; } else { columnMetaBuilder_.addAllMessages(other.columnMeta_); } } } if (rowsBuilder_ == null) { if (!other.rows_.isEmpty()) { if (rows_.isEmpty()) { rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRowsIsMutable(); rows_.addAll(other.rows_); } onChanged(); } } else { if (!other.rows_.isEmpty()) { if (rowsBuilder_.isEmpty()) { rowsBuilder_.dispose(); rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000002); rowsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } } } 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 10: { org.polypheny.prism.ColumnMeta m = input.readMessage( org.polypheny.prism.ColumnMeta.parser(), extensionRegistry); if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); columnMeta_.add(m); } else { columnMetaBuilder_.addMessage(m); } break; } // case 10 case 18: { org.polypheny.prism.Row m = input.readMessage( org.polypheny.prism.Row.parser(), extensionRegistry); if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(m); } else { rowsBuilder_.addMessage(m); } break; } // case 18 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.util.List columnMeta_ = java.util.Collections.emptyList(); private void ensureColumnMetaIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columnMeta_ = new java.util.ArrayList(columnMeta_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.ColumnMeta, org.polypheny.prism.ColumnMeta.Builder, org.polypheny.prism.ColumnMetaOrBuilder> columnMetaBuilder_; /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public java.util.List getColumnMetaList() { if (columnMetaBuilder_ == null) { return java.util.Collections.unmodifiableList(columnMeta_); } else { return columnMetaBuilder_.getMessageList(); } } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public int getColumnMetaCount() { if (columnMetaBuilder_ == null) { return columnMeta_.size(); } else { return columnMetaBuilder_.getCount(); } } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public org.polypheny.prism.ColumnMeta getColumnMeta(int index) { if (columnMetaBuilder_ == null) { return columnMeta_.get(index); } else { return columnMetaBuilder_.getMessage(index); } } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder setColumnMeta( int index, org.polypheny.prism.ColumnMeta value) { if (columnMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnMetaIsMutable(); columnMeta_.set(index, value); onChanged(); } else { columnMetaBuilder_.setMessage(index, value); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder setColumnMeta( int index, org.polypheny.prism.ColumnMeta.Builder builderForValue) { if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); columnMeta_.set(index, builderForValue.build()); onChanged(); } else { columnMetaBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder addColumnMeta(org.polypheny.prism.ColumnMeta value) { if (columnMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnMetaIsMutable(); columnMeta_.add(value); onChanged(); } else { columnMetaBuilder_.addMessage(value); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder addColumnMeta( int index, org.polypheny.prism.ColumnMeta value) { if (columnMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnMetaIsMutable(); columnMeta_.add(index, value); onChanged(); } else { columnMetaBuilder_.addMessage(index, value); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder addColumnMeta( org.polypheny.prism.ColumnMeta.Builder builderForValue) { if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); columnMeta_.add(builderForValue.build()); onChanged(); } else { columnMetaBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder addColumnMeta( int index, org.polypheny.prism.ColumnMeta.Builder builderForValue) { if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); columnMeta_.add(index, builderForValue.build()); onChanged(); } else { columnMetaBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder addAllColumnMeta( java.lang.Iterable values) { if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columnMeta_); onChanged(); } else { columnMetaBuilder_.addAllMessages(values); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder clearColumnMeta() { if (columnMetaBuilder_ == null) { columnMeta_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { columnMetaBuilder_.clear(); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public Builder removeColumnMeta(int index) { if (columnMetaBuilder_ == null) { ensureColumnMetaIsMutable(); columnMeta_.remove(index); onChanged(); } else { columnMetaBuilder_.remove(index); } return this; } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public org.polypheny.prism.ColumnMeta.Builder getColumnMetaBuilder( int index) { return getColumnMetaFieldBuilder().getBuilder(index); } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public org.polypheny.prism.ColumnMetaOrBuilder getColumnMetaOrBuilder( int index) { if (columnMetaBuilder_ == null) { return columnMeta_.get(index); } else { return columnMetaBuilder_.getMessageOrBuilder(index); } } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public java.util.List getColumnMetaOrBuilderList() { if (columnMetaBuilder_ != null) { return columnMetaBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columnMeta_); } } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public org.polypheny.prism.ColumnMeta.Builder addColumnMetaBuilder() { return getColumnMetaFieldBuilder().addBuilder( org.polypheny.prism.ColumnMeta.getDefaultInstance()); } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public org.polypheny.prism.ColumnMeta.Builder addColumnMetaBuilder( int index) { return getColumnMetaFieldBuilder().addBuilder( index, org.polypheny.prism.ColumnMeta.getDefaultInstance()); } /** *
     *
     *A collection of metadata about each column in the frame.
     *This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame.
     * 
* * repeated .org.polypheny.prism.ColumnMeta column_meta = 1; */ public java.util.List getColumnMetaBuilderList() { return getColumnMetaFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.ColumnMeta, org.polypheny.prism.ColumnMeta.Builder, org.polypheny.prism.ColumnMetaOrBuilder> getColumnMetaFieldBuilder() { if (columnMetaBuilder_ == null) { columnMetaBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.ColumnMeta, org.polypheny.prism.ColumnMeta.Builder, org.polypheny.prism.ColumnMetaOrBuilder>( columnMeta_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columnMeta_ = null; } return columnMetaBuilder_; } private java.util.List rows_ = java.util.Collections.emptyList(); private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.Row, org.polypheny.prism.Row.Builder, org.polypheny.prism.RowOrBuilder> rowsBuilder_; /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public java.util.List getRowsList() { if (rowsBuilder_ == null) { return java.util.Collections.unmodifiableList(rows_); } else { return rowsBuilder_.getMessageList(); } } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public int getRowsCount() { if (rowsBuilder_ == null) { return rows_.size(); } else { return rowsBuilder_.getCount(); } } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public org.polypheny.prism.Row getRows(int index) { if (rowsBuilder_ == null) { return rows_.get(index); } else { return rowsBuilder_.getMessage(index); } } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder setRows( int index, org.polypheny.prism.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.set(index, value); onChanged(); } else { rowsBuilder_.setMessage(index, value); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder setRows( int index, org.polypheny.prism.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); onChanged(); } else { rowsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder addRows(org.polypheny.prism.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.add(value); onChanged(); } else { rowsBuilder_.addMessage(value); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder addRows( int index, org.polypheny.prism.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.add(index, value); onChanged(); } else { rowsBuilder_.addMessage(index, value); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder addRows( org.polypheny.prism.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); onChanged(); } else { rowsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder addRows( int index, org.polypheny.prism.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); onChanged(); } else { rowsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder clearRows() { if (rowsBuilder_ == null) { rows_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { rowsBuilder_.clear(); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public Builder removeRows(int index) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.remove(index); onChanged(); } else { rowsBuilder_.remove(index); } return this; } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public org.polypheny.prism.Row.Builder getRowsBuilder( int index) { return getRowsFieldBuilder().getBuilder(index); } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public org.polypheny.prism.RowOrBuilder getRowsOrBuilder( int index) { if (rowsBuilder_ == null) { return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public java.util.List getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rows_); } } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public org.polypheny.prism.Row.Builder addRowsBuilder() { return getRowsFieldBuilder().addBuilder( org.polypheny.prism.Row.getDefaultInstance()); } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public org.polypheny.prism.Row.Builder addRowsBuilder( int index) { return getRowsFieldBuilder().addBuilder( index, org.polypheny.prism.Row.getDefaultInstance()); } /** *
     *
     *The rows of data within the frame.
     *Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata.
     * 
* * repeated .org.polypheny.prism.Row rows = 2; */ public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.Row, org.polypheny.prism.Row.Builder, org.polypheny.prism.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.polypheny.prism.Row, org.polypheny.prism.Row.Builder, org.polypheny.prism.RowOrBuilder>( rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } @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.RelationalFrame) } // @@protoc_insertion_point(class_scope:org.polypheny.prism.RelationalFrame) private static final org.polypheny.prism.RelationalFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.polypheny.prism.RelationalFrame(); } public static org.polypheny.prism.RelationalFrame getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RelationalFrame 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.RelationalFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy