cz.proto.DataType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: data_type.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.DataType}
*/
public final class DataType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.DataType)
DataTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataType.newBuilder() to construct.
private DataType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataType() {
category_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataType(
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 8: {
int rawValue = input.readEnum();
category_ = rawValue;
break;
}
case 16: {
nullable_ = input.readBool();
break;
}
case 26: {
cz.proto.CharTypeInfo.Builder subBuilder = null;
if (infoCase_ == 3) {
subBuilder = ((cz.proto.CharTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.CharTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.CharTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 3;
break;
}
case 34: {
cz.proto.VarCharTypeInfo.Builder subBuilder = null;
if (infoCase_ == 4) {
subBuilder = ((cz.proto.VarCharTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.VarCharTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.VarCharTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 4;
break;
}
case 42: {
cz.proto.DecimalTypeInfo.Builder subBuilder = null;
if (infoCase_ == 5) {
subBuilder = ((cz.proto.DecimalTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.DecimalTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.DecimalTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 5;
break;
}
case 50: {
cz.proto.ArrayTypeInfo.Builder subBuilder = null;
if (infoCase_ == 6) {
subBuilder = ((cz.proto.ArrayTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.ArrayTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.ArrayTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 6;
break;
}
case 58: {
cz.proto.MapTypeInfo.Builder subBuilder = null;
if (infoCase_ == 7) {
subBuilder = ((cz.proto.MapTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.MapTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.MapTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 7;
break;
}
case 66: {
cz.proto.StructTypeInfo.Builder subBuilder = null;
if (infoCase_ == 8) {
subBuilder = ((cz.proto.StructTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.StructTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.StructTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 8;
break;
}
case 74: {
cz.proto.IntervalDayTimeInfo.Builder subBuilder = null;
if (infoCase_ == 9) {
subBuilder = ((cz.proto.IntervalDayTimeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.IntervalDayTimeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.IntervalDayTimeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 9;
break;
}
case 82: {
cz.proto.IntervalYearMonthInfo.Builder subBuilder = null;
if (infoCase_ == 10) {
subBuilder = ((cz.proto.IntervalYearMonthInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.IntervalYearMonthInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.IntervalYearMonthInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 10;
break;
}
case 88: {
fieldId_ = input.readUInt32();
break;
}
case 98: {
cz.proto.TimestampInfo.Builder subBuilder = null;
if (infoCase_ == 12) {
subBuilder = ((cz.proto.TimestampInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.TimestampInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.TimestampInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 12;
break;
}
case 106: {
cz.proto.FunctionTypeInfo.Builder subBuilder = null;
if (infoCase_ == 13) {
subBuilder = ((cz.proto.FunctionTypeInfo) info_).toBuilder();
}
info_ =
input.readMessage(cz.proto.FunctionTypeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FunctionTypeInfo) info_);
info_ = subBuilder.buildPartial();
}
infoCase_ = 13;
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.DataTypeOuterClass.internal_static_cz_proto_DataType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_DataType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataType.class, cz.proto.DataType.Builder.class);
}
private int infoCase_ = 0;
private java.lang.Object info_;
public enum InfoCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CHARTYPEINFO(3),
VARCHARTYPEINFO(4),
DECIMALTYPEINFO(5),
ARRAYTYPEINFO(6),
MAPTYPEINFO(7),
STRUCTTYPEINFO(8),
INTERVAL_DAY_TIME_INFO(9),
INTERVAL_YEAR_MONTH_INFO(10),
TIMESTAMP_INFO(12),
FUNCTION_INFO(13),
INFO_NOT_SET(0);
private final int value;
private InfoCase(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 InfoCase valueOf(int value) {
return forNumber(value);
}
public static InfoCase forNumber(int value) {
switch (value) {
case 3: return CHARTYPEINFO;
case 4: return VARCHARTYPEINFO;
case 5: return DECIMALTYPEINFO;
case 6: return ARRAYTYPEINFO;
case 7: return MAPTYPEINFO;
case 8: return STRUCTTYPEINFO;
case 9: return INTERVAL_DAY_TIME_INFO;
case 10: return INTERVAL_YEAR_MONTH_INFO;
case 12: return TIMESTAMP_INFO;
case 13: return FUNCTION_INFO;
case 0: return INFO_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public InfoCase
getInfoCase() {
return InfoCase.forNumber(
infoCase_);
}
public static final int CATEGORY_FIELD_NUMBER = 1;
private int category_;
/**
* .cz.proto.DataTypeCategory category = 1;
* @return The enum numeric value on the wire for category.
*/
@java.lang.Override public int getCategoryValue() {
return category_;
}
/**
* .cz.proto.DataTypeCategory category = 1;
* @return The category.
*/
@java.lang.Override public cz.proto.DataTypeCategory getCategory() {
@SuppressWarnings("deprecation")
cz.proto.DataTypeCategory result = cz.proto.DataTypeCategory.valueOf(category_);
return result == null ? cz.proto.DataTypeCategory.UNRECOGNIZED : result;
}
public static final int NULLABLE_FIELD_NUMBER = 2;
private boolean nullable_;
/**
* bool nullable = 2;
* @return The nullable.
*/
@java.lang.Override
public boolean getNullable() {
return nullable_;
}
public static final int FIELD_ID_FIELD_NUMBER = 11;
private int fieldId_;
/**
* uint32 field_id = 11;
* @return The fieldId.
*/
@java.lang.Override
public int getFieldId() {
return fieldId_;
}
public static final int CHARTYPEINFO_FIELD_NUMBER = 3;
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
* @return Whether the charTypeInfo field is set.
*/
@java.lang.Override
public boolean hasCharTypeInfo() {
return infoCase_ == 3;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
* @return The charTypeInfo.
*/
@java.lang.Override
public cz.proto.CharTypeInfo getCharTypeInfo() {
if (infoCase_ == 3) {
return (cz.proto.CharTypeInfo) info_;
}
return cz.proto.CharTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
@java.lang.Override
public cz.proto.CharTypeInfoOrBuilder getCharTypeInfoOrBuilder() {
if (infoCase_ == 3) {
return (cz.proto.CharTypeInfo) info_;
}
return cz.proto.CharTypeInfo.getDefaultInstance();
}
public static final int VARCHARTYPEINFO_FIELD_NUMBER = 4;
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
* @return Whether the varCharTypeInfo field is set.
*/
@java.lang.Override
public boolean hasVarCharTypeInfo() {
return infoCase_ == 4;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
* @return The varCharTypeInfo.
*/
@java.lang.Override
public cz.proto.VarCharTypeInfo getVarCharTypeInfo() {
if (infoCase_ == 4) {
return (cz.proto.VarCharTypeInfo) info_;
}
return cz.proto.VarCharTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
@java.lang.Override
public cz.proto.VarCharTypeInfoOrBuilder getVarCharTypeInfoOrBuilder() {
if (infoCase_ == 4) {
return (cz.proto.VarCharTypeInfo) info_;
}
return cz.proto.VarCharTypeInfo.getDefaultInstance();
}
public static final int DECIMALTYPEINFO_FIELD_NUMBER = 5;
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
* @return Whether the decimalTypeInfo field is set.
*/
@java.lang.Override
public boolean hasDecimalTypeInfo() {
return infoCase_ == 5;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
* @return The decimalTypeInfo.
*/
@java.lang.Override
public cz.proto.DecimalTypeInfo getDecimalTypeInfo() {
if (infoCase_ == 5) {
return (cz.proto.DecimalTypeInfo) info_;
}
return cz.proto.DecimalTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
@java.lang.Override
public cz.proto.DecimalTypeInfoOrBuilder getDecimalTypeInfoOrBuilder() {
if (infoCase_ == 5) {
return (cz.proto.DecimalTypeInfo) info_;
}
return cz.proto.DecimalTypeInfo.getDefaultInstance();
}
public static final int ARRAYTYPEINFO_FIELD_NUMBER = 6;
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
* @return Whether the arrayTypeInfo field is set.
*/
@java.lang.Override
public boolean hasArrayTypeInfo() {
return infoCase_ == 6;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
* @return The arrayTypeInfo.
*/
@java.lang.Override
public cz.proto.ArrayTypeInfo getArrayTypeInfo() {
if (infoCase_ == 6) {
return (cz.proto.ArrayTypeInfo) info_;
}
return cz.proto.ArrayTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
@java.lang.Override
public cz.proto.ArrayTypeInfoOrBuilder getArrayTypeInfoOrBuilder() {
if (infoCase_ == 6) {
return (cz.proto.ArrayTypeInfo) info_;
}
return cz.proto.ArrayTypeInfo.getDefaultInstance();
}
public static final int MAPTYPEINFO_FIELD_NUMBER = 7;
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
* @return Whether the mapTypeInfo field is set.
*/
@java.lang.Override
public boolean hasMapTypeInfo() {
return infoCase_ == 7;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
* @return The mapTypeInfo.
*/
@java.lang.Override
public cz.proto.MapTypeInfo getMapTypeInfo() {
if (infoCase_ == 7) {
return (cz.proto.MapTypeInfo) info_;
}
return cz.proto.MapTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
@java.lang.Override
public cz.proto.MapTypeInfoOrBuilder getMapTypeInfoOrBuilder() {
if (infoCase_ == 7) {
return (cz.proto.MapTypeInfo) info_;
}
return cz.proto.MapTypeInfo.getDefaultInstance();
}
public static final int STRUCTTYPEINFO_FIELD_NUMBER = 8;
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
* @return Whether the structTypeInfo field is set.
*/
@java.lang.Override
public boolean hasStructTypeInfo() {
return infoCase_ == 8;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
* @return The structTypeInfo.
*/
@java.lang.Override
public cz.proto.StructTypeInfo getStructTypeInfo() {
if (infoCase_ == 8) {
return (cz.proto.StructTypeInfo) info_;
}
return cz.proto.StructTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
@java.lang.Override
public cz.proto.StructTypeInfoOrBuilder getStructTypeInfoOrBuilder() {
if (infoCase_ == 8) {
return (cz.proto.StructTypeInfo) info_;
}
return cz.proto.StructTypeInfo.getDefaultInstance();
}
public static final int INTERVAL_DAY_TIME_INFO_FIELD_NUMBER = 9;
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
* @return Whether the intervalDayTimeInfo field is set.
*/
@java.lang.Override
public boolean hasIntervalDayTimeInfo() {
return infoCase_ == 9;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
* @return The intervalDayTimeInfo.
*/
@java.lang.Override
public cz.proto.IntervalDayTimeInfo getIntervalDayTimeInfo() {
if (infoCase_ == 9) {
return (cz.proto.IntervalDayTimeInfo) info_;
}
return cz.proto.IntervalDayTimeInfo.getDefaultInstance();
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
@java.lang.Override
public cz.proto.IntervalDayTimeInfoOrBuilder getIntervalDayTimeInfoOrBuilder() {
if (infoCase_ == 9) {
return (cz.proto.IntervalDayTimeInfo) info_;
}
return cz.proto.IntervalDayTimeInfo.getDefaultInstance();
}
public static final int INTERVAL_YEAR_MONTH_INFO_FIELD_NUMBER = 10;
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
* @return Whether the intervalYearMonthInfo field is set.
*/
@java.lang.Override
public boolean hasIntervalYearMonthInfo() {
return infoCase_ == 10;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
* @return The intervalYearMonthInfo.
*/
@java.lang.Override
public cz.proto.IntervalYearMonthInfo getIntervalYearMonthInfo() {
if (infoCase_ == 10) {
return (cz.proto.IntervalYearMonthInfo) info_;
}
return cz.proto.IntervalYearMonthInfo.getDefaultInstance();
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
@java.lang.Override
public cz.proto.IntervalYearMonthInfoOrBuilder getIntervalYearMonthInfoOrBuilder() {
if (infoCase_ == 10) {
return (cz.proto.IntervalYearMonthInfo) info_;
}
return cz.proto.IntervalYearMonthInfo.getDefaultInstance();
}
public static final int TIMESTAMP_INFO_FIELD_NUMBER = 12;
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
* @return Whether the timestampInfo field is set.
*/
@java.lang.Override
public boolean hasTimestampInfo() {
return infoCase_ == 12;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
* @return The timestampInfo.
*/
@java.lang.Override
public cz.proto.TimestampInfo getTimestampInfo() {
if (infoCase_ == 12) {
return (cz.proto.TimestampInfo) info_;
}
return cz.proto.TimestampInfo.getDefaultInstance();
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
@java.lang.Override
public cz.proto.TimestampInfoOrBuilder getTimestampInfoOrBuilder() {
if (infoCase_ == 12) {
return (cz.proto.TimestampInfo) info_;
}
return cz.proto.TimestampInfo.getDefaultInstance();
}
public static final int FUNCTION_INFO_FIELD_NUMBER = 13;
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
* @return Whether the functionInfo field is set.
*/
@java.lang.Override
public boolean hasFunctionInfo() {
return infoCase_ == 13;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
* @return The functionInfo.
*/
@java.lang.Override
public cz.proto.FunctionTypeInfo getFunctionInfo() {
if (infoCase_ == 13) {
return (cz.proto.FunctionTypeInfo) info_;
}
return cz.proto.FunctionTypeInfo.getDefaultInstance();
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
@java.lang.Override
public cz.proto.FunctionTypeInfoOrBuilder getFunctionInfoOrBuilder() {
if (infoCase_ == 13) {
return (cz.proto.FunctionTypeInfo) info_;
}
return cz.proto.FunctionTypeInfo.getDefaultInstance();
}
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 (category_ != cz.proto.DataTypeCategory.NONE.getNumber()) {
output.writeEnum(1, category_);
}
if (nullable_ != false) {
output.writeBool(2, nullable_);
}
if (infoCase_ == 3) {
output.writeMessage(3, (cz.proto.CharTypeInfo) info_);
}
if (infoCase_ == 4) {
output.writeMessage(4, (cz.proto.VarCharTypeInfo) info_);
}
if (infoCase_ == 5) {
output.writeMessage(5, (cz.proto.DecimalTypeInfo) info_);
}
if (infoCase_ == 6) {
output.writeMessage(6, (cz.proto.ArrayTypeInfo) info_);
}
if (infoCase_ == 7) {
output.writeMessage(7, (cz.proto.MapTypeInfo) info_);
}
if (infoCase_ == 8) {
output.writeMessage(8, (cz.proto.StructTypeInfo) info_);
}
if (infoCase_ == 9) {
output.writeMessage(9, (cz.proto.IntervalDayTimeInfo) info_);
}
if (infoCase_ == 10) {
output.writeMessage(10, (cz.proto.IntervalYearMonthInfo) info_);
}
if (fieldId_ != 0) {
output.writeUInt32(11, fieldId_);
}
if (infoCase_ == 12) {
output.writeMessage(12, (cz.proto.TimestampInfo) info_);
}
if (infoCase_ == 13) {
output.writeMessage(13, (cz.proto.FunctionTypeInfo) info_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (category_ != cz.proto.DataTypeCategory.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, category_);
}
if (nullable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, nullable_);
}
if (infoCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.CharTypeInfo) info_);
}
if (infoCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (cz.proto.VarCharTypeInfo) info_);
}
if (infoCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (cz.proto.DecimalTypeInfo) info_);
}
if (infoCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (cz.proto.ArrayTypeInfo) info_);
}
if (infoCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (cz.proto.MapTypeInfo) info_);
}
if (infoCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (cz.proto.StructTypeInfo) info_);
}
if (infoCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (cz.proto.IntervalDayTimeInfo) info_);
}
if (infoCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (cz.proto.IntervalYearMonthInfo) info_);
}
if (fieldId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, fieldId_);
}
if (infoCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (cz.proto.TimestampInfo) info_);
}
if (infoCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (cz.proto.FunctionTypeInfo) info_);
}
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.DataType)) {
return super.equals(obj);
}
cz.proto.DataType other = (cz.proto.DataType) obj;
if (category_ != other.category_) return false;
if (getNullable()
!= other.getNullable()) return false;
if (getFieldId()
!= other.getFieldId()) return false;
if (!getInfoCase().equals(other.getInfoCase())) return false;
switch (infoCase_) {
case 3:
if (!getCharTypeInfo()
.equals(other.getCharTypeInfo())) return false;
break;
case 4:
if (!getVarCharTypeInfo()
.equals(other.getVarCharTypeInfo())) return false;
break;
case 5:
if (!getDecimalTypeInfo()
.equals(other.getDecimalTypeInfo())) return false;
break;
case 6:
if (!getArrayTypeInfo()
.equals(other.getArrayTypeInfo())) return false;
break;
case 7:
if (!getMapTypeInfo()
.equals(other.getMapTypeInfo())) return false;
break;
case 8:
if (!getStructTypeInfo()
.equals(other.getStructTypeInfo())) return false;
break;
case 9:
if (!getIntervalDayTimeInfo()
.equals(other.getIntervalDayTimeInfo())) return false;
break;
case 10:
if (!getIntervalYearMonthInfo()
.equals(other.getIntervalYearMonthInfo())) return false;
break;
case 12:
if (!getTimestampInfo()
.equals(other.getTimestampInfo())) return false;
break;
case 13:
if (!getFunctionInfo()
.equals(other.getFunctionInfo())) return false;
break;
case 0:
default:
}
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) + CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + category_;
hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNullable());
hash = (37 * hash) + FIELD_ID_FIELD_NUMBER;
hash = (53 * hash) + getFieldId();
switch (infoCase_) {
case 3:
hash = (37 * hash) + CHARTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getCharTypeInfo().hashCode();
break;
case 4:
hash = (37 * hash) + VARCHARTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getVarCharTypeInfo().hashCode();
break;
case 5:
hash = (37 * hash) + DECIMALTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getDecimalTypeInfo().hashCode();
break;
case 6:
hash = (37 * hash) + ARRAYTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getArrayTypeInfo().hashCode();
break;
case 7:
hash = (37 * hash) + MAPTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getMapTypeInfo().hashCode();
break;
case 8:
hash = (37 * hash) + STRUCTTYPEINFO_FIELD_NUMBER;
hash = (53 * hash) + getStructTypeInfo().hashCode();
break;
case 9:
hash = (37 * hash) + INTERVAL_DAY_TIME_INFO_FIELD_NUMBER;
hash = (53 * hash) + getIntervalDayTimeInfo().hashCode();
break;
case 10:
hash = (37 * hash) + INTERVAL_YEAR_MONTH_INFO_FIELD_NUMBER;
hash = (53 * hash) + getIntervalYearMonthInfo().hashCode();
break;
case 12:
hash = (37 * hash) + TIMESTAMP_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTimestampInfo().hashCode();
break;
case 13:
hash = (37 * hash) + FUNCTION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getFunctionInfo().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.DataType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataType 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.DataType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataType 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.DataType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.DataType 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.DataType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataType 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.DataType 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.DataType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.DataType)
cz.proto.DataTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_DataType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_DataType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataType.class, cz.proto.DataType.Builder.class);
}
// Construct using cz.proto.DataType.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();
category_ = 0;
nullable_ = false;
fieldId_ = 0;
infoCase_ = 0;
info_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.DataTypeOuterClass.internal_static_cz_proto_DataType_descriptor;
}
@java.lang.Override
public cz.proto.DataType getDefaultInstanceForType() {
return cz.proto.DataType.getDefaultInstance();
}
@java.lang.Override
public cz.proto.DataType build() {
cz.proto.DataType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.DataType buildPartial() {
cz.proto.DataType result = new cz.proto.DataType(this);
result.category_ = category_;
result.nullable_ = nullable_;
result.fieldId_ = fieldId_;
if (infoCase_ == 3) {
if (charTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = charTypeInfoBuilder_.build();
}
}
if (infoCase_ == 4) {
if (varCharTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = varCharTypeInfoBuilder_.build();
}
}
if (infoCase_ == 5) {
if (decimalTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = decimalTypeInfoBuilder_.build();
}
}
if (infoCase_ == 6) {
if (arrayTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = arrayTypeInfoBuilder_.build();
}
}
if (infoCase_ == 7) {
if (mapTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = mapTypeInfoBuilder_.build();
}
}
if (infoCase_ == 8) {
if (structTypeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = structTypeInfoBuilder_.build();
}
}
if (infoCase_ == 9) {
if (intervalDayTimeInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = intervalDayTimeInfoBuilder_.build();
}
}
if (infoCase_ == 10) {
if (intervalYearMonthInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = intervalYearMonthInfoBuilder_.build();
}
}
if (infoCase_ == 12) {
if (timestampInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = timestampInfoBuilder_.build();
}
}
if (infoCase_ == 13) {
if (functionInfoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = functionInfoBuilder_.build();
}
}
result.infoCase_ = infoCase_;
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.DataType) {
return mergeFrom((cz.proto.DataType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.DataType other) {
if (other == cz.proto.DataType.getDefaultInstance()) return this;
if (other.category_ != 0) {
setCategoryValue(other.getCategoryValue());
}
if (other.getNullable() != false) {
setNullable(other.getNullable());
}
if (other.getFieldId() != 0) {
setFieldId(other.getFieldId());
}
switch (other.getInfoCase()) {
case CHARTYPEINFO: {
mergeCharTypeInfo(other.getCharTypeInfo());
break;
}
case VARCHARTYPEINFO: {
mergeVarCharTypeInfo(other.getVarCharTypeInfo());
break;
}
case DECIMALTYPEINFO: {
mergeDecimalTypeInfo(other.getDecimalTypeInfo());
break;
}
case ARRAYTYPEINFO: {
mergeArrayTypeInfo(other.getArrayTypeInfo());
break;
}
case MAPTYPEINFO: {
mergeMapTypeInfo(other.getMapTypeInfo());
break;
}
case STRUCTTYPEINFO: {
mergeStructTypeInfo(other.getStructTypeInfo());
break;
}
case INTERVAL_DAY_TIME_INFO: {
mergeIntervalDayTimeInfo(other.getIntervalDayTimeInfo());
break;
}
case INTERVAL_YEAR_MONTH_INFO: {
mergeIntervalYearMonthInfo(other.getIntervalYearMonthInfo());
break;
}
case TIMESTAMP_INFO: {
mergeTimestampInfo(other.getTimestampInfo());
break;
}
case FUNCTION_INFO: {
mergeFunctionInfo(other.getFunctionInfo());
break;
}
case INFO_NOT_SET: {
break;
}
}
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.DataType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.DataType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int infoCase_ = 0;
private java.lang.Object info_;
public InfoCase
getInfoCase() {
return InfoCase.forNumber(
infoCase_);
}
public Builder clearInfo() {
infoCase_ = 0;
info_ = null;
onChanged();
return this;
}
private int category_ = 0;
/**
* .cz.proto.DataTypeCategory category = 1;
* @return The enum numeric value on the wire for category.
*/
@java.lang.Override public int getCategoryValue() {
return category_;
}
/**
* .cz.proto.DataTypeCategory category = 1;
* @param value The enum numeric value on the wire for category to set.
* @return This builder for chaining.
*/
public Builder setCategoryValue(int value) {
category_ = value;
onChanged();
return this;
}
/**
* .cz.proto.DataTypeCategory category = 1;
* @return The category.
*/
@java.lang.Override
public cz.proto.DataTypeCategory getCategory() {
@SuppressWarnings("deprecation")
cz.proto.DataTypeCategory result = cz.proto.DataTypeCategory.valueOf(category_);
return result == null ? cz.proto.DataTypeCategory.UNRECOGNIZED : result;
}
/**
* .cz.proto.DataTypeCategory category = 1;
* @param value The category to set.
* @return This builder for chaining.
*/
public Builder setCategory(cz.proto.DataTypeCategory value) {
if (value == null) {
throw new NullPointerException();
}
category_ = value.getNumber();
onChanged();
return this;
}
/**
* .cz.proto.DataTypeCategory category = 1;
* @return This builder for chaining.
*/
public Builder clearCategory() {
category_ = 0;
onChanged();
return this;
}
private boolean nullable_ ;
/**
* bool nullable = 2;
* @return The nullable.
*/
@java.lang.Override
public boolean getNullable() {
return nullable_;
}
/**
* bool nullable = 2;
* @param value The nullable to set.
* @return This builder for chaining.
*/
public Builder setNullable(boolean value) {
nullable_ = value;
onChanged();
return this;
}
/**
* bool nullable = 2;
* @return This builder for chaining.
*/
public Builder clearNullable() {
nullable_ = false;
onChanged();
return this;
}
private int fieldId_ ;
/**
* uint32 field_id = 11;
* @return The fieldId.
*/
@java.lang.Override
public int getFieldId() {
return fieldId_;
}
/**
* uint32 field_id = 11;
* @param value The fieldId to set.
* @return This builder for chaining.
*/
public Builder setFieldId(int value) {
fieldId_ = value;
onChanged();
return this;
}
/**
* uint32 field_id = 11;
* @return This builder for chaining.
*/
public Builder clearFieldId() {
fieldId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.CharTypeInfo, cz.proto.CharTypeInfo.Builder, cz.proto.CharTypeInfoOrBuilder> charTypeInfoBuilder_;
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
* @return Whether the charTypeInfo field is set.
*/
@java.lang.Override
public boolean hasCharTypeInfo() {
return infoCase_ == 3;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
* @return The charTypeInfo.
*/
@java.lang.Override
public cz.proto.CharTypeInfo getCharTypeInfo() {
if (charTypeInfoBuilder_ == null) {
if (infoCase_ == 3) {
return (cz.proto.CharTypeInfo) info_;
}
return cz.proto.CharTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 3) {
return charTypeInfoBuilder_.getMessage();
}
return cz.proto.CharTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
public Builder setCharTypeInfo(cz.proto.CharTypeInfo value) {
if (charTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
charTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 3;
return this;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
public Builder setCharTypeInfo(
cz.proto.CharTypeInfo.Builder builderForValue) {
if (charTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
charTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 3;
return this;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
public Builder mergeCharTypeInfo(cz.proto.CharTypeInfo value) {
if (charTypeInfoBuilder_ == null) {
if (infoCase_ == 3 &&
info_ != cz.proto.CharTypeInfo.getDefaultInstance()) {
info_ = cz.proto.CharTypeInfo.newBuilder((cz.proto.CharTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 3) {
charTypeInfoBuilder_.mergeFrom(value);
}
charTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 3;
return this;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
public Builder clearCharTypeInfo() {
if (charTypeInfoBuilder_ == null) {
if (infoCase_ == 3) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 3) {
infoCase_ = 0;
info_ = null;
}
charTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
public cz.proto.CharTypeInfo.Builder getCharTypeInfoBuilder() {
return getCharTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
@java.lang.Override
public cz.proto.CharTypeInfoOrBuilder getCharTypeInfoOrBuilder() {
if ((infoCase_ == 3) && (charTypeInfoBuilder_ != null)) {
return charTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 3) {
return (cz.proto.CharTypeInfo) info_;
}
return cz.proto.CharTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.CharTypeInfo charTypeInfo = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.CharTypeInfo, cz.proto.CharTypeInfo.Builder, cz.proto.CharTypeInfoOrBuilder>
getCharTypeInfoFieldBuilder() {
if (charTypeInfoBuilder_ == null) {
if (!(infoCase_ == 3)) {
info_ = cz.proto.CharTypeInfo.getDefaultInstance();
}
charTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.CharTypeInfo, cz.proto.CharTypeInfo.Builder, cz.proto.CharTypeInfoOrBuilder>(
(cz.proto.CharTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 3;
onChanged();;
return charTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VarCharTypeInfo, cz.proto.VarCharTypeInfo.Builder, cz.proto.VarCharTypeInfoOrBuilder> varCharTypeInfoBuilder_;
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
* @return Whether the varCharTypeInfo field is set.
*/
@java.lang.Override
public boolean hasVarCharTypeInfo() {
return infoCase_ == 4;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
* @return The varCharTypeInfo.
*/
@java.lang.Override
public cz.proto.VarCharTypeInfo getVarCharTypeInfo() {
if (varCharTypeInfoBuilder_ == null) {
if (infoCase_ == 4) {
return (cz.proto.VarCharTypeInfo) info_;
}
return cz.proto.VarCharTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 4) {
return varCharTypeInfoBuilder_.getMessage();
}
return cz.proto.VarCharTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
public Builder setVarCharTypeInfo(cz.proto.VarCharTypeInfo value) {
if (varCharTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
varCharTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 4;
return this;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
public Builder setVarCharTypeInfo(
cz.proto.VarCharTypeInfo.Builder builderForValue) {
if (varCharTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
varCharTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 4;
return this;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
public Builder mergeVarCharTypeInfo(cz.proto.VarCharTypeInfo value) {
if (varCharTypeInfoBuilder_ == null) {
if (infoCase_ == 4 &&
info_ != cz.proto.VarCharTypeInfo.getDefaultInstance()) {
info_ = cz.proto.VarCharTypeInfo.newBuilder((cz.proto.VarCharTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 4) {
varCharTypeInfoBuilder_.mergeFrom(value);
}
varCharTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 4;
return this;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
public Builder clearVarCharTypeInfo() {
if (varCharTypeInfoBuilder_ == null) {
if (infoCase_ == 4) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 4) {
infoCase_ = 0;
info_ = null;
}
varCharTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
public cz.proto.VarCharTypeInfo.Builder getVarCharTypeInfoBuilder() {
return getVarCharTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
@java.lang.Override
public cz.proto.VarCharTypeInfoOrBuilder getVarCharTypeInfoOrBuilder() {
if ((infoCase_ == 4) && (varCharTypeInfoBuilder_ != null)) {
return varCharTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 4) {
return (cz.proto.VarCharTypeInfo) info_;
}
return cz.proto.VarCharTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.VarCharTypeInfo varCharTypeInfo = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VarCharTypeInfo, cz.proto.VarCharTypeInfo.Builder, cz.proto.VarCharTypeInfoOrBuilder>
getVarCharTypeInfoFieldBuilder() {
if (varCharTypeInfoBuilder_ == null) {
if (!(infoCase_ == 4)) {
info_ = cz.proto.VarCharTypeInfo.getDefaultInstance();
}
varCharTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VarCharTypeInfo, cz.proto.VarCharTypeInfo.Builder, cz.proto.VarCharTypeInfoOrBuilder>(
(cz.proto.VarCharTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 4;
onChanged();;
return varCharTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DecimalTypeInfo, cz.proto.DecimalTypeInfo.Builder, cz.proto.DecimalTypeInfoOrBuilder> decimalTypeInfoBuilder_;
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
* @return Whether the decimalTypeInfo field is set.
*/
@java.lang.Override
public boolean hasDecimalTypeInfo() {
return infoCase_ == 5;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
* @return The decimalTypeInfo.
*/
@java.lang.Override
public cz.proto.DecimalTypeInfo getDecimalTypeInfo() {
if (decimalTypeInfoBuilder_ == null) {
if (infoCase_ == 5) {
return (cz.proto.DecimalTypeInfo) info_;
}
return cz.proto.DecimalTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 5) {
return decimalTypeInfoBuilder_.getMessage();
}
return cz.proto.DecimalTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
public Builder setDecimalTypeInfo(cz.proto.DecimalTypeInfo value) {
if (decimalTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
decimalTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 5;
return this;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
public Builder setDecimalTypeInfo(
cz.proto.DecimalTypeInfo.Builder builderForValue) {
if (decimalTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
decimalTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 5;
return this;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
public Builder mergeDecimalTypeInfo(cz.proto.DecimalTypeInfo value) {
if (decimalTypeInfoBuilder_ == null) {
if (infoCase_ == 5 &&
info_ != cz.proto.DecimalTypeInfo.getDefaultInstance()) {
info_ = cz.proto.DecimalTypeInfo.newBuilder((cz.proto.DecimalTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 5) {
decimalTypeInfoBuilder_.mergeFrom(value);
}
decimalTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 5;
return this;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
public Builder clearDecimalTypeInfo() {
if (decimalTypeInfoBuilder_ == null) {
if (infoCase_ == 5) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 5) {
infoCase_ = 0;
info_ = null;
}
decimalTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
public cz.proto.DecimalTypeInfo.Builder getDecimalTypeInfoBuilder() {
return getDecimalTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
@java.lang.Override
public cz.proto.DecimalTypeInfoOrBuilder getDecimalTypeInfoOrBuilder() {
if ((infoCase_ == 5) && (decimalTypeInfoBuilder_ != null)) {
return decimalTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 5) {
return (cz.proto.DecimalTypeInfo) info_;
}
return cz.proto.DecimalTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.DecimalTypeInfo decimalTypeInfo = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DecimalTypeInfo, cz.proto.DecimalTypeInfo.Builder, cz.proto.DecimalTypeInfoOrBuilder>
getDecimalTypeInfoFieldBuilder() {
if (decimalTypeInfoBuilder_ == null) {
if (!(infoCase_ == 5)) {
info_ = cz.proto.DecimalTypeInfo.getDefaultInstance();
}
decimalTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DecimalTypeInfo, cz.proto.DecimalTypeInfo.Builder, cz.proto.DecimalTypeInfoOrBuilder>(
(cz.proto.DecimalTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 5;
onChanged();;
return decimalTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrayTypeInfo, cz.proto.ArrayTypeInfo.Builder, cz.proto.ArrayTypeInfoOrBuilder> arrayTypeInfoBuilder_;
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
* @return Whether the arrayTypeInfo field is set.
*/
@java.lang.Override
public boolean hasArrayTypeInfo() {
return infoCase_ == 6;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
* @return The arrayTypeInfo.
*/
@java.lang.Override
public cz.proto.ArrayTypeInfo getArrayTypeInfo() {
if (arrayTypeInfoBuilder_ == null) {
if (infoCase_ == 6) {
return (cz.proto.ArrayTypeInfo) info_;
}
return cz.proto.ArrayTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 6) {
return arrayTypeInfoBuilder_.getMessage();
}
return cz.proto.ArrayTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
public Builder setArrayTypeInfo(cz.proto.ArrayTypeInfo value) {
if (arrayTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
arrayTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 6;
return this;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
public Builder setArrayTypeInfo(
cz.proto.ArrayTypeInfo.Builder builderForValue) {
if (arrayTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
arrayTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 6;
return this;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
public Builder mergeArrayTypeInfo(cz.proto.ArrayTypeInfo value) {
if (arrayTypeInfoBuilder_ == null) {
if (infoCase_ == 6 &&
info_ != cz.proto.ArrayTypeInfo.getDefaultInstance()) {
info_ = cz.proto.ArrayTypeInfo.newBuilder((cz.proto.ArrayTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 6) {
arrayTypeInfoBuilder_.mergeFrom(value);
}
arrayTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 6;
return this;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
public Builder clearArrayTypeInfo() {
if (arrayTypeInfoBuilder_ == null) {
if (infoCase_ == 6) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 6) {
infoCase_ = 0;
info_ = null;
}
arrayTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
public cz.proto.ArrayTypeInfo.Builder getArrayTypeInfoBuilder() {
return getArrayTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
@java.lang.Override
public cz.proto.ArrayTypeInfoOrBuilder getArrayTypeInfoOrBuilder() {
if ((infoCase_ == 6) && (arrayTypeInfoBuilder_ != null)) {
return arrayTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 6) {
return (cz.proto.ArrayTypeInfo) info_;
}
return cz.proto.ArrayTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.ArrayTypeInfo arrayTypeInfo = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrayTypeInfo, cz.proto.ArrayTypeInfo.Builder, cz.proto.ArrayTypeInfoOrBuilder>
getArrayTypeInfoFieldBuilder() {
if (arrayTypeInfoBuilder_ == null) {
if (!(infoCase_ == 6)) {
info_ = cz.proto.ArrayTypeInfo.getDefaultInstance();
}
arrayTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrayTypeInfo, cz.proto.ArrayTypeInfo.Builder, cz.proto.ArrayTypeInfoOrBuilder>(
(cz.proto.ArrayTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 6;
onChanged();;
return arrayTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MapTypeInfo, cz.proto.MapTypeInfo.Builder, cz.proto.MapTypeInfoOrBuilder> mapTypeInfoBuilder_;
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
* @return Whether the mapTypeInfo field is set.
*/
@java.lang.Override
public boolean hasMapTypeInfo() {
return infoCase_ == 7;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
* @return The mapTypeInfo.
*/
@java.lang.Override
public cz.proto.MapTypeInfo getMapTypeInfo() {
if (mapTypeInfoBuilder_ == null) {
if (infoCase_ == 7) {
return (cz.proto.MapTypeInfo) info_;
}
return cz.proto.MapTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 7) {
return mapTypeInfoBuilder_.getMessage();
}
return cz.proto.MapTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
public Builder setMapTypeInfo(cz.proto.MapTypeInfo value) {
if (mapTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
mapTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 7;
return this;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
public Builder setMapTypeInfo(
cz.proto.MapTypeInfo.Builder builderForValue) {
if (mapTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
mapTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 7;
return this;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
public Builder mergeMapTypeInfo(cz.proto.MapTypeInfo value) {
if (mapTypeInfoBuilder_ == null) {
if (infoCase_ == 7 &&
info_ != cz.proto.MapTypeInfo.getDefaultInstance()) {
info_ = cz.proto.MapTypeInfo.newBuilder((cz.proto.MapTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 7) {
mapTypeInfoBuilder_.mergeFrom(value);
}
mapTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 7;
return this;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
public Builder clearMapTypeInfo() {
if (mapTypeInfoBuilder_ == null) {
if (infoCase_ == 7) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 7) {
infoCase_ = 0;
info_ = null;
}
mapTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
public cz.proto.MapTypeInfo.Builder getMapTypeInfoBuilder() {
return getMapTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
@java.lang.Override
public cz.proto.MapTypeInfoOrBuilder getMapTypeInfoOrBuilder() {
if ((infoCase_ == 7) && (mapTypeInfoBuilder_ != null)) {
return mapTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 7) {
return (cz.proto.MapTypeInfo) info_;
}
return cz.proto.MapTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.MapTypeInfo mapTypeInfo = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MapTypeInfo, cz.proto.MapTypeInfo.Builder, cz.proto.MapTypeInfoOrBuilder>
getMapTypeInfoFieldBuilder() {
if (mapTypeInfoBuilder_ == null) {
if (!(infoCase_ == 7)) {
info_ = cz.proto.MapTypeInfo.getDefaultInstance();
}
mapTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MapTypeInfo, cz.proto.MapTypeInfo.Builder, cz.proto.MapTypeInfoOrBuilder>(
(cz.proto.MapTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 7;
onChanged();;
return mapTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo, cz.proto.StructTypeInfo.Builder, cz.proto.StructTypeInfoOrBuilder> structTypeInfoBuilder_;
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
* @return Whether the structTypeInfo field is set.
*/
@java.lang.Override
public boolean hasStructTypeInfo() {
return infoCase_ == 8;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
* @return The structTypeInfo.
*/
@java.lang.Override
public cz.proto.StructTypeInfo getStructTypeInfo() {
if (structTypeInfoBuilder_ == null) {
if (infoCase_ == 8) {
return (cz.proto.StructTypeInfo) info_;
}
return cz.proto.StructTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 8) {
return structTypeInfoBuilder_.getMessage();
}
return cz.proto.StructTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
public Builder setStructTypeInfo(cz.proto.StructTypeInfo value) {
if (structTypeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
structTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 8;
return this;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
public Builder setStructTypeInfo(
cz.proto.StructTypeInfo.Builder builderForValue) {
if (structTypeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
structTypeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 8;
return this;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
public Builder mergeStructTypeInfo(cz.proto.StructTypeInfo value) {
if (structTypeInfoBuilder_ == null) {
if (infoCase_ == 8 &&
info_ != cz.proto.StructTypeInfo.getDefaultInstance()) {
info_ = cz.proto.StructTypeInfo.newBuilder((cz.proto.StructTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 8) {
structTypeInfoBuilder_.mergeFrom(value);
}
structTypeInfoBuilder_.setMessage(value);
}
infoCase_ = 8;
return this;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
public Builder clearStructTypeInfo() {
if (structTypeInfoBuilder_ == null) {
if (infoCase_ == 8) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 8) {
infoCase_ = 0;
info_ = null;
}
structTypeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
public cz.proto.StructTypeInfo.Builder getStructTypeInfoBuilder() {
return getStructTypeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
@java.lang.Override
public cz.proto.StructTypeInfoOrBuilder getStructTypeInfoOrBuilder() {
if ((infoCase_ == 8) && (structTypeInfoBuilder_ != null)) {
return structTypeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 8) {
return (cz.proto.StructTypeInfo) info_;
}
return cz.proto.StructTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.StructTypeInfo structTypeInfo = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo, cz.proto.StructTypeInfo.Builder, cz.proto.StructTypeInfoOrBuilder>
getStructTypeInfoFieldBuilder() {
if (structTypeInfoBuilder_ == null) {
if (!(infoCase_ == 8)) {
info_ = cz.proto.StructTypeInfo.getDefaultInstance();
}
structTypeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo, cz.proto.StructTypeInfo.Builder, cz.proto.StructTypeInfoOrBuilder>(
(cz.proto.StructTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 8;
onChanged();;
return structTypeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalDayTimeInfo, cz.proto.IntervalDayTimeInfo.Builder, cz.proto.IntervalDayTimeInfoOrBuilder> intervalDayTimeInfoBuilder_;
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
* @return Whether the intervalDayTimeInfo field is set.
*/
@java.lang.Override
public boolean hasIntervalDayTimeInfo() {
return infoCase_ == 9;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
* @return The intervalDayTimeInfo.
*/
@java.lang.Override
public cz.proto.IntervalDayTimeInfo getIntervalDayTimeInfo() {
if (intervalDayTimeInfoBuilder_ == null) {
if (infoCase_ == 9) {
return (cz.proto.IntervalDayTimeInfo) info_;
}
return cz.proto.IntervalDayTimeInfo.getDefaultInstance();
} else {
if (infoCase_ == 9) {
return intervalDayTimeInfoBuilder_.getMessage();
}
return cz.proto.IntervalDayTimeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
public Builder setIntervalDayTimeInfo(cz.proto.IntervalDayTimeInfo value) {
if (intervalDayTimeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
intervalDayTimeInfoBuilder_.setMessage(value);
}
infoCase_ = 9;
return this;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
public Builder setIntervalDayTimeInfo(
cz.proto.IntervalDayTimeInfo.Builder builderForValue) {
if (intervalDayTimeInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
intervalDayTimeInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 9;
return this;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
public Builder mergeIntervalDayTimeInfo(cz.proto.IntervalDayTimeInfo value) {
if (intervalDayTimeInfoBuilder_ == null) {
if (infoCase_ == 9 &&
info_ != cz.proto.IntervalDayTimeInfo.getDefaultInstance()) {
info_ = cz.proto.IntervalDayTimeInfo.newBuilder((cz.proto.IntervalDayTimeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 9) {
intervalDayTimeInfoBuilder_.mergeFrom(value);
}
intervalDayTimeInfoBuilder_.setMessage(value);
}
infoCase_ = 9;
return this;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
public Builder clearIntervalDayTimeInfo() {
if (intervalDayTimeInfoBuilder_ == null) {
if (infoCase_ == 9) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 9) {
infoCase_ = 0;
info_ = null;
}
intervalDayTimeInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
public cz.proto.IntervalDayTimeInfo.Builder getIntervalDayTimeInfoBuilder() {
return getIntervalDayTimeInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
@java.lang.Override
public cz.proto.IntervalDayTimeInfoOrBuilder getIntervalDayTimeInfoOrBuilder() {
if ((infoCase_ == 9) && (intervalDayTimeInfoBuilder_ != null)) {
return intervalDayTimeInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 9) {
return (cz.proto.IntervalDayTimeInfo) info_;
}
return cz.proto.IntervalDayTimeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.IntervalDayTimeInfo interval_day_time_info = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalDayTimeInfo, cz.proto.IntervalDayTimeInfo.Builder, cz.proto.IntervalDayTimeInfoOrBuilder>
getIntervalDayTimeInfoFieldBuilder() {
if (intervalDayTimeInfoBuilder_ == null) {
if (!(infoCase_ == 9)) {
info_ = cz.proto.IntervalDayTimeInfo.getDefaultInstance();
}
intervalDayTimeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalDayTimeInfo, cz.proto.IntervalDayTimeInfo.Builder, cz.proto.IntervalDayTimeInfoOrBuilder>(
(cz.proto.IntervalDayTimeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 9;
onChanged();;
return intervalDayTimeInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalYearMonthInfo, cz.proto.IntervalYearMonthInfo.Builder, cz.proto.IntervalYearMonthInfoOrBuilder> intervalYearMonthInfoBuilder_;
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
* @return Whether the intervalYearMonthInfo field is set.
*/
@java.lang.Override
public boolean hasIntervalYearMonthInfo() {
return infoCase_ == 10;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
* @return The intervalYearMonthInfo.
*/
@java.lang.Override
public cz.proto.IntervalYearMonthInfo getIntervalYearMonthInfo() {
if (intervalYearMonthInfoBuilder_ == null) {
if (infoCase_ == 10) {
return (cz.proto.IntervalYearMonthInfo) info_;
}
return cz.proto.IntervalYearMonthInfo.getDefaultInstance();
} else {
if (infoCase_ == 10) {
return intervalYearMonthInfoBuilder_.getMessage();
}
return cz.proto.IntervalYearMonthInfo.getDefaultInstance();
}
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
public Builder setIntervalYearMonthInfo(cz.proto.IntervalYearMonthInfo value) {
if (intervalYearMonthInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
intervalYearMonthInfoBuilder_.setMessage(value);
}
infoCase_ = 10;
return this;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
public Builder setIntervalYearMonthInfo(
cz.proto.IntervalYearMonthInfo.Builder builderForValue) {
if (intervalYearMonthInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
intervalYearMonthInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 10;
return this;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
public Builder mergeIntervalYearMonthInfo(cz.proto.IntervalYearMonthInfo value) {
if (intervalYearMonthInfoBuilder_ == null) {
if (infoCase_ == 10 &&
info_ != cz.proto.IntervalYearMonthInfo.getDefaultInstance()) {
info_ = cz.proto.IntervalYearMonthInfo.newBuilder((cz.proto.IntervalYearMonthInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 10) {
intervalYearMonthInfoBuilder_.mergeFrom(value);
}
intervalYearMonthInfoBuilder_.setMessage(value);
}
infoCase_ = 10;
return this;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
public Builder clearIntervalYearMonthInfo() {
if (intervalYearMonthInfoBuilder_ == null) {
if (infoCase_ == 10) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 10) {
infoCase_ = 0;
info_ = null;
}
intervalYearMonthInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
public cz.proto.IntervalYearMonthInfo.Builder getIntervalYearMonthInfoBuilder() {
return getIntervalYearMonthInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
@java.lang.Override
public cz.proto.IntervalYearMonthInfoOrBuilder getIntervalYearMonthInfoOrBuilder() {
if ((infoCase_ == 10) && (intervalYearMonthInfoBuilder_ != null)) {
return intervalYearMonthInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 10) {
return (cz.proto.IntervalYearMonthInfo) info_;
}
return cz.proto.IntervalYearMonthInfo.getDefaultInstance();
}
}
/**
* .cz.proto.IntervalYearMonthInfo interval_year_month_info = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalYearMonthInfo, cz.proto.IntervalYearMonthInfo.Builder, cz.proto.IntervalYearMonthInfoOrBuilder>
getIntervalYearMonthInfoFieldBuilder() {
if (intervalYearMonthInfoBuilder_ == null) {
if (!(infoCase_ == 10)) {
info_ = cz.proto.IntervalYearMonthInfo.getDefaultInstance();
}
intervalYearMonthInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IntervalYearMonthInfo, cz.proto.IntervalYearMonthInfo.Builder, cz.proto.IntervalYearMonthInfoOrBuilder>(
(cz.proto.IntervalYearMonthInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 10;
onChanged();;
return intervalYearMonthInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TimestampInfo, cz.proto.TimestampInfo.Builder, cz.proto.TimestampInfoOrBuilder> timestampInfoBuilder_;
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
* @return Whether the timestampInfo field is set.
*/
@java.lang.Override
public boolean hasTimestampInfo() {
return infoCase_ == 12;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
* @return The timestampInfo.
*/
@java.lang.Override
public cz.proto.TimestampInfo getTimestampInfo() {
if (timestampInfoBuilder_ == null) {
if (infoCase_ == 12) {
return (cz.proto.TimestampInfo) info_;
}
return cz.proto.TimestampInfo.getDefaultInstance();
} else {
if (infoCase_ == 12) {
return timestampInfoBuilder_.getMessage();
}
return cz.proto.TimestampInfo.getDefaultInstance();
}
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
public Builder setTimestampInfo(cz.proto.TimestampInfo value) {
if (timestampInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
timestampInfoBuilder_.setMessage(value);
}
infoCase_ = 12;
return this;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
public Builder setTimestampInfo(
cz.proto.TimestampInfo.Builder builderForValue) {
if (timestampInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
timestampInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 12;
return this;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
public Builder mergeTimestampInfo(cz.proto.TimestampInfo value) {
if (timestampInfoBuilder_ == null) {
if (infoCase_ == 12 &&
info_ != cz.proto.TimestampInfo.getDefaultInstance()) {
info_ = cz.proto.TimestampInfo.newBuilder((cz.proto.TimestampInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 12) {
timestampInfoBuilder_.mergeFrom(value);
}
timestampInfoBuilder_.setMessage(value);
}
infoCase_ = 12;
return this;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
public Builder clearTimestampInfo() {
if (timestampInfoBuilder_ == null) {
if (infoCase_ == 12) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 12) {
infoCase_ = 0;
info_ = null;
}
timestampInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
public cz.proto.TimestampInfo.Builder getTimestampInfoBuilder() {
return getTimestampInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
@java.lang.Override
public cz.proto.TimestampInfoOrBuilder getTimestampInfoOrBuilder() {
if ((infoCase_ == 12) && (timestampInfoBuilder_ != null)) {
return timestampInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 12) {
return (cz.proto.TimestampInfo) info_;
}
return cz.proto.TimestampInfo.getDefaultInstance();
}
}
/**
* .cz.proto.TimestampInfo timestamp_info = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TimestampInfo, cz.proto.TimestampInfo.Builder, cz.proto.TimestampInfoOrBuilder>
getTimestampInfoFieldBuilder() {
if (timestampInfoBuilder_ == null) {
if (!(infoCase_ == 12)) {
info_ = cz.proto.TimestampInfo.getDefaultInstance();
}
timestampInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TimestampInfo, cz.proto.TimestampInfo.Builder, cz.proto.TimestampInfoOrBuilder>(
(cz.proto.TimestampInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 12;
onChanged();;
return timestampInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FunctionTypeInfo, cz.proto.FunctionTypeInfo.Builder, cz.proto.FunctionTypeInfoOrBuilder> functionInfoBuilder_;
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
* @return Whether the functionInfo field is set.
*/
@java.lang.Override
public boolean hasFunctionInfo() {
return infoCase_ == 13;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
* @return The functionInfo.
*/
@java.lang.Override
public cz.proto.FunctionTypeInfo getFunctionInfo() {
if (functionInfoBuilder_ == null) {
if (infoCase_ == 13) {
return (cz.proto.FunctionTypeInfo) info_;
}
return cz.proto.FunctionTypeInfo.getDefaultInstance();
} else {
if (infoCase_ == 13) {
return functionInfoBuilder_.getMessage();
}
return cz.proto.FunctionTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
public Builder setFunctionInfo(cz.proto.FunctionTypeInfo value) {
if (functionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
functionInfoBuilder_.setMessage(value);
}
infoCase_ = 13;
return this;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
public Builder setFunctionInfo(
cz.proto.FunctionTypeInfo.Builder builderForValue) {
if (functionInfoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
functionInfoBuilder_.setMessage(builderForValue.build());
}
infoCase_ = 13;
return this;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
public Builder mergeFunctionInfo(cz.proto.FunctionTypeInfo value) {
if (functionInfoBuilder_ == null) {
if (infoCase_ == 13 &&
info_ != cz.proto.FunctionTypeInfo.getDefaultInstance()) {
info_ = cz.proto.FunctionTypeInfo.newBuilder((cz.proto.FunctionTypeInfo) info_)
.mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
if (infoCase_ == 13) {
functionInfoBuilder_.mergeFrom(value);
}
functionInfoBuilder_.setMessage(value);
}
infoCase_ = 13;
return this;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
public Builder clearFunctionInfo() {
if (functionInfoBuilder_ == null) {
if (infoCase_ == 13) {
infoCase_ = 0;
info_ = null;
onChanged();
}
} else {
if (infoCase_ == 13) {
infoCase_ = 0;
info_ = null;
}
functionInfoBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
public cz.proto.FunctionTypeInfo.Builder getFunctionInfoBuilder() {
return getFunctionInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
@java.lang.Override
public cz.proto.FunctionTypeInfoOrBuilder getFunctionInfoOrBuilder() {
if ((infoCase_ == 13) && (functionInfoBuilder_ != null)) {
return functionInfoBuilder_.getMessageOrBuilder();
} else {
if (infoCase_ == 13) {
return (cz.proto.FunctionTypeInfo) info_;
}
return cz.proto.FunctionTypeInfo.getDefaultInstance();
}
}
/**
* .cz.proto.FunctionTypeInfo function_info = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FunctionTypeInfo, cz.proto.FunctionTypeInfo.Builder, cz.proto.FunctionTypeInfoOrBuilder>
getFunctionInfoFieldBuilder() {
if (functionInfoBuilder_ == null) {
if (!(infoCase_ == 13)) {
info_ = cz.proto.FunctionTypeInfo.getDefaultInstance();
}
functionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FunctionTypeInfo, cz.proto.FunctionTypeInfo.Builder, cz.proto.FunctionTypeInfoOrBuilder>(
(cz.proto.FunctionTypeInfo) info_,
getParentForChildren(),
isClean());
info_ = null;
}
infoCase_ = 13;
onChanged();;
return functionInfoBuilder_;
}
@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.DataType)
}
// @@protoc_insertion_point(class_scope:cz.proto.DataType)
private static final cz.proto.DataType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.DataType();
}
public static cz.proto.DataType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataType(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.DataType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy