dev.cel.expr.ExprValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
Common Expression Language Runtime for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: cel/expr/eval.proto
// Protobuf Java Version: 4.28.2
package dev.cel.expr;
/**
*
* The value of an evaluated expression.
*
*
* Protobuf type {@code cel.expr.ExprValue}
*/
public final class ExprValue extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:cel.expr.ExprValue)
ExprValueOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
ExprValue.class.getName());
}
// Use ExprValue.newBuilder() to construct.
private ExprValue(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ExprValue() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.EvalProto.internal_static_cel_expr_ExprValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.EvalProto.internal_static_cel_expr_ExprValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.ExprValue.class, dev.cel.expr.ExprValue.Builder.class);
}
private int kindCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object kind_;
public enum KindCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
VALUE(1),
ERROR(2),
UNKNOWN(3),
KIND_NOT_SET(0);
private final int value;
private KindCase(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 KindCase valueOf(int value) {
return forNumber(value);
}
public static KindCase forNumber(int value) {
switch (value) {
case 1: return VALUE;
case 2: return ERROR;
case 3: return UNKNOWN;
case 0: return KIND_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public static final int VALUE_FIELD_NUMBER = 1;
/**
* .cel.expr.Value value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return kindCase_ == 1;
}
/**
* .cel.expr.Value value = 1;
* @return The value.
*/
@java.lang.Override
public dev.cel.expr.Value getValue() {
if (kindCase_ == 1) {
return (dev.cel.expr.Value) kind_;
}
return dev.cel.expr.Value.getDefaultInstance();
}
/**
* .cel.expr.Value value = 1;
*/
@java.lang.Override
public dev.cel.expr.ValueOrBuilder getValueOrBuilder() {
if (kindCase_ == 1) {
return (dev.cel.expr.Value) kind_;
}
return dev.cel.expr.Value.getDefaultInstance();
}
public static final int ERROR_FIELD_NUMBER = 2;
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return kindCase_ == 2;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
* @return The error.
*/
@java.lang.Override
public dev.cel.expr.ErrorSet getError() {
if (kindCase_ == 2) {
return (dev.cel.expr.ErrorSet) kind_;
}
return dev.cel.expr.ErrorSet.getDefaultInstance();
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
@java.lang.Override
public dev.cel.expr.ErrorSetOrBuilder getErrorOrBuilder() {
if (kindCase_ == 2) {
return (dev.cel.expr.ErrorSet) kind_;
}
return dev.cel.expr.ErrorSet.getDefaultInstance();
}
public static final int UNKNOWN_FIELD_NUMBER = 3;
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
* @return Whether the unknown field is set.
*/
@java.lang.Override
public boolean hasUnknown() {
return kindCase_ == 3;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
* @return The unknown.
*/
@java.lang.Override
public dev.cel.expr.UnknownSet getUnknown() {
if (kindCase_ == 3) {
return (dev.cel.expr.UnknownSet) kind_;
}
return dev.cel.expr.UnknownSet.getDefaultInstance();
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
@java.lang.Override
public dev.cel.expr.UnknownSetOrBuilder getUnknownOrBuilder() {
if (kindCase_ == 3) {
return (dev.cel.expr.UnknownSet) kind_;
}
return dev.cel.expr.UnknownSet.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 (kindCase_ == 1) {
output.writeMessage(1, (dev.cel.expr.Value) kind_);
}
if (kindCase_ == 2) {
output.writeMessage(2, (dev.cel.expr.ErrorSet) kind_);
}
if (kindCase_ == 3) {
output.writeMessage(3, (dev.cel.expr.UnknownSet) kind_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (kindCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (dev.cel.expr.Value) kind_);
}
if (kindCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (dev.cel.expr.ErrorSet) kind_);
}
if (kindCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (dev.cel.expr.UnknownSet) kind_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof dev.cel.expr.ExprValue)) {
return super.equals(obj);
}
dev.cel.expr.ExprValue other = (dev.cel.expr.ExprValue) obj;
if (!getKindCase().equals(other.getKindCase())) return false;
switch (kindCase_) {
case 1:
if (!getValue()
.equals(other.getValue())) return false;
break;
case 2:
if (!getError()
.equals(other.getError())) return false;
break;
case 3:
if (!getUnknown()
.equals(other.getUnknown())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (kindCase_) {
case 1:
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
break;
case 2:
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
break;
case 3:
hash = (37 * hash) + UNKNOWN_FIELD_NUMBER;
hash = (53 * hash) + getUnknown().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static dev.cel.expr.ExprValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.ExprValue parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.ExprValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.ExprValue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.ExprValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.ExprValue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.ExprValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.ExprValue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.ExprValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static dev.cel.expr.ExprValue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.ExprValue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.ExprValue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(dev.cel.expr.ExprValue 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.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* The value of an evaluated expression.
*
*
* Protobuf type {@code cel.expr.ExprValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:cel.expr.ExprValue)
dev.cel.expr.ExprValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.EvalProto.internal_static_cel_expr_ExprValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.EvalProto.internal_static_cel_expr_ExprValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.ExprValue.class, dev.cel.expr.ExprValue.Builder.class);
}
// Construct using dev.cel.expr.ExprValue.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (valueBuilder_ != null) {
valueBuilder_.clear();
}
if (errorBuilder_ != null) {
errorBuilder_.clear();
}
if (unknownBuilder_ != null) {
unknownBuilder_.clear();
}
kindCase_ = 0;
kind_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return dev.cel.expr.EvalProto.internal_static_cel_expr_ExprValue_descriptor;
}
@java.lang.Override
public dev.cel.expr.ExprValue getDefaultInstanceForType() {
return dev.cel.expr.ExprValue.getDefaultInstance();
}
@java.lang.Override
public dev.cel.expr.ExprValue build() {
dev.cel.expr.ExprValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public dev.cel.expr.ExprValue buildPartial() {
dev.cel.expr.ExprValue result = new dev.cel.expr.ExprValue(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(dev.cel.expr.ExprValue result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(dev.cel.expr.ExprValue result) {
result.kindCase_ = kindCase_;
result.kind_ = this.kind_;
if (kindCase_ == 1 &&
valueBuilder_ != null) {
result.kind_ = valueBuilder_.build();
}
if (kindCase_ == 2 &&
errorBuilder_ != null) {
result.kind_ = errorBuilder_.build();
}
if (kindCase_ == 3 &&
unknownBuilder_ != null) {
result.kind_ = unknownBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof dev.cel.expr.ExprValue) {
return mergeFrom((dev.cel.expr.ExprValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(dev.cel.expr.ExprValue other) {
if (other == dev.cel.expr.ExprValue.getDefaultInstance()) return this;
switch (other.getKindCase()) {
case VALUE: {
mergeValue(other.getValue());
break;
}
case ERROR: {
mergeError(other.getError());
break;
}
case UNKNOWN: {
mergeUnknown(other.getUnknown());
break;
}
case KIND_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getValueFieldBuilder().getBuilder(),
extensionRegistry);
kindCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getErrorFieldBuilder().getBuilder(),
extensionRegistry);
kindCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getUnknownFieldBuilder().getBuilder(),
extensionRegistry);
kindCase_ = 3;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int kindCase_ = 0;
private java.lang.Object kind_;
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public Builder clearKind() {
kindCase_ = 0;
kind_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder> valueBuilder_;
/**
* .cel.expr.Value value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return kindCase_ == 1;
}
/**
* .cel.expr.Value value = 1;
* @return The value.
*/
@java.lang.Override
public dev.cel.expr.Value getValue() {
if (valueBuilder_ == null) {
if (kindCase_ == 1) {
return (dev.cel.expr.Value) kind_;
}
return dev.cel.expr.Value.getDefaultInstance();
} else {
if (kindCase_ == 1) {
return valueBuilder_.getMessage();
}
return dev.cel.expr.Value.getDefaultInstance();
}
}
/**
* .cel.expr.Value value = 1;
*/
public Builder setValue(dev.cel.expr.Value value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
kindCase_ = 1;
return this;
}
/**
* .cel.expr.Value value = 1;
*/
public Builder setValue(
dev.cel.expr.Value.Builder builderForValue) {
if (valueBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 1;
return this;
}
/**
* .cel.expr.Value value = 1;
*/
public Builder mergeValue(dev.cel.expr.Value value) {
if (valueBuilder_ == null) {
if (kindCase_ == 1 &&
kind_ != dev.cel.expr.Value.getDefaultInstance()) {
kind_ = dev.cel.expr.Value.newBuilder((dev.cel.expr.Value) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 1) {
valueBuilder_.mergeFrom(value);
} else {
valueBuilder_.setMessage(value);
}
}
kindCase_ = 1;
return this;
}
/**
* .cel.expr.Value value = 1;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
}
valueBuilder_.clear();
}
return this;
}
/**
* .cel.expr.Value value = 1;
*/
public dev.cel.expr.Value.Builder getValueBuilder() {
return getValueFieldBuilder().getBuilder();
}
/**
* .cel.expr.Value value = 1;
*/
@java.lang.Override
public dev.cel.expr.ValueOrBuilder getValueOrBuilder() {
if ((kindCase_ == 1) && (valueBuilder_ != null)) {
return valueBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 1) {
return (dev.cel.expr.Value) kind_;
}
return dev.cel.expr.Value.getDefaultInstance();
}
}
/**
* .cel.expr.Value value = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
if (!(kindCase_ == 1)) {
kind_ = dev.cel.expr.Value.getDefaultInstance();
}
valueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>(
(dev.cel.expr.Value) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 1;
onChanged();
return valueBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.ErrorSet, dev.cel.expr.ErrorSet.Builder, dev.cel.expr.ErrorSetOrBuilder> errorBuilder_;
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return kindCase_ == 2;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
* @return The error.
*/
@java.lang.Override
public dev.cel.expr.ErrorSet getError() {
if (errorBuilder_ == null) {
if (kindCase_ == 2) {
return (dev.cel.expr.ErrorSet) kind_;
}
return dev.cel.expr.ErrorSet.getDefaultInstance();
} else {
if (kindCase_ == 2) {
return errorBuilder_.getMessage();
}
return dev.cel.expr.ErrorSet.getDefaultInstance();
}
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
public Builder setError(dev.cel.expr.ErrorSet value) {
if (errorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
errorBuilder_.setMessage(value);
}
kindCase_ = 2;
return this;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
public Builder setError(
dev.cel.expr.ErrorSet.Builder builderForValue) {
if (errorBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 2;
return this;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
public Builder mergeError(dev.cel.expr.ErrorSet value) {
if (errorBuilder_ == null) {
if (kindCase_ == 2 &&
kind_ != dev.cel.expr.ErrorSet.getDefaultInstance()) {
kind_ = dev.cel.expr.ErrorSet.newBuilder((dev.cel.expr.ErrorSet) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 2) {
errorBuilder_.mergeFrom(value);
} else {
errorBuilder_.setMessage(value);
}
}
kindCase_ = 2;
return this;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
public Builder clearError() {
if (errorBuilder_ == null) {
if (kindCase_ == 2) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 2) {
kindCase_ = 0;
kind_ = null;
}
errorBuilder_.clear();
}
return this;
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
public dev.cel.expr.ErrorSet.Builder getErrorBuilder() {
return getErrorFieldBuilder().getBuilder();
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
@java.lang.Override
public dev.cel.expr.ErrorSetOrBuilder getErrorOrBuilder() {
if ((kindCase_ == 2) && (errorBuilder_ != null)) {
return errorBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 2) {
return (dev.cel.expr.ErrorSet) kind_;
}
return dev.cel.expr.ErrorSet.getDefaultInstance();
}
}
/**
*
* The set of errors in the critical path of evaluation.
*
* Only errors in the critical path are included. For example,
* `(<error1> || true) && <error2>` will only result in `<error2>`,
* while `<error1> || <error2>` will result in both `<error1>` and
* `<error2>`.
*
* Errors cause by the presence of other errors are not included in the
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
* only result in `<error1>`.
*
* Multiple errors *might* be included when evaluation could result
* in different errors. For example `<error1> + <error2>` and
* `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
* The exact subset of errors included for this case is unspecified and
* depends on the implementation details of the evaluator.
*
*
* .cel.expr.ErrorSet error = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.ErrorSet, dev.cel.expr.ErrorSet.Builder, dev.cel.expr.ErrorSetOrBuilder>
getErrorFieldBuilder() {
if (errorBuilder_ == null) {
if (!(kindCase_ == 2)) {
kind_ = dev.cel.expr.ErrorSet.getDefaultInstance();
}
errorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.ErrorSet, dev.cel.expr.ErrorSet.Builder, dev.cel.expr.ErrorSetOrBuilder>(
(dev.cel.expr.ErrorSet) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 2;
onChanged();
return errorBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.UnknownSet, dev.cel.expr.UnknownSet.Builder, dev.cel.expr.UnknownSetOrBuilder> unknownBuilder_;
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
* @return Whether the unknown field is set.
*/
@java.lang.Override
public boolean hasUnknown() {
return kindCase_ == 3;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
* @return The unknown.
*/
@java.lang.Override
public dev.cel.expr.UnknownSet getUnknown() {
if (unknownBuilder_ == null) {
if (kindCase_ == 3) {
return (dev.cel.expr.UnknownSet) kind_;
}
return dev.cel.expr.UnknownSet.getDefaultInstance();
} else {
if (kindCase_ == 3) {
return unknownBuilder_.getMessage();
}
return dev.cel.expr.UnknownSet.getDefaultInstance();
}
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
public Builder setUnknown(dev.cel.expr.UnknownSet value) {
if (unknownBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
unknownBuilder_.setMessage(value);
}
kindCase_ = 3;
return this;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
public Builder setUnknown(
dev.cel.expr.UnknownSet.Builder builderForValue) {
if (unknownBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
unknownBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 3;
return this;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
public Builder mergeUnknown(dev.cel.expr.UnknownSet value) {
if (unknownBuilder_ == null) {
if (kindCase_ == 3 &&
kind_ != dev.cel.expr.UnknownSet.getDefaultInstance()) {
kind_ = dev.cel.expr.UnknownSet.newBuilder((dev.cel.expr.UnknownSet) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 3) {
unknownBuilder_.mergeFrom(value);
} else {
unknownBuilder_.setMessage(value);
}
}
kindCase_ = 3;
return this;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
public Builder clearUnknown() {
if (unknownBuilder_ == null) {
if (kindCase_ == 3) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 3) {
kindCase_ = 0;
kind_ = null;
}
unknownBuilder_.clear();
}
return this;
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
public dev.cel.expr.UnknownSet.Builder getUnknownBuilder() {
return getUnknownFieldBuilder().getBuilder();
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
@java.lang.Override
public dev.cel.expr.UnknownSetOrBuilder getUnknownOrBuilder() {
if ((kindCase_ == 3) && (unknownBuilder_ != null)) {
return unknownBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 3) {
return (dev.cel.expr.UnknownSet) kind_;
}
return dev.cel.expr.UnknownSet.getDefaultInstance();
}
}
/**
*
* The set of unknowns in the critical path of evaluation.
*
* Unknown behaves identically to Error with regards to propagation.
* Specifically, only unknowns in the critical path are included, unknowns
* caused by the presence of other unknowns are not included, and multiple
* unknowns *might* be included when evaluation could result in
* different unknowns. For example:
*
* (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
* <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
* <unknown[1]>.foo -> <unknown[1]>
* foo(<unknown[1]>) -> <unknown[1]>
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
*
* Unknown takes precedence over Error in cases where a `Value` can short
* circuit the result:
*
* <error> || <unknown> -> <unknown>
* <error> && <unknown> -> <unknown>
*
* Errors take precedence in all other cases:
*
* <unknown> + <error> -> <error>
* foo(<unknown>, <error>) -> <error>
*
*
* .cel.expr.UnknownSet unknown = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.UnknownSet, dev.cel.expr.UnknownSet.Builder, dev.cel.expr.UnknownSetOrBuilder>
getUnknownFieldBuilder() {
if (unknownBuilder_ == null) {
if (!(kindCase_ == 3)) {
kind_ = dev.cel.expr.UnknownSet.getDefaultInstance();
}
unknownBuilder_ = new com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.UnknownSet, dev.cel.expr.UnknownSet.Builder, dev.cel.expr.UnknownSetOrBuilder>(
(dev.cel.expr.UnknownSet) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 3;
onChanged();
return unknownBuilder_;
}
// @@protoc_insertion_point(builder_scope:cel.expr.ExprValue)
}
// @@protoc_insertion_point(class_scope:cel.expr.ExprValue)
private static final dev.cel.expr.ExprValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new dev.cel.expr.ExprValue();
}
public static dev.cel.expr.ExprValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExprValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public dev.cel.expr.ExprValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy