cz.proto.BoundaryPoint 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: statistics.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.BoundaryPoint}
*/
public final class BoundaryPoint extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.BoundaryPoint)
BoundaryPointOrBuilder {
private static final long serialVersionUID = 0L;
// Use BoundaryPoint.newBuilder() to construct.
private BoundaryPoint(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BoundaryPoint() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BoundaryPoint();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BoundaryPoint(
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: {
included_ = input.readBool();
break;
}
case 16: {
value_ = input.readBool();
valueCase_ = 2;
break;
}
case 26: {
cz.proto.ValuePoint.Builder subBuilder = null;
if (valueCase_ == 3) {
subBuilder = ((cz.proto.ValuePoint) value_).toBuilder();
}
value_ =
input.readMessage(cz.proto.ValuePoint.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.ValuePoint) value_);
value_ = subBuilder.buildPartial();
}
valueCase_ = 3;
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.Statistics.internal_static_cz_proto_BoundaryPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_BoundaryPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.BoundaryPoint.class, cz.proto.BoundaryPoint.Builder.class);
}
private int valueCase_ = 0;
private java.lang.Object value_;
public enum ValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
UNBOUNDED(2),
VALUE_POINT(3),
VALUE_NOT_SET(0);
private final int value;
private ValueCase(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 ValueCase valueOf(int value) {
return forNumber(value);
}
public static ValueCase forNumber(int value) {
switch (value) {
case 2: return UNBOUNDED;
case 3: return VALUE_POINT;
case 0: return VALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public static final int INCLUDED_FIELD_NUMBER = 1;
private boolean included_;
/**
* bool included = 1;
* @return The included.
*/
@java.lang.Override
public boolean getIncluded() {
return included_;
}
public static final int UNBOUNDED_FIELD_NUMBER = 2;
/**
* bool unbounded = 2;
* @return Whether the unbounded field is set.
*/
@java.lang.Override
public boolean hasUnbounded() {
return valueCase_ == 2;
}
/**
* bool unbounded = 2;
* @return The unbounded.
*/
@java.lang.Override
public boolean getUnbounded() {
if (valueCase_ == 2) {
return (java.lang.Boolean) value_;
}
return false;
}
public static final int VALUE_POINT_FIELD_NUMBER = 3;
/**
* .cz.proto.ValuePoint value_point = 3;
* @return Whether the valuePoint field is set.
*/
@java.lang.Override
public boolean hasValuePoint() {
return valueCase_ == 3;
}
/**
* .cz.proto.ValuePoint value_point = 3;
* @return The valuePoint.
*/
@java.lang.Override
public cz.proto.ValuePoint getValuePoint() {
if (valueCase_ == 3) {
return (cz.proto.ValuePoint) value_;
}
return cz.proto.ValuePoint.getDefaultInstance();
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
@java.lang.Override
public cz.proto.ValuePointOrBuilder getValuePointOrBuilder() {
if (valueCase_ == 3) {
return (cz.proto.ValuePoint) value_;
}
return cz.proto.ValuePoint.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 (included_ != false) {
output.writeBool(1, included_);
}
if (valueCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 3) {
output.writeMessage(3, (cz.proto.ValuePoint) value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (included_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, included_);
}
if (valueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.ValuePoint) value_);
}
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.BoundaryPoint)) {
return super.equals(obj);
}
cz.proto.BoundaryPoint other = (cz.proto.BoundaryPoint) obj;
if (getIncluded()
!= other.getIncluded()) return false;
if (!getValueCase().equals(other.getValueCase())) return false;
switch (valueCase_) {
case 2:
if (getUnbounded()
!= other.getUnbounded()) return false;
break;
case 3:
if (!getValuePoint()
.equals(other.getValuePoint())) 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) + INCLUDED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIncluded());
switch (valueCase_) {
case 2:
hash = (37 * hash) + UNBOUNDED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUnbounded());
break;
case 3:
hash = (37 * hash) + VALUE_POINT_FIELD_NUMBER;
hash = (53 * hash) + getValuePoint().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.BoundaryPoint parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.BoundaryPoint parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.BoundaryPoint parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.BoundaryPoint 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.BoundaryPoint parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.BoundaryPoint parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.BoundaryPoint parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.BoundaryPoint 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.BoundaryPoint parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.BoundaryPoint 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.BoundaryPoint parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.BoundaryPoint 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.BoundaryPoint 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.BoundaryPoint}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.BoundaryPoint)
cz.proto.BoundaryPointOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_BoundaryPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_BoundaryPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.BoundaryPoint.class, cz.proto.BoundaryPoint.Builder.class);
}
// Construct using cz.proto.BoundaryPoint.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();
included_ = false;
valueCase_ = 0;
value_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.Statistics.internal_static_cz_proto_BoundaryPoint_descriptor;
}
@java.lang.Override
public cz.proto.BoundaryPoint getDefaultInstanceForType() {
return cz.proto.BoundaryPoint.getDefaultInstance();
}
@java.lang.Override
public cz.proto.BoundaryPoint build() {
cz.proto.BoundaryPoint result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.BoundaryPoint buildPartial() {
cz.proto.BoundaryPoint result = new cz.proto.BoundaryPoint(this);
result.included_ = included_;
if (valueCase_ == 2) {
result.value_ = value_;
}
if (valueCase_ == 3) {
if (valuePointBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valuePointBuilder_.build();
}
}
result.valueCase_ = valueCase_;
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.BoundaryPoint) {
return mergeFrom((cz.proto.BoundaryPoint)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.BoundaryPoint other) {
if (other == cz.proto.BoundaryPoint.getDefaultInstance()) return this;
if (other.getIncluded() != false) {
setIncluded(other.getIncluded());
}
switch (other.getValueCase()) {
case UNBOUNDED: {
setUnbounded(other.getUnbounded());
break;
}
case VALUE_POINT: {
mergeValuePoint(other.getValuePoint());
break;
}
case VALUE_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.BoundaryPoint parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.BoundaryPoint) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valueCase_ = 0;
private java.lang.Object value_;
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public Builder clearValue() {
valueCase_ = 0;
value_ = null;
onChanged();
return this;
}
private boolean included_ ;
/**
* bool included = 1;
* @return The included.
*/
@java.lang.Override
public boolean getIncluded() {
return included_;
}
/**
* bool included = 1;
* @param value The included to set.
* @return This builder for chaining.
*/
public Builder setIncluded(boolean value) {
included_ = value;
onChanged();
return this;
}
/**
* bool included = 1;
* @return This builder for chaining.
*/
public Builder clearIncluded() {
included_ = false;
onChanged();
return this;
}
/**
* bool unbounded = 2;
* @return Whether the unbounded field is set.
*/
public boolean hasUnbounded() {
return valueCase_ == 2;
}
/**
* bool unbounded = 2;
* @return The unbounded.
*/
public boolean getUnbounded() {
if (valueCase_ == 2) {
return (java.lang.Boolean) value_;
}
return false;
}
/**
* bool unbounded = 2;
* @param value The unbounded to set.
* @return This builder for chaining.
*/
public Builder setUnbounded(boolean value) {
valueCase_ = 2;
value_ = value;
onChanged();
return this;
}
/**
* bool unbounded = 2;
* @return This builder for chaining.
*/
public Builder clearUnbounded() {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ValuePoint, cz.proto.ValuePoint.Builder, cz.proto.ValuePointOrBuilder> valuePointBuilder_;
/**
* .cz.proto.ValuePoint value_point = 3;
* @return Whether the valuePoint field is set.
*/
@java.lang.Override
public boolean hasValuePoint() {
return valueCase_ == 3;
}
/**
* .cz.proto.ValuePoint value_point = 3;
* @return The valuePoint.
*/
@java.lang.Override
public cz.proto.ValuePoint getValuePoint() {
if (valuePointBuilder_ == null) {
if (valueCase_ == 3) {
return (cz.proto.ValuePoint) value_;
}
return cz.proto.ValuePoint.getDefaultInstance();
} else {
if (valueCase_ == 3) {
return valuePointBuilder_.getMessage();
}
return cz.proto.ValuePoint.getDefaultInstance();
}
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
public Builder setValuePoint(cz.proto.ValuePoint value) {
if (valuePointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valuePointBuilder_.setMessage(value);
}
valueCase_ = 3;
return this;
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
public Builder setValuePoint(
cz.proto.ValuePoint.Builder builderForValue) {
if (valuePointBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valuePointBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 3;
return this;
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
public Builder mergeValuePoint(cz.proto.ValuePoint value) {
if (valuePointBuilder_ == null) {
if (valueCase_ == 3 &&
value_ != cz.proto.ValuePoint.getDefaultInstance()) {
value_ = cz.proto.ValuePoint.newBuilder((cz.proto.ValuePoint) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 3) {
valuePointBuilder_.mergeFrom(value);
}
valuePointBuilder_.setMessage(value);
}
valueCase_ = 3;
return this;
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
public Builder clearValuePoint() {
if (valuePointBuilder_ == null) {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
}
valuePointBuilder_.clear();
}
return this;
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
public cz.proto.ValuePoint.Builder getValuePointBuilder() {
return getValuePointFieldBuilder().getBuilder();
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
@java.lang.Override
public cz.proto.ValuePointOrBuilder getValuePointOrBuilder() {
if ((valueCase_ == 3) && (valuePointBuilder_ != null)) {
return valuePointBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 3) {
return (cz.proto.ValuePoint) value_;
}
return cz.proto.ValuePoint.getDefaultInstance();
}
}
/**
* .cz.proto.ValuePoint value_point = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ValuePoint, cz.proto.ValuePoint.Builder, cz.proto.ValuePointOrBuilder>
getValuePointFieldBuilder() {
if (valuePointBuilder_ == null) {
if (!(valueCase_ == 3)) {
value_ = cz.proto.ValuePoint.getDefaultInstance();
}
valuePointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ValuePoint, cz.proto.ValuePoint.Builder, cz.proto.ValuePointOrBuilder>(
(cz.proto.ValuePoint) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 3;
onChanged();;
return valuePointBuilder_;
}
@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.BoundaryPoint)
}
// @@protoc_insertion_point(class_scope:cz.proto.BoundaryPoint)
private static final cz.proto.BoundaryPoint DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.BoundaryPoint();
}
public static cz.proto.BoundaryPoint getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BoundaryPoint parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BoundaryPoint(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.BoundaryPoint getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy