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

cz.proto.VirtualValueInfoOuterClass Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: virtual_value_info.proto

package cz.proto;

public final class VirtualValueInfoOuterClass {
  private VirtualValueInfoOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ConstantFieldOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ConstantField)
      com.google.protobuf.MessageOrBuilder {

    /**
     * uint32 field_id = 1;
     * @return The fieldId.
     */
    int getFieldId();

    /**
     * .cz.proto.DataType type = 2;
     * @return Whether the type field is set.
     */
    boolean hasType();
    /**
     * .cz.proto.DataType type = 2;
     * @return The type.
     */
    cz.proto.DataType getType();
    /**
     * .cz.proto.DataType type = 2;
     */
    cz.proto.DataTypeOrBuilder getTypeOrBuilder();

    /**
     * .cz.proto.Constant value = 3;
     * @return Whether the value field is set.
     */
    boolean hasValue();
    /**
     * .cz.proto.Constant value = 3;
     * @return The value.
     */
    cz.proto.Expression.Constant getValue();
    /**
     * .cz.proto.Constant value = 3;
     */
    cz.proto.Expression.ConstantOrBuilder getValueOrBuilder();

    /**
     * 
     * only used in commit log
     * 
* * optional string field_name = 10; * @return Whether the fieldName field is set. */ boolean hasFieldName(); /** *
     * only used in commit log
     * 
* * optional string field_name = 10; * @return The fieldName. */ java.lang.String getFieldName(); /** *
     * only used in commit log
     * 
* * optional string field_name = 10; * @return The bytes for fieldName. */ com.google.protobuf.ByteString getFieldNameBytes(); } /** * Protobuf type {@code cz.proto.ConstantField} */ public static final class ConstantField extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ConstantField) ConstantFieldOrBuilder { private static final long serialVersionUID = 0L; // Use ConstantField.newBuilder() to construct. private ConstantField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConstantField() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ConstantField(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConstantField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { fieldId_ = input.readUInt32(); break; } case 18: { cz.proto.DataType.Builder subBuilder = null; if (type_ != null) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(cz.proto.DataType.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.Expression.Constant.Builder subBuilder = null; if (value_ != null) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(cz.proto.Expression.Constant.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; fieldName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_ConstantField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_ConstantField_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.ConstantField.class, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder.class); } private int bitField0_; public static final int FIELD_ID_FIELD_NUMBER = 1; private int fieldId_; /** * uint32 field_id = 1; * @return The fieldId. */ @java.lang.Override public int getFieldId() { return fieldId_; } public static final int TYPE_FIELD_NUMBER = 2; private cz.proto.DataType type_; /** * .cz.proto.DataType type = 2; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return type_ != null; } /** * .cz.proto.DataType type = 2; * @return The type. */ @java.lang.Override public cz.proto.DataType getType() { return type_ == null ? cz.proto.DataType.getDefaultInstance() : type_; } /** * .cz.proto.DataType type = 2; */ @java.lang.Override public cz.proto.DataTypeOrBuilder getTypeOrBuilder() { return getType(); } public static final int VALUE_FIELD_NUMBER = 3; private cz.proto.Expression.Constant value_; /** * .cz.proto.Constant value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return value_ != null; } /** * .cz.proto.Constant value = 3; * @return The value. */ @java.lang.Override public cz.proto.Expression.Constant getValue() { return value_ == null ? cz.proto.Expression.Constant.getDefaultInstance() : value_; } /** * .cz.proto.Constant value = 3; */ @java.lang.Override public cz.proto.Expression.ConstantOrBuilder getValueOrBuilder() { return getValue(); } public static final int FIELD_NAME_FIELD_NUMBER = 10; private volatile java.lang.Object fieldName_; /** *
     * only used in commit log
     * 
* * optional string field_name = 10; * @return Whether the fieldName field is set. */ @java.lang.Override public boolean hasFieldName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * only used in commit log
     * 
* * optional string field_name = 10; * @return The fieldName. */ @java.lang.Override public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; 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(); fieldName_ = s; return s; } } /** *
     * only used in commit log
     * 
* * optional string field_name = 10; * @return The bytes for fieldName. */ @java.lang.Override public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (fieldId_ != 0) { output.writeUInt32(1, fieldId_); } if (type_ != null) { output.writeMessage(2, getType()); } if (value_ != null) { output.writeMessage(3, getValue()); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, fieldName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (fieldId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, fieldId_); } if (type_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getType()); } if (value_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValue()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, fieldName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.VirtualValueInfoOuterClass.ConstantField)) { return super.equals(obj); } cz.proto.VirtualValueInfoOuterClass.ConstantField other = (cz.proto.VirtualValueInfoOuterClass.ConstantField) obj; if (getFieldId() != other.getFieldId()) return false; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (hasFieldName() != other.hasFieldName()) return false; if (hasFieldName()) { if (!getFieldName() .equals(other.getFieldName())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + FIELD_ID_FIELD_NUMBER; hash = (53 * hash) + getFieldId(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } if (hasFieldName()) { hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField 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 cz.proto.VirtualValueInfoOuterClass.ConstantField parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField 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 cz.proto.VirtualValueInfoOuterClass.ConstantField parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField 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(cz.proto.VirtualValueInfoOuterClass.ConstantField 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; } /** * Protobuf type {@code cz.proto.ConstantField} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ConstantField) cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_ConstantField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_ConstantField_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.ConstantField.class, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder.class); } // Construct using cz.proto.VirtualValueInfoOuterClass.ConstantField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); fieldId_ = 0; if (typeBuilder_ == null) { type_ = null; } else { type_ = null; typeBuilder_ = null; } if (valueBuilder_ == null) { value_ = null; } else { value_ = null; valueBuilder_ = null; } fieldName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_ConstantField_descriptor; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantField getDefaultInstanceForType() { return cz.proto.VirtualValueInfoOuterClass.ConstantField.getDefaultInstance(); } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantField build() { cz.proto.VirtualValueInfoOuterClass.ConstantField result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantField buildPartial() { cz.proto.VirtualValueInfoOuterClass.ConstantField result = new cz.proto.VirtualValueInfoOuterClass.ConstantField(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.fieldId_ = fieldId_; if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.fieldName_ = fieldName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @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 cz.proto.VirtualValueInfoOuterClass.ConstantField) { return mergeFrom((cz.proto.VirtualValueInfoOuterClass.ConstantField)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.VirtualValueInfoOuterClass.ConstantField other) { if (other == cz.proto.VirtualValueInfoOuterClass.ConstantField.getDefaultInstance()) return this; if (other.getFieldId() != 0) { setFieldId(other.getFieldId()); } if (other.hasType()) { mergeType(other.getType()); } if (other.hasValue()) { mergeValue(other.getValue()); } if (other.hasFieldName()) { bitField0_ |= 0x00000001; fieldName_ = other.fieldName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { cz.proto.VirtualValueInfoOuterClass.ConstantField parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.VirtualValueInfoOuterClass.ConstantField) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int fieldId_ ; /** * uint32 field_id = 1; * @return The fieldId. */ @java.lang.Override public int getFieldId() { return fieldId_; } /** * uint32 field_id = 1; * @param value The fieldId to set. * @return This builder for chaining. */ public Builder setFieldId(int value) { fieldId_ = value; onChanged(); return this; } /** * uint32 field_id = 1; * @return This builder for chaining. */ public Builder clearFieldId() { fieldId_ = 0; onChanged(); return this; } private cz.proto.DataType type_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> typeBuilder_; /** * .cz.proto.DataType type = 2; * @return Whether the type field is set. */ public boolean hasType() { return typeBuilder_ != null || type_ != null; } /** * .cz.proto.DataType type = 2; * @return The type. */ public cz.proto.DataType getType() { if (typeBuilder_ == null) { return type_ == null ? cz.proto.DataType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * .cz.proto.DataType type = 2; */ public Builder setType(cz.proto.DataType value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } return this; } /** * .cz.proto.DataType type = 2; */ public Builder setType( cz.proto.DataType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.DataType type = 2; */ public Builder mergeType(cz.proto.DataType value) { if (typeBuilder_ == null) { if (type_ != null) { type_ = cz.proto.DataType.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.DataType type = 2; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { type_ = null; typeBuilder_ = null; } return this; } /** * .cz.proto.DataType type = 2; */ public cz.proto.DataType.Builder getTypeBuilder() { onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * .cz.proto.DataType type = 2; */ public cz.proto.DataTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? cz.proto.DataType.getDefaultInstance() : type_; } } /** * .cz.proto.DataType type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private cz.proto.Expression.Constant value_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.Constant, cz.proto.Expression.Constant.Builder, cz.proto.Expression.ConstantOrBuilder> valueBuilder_; /** * .cz.proto.Constant value = 3; * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .cz.proto.Constant value = 3; * @return The value. */ public cz.proto.Expression.Constant getValue() { if (valueBuilder_ == null) { return value_ == null ? cz.proto.Expression.Constant.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * .cz.proto.Constant value = 3; */ public Builder setValue(cz.proto.Expression.Constant value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } return this; } /** * .cz.proto.Constant value = 3; */ public Builder setValue( cz.proto.Expression.Constant.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Constant value = 3; */ public Builder mergeValue(cz.proto.Expression.Constant value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = cz.proto.Expression.Constant.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Constant value = 3; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = null; onChanged(); } else { value_ = null; valueBuilder_ = null; } return this; } /** * .cz.proto.Constant value = 3; */ public cz.proto.Expression.Constant.Builder getValueBuilder() { onChanged(); return getValueFieldBuilder().getBuilder(); } /** * .cz.proto.Constant value = 3; */ public cz.proto.Expression.ConstantOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? cz.proto.Expression.Constant.getDefaultInstance() : value_; } } /** * .cz.proto.Constant value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.Constant, cz.proto.Expression.Constant.Builder, cz.proto.Expression.ConstantOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.Constant, cz.proto.Expression.Constant.Builder, cz.proto.Expression.ConstantOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } private java.lang.Object fieldName_ = ""; /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @return Whether the fieldName field is set. */ public boolean hasFieldName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @return The bytes for fieldName. */ public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @param value The fieldName to set. * @return This builder for chaining. */ public Builder setFieldName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fieldName_ = value; onChanged(); return this; } /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @return This builder for chaining. */ public Builder clearFieldName() { bitField0_ = (bitField0_ & ~0x00000001); fieldName_ = getDefaultInstance().getFieldName(); onChanged(); return this; } /** *
       * only used in commit log
       * 
* * optional string field_name = 10; * @param value The bytes for fieldName to set. * @return This builder for chaining. */ public Builder setFieldNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; fieldName_ = value; 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:cz.proto.ConstantField) } // @@protoc_insertion_point(class_scope:cz.proto.ConstantField) private static final cz.proto.VirtualValueInfoOuterClass.ConstantField DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.VirtualValueInfoOuterClass.ConstantField(); } public static cz.proto.VirtualValueInfoOuterClass.ConstantField getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConstantField parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConstantField(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VirtualColumnValuesOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.VirtualColumnValues) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ConstantField values = 1; */ java.util.List getValuesList(); /** * repeated .cz.proto.ConstantField values = 1; */ cz.proto.VirtualValueInfoOuterClass.ConstantField getValues(int index); /** * repeated .cz.proto.ConstantField values = 1; */ int getValuesCount(); /** * repeated .cz.proto.ConstantField values = 1; */ java.util.List getValuesOrBuilderList(); /** * repeated .cz.proto.ConstantField values = 1; */ cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder getValuesOrBuilder( int index); /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @return A list containing the blockIds. */ java.util.List getBlockIdsList(); /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @return The count of blockIds. */ int getBlockIdsCount(); /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @param index The index of the element to return. * @return The blockIds at the given index. */ int getBlockIds(int index); } /** *
   * hive support some virtual columns:
   *  INPUT__FILE__NAME, which is the input file's name for a mapper task.
   *  BLOCK__OFFSET__INSIDE__FILE, which is the current global file position.
   *  ROW__OFFSET__INSIDE__BLOCK
   *  RAW__DATA__SIZE
   *  ROW__ID
   *  GROUPING__ID
   * different systems have different semantics,
   * It like:
   *  presto not support virtual columns
   *  mysql and oracle support virtual columns, it called generated columns
   *  sql server called computed columns, marked PERSISTED, it will be stored in the table
   * 
* * Protobuf type {@code cz.proto.VirtualColumnValues} */ public static final class VirtualColumnValues extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.VirtualColumnValues) VirtualColumnValuesOrBuilder { private static final long serialVersionUID = 0L; // Use VirtualColumnValues.newBuilder() to construct. private VirtualColumnValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VirtualColumnValues() { values_ = java.util.Collections.emptyList(); blockIds_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VirtualColumnValues(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VirtualColumnValues( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } values_.add( input.readMessage(cz.proto.VirtualValueInfoOuterClass.ConstantField.parser(), extensionRegistry)); break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { blockIds_ = newIntList(); mutable_bitField0_ |= 0x00000002; } blockIds_.addInt(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { blockIds_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { blockIds_.addInt(input.readUInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { blockIds_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualColumnValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualColumnValues_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.class, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** * repeated .cz.proto.ConstantField values = 1; */ @java.lang.Override public java.util.List getValuesList() { return values_; } /** * repeated .cz.proto.ConstantField values = 1; */ @java.lang.Override public java.util.List getValuesOrBuilderList() { return values_; } /** * repeated .cz.proto.ConstantField values = 1; */ @java.lang.Override public int getValuesCount() { return values_.size(); } /** * repeated .cz.proto.ConstantField values = 1; */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantField getValues(int index) { return values_.get(index); } /** * repeated .cz.proto.ConstantField values = 1; */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder getValuesOrBuilder( int index) { return values_.get(index); } public static final int BLOCK_IDS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList blockIds_; /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @return A list containing the blockIds. */ @java.lang.Override public java.util.List getBlockIdsList() { return blockIds_; } /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @return The count of blockIds. */ public int getBlockIdsCount() { return blockIds_.size(); } /** *
     * maybe only contains partial blocks
     * 
* * repeated uint32 block_ids = 2; * @param index The index of the element to return. * @return The blockIds at the given index. */ public int getBlockIds(int index) { return blockIds_.getInt(index); } private int blockIdsMemoizedSerializedSize = -1; 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 { getSerializedSize(); for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } if (getBlockIdsList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(blockIdsMemoizedSerializedSize); } for (int i = 0; i < blockIds_.size(); i++) { output.writeUInt32NoTag(blockIds_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < values_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, values_.get(i)); } { int dataSize = 0; for (int i = 0; i < blockIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(blockIds_.getInt(i)); } size += dataSize; if (!getBlockIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } blockIdsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues)) { return super.equals(obj); } cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues other = (cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues) obj; if (!getValuesList() .equals(other.getValuesList())) return false; if (!getBlockIdsList() .equals(other.getBlockIdsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getValuesCount() > 0) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValuesList().hashCode(); } if (getBlockIdsCount() > 0) { hash = (37 * hash) + BLOCK_IDS_FIELD_NUMBER; hash = (53 * hash) + getBlockIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues 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 cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues 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 cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues 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(cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues 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; } /** *
     * hive support some virtual columns:
     *  INPUT__FILE__NAME, which is the input file's name for a mapper task.
     *  BLOCK__OFFSET__INSIDE__FILE, which is the current global file position.
     *  ROW__OFFSET__INSIDE__BLOCK
     *  RAW__DATA__SIZE
     *  ROW__ID
     *  GROUPING__ID
     * different systems have different semantics,
     * It like:
     *  presto not support virtual columns
     *  mysql and oracle support virtual columns, it called generated columns
     *  sql server called computed columns, marked PERSISTED, it will be stored in the table
     * 
* * Protobuf type {@code cz.proto.VirtualColumnValues} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.VirtualColumnValues) cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualColumnValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualColumnValues_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.class, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder.class); } // Construct using cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { valuesBuilder_.clear(); } blockIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualColumnValues_descriptor; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getDefaultInstanceForType() { return cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.getDefaultInstance(); } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues build() { cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues buildPartial() { cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues result = new cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues(this); int from_bitField0_ = bitField0_; if (valuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); bitField0_ = (bitField0_ & ~0x00000001); } result.values_ = values_; } else { result.values_ = valuesBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { blockIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.blockIds_ = blockIds_; onBuilt(); return result; } @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 cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues) { return mergeFrom((cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues other) { if (other == cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.getDefaultInstance()) return this; if (valuesBuilder_ == null) { if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValuesIsMutable(); values_.addAll(other.values_); } onChanged(); } } else { if (!other.values_.isEmpty()) { if (valuesBuilder_.isEmpty()) { valuesBuilder_.dispose(); valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); valuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } } } if (!other.blockIds_.isEmpty()) { if (blockIds_.isEmpty()) { blockIds_ = other.blockIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureBlockIdsIsMutable(); blockIds_.addAll(other.blockIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List values_ = java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.ConstantField, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder, cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder> valuesBuilder_; /** * repeated .cz.proto.ConstantField values = 1; */ public java.util.List getValuesList() { if (valuesBuilder_ == null) { return java.util.Collections.unmodifiableList(values_); } else { return valuesBuilder_.getMessageList(); } } /** * repeated .cz.proto.ConstantField values = 1; */ public int getValuesCount() { if (valuesBuilder_ == null) { return values_.size(); } else { return valuesBuilder_.getCount(); } } /** * repeated .cz.proto.ConstantField values = 1; */ public cz.proto.VirtualValueInfoOuterClass.ConstantField getValues(int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessage(index); } } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder setValues( int index, cz.proto.VirtualValueInfoOuterClass.ConstantField value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); } else { valuesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder setValues( int index, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder addValues(cz.proto.VirtualValueInfoOuterClass.ConstantField value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); } else { valuesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder addValues( int index, cz.proto.VirtualValueInfoOuterClass.ConstantField value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(index, value); onChanged(); } else { valuesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder addValues( cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder addValues( int index, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder clearValues() { if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { valuesBuilder_.clear(); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public Builder removeValues(int index) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.remove(index); onChanged(); } else { valuesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ConstantField values = 1; */ public cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder getValuesBuilder( int index) { return getValuesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ConstantField values = 1; */ public cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder getValuesOrBuilder( int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ConstantField values = 1; */ public java.util.List getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(values_); } } /** * repeated .cz.proto.ConstantField values = 1; */ public cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder addValuesBuilder() { return getValuesFieldBuilder().addBuilder( cz.proto.VirtualValueInfoOuterClass.ConstantField.getDefaultInstance()); } /** * repeated .cz.proto.ConstantField values = 1; */ public cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder addValuesBuilder( int index) { return getValuesFieldBuilder().addBuilder( index, cz.proto.VirtualValueInfoOuterClass.ConstantField.getDefaultInstance()); } /** * repeated .cz.proto.ConstantField values = 1; */ public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.ConstantField, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder, cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.ConstantField, cz.proto.VirtualValueInfoOuterClass.ConstantField.Builder, cz.proto.VirtualValueInfoOuterClass.ConstantFieldOrBuilder>( values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } private com.google.protobuf.Internal.IntList blockIds_ = emptyIntList(); private void ensureBlockIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { blockIds_ = mutableCopy(blockIds_); bitField0_ |= 0x00000002; } } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @return A list containing the blockIds. */ public java.util.List getBlockIdsList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(blockIds_) : blockIds_; } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @return The count of blockIds. */ public int getBlockIdsCount() { return blockIds_.size(); } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @param index The index of the element to return. * @return The blockIds at the given index. */ public int getBlockIds(int index) { return blockIds_.getInt(index); } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @param index The index to set the value at. * @param value The blockIds to set. * @return This builder for chaining. */ public Builder setBlockIds( int index, int value) { ensureBlockIdsIsMutable(); blockIds_.setInt(index, value); onChanged(); return this; } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @param value The blockIds to add. * @return This builder for chaining. */ public Builder addBlockIds(int value) { ensureBlockIdsIsMutable(); blockIds_.addInt(value); onChanged(); return this; } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @param values The blockIds to add. * @return This builder for chaining. */ public Builder addAllBlockIds( java.lang.Iterable values) { ensureBlockIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, blockIds_); onChanged(); return this; } /** *
       * maybe only contains partial blocks
       * 
* * repeated uint32 block_ids = 2; * @return This builder for chaining. */ public Builder clearBlockIds() { blockIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); 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:cz.proto.VirtualColumnValues) } // @@protoc_insertion_point(class_scope:cz.proto.VirtualColumnValues) private static final cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues(); } public static cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VirtualColumnValues parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VirtualColumnValues(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VirtualValueInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.VirtualValueInfo) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return Whether the virtualValues field is set. */ boolean hasVirtualValues(); /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return The virtualValues. */ cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getVirtualValues(); /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder getVirtualValuesOrBuilder(); } /** * Protobuf type {@code cz.proto.VirtualValueInfo} */ public static final class VirtualValueInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.VirtualValueInfo) VirtualValueInfoOrBuilder { private static final long serialVersionUID = 0L; // Use VirtualValueInfo.newBuilder() to construct. private VirtualValueInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VirtualValueInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VirtualValueInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VirtualValueInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder subBuilder = null; if (virtualValues_ != null) { subBuilder = virtualValues_.toBuilder(); } virtualValues_ = input.readMessage(cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(virtualValues_); virtualValues_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualValueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualValueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.class, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder.class); } public static final int VIRTUAL_VALUES_FIELD_NUMBER = 1; private cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues virtualValues_; /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return Whether the virtualValues field is set. */ @java.lang.Override public boolean hasVirtualValues() { return virtualValues_ != null; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return The virtualValues. */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getVirtualValues() { return virtualValues_ == null ? cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.getDefaultInstance() : virtualValues_; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder getVirtualValuesOrBuilder() { return getVirtualValues(); } 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 (virtualValues_ != null) { output.writeMessage(1, getVirtualValues()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (virtualValues_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getVirtualValues()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo)) { return super.equals(obj); } cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo other = (cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo) obj; if (hasVirtualValues() != other.hasVirtualValues()) return false; if (hasVirtualValues()) { if (!getVirtualValues() .equals(other.getVirtualValues())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasVirtualValues()) { hash = (37 * hash) + VIRTUAL_VALUES_FIELD_NUMBER; hash = (53 * hash) + getVirtualValues().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo 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 cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo 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 cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo 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(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo 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; } /** * Protobuf type {@code cz.proto.VirtualValueInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.VirtualValueInfo) cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualValueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualValueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.class, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder.class); } // Construct using cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (virtualValuesBuilder_ == null) { virtualValues_ = null; } else { virtualValues_ = null; virtualValuesBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.VirtualValueInfoOuterClass.internal_static_cz_proto_VirtualValueInfo_descriptor; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getDefaultInstanceForType() { return cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo build() { cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo buildPartial() { cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo result = new cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo(this); if (virtualValuesBuilder_ == null) { result.virtualValues_ = virtualValues_; } else { result.virtualValues_ = virtualValuesBuilder_.build(); } onBuilt(); return result; } @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 cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo) { return mergeFrom((cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo other) { if (other == cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance()) return this; if (other.hasVirtualValues()) { mergeVirtualValues(other.getVirtualValues()); } this.mergeUnknownFields(other.unknownFields); 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 { cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues virtualValues_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder> virtualValuesBuilder_; /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return Whether the virtualValues field is set. */ public boolean hasVirtualValues() { return virtualValuesBuilder_ != null || virtualValues_ != null; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; * @return The virtualValues. */ public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues getVirtualValues() { if (virtualValuesBuilder_ == null) { return virtualValues_ == null ? cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.getDefaultInstance() : virtualValues_; } else { return virtualValuesBuilder_.getMessage(); } } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public Builder setVirtualValues(cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues value) { if (virtualValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } virtualValues_ = value; onChanged(); } else { virtualValuesBuilder_.setMessage(value); } return this; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public Builder setVirtualValues( cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder builderForValue) { if (virtualValuesBuilder_ == null) { virtualValues_ = builderForValue.build(); onChanged(); } else { virtualValuesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public Builder mergeVirtualValues(cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues value) { if (virtualValuesBuilder_ == null) { if (virtualValues_ != null) { virtualValues_ = cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.newBuilder(virtualValues_).mergeFrom(value).buildPartial(); } else { virtualValues_ = value; } onChanged(); } else { virtualValuesBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public Builder clearVirtualValues() { if (virtualValuesBuilder_ == null) { virtualValues_ = null; onChanged(); } else { virtualValues_ = null; virtualValuesBuilder_ = null; } return this; } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder getVirtualValuesBuilder() { onChanged(); return getVirtualValuesFieldBuilder().getBuilder(); } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder getVirtualValuesOrBuilder() { if (virtualValuesBuilder_ != null) { return virtualValuesBuilder_.getMessageOrBuilder(); } else { return virtualValues_ == null ? cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.getDefaultInstance() : virtualValues_; } } /** * .cz.proto.VirtualColumnValues virtual_values = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder> getVirtualValuesFieldBuilder() { if (virtualValuesBuilder_ == null) { virtualValuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValues.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualColumnValuesOrBuilder>( getVirtualValues(), getParentForChildren(), isClean()); virtualValues_ = null; } return virtualValuesBuilder_; } @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:cz.proto.VirtualValueInfo) } // @@protoc_insertion_point(class_scope:cz.proto.VirtualValueInfo) private static final cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo(); } public static cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VirtualValueInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VirtualValueInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ConstantField_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ConstantField_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_VirtualColumnValues_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_VirtualColumnValues_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_VirtualValueInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_VirtualValueInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\030virtual_value_info.proto\022\010cz.proto\032\020ex" + "pression.proto\032\017data_type.proto\"\216\001\n\rCons" + "tantField\022\020\n\010field_id\030\001 \001(\r\022 \n\004type\030\002 \001(" + "\0132\022.cz.proto.DataType\022!\n\005value\030\003 \001(\0132\022.c" + "z.proto.Constant\022\027\n\nfield_name\030\n \001(\tH\000\210\001" + "\001B\r\n\013_field_name\"Q\n\023VirtualColumnValues\022" + "\'\n\006values\030\001 \003(\0132\027.cz.proto.ConstantField" + "\022\021\n\tblock_ids\030\002 \003(\r\"I\n\020VirtualValueInfo\022" + "5\n\016virtual_values\030\001 \001(\0132\035.cz.proto.Virtu" + "alColumnValuesB\n\n\010cz.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cz.proto.Expression.getDescriptor(), cz.proto.DataTypeOuterClass.getDescriptor(), }); internal_static_cz_proto_ConstantField_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cz_proto_ConstantField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ConstantField_descriptor, new java.lang.String[] { "FieldId", "Type", "Value", "FieldName", "FieldName", }); internal_static_cz_proto_VirtualColumnValues_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cz_proto_VirtualColumnValues_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_VirtualColumnValues_descriptor, new java.lang.String[] { "Values", "BlockIds", }); internal_static_cz_proto_VirtualValueInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cz_proto_VirtualValueInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_VirtualValueInfo_descriptor, new java.lang.String[] { "VirtualValues", }); cz.proto.Expression.getDescriptor(); cz.proto.DataTypeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy