cz.proto.EnforceBoundary 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.EnforceBoundary}
*/
public final class EnforceBoundary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.EnforceBoundary)
EnforceBoundaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use EnforceBoundary.newBuilder() to construct.
private EnforceBoundary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EnforceBoundary() {
tableName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EnforceBoundary();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnforceBoundary(
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: {
java.lang.String s = input.readStringRequireUtf8();
tableName_ = s;
break;
}
case 18: {
cz.proto.RangeBoundary.Builder subBuilder = null;
if (boundaries_ != null) {
subBuilder = boundaries_.toBuilder();
}
boundaries_ = input.readMessage(cz.proto.RangeBoundary.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(boundaries_);
boundaries_ = 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_EnforceBoundary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_EnforceBoundary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.EnforceBoundary.class, cz.proto.EnforceBoundary.Builder.class);
}
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object tableName_;
/**
* string table_name = 1;
* @return The tableName.
*/
@java.lang.Override
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tableName_ = s;
return s;
}
}
/**
* string table_name = 1;
* @return The bytes for tableName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTableNameBytes() {
java.lang.Object ref = tableName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BOUNDARIES_FIELD_NUMBER = 2;
private cz.proto.RangeBoundary boundaries_;
/**
* .cz.proto.RangeBoundary boundaries = 2;
* @return Whether the boundaries field is set.
*/
@java.lang.Override
public boolean hasBoundaries() {
return boundaries_ != null;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
* @return The boundaries.
*/
@java.lang.Override
public cz.proto.RangeBoundary getBoundaries() {
return boundaries_ == null ? cz.proto.RangeBoundary.getDefaultInstance() : boundaries_;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder() {
return getBoundaries();
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
if (boundaries_ != null) {
output.writeMessage(2, getBoundaries());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
if (boundaries_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getBoundaries());
}
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.EnforceBoundary)) {
return super.equals(obj);
}
cz.proto.EnforceBoundary other = (cz.proto.EnforceBoundary) obj;
if (!getTableName()
.equals(other.getTableName())) return false;
if (hasBoundaries() != other.hasBoundaries()) return false;
if (hasBoundaries()) {
if (!getBoundaries()
.equals(other.getBoundaries())) 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();
hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTableName().hashCode();
if (hasBoundaries()) {
hash = (37 * hash) + BOUNDARIES_FIELD_NUMBER;
hash = (53 * hash) + getBoundaries().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.EnforceBoundary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.EnforceBoundary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.EnforceBoundary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.EnforceBoundary 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.EnforceBoundary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.EnforceBoundary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.EnforceBoundary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.EnforceBoundary 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.EnforceBoundary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.EnforceBoundary 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.EnforceBoundary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.EnforceBoundary 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.EnforceBoundary 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.EnforceBoundary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.EnforceBoundary)
cz.proto.EnforceBoundaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_EnforceBoundary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_EnforceBoundary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.EnforceBoundary.class, cz.proto.EnforceBoundary.Builder.class);
}
// Construct using cz.proto.EnforceBoundary.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();
tableName_ = "";
if (boundariesBuilder_ == null) {
boundaries_ = null;
} else {
boundaries_ = null;
boundariesBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.Statistics.internal_static_cz_proto_EnforceBoundary_descriptor;
}
@java.lang.Override
public cz.proto.EnforceBoundary getDefaultInstanceForType() {
return cz.proto.EnforceBoundary.getDefaultInstance();
}
@java.lang.Override
public cz.proto.EnforceBoundary build() {
cz.proto.EnforceBoundary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.EnforceBoundary buildPartial() {
cz.proto.EnforceBoundary result = new cz.proto.EnforceBoundary(this);
result.tableName_ = tableName_;
if (boundariesBuilder_ == null) {
result.boundaries_ = boundaries_;
} else {
result.boundaries_ = boundariesBuilder_.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.EnforceBoundary) {
return mergeFrom((cz.proto.EnforceBoundary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.EnforceBoundary other) {
if (other == cz.proto.EnforceBoundary.getDefaultInstance()) return this;
if (!other.getTableName().isEmpty()) {
tableName_ = other.tableName_;
onChanged();
}
if (other.hasBoundaries()) {
mergeBoundaries(other.getBoundaries());
}
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.EnforceBoundary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.EnforceBoundary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object tableName_ = "";
/**
* string table_name = 1;
* @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tableName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string table_name = 1;
* @return The bytes for tableName.
*/
public com.google.protobuf.ByteString
getTableNameBytes() {
java.lang.Object ref = tableName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string table_name = 1;
* @param value The tableName to set.
* @return This builder for chaining.
*/
public Builder setTableName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tableName_ = value;
onChanged();
return this;
}
/**
* string table_name = 1;
* @return This builder for chaining.
*/
public Builder clearTableName() {
tableName_ = getDefaultInstance().getTableName();
onChanged();
return this;
}
/**
* string table_name = 1;
* @param value The bytes for tableName to set.
* @return This builder for chaining.
*/
public Builder setTableNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tableName_ = value;
onChanged();
return this;
}
private cz.proto.RangeBoundary boundaries_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder> boundariesBuilder_;
/**
* .cz.proto.RangeBoundary boundaries = 2;
* @return Whether the boundaries field is set.
*/
public boolean hasBoundaries() {
return boundariesBuilder_ != null || boundaries_ != null;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
* @return The boundaries.
*/
public cz.proto.RangeBoundary getBoundaries() {
if (boundariesBuilder_ == null) {
return boundaries_ == null ? cz.proto.RangeBoundary.getDefaultInstance() : boundaries_;
} else {
return boundariesBuilder_.getMessage();
}
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder setBoundaries(cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
boundaries_ = value;
onChanged();
} else {
boundariesBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder setBoundaries(
cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
boundaries_ = builderForValue.build();
onChanged();
} else {
boundariesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder mergeBoundaries(cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (boundaries_ != null) {
boundaries_ =
cz.proto.RangeBoundary.newBuilder(boundaries_).mergeFrom(value).buildPartial();
} else {
boundaries_ = value;
}
onChanged();
} else {
boundariesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder clearBoundaries() {
if (boundariesBuilder_ == null) {
boundaries_ = null;
onChanged();
} else {
boundaries_ = null;
boundariesBuilder_ = null;
}
return this;
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundary.Builder getBoundariesBuilder() {
onChanged();
return getBoundariesFieldBuilder().getBuilder();
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder() {
if (boundariesBuilder_ != null) {
return boundariesBuilder_.getMessageOrBuilder();
} else {
return boundaries_ == null ?
cz.proto.RangeBoundary.getDefaultInstance() : boundaries_;
}
}
/**
* .cz.proto.RangeBoundary boundaries = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>
getBoundariesFieldBuilder() {
if (boundariesBuilder_ == null) {
boundariesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>(
getBoundaries(),
getParentForChildren(),
isClean());
boundaries_ = null;
}
return boundariesBuilder_;
}
@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.EnforceBoundary)
}
// @@protoc_insertion_point(class_scope:cz.proto.EnforceBoundary)
private static final cz.proto.EnforceBoundary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.EnforceBoundary();
}
public static cz.proto.EnforceBoundary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EnforceBoundary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EnforceBoundary(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.EnforceBoundary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy