
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yaml-tests Show documentation
Show all versions of yaml-tests Show documentation
Tests of the Relational project driven off of YAML specifications.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: field_index_tests.proto
// Protobuf Java Version: 3.25.5
package com.apple.foundationdb.relational.yamltests.generated.fieldindextests;
public final class FieldIndexTestsProto {
private FieldIndexTestsProto() {}
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 MyTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable)
com.google.protobuf.MessageOrBuilder {
/**
* int64 ID = 1 [(.com.apple.foundationdb.record.field) = { ... }
* @return The iD.
*/
long getID();
/**
* int64 COL1 = 200;
* @return The cOL1.
*/
long getCOL1();
/**
* int64 COL31 = 300;
* @return Whether the cOL31 field is set.
*/
boolean hasCOL31();
/**
* int64 COL31 = 300;
* @return The cOL31.
*/
long getCOL31();
/**
* int64 COL32 = 210;
* @return Whether the cOL32 field is set.
*/
boolean hasCOL32();
/**
* int64 COL32 = 210;
* @return The cOL32.
*/
long getCOL32();
/**
* int64 COL2 = 3;
* @return The cOL2.
*/
long getCOL2();
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.IGNOREDCase getIGNOREDCase();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable}
*/
@SuppressWarnings("deprecation") public static final class MyTable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable)
MyTableOrBuilder {
private static final long serialVersionUID = 0L;
// Use MyTable.newBuilder() to construct.
private MyTable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MyTable() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MyTable();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.class, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder.class);
}
private int iGNOREDCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object iGNORED_;
public enum IGNOREDCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COL31(300),
COL32(210),
IGNORED_NOT_SET(0);
private final int value;
private IGNOREDCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IGNOREDCase valueOf(int value) {
return forNumber(value);
}
public static IGNOREDCase forNumber(int value) {
switch (value) {
case 300: return COL31;
case 210: return COL32;
case 0: return IGNORED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public IGNOREDCase
getIGNOREDCase() {
return IGNOREDCase.forNumber(
iGNOREDCase_);
}
public static final int ID_FIELD_NUMBER = 1;
private long iD_ = 0L;
/**
* int64 ID = 1 [(.com.apple.foundationdb.record.field) = { ... }
* @return The iD.
*/
@java.lang.Override
public long getID() {
return iD_;
}
public static final int COL1_FIELD_NUMBER = 200;
private long cOL1_ = 0L;
/**
* int64 COL1 = 200;
* @return The cOL1.
*/
@java.lang.Override
public long getCOL1() {
return cOL1_;
}
public static final int COL31_FIELD_NUMBER = 300;
/**
* int64 COL31 = 300;
* @return Whether the cOL31 field is set.
*/
@java.lang.Override
public boolean hasCOL31() {
return iGNOREDCase_ == 300;
}
/**
* int64 COL31 = 300;
* @return The cOL31.
*/
@java.lang.Override
public long getCOL31() {
if (iGNOREDCase_ == 300) {
return (java.lang.Long) iGNORED_;
}
return 0L;
}
public static final int COL32_FIELD_NUMBER = 210;
/**
* int64 COL32 = 210;
* @return Whether the cOL32 field is set.
*/
@java.lang.Override
public boolean hasCOL32() {
return iGNOREDCase_ == 210;
}
/**
* int64 COL32 = 210;
* @return The cOL32.
*/
@java.lang.Override
public long getCOL32() {
if (iGNOREDCase_ == 210) {
return (java.lang.Long) iGNORED_;
}
return 0L;
}
public static final int COL2_FIELD_NUMBER = 3;
private long cOL2_ = 0L;
/**
* int64 COL2 = 3;
* @return The cOL2.
*/
@java.lang.Override
public long getCOL2() {
return cOL2_;
}
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 (iD_ != 0L) {
output.writeInt64(1, iD_);
}
if (cOL2_ != 0L) {
output.writeInt64(3, cOL2_);
}
if (cOL1_ != 0L) {
output.writeInt64(200, cOL1_);
}
if (iGNOREDCase_ == 210) {
output.writeInt64(
210, (long)((java.lang.Long) iGNORED_));
}
if (iGNOREDCase_ == 300) {
output.writeInt64(
300, (long)((java.lang.Long) iGNORED_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (iD_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, iD_);
}
if (cOL2_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, cOL2_);
}
if (cOL1_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(200, cOL1_);
}
if (iGNOREDCase_ == 210) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
210, (long)((java.lang.Long) iGNORED_));
}
if (iGNOREDCase_ == 300) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
300, (long)((java.lang.Long) iGNORED_));
}
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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable other = (com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable) obj;
if (getID()
!= other.getID()) return false;
if (getCOL1()
!= other.getCOL1()) return false;
if (getCOL2()
!= other.getCOL2()) return false;
if (!getIGNOREDCase().equals(other.getIGNOREDCase())) return false;
switch (iGNOREDCase_) {
case 300:
if (getCOL31()
!= other.getCOL31()) return false;
break;
case 210:
if (getCOL32()
!= other.getCOL32()) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getID());
hash = (37 * hash) + COL1_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCOL1());
hash = (37 * hash) + COL2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCOL2());
switch (iGNOREDCase_) {
case 300:
hash = (37 * hash) + COL31_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCOL31());
break;
case 210:
hash = (37 * hash) + COL32_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCOL32());
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable 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(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable)
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.class, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
iD_ = 0L;
cOL1_ = 0L;
cOL2_ = 0L;
iGNOREDCase_ = 0;
iGNORED_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable build() {
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable result = new com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.iD_ = iD_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cOL1_ = cOL1_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.cOL2_ = cOL2_;
}
}
private void buildPartialOneofs(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable result) {
result.iGNOREDCase_ = iGNOREDCase_;
result.iGNORED_ = this.iGNORED_;
}
@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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance()) return this;
if (other.getID() != 0L) {
setID(other.getID());
}
if (other.getCOL1() != 0L) {
setCOL1(other.getCOL1());
}
if (other.getCOL2() != 0L) {
setCOL2(other.getCOL2());
}
switch (other.getIGNOREDCase()) {
case COL31: {
setCOL31(other.getCOL31());
break;
}
case COL32: {
setCOL32(other.getCOL32());
break;
}
case IGNORED_NOT_SET: {
break;
}
}
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 8: {
iD_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 24: {
cOL2_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 24
case 1600: {
cOL1_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 1600
case 1680: {
iGNORED_ = input.readInt64();
iGNOREDCase_ = 210;
break;
} // case 1680
case 2400: {
iGNORED_ = input.readInt64();
iGNOREDCase_ = 300;
break;
} // case 2400
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 iGNOREDCase_ = 0;
private java.lang.Object iGNORED_;
public IGNOREDCase
getIGNOREDCase() {
return IGNOREDCase.forNumber(
iGNOREDCase_);
}
public Builder clearIGNORED() {
iGNOREDCase_ = 0;
iGNORED_ = null;
onChanged();
return this;
}
private int bitField0_;
private long iD_ ;
/**
* int64 ID = 1 [(.com.apple.foundationdb.record.field) = { ... }
* @return The iD.
*/
@java.lang.Override
public long getID() {
return iD_;
}
/**
* int64 ID = 1 [(.com.apple.foundationdb.record.field) = { ... }
* @param value The iD to set.
* @return This builder for chaining.
*/
public Builder setID(long value) {
iD_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 ID = 1 [(.com.apple.foundationdb.record.field) = { ... }
* @return This builder for chaining.
*/
public Builder clearID() {
bitField0_ = (bitField0_ & ~0x00000001);
iD_ = 0L;
onChanged();
return this;
}
private long cOL1_ ;
/**
* int64 COL1 = 200;
* @return The cOL1.
*/
@java.lang.Override
public long getCOL1() {
return cOL1_;
}
/**
* int64 COL1 = 200;
* @param value The cOL1 to set.
* @return This builder for chaining.
*/
public Builder setCOL1(long value) {
cOL1_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int64 COL1 = 200;
* @return This builder for chaining.
*/
public Builder clearCOL1() {
bitField0_ = (bitField0_ & ~0x00000002);
cOL1_ = 0L;
onChanged();
return this;
}
/**
* int64 COL31 = 300;
* @return Whether the cOL31 field is set.
*/
public boolean hasCOL31() {
return iGNOREDCase_ == 300;
}
/**
* int64 COL31 = 300;
* @return The cOL31.
*/
public long getCOL31() {
if (iGNOREDCase_ == 300) {
return (java.lang.Long) iGNORED_;
}
return 0L;
}
/**
* int64 COL31 = 300;
* @param value The cOL31 to set.
* @return This builder for chaining.
*/
public Builder setCOL31(long value) {
iGNOREDCase_ = 300;
iGNORED_ = value;
onChanged();
return this;
}
/**
* int64 COL31 = 300;
* @return This builder for chaining.
*/
public Builder clearCOL31() {
if (iGNOREDCase_ == 300) {
iGNOREDCase_ = 0;
iGNORED_ = null;
onChanged();
}
return this;
}
/**
* int64 COL32 = 210;
* @return Whether the cOL32 field is set.
*/
public boolean hasCOL32() {
return iGNOREDCase_ == 210;
}
/**
* int64 COL32 = 210;
* @return The cOL32.
*/
public long getCOL32() {
if (iGNOREDCase_ == 210) {
return (java.lang.Long) iGNORED_;
}
return 0L;
}
/**
* int64 COL32 = 210;
* @param value The cOL32 to set.
* @return This builder for chaining.
*/
public Builder setCOL32(long value) {
iGNOREDCase_ = 210;
iGNORED_ = value;
onChanged();
return this;
}
/**
* int64 COL32 = 210;
* @return This builder for chaining.
*/
public Builder clearCOL32() {
if (iGNOREDCase_ == 210) {
iGNOREDCase_ = 0;
iGNORED_ = null;
onChanged();
}
return this;
}
private long cOL2_ ;
/**
* int64 COL2 = 3;
* @return The cOL2.
*/
@java.lang.Override
public long getCOL2() {
return cOL2_;
}
/**
* int64 COL2 = 3;
* @param value The cOL2 to set.
* @return This builder for chaining.
*/
public Builder setCOL2(long value) {
cOL2_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* int64 COL2 = 3;
* @return This builder for chaining.
*/
public Builder clearCOL2() {
bitField0_ = (bitField0_ & ~0x00000010);
cOL2_ = 0L;
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:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable)
private static final com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable();
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MyTable 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecordTypeUnionOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion)
com.google.protobuf.MessageOrBuilder {
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return Whether the myTable field is set.
*/
boolean hasMyTable();
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return The myTable.
*/
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getMyTable();
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder getMyTableOrBuilder();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion}
*/
@SuppressWarnings("deprecation") public static final class RecordTypeUnion extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion)
RecordTypeUnionOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecordTypeUnion.newBuilder() to construct.
private RecordTypeUnion(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RecordTypeUnion() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecordTypeUnion();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.class, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.Builder.class);
}
private int bitField0_;
public static final int _MYTABLE_FIELD_NUMBER = 1;
private com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable MyTable_;
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return Whether the myTable field is set.
*/
@java.lang.Override
public boolean hasMyTable() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return The myTable.
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getMyTable() {
return MyTable_ == null ? com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance() : MyTable_;
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder getMyTableOrBuilder() {
return MyTable_ == null ? com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance() : MyTable_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getMyTable());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMyTable());
}
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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion other = (com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion) obj;
if (hasMyTable() != other.hasMyTable()) return false;
if (hasMyTable()) {
if (!getMyTable()
.equals(other.getMyTable())) 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 (hasMyTable()) {
hash = (37 * hash) + _MYTABLE_FIELD_NUMBER;
hash = (53 * hash) + getMyTable().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion 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(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion)
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.class, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMyTableFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
MyTable_ = null;
if (MyTableBuilder_ != null) {
MyTableBuilder_.dispose();
MyTableBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion build() {
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion result = new com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.MyTable_ = MyTableBuilder_ == null
? MyTable_
: MyTableBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion.getDefaultInstance()) return this;
if (other.hasMyTable()) {
mergeMyTable(other.getMyTable());
}
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: {
input.readMessage(
getMyTableFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable MyTable_;
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder> MyTableBuilder_;
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return Whether the myTable field is set.
*/
public boolean hasMyTable() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
* @return The myTable.
*/
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable getMyTable() {
if (MyTableBuilder_ == null) {
return MyTable_ == null ? com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance() : MyTable_;
} else {
return MyTableBuilder_.getMessage();
}
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public Builder setMyTable(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable value) {
if (MyTableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
MyTable_ = value;
} else {
MyTableBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public Builder setMyTable(
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder builderForValue) {
if (MyTableBuilder_ == null) {
MyTable_ = builderForValue.build();
} else {
MyTableBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public Builder mergeMyTable(com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable value) {
if (MyTableBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
MyTable_ != null &&
MyTable_ != com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance()) {
getMyTableBuilder().mergeFrom(value);
} else {
MyTable_ = value;
}
} else {
MyTableBuilder_.mergeFrom(value);
}
if (MyTable_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public Builder clearMyTable() {
bitField0_ = (bitField0_ & ~0x00000001);
MyTable_ = null;
if (MyTableBuilder_ != null) {
MyTableBuilder_.dispose();
MyTableBuilder_ = null;
}
onChanged();
return this;
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder getMyTableBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getMyTableFieldBuilder().getBuilder();
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder getMyTableOrBuilder() {
if (MyTableBuilder_ != null) {
return MyTableBuilder_.getMessageOrBuilder();
} else {
return MyTable_ == null ?
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.getDefaultInstance() : MyTable_;
}
}
/**
* .com.apple.foundationdb.relational.yamltests.generated.fieldindextests.MyTable _MyTable = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder>
getMyTableFieldBuilder() {
if (MyTableBuilder_ == null) {
MyTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTable.Builder, com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.MyTableOrBuilder>(
getMyTable(),
getParentForChildren(),
isClean());
MyTable_ = null;
}
return MyTableBuilder_;
}
@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:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.fieldindextests.RecordTypeUnion)
private static final com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion();
}
public static com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RecordTypeUnion 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 com.apple.foundationdb.relational.yamltests.generated.fieldindextests.FieldIndexTestsProto.RecordTypeUnion getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_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\027field_index_tests.proto\022Ecom.apple.fou" +
"ndationdb.relational.yamltests.generated" +
".fieldindextests\032\035record_metadata_option" +
"s.proto\"h\n\007MyTable\022\021\n\002ID\030\001 \001(\003B\005\212M\002\020\001\022\r\n" +
"\004COL1\030\310\001 \001(\003\022\020\n\005COL31\030\254\002 \001(\003H\000\022\020\n\005COL32\030" +
"\322\001 \001(\003H\000\022\014\n\004COL2\030\003 \001(\003B\t\n\007IGNORED\"s\n\017Rec" +
"ordTypeUnion\022`\n\010_MyTable\030\001 \001(\0132N.com.app" +
"le.foundationdb.relational.yamltests.gen" +
"erated.fieldindextests.MyTableB\026B\024FieldI" +
"ndexTestsProtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.apple.foundationdb.record.RecordMetaDataOptionsProto.getDescriptor(),
});
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_MyTable_descriptor,
new java.lang.String[] { "ID", "COL1", "COL31", "COL32", "COL2", "IGNORED", });
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_fieldindextests_RecordTypeUnion_descriptor,
new java.lang.String[] { "MyTable", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.apple.foundationdb.record.RecordMetaDataOptionsProto.field);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.apple.foundationdb.record.RecordMetaDataOptionsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy