1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- package bcl;
- public final class Bcl {
- private Bcl() {}
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static final com.google.protobuf.Descriptors.FileDescriptor
- descriptor = buildDescriptor();
- private static
- com.google.protobuf.Descriptors.FileDescriptor
- buildDescriptor() {
- java.lang.String descriptorData =
- "\n\tbcl.proto\022\003bcl\"\251\001\n\010TimeSpan\022\r\n\005value\030\001" +
- " \001(\022\0220\n\005scale\030\002 \001(\0162\033.bcl.TimeSpan.TimeS" +
- "panScale:\004DAYS\"\\\n\rTimeSpanScale\022\010\n\004DAYS\020" +
- "\000\022\t\n\005HOURS\020\001\022\013\n\007MINUTES\020\002\022\013\n\007SECONDS\020\003\022\020" +
- "\n\014MILLISECONDS\020\004\022\n\n\006MINMAX\020\017\"\251\001\n\010DateTim" +
- "e\022\r\n\005value\030\001 \001(\022\0220\n\005scale\030\002 \001(\0162\033.bcl.Da" +
- "teTime.TimeSpanScale:\004DAYS\"\\\n\rTimeSpanSc" +
- "ale\022\010\n\004DAYS\020\000\022\t\n\005HOURS\020\001\022\013\n\007MINUTES\020\002\022\013\n" +
- "\007SECONDS\020\003\022\020\n\014MILLISECONDS\020\004\022\n\n\006MINMAX\020\017" +
- "\"\036\n\004Guid\022\n\n\002lo\030\001 \001(\006\022\n\n\002hi\030\002 \001(\006\"4\n\007Deci" +
- "mal\022\n\n\002lo\030\001 \001(\004\022\n\n\002hi\030\002 \001(\r\022\021\n\tsignScale" +
- "\030\003 \001(\rB.H\001\302>\032Google.ProtocolBuffers.Bcl\312" +
- ">\014BclProtoFile";
- try {
- return com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- });
- } catch (Exception e) {
- throw new RuntimeException(
- "Failed to parse protocol buffer descriptor for " +
- "\"bcl.proto\".", e);
- }
- }
-
- public static final class TimeSpan extends
- com.google.protobuf.GeneratedMessage {
- // Use TimeSpan.newBuilder() to construct.
- private TimeSpan() {}
-
- private static final TimeSpan defaultInstance = new TimeSpan();
- public static TimeSpan getDefaultInstance() {
- return defaultInstance;
- }
-
- public TimeSpan getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return bcl.Bcl.internal_static_bcl_TimeSpan_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return bcl.Bcl.internal_static_bcl_TimeSpan_fieldAccessorTable;
- }
-
- public static enum TimeSpanScale {
- DAYS(0, 0),
- HOURS(1, 1),
- MINUTES(2, 2),
- SECONDS(3, 3),
- MILLISECONDS(4, 4),
- MINMAX(5, 15),
- ;
-
-
- public final int getNumber() { return value; }
-
- public static TimeSpanScale valueOf(int value) {
- switch (value) {
- case 0: return DAYS;
- case 1: return HOURS;
- case 2: return MINUTES;
- case 3: return SECONDS;
- case 4: return MILLISECONDS;
- case 15: return MINMAX;
- default: return null;
- }
- }
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return bcl.Bcl.TimeSpan.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final TimeSpanScale[] VALUES = {
- DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MINMAX,
- };
- public static TimeSpanScale valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
- private final int index;
- private final int value;
- private TimeSpanScale(int index, int value) {
- this.index = index;
- this.value = value;
- }
- }
-
- // optional sint64 value = 1;
- private boolean hasValue;
- private long value_ = 0L;
- public boolean hasValue() { return hasValue; }
- public long getValue() { return value_; }
-
- // optional .bcl.TimeSpan.TimeSpanScale scale = 2 [default = DAYS];
- private boolean hasScale;
- private bcl.Bcl.TimeSpan.TimeSpanScale scale_ = bcl.Bcl.TimeSpan.TimeSpanScale.DAYS;
- public boolean hasScale() { return hasScale; }
- public bcl.Bcl.TimeSpan.TimeSpanScale getScale() { return scale_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (hasValue()) {
- output.writeSInt64(1, getValue());
- }
- if (hasScale()) {
- output.writeEnum(2, getScale().getNumber());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(1, getValue());
- }
- if (hasScale()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, getScale().getNumber());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static bcl.Bcl.TimeSpan parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.TimeSpan parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(bcl.Bcl.TimeSpan prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- // Construct using bcl.Bcl.TimeSpan.newBuilder()
- private Builder() {}
-
- bcl.Bcl.TimeSpan result = new bcl.Bcl.TimeSpan();
-
- protected bcl.Bcl.TimeSpan internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new bcl.Bcl.TimeSpan();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return bcl.Bcl.TimeSpan.getDescriptor();
- }
-
- public bcl.Bcl.TimeSpan getDefaultInstanceForType() {
- return bcl.Bcl.TimeSpan.getDefaultInstance();
- }
-
- public bcl.Bcl.TimeSpan build() {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private bcl.Bcl.TimeSpan buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public bcl.Bcl.TimeSpan buildPartial() {
- bcl.Bcl.TimeSpan returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof bcl.Bcl.TimeSpan) {
- return mergeFrom((bcl.Bcl.TimeSpan)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(bcl.Bcl.TimeSpan other) {
- if (other == bcl.Bcl.TimeSpan.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasScale()) {
- setScale(other.getScale());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return mergeFrom(input,
- com.google.protobuf.ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setValue(input.readSInt64());
- break;
- }
- case 16: {
- int rawValue = input.readEnum();
- bcl.Bcl.TimeSpan.TimeSpanScale value = bcl.Bcl.TimeSpan.TimeSpanScale.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(2, rawValue);
- } else {
- setScale(value);
- }
- break;
- }
- }
- }
- }
-
-
- // optional sint64 value = 1;
- public boolean hasValue() {
- return result.hasValue();
- }
- public long getValue() {
- return result.getValue();
- }
- public Builder setValue(long value) {
- result.hasValue = true;
- result.value_ = value;
- return this;
- }
- public Builder clearValue() {
- result.hasValue = false;
- result.value_ = 0L;
- return this;
- }
-
- // optional .bcl.TimeSpan.TimeSpanScale scale = 2 [default = DAYS];
- public boolean hasScale() {
- return result.hasScale();
- }
- public bcl.Bcl.TimeSpan.TimeSpanScale getScale() {
- return result.getScale();
- }
- public Builder setScale(bcl.Bcl.TimeSpan.TimeSpanScale value) {
- result.hasScale = true;
- result.scale_ = value;
- return this;
- }
- public Builder clearScale() {
- result.hasScale = false;
- result.scale_ = bcl.Bcl.TimeSpan.TimeSpanScale.DAYS;
- return this;
- }
- }
- }
-
- public static final class DateTime extends
- com.google.protobuf.GeneratedMessage {
- // Use DateTime.newBuilder() to construct.
- private DateTime() {}
-
- private static final DateTime defaultInstance = new DateTime();
- public static DateTime getDefaultInstance() {
- return defaultInstance;
- }
-
- public DateTime getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return bcl.Bcl.internal_static_bcl_DateTime_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return bcl.Bcl.internal_static_bcl_DateTime_fieldAccessorTable;
- }
-
- public static enum TimeSpanScale {
- DAYS(0, 0),
- HOURS(1, 1),
- MINUTES(2, 2),
- SECONDS(3, 3),
- MILLISECONDS(4, 4),
- MINMAX(5, 15),
- ;
-
-
- public final int getNumber() { return value; }
-
- public static TimeSpanScale valueOf(int value) {
- switch (value) {
- case 0: return DAYS;
- case 1: return HOURS;
- case 2: return MINUTES;
- case 3: return SECONDS;
- case 4: return MILLISECONDS;
- case 15: return MINMAX;
- default: return null;
- }
- }
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return bcl.Bcl.DateTime.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final TimeSpanScale[] VALUES = {
- DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MINMAX,
- };
- public static TimeSpanScale valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
- private final int index;
- private final int value;
- private TimeSpanScale(int index, int value) {
- this.index = index;
- this.value = value;
- }
- }
-
- // optional sint64 value = 1;
- private boolean hasValue;
- private long value_ = 0L;
- public boolean hasValue() { return hasValue; }
- public long getValue() { return value_; }
-
- // optional .bcl.DateTime.TimeSpanScale scale = 2 [default = DAYS];
- private boolean hasScale;
- private bcl.Bcl.DateTime.TimeSpanScale scale_ = bcl.Bcl.DateTime.TimeSpanScale.DAYS;
- public boolean hasScale() { return hasScale; }
- public bcl.Bcl.DateTime.TimeSpanScale getScale() { return scale_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (hasValue()) {
- output.writeSInt64(1, getValue());
- }
- if (hasScale()) {
- output.writeEnum(2, getScale().getNumber());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(1, getValue());
- }
- if (hasScale()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, getScale().getNumber());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static bcl.Bcl.DateTime parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.DateTime parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(bcl.Bcl.DateTime prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- // Construct using bcl.Bcl.DateTime.newBuilder()
- private Builder() {}
-
- bcl.Bcl.DateTime result = new bcl.Bcl.DateTime();
-
- protected bcl.Bcl.DateTime internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new bcl.Bcl.DateTime();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return bcl.Bcl.DateTime.getDescriptor();
- }
-
- public bcl.Bcl.DateTime getDefaultInstanceForType() {
- return bcl.Bcl.DateTime.getDefaultInstance();
- }
-
- public bcl.Bcl.DateTime build() {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private bcl.Bcl.DateTime buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public bcl.Bcl.DateTime buildPartial() {
- bcl.Bcl.DateTime returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof bcl.Bcl.DateTime) {
- return mergeFrom((bcl.Bcl.DateTime)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(bcl.Bcl.DateTime other) {
- if (other == bcl.Bcl.DateTime.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasScale()) {
- setScale(other.getScale());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return mergeFrom(input,
- com.google.protobuf.ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setValue(input.readSInt64());
- break;
- }
- case 16: {
- int rawValue = input.readEnum();
- bcl.Bcl.DateTime.TimeSpanScale value = bcl.Bcl.DateTime.TimeSpanScale.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(2, rawValue);
- } else {
- setScale(value);
- }
- break;
- }
- }
- }
- }
-
-
- // optional sint64 value = 1;
- public boolean hasValue() {
- return result.hasValue();
- }
- public long getValue() {
- return result.getValue();
- }
- public Builder setValue(long value) {
- result.hasValue = true;
- result.value_ = value;
- return this;
- }
- public Builder clearValue() {
- result.hasValue = false;
- result.value_ = 0L;
- return this;
- }
-
- // optional .bcl.DateTime.TimeSpanScale scale = 2 [default = DAYS];
- public boolean hasScale() {
- return result.hasScale();
- }
- public bcl.Bcl.DateTime.TimeSpanScale getScale() {
- return result.getScale();
- }
- public Builder setScale(bcl.Bcl.DateTime.TimeSpanScale value) {
- result.hasScale = true;
- result.scale_ = value;
- return this;
- }
- public Builder clearScale() {
- result.hasScale = false;
- result.scale_ = bcl.Bcl.DateTime.TimeSpanScale.DAYS;
- return this;
- }
- }
- }
-
- public static final class Guid extends
- com.google.protobuf.GeneratedMessage {
- // Use Guid.newBuilder() to construct.
- private Guid() {}
-
- private static final Guid defaultInstance = new Guid();
- public static Guid getDefaultInstance() {
- return defaultInstance;
- }
-
- public Guid getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return bcl.Bcl.internal_static_bcl_Guid_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return bcl.Bcl.internal_static_bcl_Guid_fieldAccessorTable;
- }
-
- // optional fixed64 lo = 1;
- private boolean hasLo;
- private long lo_ = 0L;
- public boolean hasLo() { return hasLo; }
- public long getLo() { return lo_; }
-
- // optional fixed64 hi = 2;
- private boolean hasHi;
- private long hi_ = 0L;
- public boolean hasHi() { return hasHi; }
- public long getHi() { return hi_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (hasLo()) {
- output.writeFixed64(1, getLo());
- }
- if (hasHi()) {
- output.writeFixed64(2, getHi());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasLo()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed64Size(1, getLo());
- }
- if (hasHi()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed64Size(2, getHi());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static bcl.Bcl.Guid parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.Guid parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(bcl.Bcl.Guid prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- // Construct using bcl.Bcl.Guid.newBuilder()
- private Builder() {}
-
- bcl.Bcl.Guid result = new bcl.Bcl.Guid();
-
- protected bcl.Bcl.Guid internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new bcl.Bcl.Guid();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return bcl.Bcl.Guid.getDescriptor();
- }
-
- public bcl.Bcl.Guid getDefaultInstanceForType() {
- return bcl.Bcl.Guid.getDefaultInstance();
- }
-
- public bcl.Bcl.Guid build() {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private bcl.Bcl.Guid buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public bcl.Bcl.Guid buildPartial() {
- bcl.Bcl.Guid returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof bcl.Bcl.Guid) {
- return mergeFrom((bcl.Bcl.Guid)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(bcl.Bcl.Guid other) {
- if (other == bcl.Bcl.Guid.getDefaultInstance()) return this;
- if (other.hasLo()) {
- setLo(other.getLo());
- }
- if (other.hasHi()) {
- setHi(other.getHi());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return mergeFrom(input,
- com.google.protobuf.ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 9: {
- setLo(input.readFixed64());
- break;
- }
- case 17: {
- setHi(input.readFixed64());
- break;
- }
- }
- }
- }
-
-
- // optional fixed64 lo = 1;
- public boolean hasLo() {
- return result.hasLo();
- }
- public long getLo() {
- return result.getLo();
- }
- public Builder setLo(long value) {
- result.hasLo = true;
- result.lo_ = value;
- return this;
- }
- public Builder clearLo() {
- result.hasLo = false;
- result.lo_ = 0L;
- return this;
- }
-
- // optional fixed64 hi = 2;
- public boolean hasHi() {
- return result.hasHi();
- }
- public long getHi() {
- return result.getHi();
- }
- public Builder setHi(long value) {
- result.hasHi = true;
- result.hi_ = value;
- return this;
- }
- public Builder clearHi() {
- result.hasHi = false;
- result.hi_ = 0L;
- return this;
- }
- }
- }
-
- public static final class Decimal extends
- com.google.protobuf.GeneratedMessage {
- // Use Decimal.newBuilder() to construct.
- private Decimal() {}
-
- private static final Decimal defaultInstance = new Decimal();
- public static Decimal getDefaultInstance() {
- return defaultInstance;
- }
-
- public Decimal getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return bcl.Bcl.internal_static_bcl_Decimal_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return bcl.Bcl.internal_static_bcl_Decimal_fieldAccessorTable;
- }
-
- // optional uint64 lo = 1;
- private boolean hasLo;
- private long lo_ = 0L;
- public boolean hasLo() { return hasLo; }
- public long getLo() { return lo_; }
-
- // optional uint32 hi = 2;
- private boolean hasHi;
- private int hi_ = 0;
- public boolean hasHi() { return hasHi; }
- public int getHi() { return hi_; }
-
- // optional uint32 signScale = 3;
- private boolean hasSignScale;
- private int signScale_ = 0;
- public boolean hasSignScale() { return hasSignScale; }
- public int getSignScale() { return signScale_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (hasLo()) {
- output.writeUInt64(1, getLo());
- }
- if (hasHi()) {
- output.writeUInt32(2, getHi());
- }
- if (hasSignScale()) {
- output.writeUInt32(3, getSignScale());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasLo()) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, getLo());
- }
- if (hasHi()) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, getHi());
- }
- if (hasSignScale()) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(3, getSignScale());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static bcl.Bcl.Decimal parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static bcl.Bcl.Decimal parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(bcl.Bcl.Decimal prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- // Construct using bcl.Bcl.Decimal.newBuilder()
- private Builder() {}
-
- bcl.Bcl.Decimal result = new bcl.Bcl.Decimal();
-
- protected bcl.Bcl.Decimal internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new bcl.Bcl.Decimal();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return bcl.Bcl.Decimal.getDescriptor();
- }
-
- public bcl.Bcl.Decimal getDefaultInstanceForType() {
- return bcl.Bcl.Decimal.getDefaultInstance();
- }
-
- public bcl.Bcl.Decimal build() {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private bcl.Bcl.Decimal buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw new com.google.protobuf.UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public bcl.Bcl.Decimal buildPartial() {
- bcl.Bcl.Decimal returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof bcl.Bcl.Decimal) {
- return mergeFrom((bcl.Bcl.Decimal)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(bcl.Bcl.Decimal other) {
- if (other == bcl.Bcl.Decimal.getDefaultInstance()) return this;
- if (other.hasLo()) {
- setLo(other.getLo());
- }
- if (other.hasHi()) {
- setHi(other.getHi());
- }
- if (other.hasSignScale()) {
- setSignScale(other.getSignScale());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return mergeFrom(input,
- com.google.protobuf.ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistry extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setLo(input.readUInt64());
- break;
- }
- case 16: {
- setHi(input.readUInt32());
- break;
- }
- case 24: {
- setSignScale(input.readUInt32());
- break;
- }
- }
- }
- }
-
-
- // optional uint64 lo = 1;
- public boolean hasLo() {
- return result.hasLo();
- }
- public long getLo() {
- return result.getLo();
- }
- public Builder setLo(long value) {
- result.hasLo = true;
- result.lo_ = value;
- return this;
- }
- public Builder clearLo() {
- result.hasLo = false;
- result.lo_ = 0L;
- return this;
- }
-
- // optional uint32 hi = 2;
- public boolean hasHi() {
- return result.hasHi();
- }
- public int getHi() {
- return result.getHi();
- }
- public Builder setHi(int value) {
- result.hasHi = true;
- result.hi_ = value;
- return this;
- }
- public Builder clearHi() {
- result.hasHi = false;
- result.hi_ = 0;
- return this;
- }
-
- // optional uint32 signScale = 3;
- public boolean hasSignScale() {
- return result.hasSignScale();
- }
- public int getSignScale() {
- return result.getSignScale();
- }
- public Builder setSignScale(int value) {
- result.hasSignScale = true;
- result.signScale_ = value;
- return this;
- }
- public Builder clearSignScale() {
- result.hasSignScale = false;
- result.signScale_ = 0;
- return this;
- }
- }
- }
-
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_bcl_TimeSpan_descriptor =
- getDescriptor().getMessageTypes().get(0);
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_bcl_TimeSpan_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_bcl_TimeSpan_descriptor,
- new java.lang.String[] { "Value", "Scale", },
- bcl.Bcl.TimeSpan.class,
- bcl.Bcl.TimeSpan.Builder.class);
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_bcl_DateTime_descriptor =
- getDescriptor().getMessageTypes().get(1);
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_bcl_DateTime_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_bcl_DateTime_descriptor,
- new java.lang.String[] { "Value", "Scale", },
- bcl.Bcl.DateTime.class,
- bcl.Bcl.DateTime.Builder.class);
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_bcl_Guid_descriptor =
- getDescriptor().getMessageTypes().get(2);
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_bcl_Guid_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_bcl_Guid_descriptor,
- new java.lang.String[] { "Lo", "Hi", },
- bcl.Bcl.Guid.class,
- bcl.Bcl.Guid.Builder.class);
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_bcl_Decimal_descriptor =
- getDescriptor().getMessageTypes().get(3);
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_bcl_Decimal_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_bcl_Decimal_descriptor,
- new java.lang.String[] { "Lo", "Hi", "SignScale", },
- bcl.Bcl.Decimal.class,
- bcl.Bcl.Decimal.Builder.class);
- }
|