cz.proto.Boundary 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.Boundary}
*/
public final class Boundary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.Boundary)
BoundaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use Boundary.newBuilder() to construct.
private Boundary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Boundary() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Boundary();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Boundary(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cz.proto.BoundaryPoint.Builder subBuilder = null;
if (lower_ != null) {
subBuilder = lower_.toBuilder();
}
lower_ = input.readMessage(cz.proto.BoundaryPoint.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lower_);
lower_ = subBuilder.buildPartial();
}
break;
}
case 18: {
cz.proto.BoundaryPoint.Builder subBuilder = null;
if (upper_ != null) {
subBuilder = upper_.toBuilder();
}
upper_ = input.readMessage(cz.proto.BoundaryPoint.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(upper_);
upper_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_Boundary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_Boundary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Boundary.class, cz.proto.Boundary.Builder.class);
}
public static final int LOWER_FIELD_NUMBER = 1;
private cz.proto.BoundaryPoint lower_;
/**
* .cz.proto.BoundaryPoint lower = 1;
* @return Whether the lower field is set.
*/
@java.lang.Override
public boolean hasLower() {
return lower_ != null;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
* @return The lower.
*/
@java.lang.Override
public cz.proto.BoundaryPoint getLower() {
return lower_ == null ? cz.proto.BoundaryPoint.getDefaultInstance() : lower_;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
@java.lang.Override
public cz.proto.BoundaryPointOrBuilder getLowerOrBuilder() {
return getLower();
}
public static final int UPPER_FIELD_NUMBER = 2;
private cz.proto.BoundaryPoint upper_;
/**
* .cz.proto.BoundaryPoint upper = 2;
* @return Whether the upper field is set.
*/
@java.lang.Override
public boolean hasUpper() {
return upper_ != null;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
* @return The upper.
*/
@java.lang.Override
public cz.proto.BoundaryPoint getUpper() {
return upper_ == null ? cz.proto.BoundaryPoint.getDefaultInstance() : upper_;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
@java.lang.Override
public cz.proto.BoundaryPointOrBuilder getUpperOrBuilder() {
return getUpper();
}
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 (lower_ != null) {
output.writeMessage(1, getLower());
}
if (upper_ != null) {
output.writeMessage(2, getUpper());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (lower_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getLower());
}
if (upper_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getUpper());
}
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.Boundary)) {
return super.equals(obj);
}
cz.proto.Boundary other = (cz.proto.Boundary) obj;
if (hasLower() != other.hasLower()) return false;
if (hasLower()) {
if (!getLower()
.equals(other.getLower())) return false;
}
if (hasUpper() != other.hasUpper()) return false;
if (hasUpper()) {
if (!getUpper()
.equals(other.getUpper())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLower()) {
hash = (37 * hash) + LOWER_FIELD_NUMBER;
hash = (53 * hash) + getLower().hashCode();
}
if (hasUpper()) {
hash = (37 * hash) + UPPER_FIELD_NUMBER;
hash = (53 * hash) + getUpper().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.Boundary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Boundary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Boundary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Boundary 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.Boundary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Boundary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Boundary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Boundary 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.Boundary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.Boundary 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.Boundary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Boundary 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.Boundary 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.Boundary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.Boundary)
cz.proto.BoundaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_Boundary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_Boundary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Boundary.class, cz.proto.Boundary.Builder.class);
}
// Construct using cz.proto.Boundary.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (lowerBuilder_ == null) {
lower_ = null;
} else {
lower_ = null;
lowerBuilder_ = null;
}
if (upperBuilder_ == null) {
upper_ = null;
} else {
upper_ = null;
upperBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.Statistics.internal_static_cz_proto_Boundary_descriptor;
}
@java.lang.Override
public cz.proto.Boundary getDefaultInstanceForType() {
return cz.proto.Boundary.getDefaultInstance();
}
@java.lang.Override
public cz.proto.Boundary build() {
cz.proto.Boundary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.Boundary buildPartial() {
cz.proto.Boundary result = new cz.proto.Boundary(this);
if (lowerBuilder_ == null) {
result.lower_ = lower_;
} else {
result.lower_ = lowerBuilder_.build();
}
if (upperBuilder_ == null) {
result.upper_ = upper_;
} else {
result.upper_ = upperBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.Boundary) {
return mergeFrom((cz.proto.Boundary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.Boundary other) {
if (other == cz.proto.Boundary.getDefaultInstance()) return this;
if (other.hasLower()) {
mergeLower(other.getLower());
}
if (other.hasUpper()) {
mergeUpper(other.getUpper());
}
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.Boundary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.Boundary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.BoundaryPoint lower_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder> lowerBuilder_;
/**
* .cz.proto.BoundaryPoint lower = 1;
* @return Whether the lower field is set.
*/
public boolean hasLower() {
return lowerBuilder_ != null || lower_ != null;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
* @return The lower.
*/
public cz.proto.BoundaryPoint getLower() {
if (lowerBuilder_ == null) {
return lower_ == null ? cz.proto.BoundaryPoint.getDefaultInstance() : lower_;
} else {
return lowerBuilder_.getMessage();
}
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public Builder setLower(cz.proto.BoundaryPoint value) {
if (lowerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lower_ = value;
onChanged();
} else {
lowerBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public Builder setLower(
cz.proto.BoundaryPoint.Builder builderForValue) {
if (lowerBuilder_ == null) {
lower_ = builderForValue.build();
onChanged();
} else {
lowerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public Builder mergeLower(cz.proto.BoundaryPoint value) {
if (lowerBuilder_ == null) {
if (lower_ != null) {
lower_ =
cz.proto.BoundaryPoint.newBuilder(lower_).mergeFrom(value).buildPartial();
} else {
lower_ = value;
}
onChanged();
} else {
lowerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public Builder clearLower() {
if (lowerBuilder_ == null) {
lower_ = null;
onChanged();
} else {
lower_ = null;
lowerBuilder_ = null;
}
return this;
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public cz.proto.BoundaryPoint.Builder getLowerBuilder() {
onChanged();
return getLowerFieldBuilder().getBuilder();
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
public cz.proto.BoundaryPointOrBuilder getLowerOrBuilder() {
if (lowerBuilder_ != null) {
return lowerBuilder_.getMessageOrBuilder();
} else {
return lower_ == null ?
cz.proto.BoundaryPoint.getDefaultInstance() : lower_;
}
}
/**
* .cz.proto.BoundaryPoint lower = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder>
getLowerFieldBuilder() {
if (lowerBuilder_ == null) {
lowerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder>(
getLower(),
getParentForChildren(),
isClean());
lower_ = null;
}
return lowerBuilder_;
}
private cz.proto.BoundaryPoint upper_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder> upperBuilder_;
/**
* .cz.proto.BoundaryPoint upper = 2;
* @return Whether the upper field is set.
*/
public boolean hasUpper() {
return upperBuilder_ != null || upper_ != null;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
* @return The upper.
*/
public cz.proto.BoundaryPoint getUpper() {
if (upperBuilder_ == null) {
return upper_ == null ? cz.proto.BoundaryPoint.getDefaultInstance() : upper_;
} else {
return upperBuilder_.getMessage();
}
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public Builder setUpper(cz.proto.BoundaryPoint value) {
if (upperBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upper_ = value;
onChanged();
} else {
upperBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public Builder setUpper(
cz.proto.BoundaryPoint.Builder builderForValue) {
if (upperBuilder_ == null) {
upper_ = builderForValue.build();
onChanged();
} else {
upperBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public Builder mergeUpper(cz.proto.BoundaryPoint value) {
if (upperBuilder_ == null) {
if (upper_ != null) {
upper_ =
cz.proto.BoundaryPoint.newBuilder(upper_).mergeFrom(value).buildPartial();
} else {
upper_ = value;
}
onChanged();
} else {
upperBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public Builder clearUpper() {
if (upperBuilder_ == null) {
upper_ = null;
onChanged();
} else {
upper_ = null;
upperBuilder_ = null;
}
return this;
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public cz.proto.BoundaryPoint.Builder getUpperBuilder() {
onChanged();
return getUpperFieldBuilder().getBuilder();
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
public cz.proto.BoundaryPointOrBuilder getUpperOrBuilder() {
if (upperBuilder_ != null) {
return upperBuilder_.getMessageOrBuilder();
} else {
return upper_ == null ?
cz.proto.BoundaryPoint.getDefaultInstance() : upper_;
}
}
/**
* .cz.proto.BoundaryPoint upper = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder>
getUpperFieldBuilder() {
if (upperBuilder_ == null) {
upperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.BoundaryPoint, cz.proto.BoundaryPoint.Builder, cz.proto.BoundaryPointOrBuilder>(
getUpper(),
getParentForChildren(),
isClean());
upper_ = null;
}
return upperBuilder_;
}
@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.Boundary)
}
// @@protoc_insertion_point(class_scope:cz.proto.Boundary)
private static final cz.proto.Boundary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.Boundary();
}
public static cz.proto.Boundary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Boundary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Boundary(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.Boundary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy