All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cel.dev.expr.conformance.Environment Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cel/expr/conformance/env_config.proto

// Protobuf Java Version: 3.25.1
package cel.dev.expr.conformance;

/**
 * 
 * Representation of a CEL Environment, defining what features and extensions
 * are available for conformance testing.
 * 
* * Protobuf type {@code cel.expr.conformance.Environment} */ public final class Environment extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cel.expr.conformance.Environment) EnvironmentOrBuilder { private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Environment() { name_ = ""; description_ = ""; container_ = ""; imports_ = java.util.Collections.emptyList(); extensions_ = java.util.Collections.emptyList(); declarations_ = java.util.Collections.emptyList(); validators_ = java.util.Collections.emptyList(); features_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Environment(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.class, cel.dev.expr.conformance.Environment.Builder.class); } public interface ImportOrBuilder extends // @@protoc_insertion_point(interface_extends:cel.expr.conformance.Environment.Import) com.google.protobuf.MessageOrBuilder { /** *
     * Qualified type name which will be abbreviated
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Qualified type name which will be abbreviated
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * Import represents a type name that will be abbreviated by its simple name
   * making it easier to reference simple type names from packages other than
   * the expression container.
   * For ex:
   *   Import{name: 'google.rpc.Status'}
   * The above import will ensure that `google.rpc.Status` is available by the
   * simple name `Status` within CEL expressions.
   * 
* * Protobuf type {@code cel.expr.conformance.Environment.Import} */ public static final class Import extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cel.expr.conformance.Environment.Import) ImportOrBuilder { private static final long serialVersionUID = 0L; // Use Import.newBuilder() to construct. private Import(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Import() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Import(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_Import_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_Import_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.Import.class, cel.dev.expr.conformance.Environment.Import.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Qualified type name which will be abbreviated
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * Qualified type name which will be abbreviated
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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 cel.dev.expr.conformance.Environment.Import)) { return super.equals(obj); } cel.dev.expr.conformance.Environment.Import other = (cel.dev.expr.conformance.Environment.Import) obj; if (!getName() .equals(other.getName())) return false; 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cel.dev.expr.conformance.Environment.Import parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.Import parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.Import parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.Import parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.Import parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.Import parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.Import parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.Import 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 cel.dev.expr.conformance.Environment.Import parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.Import 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 cel.dev.expr.conformance.Environment.Import parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.Import 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(cel.dev.expr.conformance.Environment.Import 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; } /** *
     * Import represents a type name that will be abbreviated by its simple name
     * making it easier to reference simple type names from packages other than
     * the expression container.
     * For ex:
     *   Import{name: 'google.rpc.Status'}
     * The above import will ensure that `google.rpc.Status` is available by the
     * simple name `Status` within CEL expressions.
     * 
* * Protobuf type {@code cel.expr.conformance.Environment.Import} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cel.expr.conformance.Environment.Import) cel.dev.expr.conformance.Environment.ImportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_Import_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_Import_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.Import.class, cel.dev.expr.conformance.Environment.Import.Builder.class); } // Construct using cel.dev.expr.conformance.Environment.Import.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_Import_descriptor; } @java.lang.Override public cel.dev.expr.conformance.Environment.Import getDefaultInstanceForType() { return cel.dev.expr.conformance.Environment.Import.getDefaultInstance(); } @java.lang.Override public cel.dev.expr.conformance.Environment.Import build() { cel.dev.expr.conformance.Environment.Import result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cel.dev.expr.conformance.Environment.Import buildPartial() { cel.dev.expr.conformance.Environment.Import result = new cel.dev.expr.conformance.Environment.Import(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(cel.dev.expr.conformance.Environment.Import result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } } @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 cel.dev.expr.conformance.Environment.Import) { return mergeFrom((cel.dev.expr.conformance.Environment.Import)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cel.dev.expr.conformance.Environment.Import other) { if (other == cel.dev.expr.conformance.Environment.Import.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 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 bitField0_; private java.lang.Object name_ = ""; /** *
       * Qualified type name which will be abbreviated
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Qualified type name which will be abbreviated
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Qualified type name which will be abbreviated
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Qualified type name which will be abbreviated
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Qualified type name which will be abbreviated
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @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:cel.expr.conformance.Environment.Import) } // @@protoc_insertion_point(class_scope:cel.expr.conformance.Environment.Import) private static final cel.dev.expr.conformance.Environment.Import DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cel.dev.expr.conformance.Environment.Import(); } public static cel.dev.expr.conformance.Environment.Import getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Import 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 cel.dev.expr.conformance.Environment.Import getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextVariableOrBuilder extends // @@protoc_insertion_point(interface_extends:cel.expr.conformance.Environment.ContextVariable) com.google.protobuf.MessageOrBuilder { /** *
     * Fully qualified type name of the context proto.
     * 
* * string type_name = 1; * @return The typeName. */ java.lang.String getTypeName(); /** *
     * Fully qualified type name of the context proto.
     * 
* * string type_name = 1; * @return The bytes for typeName. */ com.google.protobuf.ByteString getTypeNameBytes(); } /** *
   * ContextVariable represents a message type to be made available as a
   * context variable to the CEL environment.
   * 
* * Protobuf type {@code cel.expr.conformance.Environment.ContextVariable} */ public static final class ContextVariable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cel.expr.conformance.Environment.ContextVariable) ContextVariableOrBuilder { private static final long serialVersionUID = 0L; // Use ContextVariable.newBuilder() to construct. private ContextVariable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextVariable() { typeName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContextVariable(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_ContextVariable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_ContextVariable_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.ContextVariable.class, cel.dev.expr.conformance.Environment.ContextVariable.Builder.class); } public static final int TYPE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object typeName_ = ""; /** *
     * Fully qualified type name of the context proto.
     * 
* * string type_name = 1; * @return The typeName. */ @java.lang.Override public java.lang.String getTypeName() { java.lang.Object ref = typeName_; 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(); typeName_ = s; return s; } } /** *
     * Fully qualified type name of the context proto.
     * 
* * string type_name = 1; * @return The bytes for typeName. */ @java.lang.Override public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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(typeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, typeName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, typeName_); } 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 cel.dev.expr.conformance.Environment.ContextVariable)) { return super.equals(obj); } cel.dev.expr.conformance.Environment.ContextVariable other = (cel.dev.expr.conformance.Environment.ContextVariable) obj; if (!getTypeName() .equals(other.getTypeName())) return false; 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(); hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTypeName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment.ContextVariable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.ContextVariable 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 cel.dev.expr.conformance.Environment.ContextVariable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.ContextVariable 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 cel.dev.expr.conformance.Environment.ContextVariable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment.ContextVariable 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(cel.dev.expr.conformance.Environment.ContextVariable 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; } /** *
     * ContextVariable represents a message type to be made available as a
     * context variable to the CEL environment.
     * 
* * Protobuf type {@code cel.expr.conformance.Environment.ContextVariable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cel.expr.conformance.Environment.ContextVariable) cel.dev.expr.conformance.Environment.ContextVariableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_ContextVariable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_ContextVariable_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.ContextVariable.class, cel.dev.expr.conformance.Environment.ContextVariable.Builder.class); } // Construct using cel.dev.expr.conformance.Environment.ContextVariable.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; typeName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_ContextVariable_descriptor; } @java.lang.Override public cel.dev.expr.conformance.Environment.ContextVariable getDefaultInstanceForType() { return cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance(); } @java.lang.Override public cel.dev.expr.conformance.Environment.ContextVariable build() { cel.dev.expr.conformance.Environment.ContextVariable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cel.dev.expr.conformance.Environment.ContextVariable buildPartial() { cel.dev.expr.conformance.Environment.ContextVariable result = new cel.dev.expr.conformance.Environment.ContextVariable(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(cel.dev.expr.conformance.Environment.ContextVariable result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.typeName_ = typeName_; } } @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 cel.dev.expr.conformance.Environment.ContextVariable) { return mergeFrom((cel.dev.expr.conformance.Environment.ContextVariable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cel.dev.expr.conformance.Environment.ContextVariable other) { if (other == cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance()) return this; if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; bitField0_ |= 0x00000001; onChanged(); } 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: { typeName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 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 bitField0_; private java.lang.Object typeName_ = ""; /** *
       * Fully qualified type name of the context proto.
       * 
* * string type_name = 1; * @return The typeName. */ public java.lang.String getTypeName() { java.lang.Object ref = typeName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Fully qualified type name of the context proto.
       * 
* * string type_name = 1; * @return The bytes for typeName. */ public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Fully qualified type name of the context proto.
       * 
* * string type_name = 1; * @param value The typeName to set. * @return This builder for chaining. */ public Builder setTypeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } typeName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Fully qualified type name of the context proto.
       * 
* * string type_name = 1; * @return This builder for chaining. */ public Builder clearTypeName() { typeName_ = getDefaultInstance().getTypeName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Fully qualified type name of the context proto.
       * 
* * string type_name = 1; * @param value The bytes for typeName to set. * @return This builder for chaining. */ public Builder setTypeNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); typeName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @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:cel.expr.conformance.Environment.ContextVariable) } // @@protoc_insertion_point(class_scope:cel.expr.conformance.Environment.ContextVariable) private static final cel.dev.expr.conformance.Environment.ContextVariable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cel.dev.expr.conformance.Environment.ContextVariable(); } public static cel.dev.expr.conformance.Environment.ContextVariable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContextVariable 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 cel.dev.expr.conformance.Environment.ContextVariable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
   * Name of the environment
   * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
   * Name of the environment
   * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** *
   * Description for the current environment
   * 
* * string description = 2; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; } } /** *
   * Description for the current environment
   * 
* * string description = 2; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTAINER_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object container_ = ""; /** *
   * Sets the namespace (container) for the expression.
   * This is used to simplify resolution.
   * For example with container
   *   `google.rpc.context`
   *  an identifier of `google.rpc.context.AttributeContext` could be referred
   *  to simply as `AttributeContext` in the CEL expression.
   * 
* * string container = 3; * @return The container. */ @java.lang.Override public java.lang.String getContainer() { java.lang.Object ref = container_; 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(); container_ = s; return s; } } /** *
   * Sets the namespace (container) for the expression.
   * This is used to simplify resolution.
   * For example with container
   *   `google.rpc.context`
   *  an identifier of `google.rpc.context.AttributeContext` could be referred
   *  to simply as `AttributeContext` in the CEL expression.
   * 
* * string container = 3; * @return The bytes for container. */ @java.lang.Override public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); container_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IMPORTS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List imports_; /** *
   * List of abbreviations to be added to the CEL environment
   * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ @java.lang.Override public java.util.List getImportsList() { return imports_; } /** *
   * List of abbreviations to be added to the CEL environment
   * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ @java.lang.Override public java.util.List getImportsOrBuilderList() { return imports_; } /** *
   * List of abbreviations to be added to the CEL environment
   * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ @java.lang.Override public int getImportsCount() { return imports_.size(); } /** *
   * List of abbreviations to be added to the CEL environment
   * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ @java.lang.Override public cel.dev.expr.conformance.Environment.Import getImports(int index) { return imports_.get(index); } /** *
   * List of abbreviations to be added to the CEL environment
   * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ @java.lang.Override public cel.dev.expr.conformance.Environment.ImportOrBuilder getImportsOrBuilder( int index) { return imports_.get(index); } public static final int STDLIB_FIELD_NUMBER = 5; private cel.dev.expr.conformance.LibrarySubset stdlib_; /** *
   * Set of options to subset a subsettable library
   * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; * @return Whether the stdlib field is set. */ @java.lang.Override public boolean hasStdlib() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Set of options to subset a subsettable library
   * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; * @return The stdlib. */ @java.lang.Override public cel.dev.expr.conformance.LibrarySubset getStdlib() { return stdlib_ == null ? cel.dev.expr.conformance.LibrarySubset.getDefaultInstance() : stdlib_; } /** *
   * Set of options to subset a subsettable library
   * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ @java.lang.Override public cel.dev.expr.conformance.LibrarySubsetOrBuilder getStdlibOrBuilder() { return stdlib_ == null ? cel.dev.expr.conformance.LibrarySubset.getDefaultInstance() : stdlib_; } public static final int EXTENSIONS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List extensions_; /** *
   * List of extensions to enable in the CEL environment.
   * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ @java.lang.Override public java.util.List getExtensionsList() { return extensions_; } /** *
   * List of extensions to enable in the CEL environment.
   * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ @java.lang.Override public java.util.List getExtensionsOrBuilderList() { return extensions_; } /** *
   * List of extensions to enable in the CEL environment.
   * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ @java.lang.Override public int getExtensionsCount() { return extensions_.size(); } /** *
   * List of extensions to enable in the CEL environment.
   * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ @java.lang.Override public cel.dev.expr.conformance.Extension getExtensions(int index) { return extensions_.get(index); } /** *
   * List of extensions to enable in the CEL environment.
   * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ @java.lang.Override public cel.dev.expr.conformance.ExtensionOrBuilder getExtensionsOrBuilder( int index) { return extensions_.get(index); } public static final int CONTEXT_VARIABLE_FIELD_NUMBER = 7; private cel.dev.expr.conformance.Environment.ContextVariable contextVariable_; /** *
   * If set, adds a context declaration from a proto message.
   *
   * Context messages have all of their top-level fields available as variables
   * in the type checker.
   * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; * @return Whether the contextVariable field is set. */ @java.lang.Override public boolean hasContextVariable() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * If set, adds a context declaration from a proto message.
   *
   * Context messages have all of their top-level fields available as variables
   * in the type checker.
   * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; * @return The contextVariable. */ @java.lang.Override public cel.dev.expr.conformance.Environment.ContextVariable getContextVariable() { return contextVariable_ == null ? cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance() : contextVariable_; } /** *
   * If set, adds a context declaration from a proto message.
   *
   * Context messages have all of their top-level fields available as variables
   * in the type checker.
   * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ @java.lang.Override public cel.dev.expr.conformance.Environment.ContextVariableOrBuilder getContextVariableOrBuilder() { return contextVariable_ == null ? cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance() : contextVariable_; } public static final int DECLARATIONS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private java.util.List declarations_; /** *
   * List of declarations to be configured in the CEL environment.
   *
   * Note: The CEL environment can be configured with either the
   * context_variable or a set of ident_decls provided as part of declarations.
   * Providing both will result in an error.
   * 
* * repeated .cel.expr.Decl declarations = 8; */ @java.lang.Override public java.util.List getDeclarationsList() { return declarations_; } /** *
   * List of declarations to be configured in the CEL environment.
   *
   * Note: The CEL environment can be configured with either the
   * context_variable or a set of ident_decls provided as part of declarations.
   * Providing both will result in an error.
   * 
* * repeated .cel.expr.Decl declarations = 8; */ @java.lang.Override public java.util.List getDeclarationsOrBuilderList() { return declarations_; } /** *
   * List of declarations to be configured in the CEL environment.
   *
   * Note: The CEL environment can be configured with either the
   * context_variable or a set of ident_decls provided as part of declarations.
   * Providing both will result in an error.
   * 
* * repeated .cel.expr.Decl declarations = 8; */ @java.lang.Override public int getDeclarationsCount() { return declarations_.size(); } /** *
   * List of declarations to be configured in the CEL environment.
   *
   * Note: The CEL environment can be configured with either the
   * context_variable or a set of ident_decls provided as part of declarations.
   * Providing both will result in an error.
   * 
* * repeated .cel.expr.Decl declarations = 8; */ @java.lang.Override public dev.cel.expr.Decl getDeclarations(int index) { return declarations_.get(index); } /** *
   * List of declarations to be configured in the CEL environment.
   *
   * Note: The CEL environment can be configured with either the
   * context_variable or a set of ident_decls provided as part of declarations.
   * Providing both will result in an error.
   * 
* * repeated .cel.expr.Decl declarations = 8; */ @java.lang.Override public dev.cel.expr.DeclOrBuilder getDeclarationsOrBuilder( int index) { return declarations_.get(index); } public static final int VALIDATORS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private java.util.List validators_; /** *
   * List of validators for validating the parsed ast.
   * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ @java.lang.Override public java.util.List getValidatorsList() { return validators_; } /** *
   * List of validators for validating the parsed ast.
   * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ @java.lang.Override public java.util.List getValidatorsOrBuilderList() { return validators_; } /** *
   * List of validators for validating the parsed ast.
   * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ @java.lang.Override public int getValidatorsCount() { return validators_.size(); } /** *
   * List of validators for validating the parsed ast.
   * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ @java.lang.Override public cel.dev.expr.conformance.Validator getValidators(int index) { return validators_.get(index); } /** *
   * List of validators for validating the parsed ast.
   * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ @java.lang.Override public cel.dev.expr.conformance.ValidatorOrBuilder getValidatorsOrBuilder( int index) { return validators_.get(index); } public static final int FEATURES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List features_; /** *
   * List of feature flags to be enabled or disabled.
   * 
* * repeated .cel.expr.conformance.Feature features = 10; */ @java.lang.Override public java.util.List getFeaturesList() { return features_; } /** *
   * List of feature flags to be enabled or disabled.
   * 
* * repeated .cel.expr.conformance.Feature features = 10; */ @java.lang.Override public java.util.List getFeaturesOrBuilderList() { return features_; } /** *
   * List of feature flags to be enabled or disabled.
   * 
* * repeated .cel.expr.conformance.Feature features = 10; */ @java.lang.Override public int getFeaturesCount() { return features_.size(); } /** *
   * List of feature flags to be enabled or disabled.
   * 
* * repeated .cel.expr.conformance.Feature features = 10; */ @java.lang.Override public cel.dev.expr.conformance.Feature getFeatures(int index) { return features_.get(index); } /** *
   * List of feature flags to be enabled or disabled.
   * 
* * repeated .cel.expr.conformance.Feature features = 10; */ @java.lang.Override public cel.dev.expr.conformance.FeatureOrBuilder getFeaturesOrBuilder( int index) { return features_.get(index); } public static final int DISABLE_STANDARD_CEL_DECLARATIONS_FIELD_NUMBER = 11; private boolean disableStandardCelDeclarations_ = false; /** *
   * Disables including the declarations from the standard CEL environment.
   *
   * NOTE: Do not disable the standard CEL declarations unless you are aware of
   * the implications and have discussed your use case on cel-discuss@
   * or with the members of the cel-governance-team@
   *
   * Deprecated: Use LibrarySubset to disable standard cel declarations instead:
   *   stdlib = LibrarySubset{ disable: true }
   * 
* * bool disable_standard_cel_declarations = 11; * @return The disableStandardCelDeclarations. */ @java.lang.Override public boolean getDisableStandardCelDeclarations() { return disableStandardCelDeclarations_; } public static final int MESSAGE_TYPE_EXTENSION_FIELD_NUMBER = 12; private com.google.protobuf.DescriptorProtos.FileDescriptorSet messageTypeExtension_; /** *
   * If provided, uses the provided FileDescriptorSet to extend types available
   * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
   * are known to the CEL compiler, but all others must be provided for type
   * checking.
   * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; * @return Whether the messageTypeExtension field is set. */ @java.lang.Override public boolean hasMessageTypeExtension() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * If provided, uses the provided FileDescriptorSet to extend types available
   * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
   * are known to the CEL compiler, but all others must be provided for type
   * checking.
   * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; * @return The messageTypeExtension. */ @java.lang.Override public com.google.protobuf.DescriptorProtos.FileDescriptorSet getMessageTypeExtension() { return messageTypeExtension_ == null ? com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance() : messageTypeExtension_; } /** *
   * If provided, uses the provided FileDescriptorSet to extend types available
   * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
   * are known to the CEL compiler, but all others must be provided for type
   * checking.
   * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ @java.lang.Override public com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getMessageTypeExtensionOrBuilder() { return messageTypeExtension_ == null ? com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance() : messageTypeExtension_; } public static final int ENABLE_MACRO_CALL_TRACKING_FIELD_NUMBER = 13; private boolean enableMacroCallTracking_ = false; /** *
   * When macro call tracking is enabled, the resulting SourceInfo in the
   * CheckedExpr will contain a collection of expressions representing the
   * function calls which were replaced by macros.
   *
   * Deprecated: Use Feature to enable macro call tracking
   *  Feature{ name: "cel.feature.macro_call_tracking", enabled: true }
   * 
* * bool enable_macro_call_tracking = 13; * @return The enableMacroCallTracking. */ @java.lang.Override public boolean getEnableMacroCallTracking() { return enableMacroCallTracking_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasMessageTypeExtension()) { if (!getMessageTypeExtension().isInitialized()) { memoizedIsInitialized = 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, container_); } for (int i = 0; i < imports_.size(); i++) { output.writeMessage(4, imports_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getStdlib()); } for (int i = 0; i < extensions_.size(); i++) { output.writeMessage(6, extensions_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(7, getContextVariable()); } for (int i = 0; i < declarations_.size(); i++) { output.writeMessage(8, declarations_.get(i)); } for (int i = 0; i < validators_.size(); i++) { output.writeMessage(9, validators_.get(i)); } for (int i = 0; i < features_.size(); i++) { output.writeMessage(10, features_.get(i)); } if (disableStandardCelDeclarations_ != false) { output.writeBool(11, disableStandardCelDeclarations_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(12, getMessageTypeExtension()); } if (enableMacroCallTracking_ != false) { output.writeBool(13, enableMacroCallTracking_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, container_); } for (int i = 0; i < imports_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, imports_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getStdlib()); } for (int i = 0; i < extensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, extensions_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getContextVariable()); } for (int i = 0; i < declarations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, declarations_.get(i)); } for (int i = 0; i < validators_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, validators_.get(i)); } for (int i = 0; i < features_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, features_.get(i)); } if (disableStandardCelDeclarations_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, disableStandardCelDeclarations_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getMessageTypeExtension()); } if (enableMacroCallTracking_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, enableMacroCallTracking_); } 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 cel.dev.expr.conformance.Environment)) { return super.equals(obj); } cel.dev.expr.conformance.Environment other = (cel.dev.expr.conformance.Environment) obj; if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!getContainer() .equals(other.getContainer())) return false; if (!getImportsList() .equals(other.getImportsList())) return false; if (hasStdlib() != other.hasStdlib()) return false; if (hasStdlib()) { if (!getStdlib() .equals(other.getStdlib())) return false; } if (!getExtensionsList() .equals(other.getExtensionsList())) return false; if (hasContextVariable() != other.hasContextVariable()) return false; if (hasContextVariable()) { if (!getContextVariable() .equals(other.getContextVariable())) return false; } if (!getDeclarationsList() .equals(other.getDeclarationsList())) return false; if (!getValidatorsList() .equals(other.getValidatorsList())) return false; if (!getFeaturesList() .equals(other.getFeaturesList())) return false; if (getDisableStandardCelDeclarations() != other.getDisableStandardCelDeclarations()) return false; if (hasMessageTypeExtension() != other.hasMessageTypeExtension()) return false; if (hasMessageTypeExtension()) { if (!getMessageTypeExtension() .equals(other.getMessageTypeExtension())) return false; } if (getEnableMacroCallTracking() != other.getEnableMacroCallTracking()) return false; 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); if (getImportsCount() > 0) { hash = (37 * hash) + IMPORTS_FIELD_NUMBER; hash = (53 * hash) + getImportsList().hashCode(); } if (hasStdlib()) { hash = (37 * hash) + STDLIB_FIELD_NUMBER; hash = (53 * hash) + getStdlib().hashCode(); } if (getExtensionsCount() > 0) { hash = (37 * hash) + EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getExtensionsList().hashCode(); } if (hasContextVariable()) { hash = (37 * hash) + CONTEXT_VARIABLE_FIELD_NUMBER; hash = (53 * hash) + getContextVariable().hashCode(); } if (getDeclarationsCount() > 0) { hash = (37 * hash) + DECLARATIONS_FIELD_NUMBER; hash = (53 * hash) + getDeclarationsList().hashCode(); } if (getValidatorsCount() > 0) { hash = (37 * hash) + VALIDATORS_FIELD_NUMBER; hash = (53 * hash) + getValidatorsList().hashCode(); } if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (37 * hash) + DISABLE_STANDARD_CEL_DECLARATIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDisableStandardCelDeclarations()); if (hasMessageTypeExtension()) { hash = (37 * hash) + MESSAGE_TYPE_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getMessageTypeExtension().hashCode(); } hash = (37 * hash) + ENABLE_MACRO_CALL_TRACKING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableMacroCallTracking()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cel.dev.expr.conformance.Environment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cel.dev.expr.conformance.Environment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cel.dev.expr.conformance.Environment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment 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 cel.dev.expr.conformance.Environment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment 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 cel.dev.expr.conformance.Environment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cel.dev.expr.conformance.Environment 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(cel.dev.expr.conformance.Environment 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; } /** *
   * Representation of a CEL Environment, defining what features and extensions
   * are available for conformance testing.
   * 
* * Protobuf type {@code cel.expr.conformance.Environment} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cel.expr.conformance.Environment) cel.dev.expr.conformance.EnvironmentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( cel.dev.expr.conformance.Environment.class, cel.dev.expr.conformance.Environment.Builder.class); } // Construct using cel.dev.expr.conformance.Environment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getImportsFieldBuilder(); getStdlibFieldBuilder(); getExtensionsFieldBuilder(); getContextVariableFieldBuilder(); getDeclarationsFieldBuilder(); getValidatorsFieldBuilder(); getFeaturesFieldBuilder(); getMessageTypeExtensionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; description_ = ""; container_ = ""; if (importsBuilder_ == null) { imports_ = java.util.Collections.emptyList(); } else { imports_ = null; importsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); stdlib_ = null; if (stdlibBuilder_ != null) { stdlibBuilder_.dispose(); stdlibBuilder_ = null; } if (extensionsBuilder_ == null) { extensions_ = java.util.Collections.emptyList(); } else { extensions_ = null; extensionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); contextVariable_ = null; if (contextVariableBuilder_ != null) { contextVariableBuilder_.dispose(); contextVariableBuilder_ = null; } if (declarationsBuilder_ == null) { declarations_ = java.util.Collections.emptyList(); } else { declarations_ = null; declarationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); } else { validators_ = null; validatorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (featuresBuilder_ == null) { features_ = java.util.Collections.emptyList(); } else { features_ = null; featuresBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); disableStandardCelDeclarations_ = false; messageTypeExtension_ = null; if (messageTypeExtensionBuilder_ != null) { messageTypeExtensionBuilder_.dispose(); messageTypeExtensionBuilder_ = null; } enableMacroCallTracking_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cel.dev.expr.conformance.EnvironmentProto.internal_static_cel_expr_conformance_Environment_descriptor; } @java.lang.Override public cel.dev.expr.conformance.Environment getDefaultInstanceForType() { return cel.dev.expr.conformance.Environment.getDefaultInstance(); } @java.lang.Override public cel.dev.expr.conformance.Environment build() { cel.dev.expr.conformance.Environment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cel.dev.expr.conformance.Environment buildPartial() { cel.dev.expr.conformance.Environment result = new cel.dev.expr.conformance.Environment(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(cel.dev.expr.conformance.Environment result) { if (importsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { imports_ = java.util.Collections.unmodifiableList(imports_); bitField0_ = (bitField0_ & ~0x00000008); } result.imports_ = imports_; } else { result.imports_ = importsBuilder_.build(); } if (extensionsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { extensions_ = java.util.Collections.unmodifiableList(extensions_); bitField0_ = (bitField0_ & ~0x00000020); } result.extensions_ = extensions_; } else { result.extensions_ = extensionsBuilder_.build(); } if (declarationsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { declarations_ = java.util.Collections.unmodifiableList(declarations_); bitField0_ = (bitField0_ & ~0x00000080); } result.declarations_ = declarations_; } else { result.declarations_ = declarationsBuilder_.build(); } if (validatorsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { validators_ = java.util.Collections.unmodifiableList(validators_); bitField0_ = (bitField0_ & ~0x00000100); } result.validators_ = validators_; } else { result.validators_ = validatorsBuilder_.build(); } if (featuresBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000200); } result.features_ = features_; } else { result.features_ = featuresBuilder_.build(); } } private void buildPartial0(cel.dev.expr.conformance.Environment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.container_ = container_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.stdlib_ = stdlibBuilder_ == null ? stdlib_ : stdlibBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { result.contextVariable_ = contextVariableBuilder_ == null ? contextVariable_ : contextVariableBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000400) != 0)) { result.disableStandardCelDeclarations_ = disableStandardCelDeclarations_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.messageTypeExtension_ = messageTypeExtensionBuilder_ == null ? messageTypeExtension_ : messageTypeExtensionBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00001000) != 0)) { result.enableMacroCallTracking_ = enableMacroCallTracking_; } result.bitField0_ |= to_bitField0_; } @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 cel.dev.expr.conformance.Environment) { return mergeFrom((cel.dev.expr.conformance.Environment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cel.dev.expr.conformance.Environment other) { if (other == cel.dev.expr.conformance.Environment.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getContainer().isEmpty()) { container_ = other.container_; bitField0_ |= 0x00000004; onChanged(); } if (importsBuilder_ == null) { if (!other.imports_.isEmpty()) { if (imports_.isEmpty()) { imports_ = other.imports_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureImportsIsMutable(); imports_.addAll(other.imports_); } onChanged(); } } else { if (!other.imports_.isEmpty()) { if (importsBuilder_.isEmpty()) { importsBuilder_.dispose(); importsBuilder_ = null; imports_ = other.imports_; bitField0_ = (bitField0_ & ~0x00000008); importsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getImportsFieldBuilder() : null; } else { importsBuilder_.addAllMessages(other.imports_); } } } if (other.hasStdlib()) { mergeStdlib(other.getStdlib()); } if (extensionsBuilder_ == null) { if (!other.extensions_.isEmpty()) { if (extensions_.isEmpty()) { extensions_ = other.extensions_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureExtensionsIsMutable(); extensions_.addAll(other.extensions_); } onChanged(); } } else { if (!other.extensions_.isEmpty()) { if (extensionsBuilder_.isEmpty()) { extensionsBuilder_.dispose(); extensionsBuilder_ = null; extensions_ = other.extensions_; bitField0_ = (bitField0_ & ~0x00000020); extensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExtensionsFieldBuilder() : null; } else { extensionsBuilder_.addAllMessages(other.extensions_); } } } if (other.hasContextVariable()) { mergeContextVariable(other.getContextVariable()); } if (declarationsBuilder_ == null) { if (!other.declarations_.isEmpty()) { if (declarations_.isEmpty()) { declarations_ = other.declarations_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureDeclarationsIsMutable(); declarations_.addAll(other.declarations_); } onChanged(); } } else { if (!other.declarations_.isEmpty()) { if (declarationsBuilder_.isEmpty()) { declarationsBuilder_.dispose(); declarationsBuilder_ = null; declarations_ = other.declarations_; bitField0_ = (bitField0_ & ~0x00000080); declarationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDeclarationsFieldBuilder() : null; } else { declarationsBuilder_.addAllMessages(other.declarations_); } } } if (validatorsBuilder_ == null) { if (!other.validators_.isEmpty()) { if (validators_.isEmpty()) { validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureValidatorsIsMutable(); validators_.addAll(other.validators_); } onChanged(); } } else { if (!other.validators_.isEmpty()) { if (validatorsBuilder_.isEmpty()) { validatorsBuilder_.dispose(); validatorsBuilder_ = null; validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000100); validatorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidatorsFieldBuilder() : null; } else { validatorsBuilder_.addAllMessages(other.validators_); } } } if (featuresBuilder_ == null) { if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } } else { if (!other.features_.isEmpty()) { if (featuresBuilder_.isEmpty()) { featuresBuilder_.dispose(); featuresBuilder_ = null; features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000200); featuresBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFeaturesFieldBuilder() : null; } else { featuresBuilder_.addAllMessages(other.features_); } } } if (other.getDisableStandardCelDeclarations() != false) { setDisableStandardCelDeclarations(other.getDisableStandardCelDeclarations()); } if (other.hasMessageTypeExtension()) { mergeMessageTypeExtension(other.getMessageTypeExtension()); } if (other.getEnableMacroCallTracking() != false) { setEnableMacroCallTracking(other.getEnableMacroCallTracking()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasMessageTypeExtension()) { if (!getMessageTypeExtension().isInitialized()) { return false; } } 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { container_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { cel.dev.expr.conformance.Environment.Import m = input.readMessage( cel.dev.expr.conformance.Environment.Import.parser(), extensionRegistry); if (importsBuilder_ == null) { ensureImportsIsMutable(); imports_.add(m); } else { importsBuilder_.addMessage(m); } break; } // case 34 case 42: { input.readMessage( getStdlibFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { cel.dev.expr.conformance.Extension m = input.readMessage( cel.dev.expr.conformance.Extension.parser(), extensionRegistry); if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); extensions_.add(m); } else { extensionsBuilder_.addMessage(m); } break; } // case 50 case 58: { input.readMessage( getContextVariableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { dev.cel.expr.Decl m = input.readMessage( dev.cel.expr.Decl.parser(), extensionRegistry); if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); declarations_.add(m); } else { declarationsBuilder_.addMessage(m); } break; } // case 66 case 74: { cel.dev.expr.conformance.Validator m = input.readMessage( cel.dev.expr.conformance.Validator.parser(), extensionRegistry); if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(m); } else { validatorsBuilder_.addMessage(m); } break; } // case 74 case 82: { cel.dev.expr.conformance.Feature m = input.readMessage( cel.dev.expr.conformance.Feature.parser(), extensionRegistry); if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.add(m); } else { featuresBuilder_.addMessage(m); } break; } // case 82 case 88: { disableStandardCelDeclarations_ = input.readBool(); bitField0_ |= 0x00000400; break; } // case 88 case 98: { input.readMessage( getMessageTypeExtensionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 98 case 104: { enableMacroCallTracking_ = input.readBool(); bitField0_ |= 0x00001000; break; } // case 104 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 bitField0_; private java.lang.Object name_ = ""; /** *
     * Name of the environment
     * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Name of the environment
     * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Name of the environment
     * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Name of the environment
     * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Name of the environment
     * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
     * Description for the current environment
     * 
* * string description = 2; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Description for the current environment
     * 
* * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Description for the current environment
     * 
* * string description = 2; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Description for the current environment
     * 
* * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Description for the current environment
     * 
* * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object container_ = ""; /** *
     * Sets the namespace (container) for the expression.
     * This is used to simplify resolution.
     * For example with container
     *   `google.rpc.context`
     *  an identifier of `google.rpc.context.AttributeContext` could be referred
     *  to simply as `AttributeContext` in the CEL expression.
     * 
* * string container = 3; * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Sets the namespace (container) for the expression.
     * This is used to simplify resolution.
     * For example with container
     *   `google.rpc.context`
     *  an identifier of `google.rpc.context.AttributeContext` could be referred
     *  to simply as `AttributeContext` in the CEL expression.
     * 
* * string container = 3; * @return The bytes for container. */ public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); container_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Sets the namespace (container) for the expression.
     * This is used to simplify resolution.
     * For example with container
     *   `google.rpc.context`
     *  an identifier of `google.rpc.context.AttributeContext` could be referred
     *  to simply as `AttributeContext` in the CEL expression.
     * 
* * string container = 3; * @param value The container to set. * @return This builder for chaining. */ public Builder setContainer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } container_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Sets the namespace (container) for the expression.
     * This is used to simplify resolution.
     * For example with container
     *   `google.rpc.context`
     *  an identifier of `google.rpc.context.AttributeContext` could be referred
     *  to simply as `AttributeContext` in the CEL expression.
     * 
* * string container = 3; * @return This builder for chaining. */ public Builder clearContainer() { container_ = getDefaultInstance().getContainer(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Sets the namespace (container) for the expression.
     * This is used to simplify resolution.
     * For example with container
     *   `google.rpc.context`
     *  an identifier of `google.rpc.context.AttributeContext` could be referred
     *  to simply as `AttributeContext` in the CEL expression.
     * 
* * string container = 3; * @param value The bytes for container to set. * @return This builder for chaining. */ public Builder setContainerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); container_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.util.List imports_ = java.util.Collections.emptyList(); private void ensureImportsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { imports_ = new java.util.ArrayList(imports_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Environment.Import, cel.dev.expr.conformance.Environment.Import.Builder, cel.dev.expr.conformance.Environment.ImportOrBuilder> importsBuilder_; /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public java.util.List getImportsList() { if (importsBuilder_ == null) { return java.util.Collections.unmodifiableList(imports_); } else { return importsBuilder_.getMessageList(); } } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public int getImportsCount() { if (importsBuilder_ == null) { return imports_.size(); } else { return importsBuilder_.getCount(); } } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public cel.dev.expr.conformance.Environment.Import getImports(int index) { if (importsBuilder_ == null) { return imports_.get(index); } else { return importsBuilder_.getMessage(index); } } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder setImports( int index, cel.dev.expr.conformance.Environment.Import value) { if (importsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImportsIsMutable(); imports_.set(index, value); onChanged(); } else { importsBuilder_.setMessage(index, value); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder setImports( int index, cel.dev.expr.conformance.Environment.Import.Builder builderForValue) { if (importsBuilder_ == null) { ensureImportsIsMutable(); imports_.set(index, builderForValue.build()); onChanged(); } else { importsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder addImports(cel.dev.expr.conformance.Environment.Import value) { if (importsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImportsIsMutable(); imports_.add(value); onChanged(); } else { importsBuilder_.addMessage(value); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder addImports( int index, cel.dev.expr.conformance.Environment.Import value) { if (importsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureImportsIsMutable(); imports_.add(index, value); onChanged(); } else { importsBuilder_.addMessage(index, value); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder addImports( cel.dev.expr.conformance.Environment.Import.Builder builderForValue) { if (importsBuilder_ == null) { ensureImportsIsMutable(); imports_.add(builderForValue.build()); onChanged(); } else { importsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder addImports( int index, cel.dev.expr.conformance.Environment.Import.Builder builderForValue) { if (importsBuilder_ == null) { ensureImportsIsMutable(); imports_.add(index, builderForValue.build()); onChanged(); } else { importsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder addAllImports( java.lang.Iterable values) { if (importsBuilder_ == null) { ensureImportsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, imports_); onChanged(); } else { importsBuilder_.addAllMessages(values); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder clearImports() { if (importsBuilder_ == null) { imports_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { importsBuilder_.clear(); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public Builder removeImports(int index) { if (importsBuilder_ == null) { ensureImportsIsMutable(); imports_.remove(index); onChanged(); } else { importsBuilder_.remove(index); } return this; } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public cel.dev.expr.conformance.Environment.Import.Builder getImportsBuilder( int index) { return getImportsFieldBuilder().getBuilder(index); } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public cel.dev.expr.conformance.Environment.ImportOrBuilder getImportsOrBuilder( int index) { if (importsBuilder_ == null) { return imports_.get(index); } else { return importsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public java.util.List getImportsOrBuilderList() { if (importsBuilder_ != null) { return importsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(imports_); } } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public cel.dev.expr.conformance.Environment.Import.Builder addImportsBuilder() { return getImportsFieldBuilder().addBuilder( cel.dev.expr.conformance.Environment.Import.getDefaultInstance()); } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public cel.dev.expr.conformance.Environment.Import.Builder addImportsBuilder( int index) { return getImportsFieldBuilder().addBuilder( index, cel.dev.expr.conformance.Environment.Import.getDefaultInstance()); } /** *
     * List of abbreviations to be added to the CEL environment
     * 
* * repeated .cel.expr.conformance.Environment.Import imports = 4; */ public java.util.List getImportsBuilderList() { return getImportsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Environment.Import, cel.dev.expr.conformance.Environment.Import.Builder, cel.dev.expr.conformance.Environment.ImportOrBuilder> getImportsFieldBuilder() { if (importsBuilder_ == null) { importsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Environment.Import, cel.dev.expr.conformance.Environment.Import.Builder, cel.dev.expr.conformance.Environment.ImportOrBuilder>( imports_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); imports_ = null; } return importsBuilder_; } private cel.dev.expr.conformance.LibrarySubset stdlib_; private com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.LibrarySubset, cel.dev.expr.conformance.LibrarySubset.Builder, cel.dev.expr.conformance.LibrarySubsetOrBuilder> stdlibBuilder_; /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; * @return Whether the stdlib field is set. */ public boolean hasStdlib() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; * @return The stdlib. */ public cel.dev.expr.conformance.LibrarySubset getStdlib() { if (stdlibBuilder_ == null) { return stdlib_ == null ? cel.dev.expr.conformance.LibrarySubset.getDefaultInstance() : stdlib_; } else { return stdlibBuilder_.getMessage(); } } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public Builder setStdlib(cel.dev.expr.conformance.LibrarySubset value) { if (stdlibBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stdlib_ = value; } else { stdlibBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public Builder setStdlib( cel.dev.expr.conformance.LibrarySubset.Builder builderForValue) { if (stdlibBuilder_ == null) { stdlib_ = builderForValue.build(); } else { stdlibBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public Builder mergeStdlib(cel.dev.expr.conformance.LibrarySubset value) { if (stdlibBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && stdlib_ != null && stdlib_ != cel.dev.expr.conformance.LibrarySubset.getDefaultInstance()) { getStdlibBuilder().mergeFrom(value); } else { stdlib_ = value; } } else { stdlibBuilder_.mergeFrom(value); } if (stdlib_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public Builder clearStdlib() { bitField0_ = (bitField0_ & ~0x00000010); stdlib_ = null; if (stdlibBuilder_ != null) { stdlibBuilder_.dispose(); stdlibBuilder_ = null; } onChanged(); return this; } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public cel.dev.expr.conformance.LibrarySubset.Builder getStdlibBuilder() { bitField0_ |= 0x00000010; onChanged(); return getStdlibFieldBuilder().getBuilder(); } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ public cel.dev.expr.conformance.LibrarySubsetOrBuilder getStdlibOrBuilder() { if (stdlibBuilder_ != null) { return stdlibBuilder_.getMessageOrBuilder(); } else { return stdlib_ == null ? cel.dev.expr.conformance.LibrarySubset.getDefaultInstance() : stdlib_; } } /** *
     * Set of options to subset a subsettable library
     * 
* * .cel.expr.conformance.LibrarySubset stdlib = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.LibrarySubset, cel.dev.expr.conformance.LibrarySubset.Builder, cel.dev.expr.conformance.LibrarySubsetOrBuilder> getStdlibFieldBuilder() { if (stdlibBuilder_ == null) { stdlibBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.LibrarySubset, cel.dev.expr.conformance.LibrarySubset.Builder, cel.dev.expr.conformance.LibrarySubsetOrBuilder>( getStdlib(), getParentForChildren(), isClean()); stdlib_ = null; } return stdlibBuilder_; } private java.util.List extensions_ = java.util.Collections.emptyList(); private void ensureExtensionsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { extensions_ = new java.util.ArrayList(extensions_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Extension, cel.dev.expr.conformance.Extension.Builder, cel.dev.expr.conformance.ExtensionOrBuilder> extensionsBuilder_; /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public java.util.List getExtensionsList() { if (extensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(extensions_); } else { return extensionsBuilder_.getMessageList(); } } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public int getExtensionsCount() { if (extensionsBuilder_ == null) { return extensions_.size(); } else { return extensionsBuilder_.getCount(); } } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public cel.dev.expr.conformance.Extension getExtensions(int index) { if (extensionsBuilder_ == null) { return extensions_.get(index); } else { return extensionsBuilder_.getMessage(index); } } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder setExtensions( int index, cel.dev.expr.conformance.Extension value) { if (extensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExtensionsIsMutable(); extensions_.set(index, value); onChanged(); } else { extensionsBuilder_.setMessage(index, value); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder setExtensions( int index, cel.dev.expr.conformance.Extension.Builder builderForValue) { if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); extensions_.set(index, builderForValue.build()); onChanged(); } else { extensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder addExtensions(cel.dev.expr.conformance.Extension value) { if (extensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExtensionsIsMutable(); extensions_.add(value); onChanged(); } else { extensionsBuilder_.addMessage(value); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder addExtensions( int index, cel.dev.expr.conformance.Extension value) { if (extensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExtensionsIsMutable(); extensions_.add(index, value); onChanged(); } else { extensionsBuilder_.addMessage(index, value); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder addExtensions( cel.dev.expr.conformance.Extension.Builder builderForValue) { if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); extensions_.add(builderForValue.build()); onChanged(); } else { extensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder addExtensions( int index, cel.dev.expr.conformance.Extension.Builder builderForValue) { if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); extensions_.add(index, builderForValue.build()); onChanged(); } else { extensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder addAllExtensions( java.lang.Iterable values) { if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, extensions_); onChanged(); } else { extensionsBuilder_.addAllMessages(values); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder clearExtensions() { if (extensionsBuilder_ == null) { extensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { extensionsBuilder_.clear(); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public Builder removeExtensions(int index) { if (extensionsBuilder_ == null) { ensureExtensionsIsMutable(); extensions_.remove(index); onChanged(); } else { extensionsBuilder_.remove(index); } return this; } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public cel.dev.expr.conformance.Extension.Builder getExtensionsBuilder( int index) { return getExtensionsFieldBuilder().getBuilder(index); } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public cel.dev.expr.conformance.ExtensionOrBuilder getExtensionsOrBuilder( int index) { if (extensionsBuilder_ == null) { return extensions_.get(index); } else { return extensionsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public java.util.List getExtensionsOrBuilderList() { if (extensionsBuilder_ != null) { return extensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(extensions_); } } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public cel.dev.expr.conformance.Extension.Builder addExtensionsBuilder() { return getExtensionsFieldBuilder().addBuilder( cel.dev.expr.conformance.Extension.getDefaultInstance()); } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public cel.dev.expr.conformance.Extension.Builder addExtensionsBuilder( int index) { return getExtensionsFieldBuilder().addBuilder( index, cel.dev.expr.conformance.Extension.getDefaultInstance()); } /** *
     * List of extensions to enable in the CEL environment.
     * 
* * repeated .cel.expr.conformance.Extension extensions = 6; */ public java.util.List getExtensionsBuilderList() { return getExtensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Extension, cel.dev.expr.conformance.Extension.Builder, cel.dev.expr.conformance.ExtensionOrBuilder> getExtensionsFieldBuilder() { if (extensionsBuilder_ == null) { extensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Extension, cel.dev.expr.conformance.Extension.Builder, cel.dev.expr.conformance.ExtensionOrBuilder>( extensions_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); extensions_ = null; } return extensionsBuilder_; } private cel.dev.expr.conformance.Environment.ContextVariable contextVariable_; private com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.Environment.ContextVariable, cel.dev.expr.conformance.Environment.ContextVariable.Builder, cel.dev.expr.conformance.Environment.ContextVariableOrBuilder> contextVariableBuilder_; /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; * @return Whether the contextVariable field is set. */ public boolean hasContextVariable() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; * @return The contextVariable. */ public cel.dev.expr.conformance.Environment.ContextVariable getContextVariable() { if (contextVariableBuilder_ == null) { return contextVariable_ == null ? cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance() : contextVariable_; } else { return contextVariableBuilder_.getMessage(); } } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public Builder setContextVariable(cel.dev.expr.conformance.Environment.ContextVariable value) { if (contextVariableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contextVariable_ = value; } else { contextVariableBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public Builder setContextVariable( cel.dev.expr.conformance.Environment.ContextVariable.Builder builderForValue) { if (contextVariableBuilder_ == null) { contextVariable_ = builderForValue.build(); } else { contextVariableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public Builder mergeContextVariable(cel.dev.expr.conformance.Environment.ContextVariable value) { if (contextVariableBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && contextVariable_ != null && contextVariable_ != cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance()) { getContextVariableBuilder().mergeFrom(value); } else { contextVariable_ = value; } } else { contextVariableBuilder_.mergeFrom(value); } if (contextVariable_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public Builder clearContextVariable() { bitField0_ = (bitField0_ & ~0x00000040); contextVariable_ = null; if (contextVariableBuilder_ != null) { contextVariableBuilder_.dispose(); contextVariableBuilder_ = null; } onChanged(); return this; } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public cel.dev.expr.conformance.Environment.ContextVariable.Builder getContextVariableBuilder() { bitField0_ |= 0x00000040; onChanged(); return getContextVariableFieldBuilder().getBuilder(); } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ public cel.dev.expr.conformance.Environment.ContextVariableOrBuilder getContextVariableOrBuilder() { if (contextVariableBuilder_ != null) { return contextVariableBuilder_.getMessageOrBuilder(); } else { return contextVariable_ == null ? cel.dev.expr.conformance.Environment.ContextVariable.getDefaultInstance() : contextVariable_; } } /** *
     * If set, adds a context declaration from a proto message.
     *
     * Context messages have all of their top-level fields available as variables
     * in the type checker.
     * 
* * .cel.expr.conformance.Environment.ContextVariable context_variable = 7; */ private com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.Environment.ContextVariable, cel.dev.expr.conformance.Environment.ContextVariable.Builder, cel.dev.expr.conformance.Environment.ContextVariableOrBuilder> getContextVariableFieldBuilder() { if (contextVariableBuilder_ == null) { contextVariableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cel.dev.expr.conformance.Environment.ContextVariable, cel.dev.expr.conformance.Environment.ContextVariable.Builder, cel.dev.expr.conformance.Environment.ContextVariableOrBuilder>( getContextVariable(), getParentForChildren(), isClean()); contextVariable_ = null; } return contextVariableBuilder_; } private java.util.List declarations_ = java.util.Collections.emptyList(); private void ensureDeclarationsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { declarations_ = new java.util.ArrayList(declarations_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< dev.cel.expr.Decl, dev.cel.expr.Decl.Builder, dev.cel.expr.DeclOrBuilder> declarationsBuilder_; /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public java.util.List getDeclarationsList() { if (declarationsBuilder_ == null) { return java.util.Collections.unmodifiableList(declarations_); } else { return declarationsBuilder_.getMessageList(); } } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public int getDeclarationsCount() { if (declarationsBuilder_ == null) { return declarations_.size(); } else { return declarationsBuilder_.getCount(); } } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public dev.cel.expr.Decl getDeclarations(int index) { if (declarationsBuilder_ == null) { return declarations_.get(index); } else { return declarationsBuilder_.getMessage(index); } } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder setDeclarations( int index, dev.cel.expr.Decl value) { if (declarationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDeclarationsIsMutable(); declarations_.set(index, value); onChanged(); } else { declarationsBuilder_.setMessage(index, value); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder setDeclarations( int index, dev.cel.expr.Decl.Builder builderForValue) { if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); declarations_.set(index, builderForValue.build()); onChanged(); } else { declarationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder addDeclarations(dev.cel.expr.Decl value) { if (declarationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDeclarationsIsMutable(); declarations_.add(value); onChanged(); } else { declarationsBuilder_.addMessage(value); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder addDeclarations( int index, dev.cel.expr.Decl value) { if (declarationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDeclarationsIsMutable(); declarations_.add(index, value); onChanged(); } else { declarationsBuilder_.addMessage(index, value); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder addDeclarations( dev.cel.expr.Decl.Builder builderForValue) { if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); declarations_.add(builderForValue.build()); onChanged(); } else { declarationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder addDeclarations( int index, dev.cel.expr.Decl.Builder builderForValue) { if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); declarations_.add(index, builderForValue.build()); onChanged(); } else { declarationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder addAllDeclarations( java.lang.Iterable values) { if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, declarations_); onChanged(); } else { declarationsBuilder_.addAllMessages(values); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder clearDeclarations() { if (declarationsBuilder_ == null) { declarations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { declarationsBuilder_.clear(); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public Builder removeDeclarations(int index) { if (declarationsBuilder_ == null) { ensureDeclarationsIsMutable(); declarations_.remove(index); onChanged(); } else { declarationsBuilder_.remove(index); } return this; } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public dev.cel.expr.Decl.Builder getDeclarationsBuilder( int index) { return getDeclarationsFieldBuilder().getBuilder(index); } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public dev.cel.expr.DeclOrBuilder getDeclarationsOrBuilder( int index) { if (declarationsBuilder_ == null) { return declarations_.get(index); } else { return declarationsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public java.util.List getDeclarationsOrBuilderList() { if (declarationsBuilder_ != null) { return declarationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(declarations_); } } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public dev.cel.expr.Decl.Builder addDeclarationsBuilder() { return getDeclarationsFieldBuilder().addBuilder( dev.cel.expr.Decl.getDefaultInstance()); } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public dev.cel.expr.Decl.Builder addDeclarationsBuilder( int index) { return getDeclarationsFieldBuilder().addBuilder( index, dev.cel.expr.Decl.getDefaultInstance()); } /** *
     * List of declarations to be configured in the CEL environment.
     *
     * Note: The CEL environment can be configured with either the
     * context_variable or a set of ident_decls provided as part of declarations.
     * Providing both will result in an error.
     * 
* * repeated .cel.expr.Decl declarations = 8; */ public java.util.List getDeclarationsBuilderList() { return getDeclarationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< dev.cel.expr.Decl, dev.cel.expr.Decl.Builder, dev.cel.expr.DeclOrBuilder> getDeclarationsFieldBuilder() { if (declarationsBuilder_ == null) { declarationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< dev.cel.expr.Decl, dev.cel.expr.Decl.Builder, dev.cel.expr.DeclOrBuilder>( declarations_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); declarations_ = null; } return declarationsBuilder_; } private java.util.List validators_ = java.util.Collections.emptyList(); private void ensureValidatorsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { validators_ = new java.util.ArrayList(validators_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Validator, cel.dev.expr.conformance.Validator.Builder, cel.dev.expr.conformance.ValidatorOrBuilder> validatorsBuilder_; /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public java.util.List getValidatorsList() { if (validatorsBuilder_ == null) { return java.util.Collections.unmodifiableList(validators_); } else { return validatorsBuilder_.getMessageList(); } } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public int getValidatorsCount() { if (validatorsBuilder_ == null) { return validators_.size(); } else { return validatorsBuilder_.getCount(); } } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public cel.dev.expr.conformance.Validator getValidators(int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessage(index); } } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder setValidators( int index, cel.dev.expr.conformance.Validator value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.set(index, value); onChanged(); } else { validatorsBuilder_.setMessage(index, value); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder setValidators( int index, cel.dev.expr.conformance.Validator.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.set(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder addValidators(cel.dev.expr.conformance.Validator value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(value); onChanged(); } else { validatorsBuilder_.addMessage(value); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder addValidators( int index, cel.dev.expr.conformance.Validator value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(index, value); onChanged(); } else { validatorsBuilder_.addMessage(index, value); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder addValidators( cel.dev.expr.conformance.Validator.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder addValidators( int index, cel.dev.expr.conformance.Validator.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder addAllValidators( java.lang.Iterable values) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validators_); onChanged(); } else { validatorsBuilder_.addAllMessages(values); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder clearValidators() { if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { validatorsBuilder_.clear(); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public Builder removeValidators(int index) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.remove(index); onChanged(); } else { validatorsBuilder_.remove(index); } return this; } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public cel.dev.expr.conformance.Validator.Builder getValidatorsBuilder( int index) { return getValidatorsFieldBuilder().getBuilder(index); } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public cel.dev.expr.conformance.ValidatorOrBuilder getValidatorsOrBuilder( int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public java.util.List getValidatorsOrBuilderList() { if (validatorsBuilder_ != null) { return validatorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validators_); } } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public cel.dev.expr.conformance.Validator.Builder addValidatorsBuilder() { return getValidatorsFieldBuilder().addBuilder( cel.dev.expr.conformance.Validator.getDefaultInstance()); } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public cel.dev.expr.conformance.Validator.Builder addValidatorsBuilder( int index) { return getValidatorsFieldBuilder().addBuilder( index, cel.dev.expr.conformance.Validator.getDefaultInstance()); } /** *
     * List of validators for validating the parsed ast.
     * 
* * repeated .cel.expr.conformance.Validator validators = 9; */ public java.util.List getValidatorsBuilderList() { return getValidatorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Validator, cel.dev.expr.conformance.Validator.Builder, cel.dev.expr.conformance.ValidatorOrBuilder> getValidatorsFieldBuilder() { if (validatorsBuilder_ == null) { validatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Validator, cel.dev.expr.conformance.Validator.Builder, cel.dev.expr.conformance.ValidatorOrBuilder>( validators_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); validators_ = null; } return validatorsBuilder_; } private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Feature, cel.dev.expr.conformance.Feature.Builder, cel.dev.expr.conformance.FeatureOrBuilder> featuresBuilder_; /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public java.util.List getFeaturesList() { if (featuresBuilder_ == null) { return java.util.Collections.unmodifiableList(features_); } else { return featuresBuilder_.getMessageList(); } } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public int getFeaturesCount() { if (featuresBuilder_ == null) { return features_.size(); } else { return featuresBuilder_.getCount(); } } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public cel.dev.expr.conformance.Feature getFeatures(int index) { if (featuresBuilder_ == null) { return features_.get(index); } else { return featuresBuilder_.getMessage(index); } } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder setFeatures( int index, cel.dev.expr.conformance.Feature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); } else { featuresBuilder_.setMessage(index, value); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder setFeatures( int index, cel.dev.expr.conformance.Feature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.set(index, builderForValue.build()); onChanged(); } else { featuresBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder addFeatures(cel.dev.expr.conformance.Feature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(value); onChanged(); } else { featuresBuilder_.addMessage(value); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder addFeatures( int index, cel.dev.expr.conformance.Feature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(index, value); onChanged(); } else { featuresBuilder_.addMessage(index, value); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder addFeatures( cel.dev.expr.conformance.Feature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.add(builderForValue.build()); onChanged(); } else { featuresBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder addFeatures( int index, cel.dev.expr.conformance.Feature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.add(index, builderForValue.build()); onChanged(); } else { featuresBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder addAllFeatures( java.lang.Iterable values) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); } else { featuresBuilder_.addAllMessages(values); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder clearFeatures() { if (featuresBuilder_ == null) { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { featuresBuilder_.clear(); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public Builder removeFeatures(int index) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.remove(index); onChanged(); } else { featuresBuilder_.remove(index); } return this; } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public cel.dev.expr.conformance.Feature.Builder getFeaturesBuilder( int index) { return getFeaturesFieldBuilder().getBuilder(index); } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public cel.dev.expr.conformance.FeatureOrBuilder getFeaturesOrBuilder( int index) { if (featuresBuilder_ == null) { return features_.get(index); } else { return featuresBuilder_.getMessageOrBuilder(index); } } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public java.util.List getFeaturesOrBuilderList() { if (featuresBuilder_ != null) { return featuresBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(features_); } } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public cel.dev.expr.conformance.Feature.Builder addFeaturesBuilder() { return getFeaturesFieldBuilder().addBuilder( cel.dev.expr.conformance.Feature.getDefaultInstance()); } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public cel.dev.expr.conformance.Feature.Builder addFeaturesBuilder( int index) { return getFeaturesFieldBuilder().addBuilder( index, cel.dev.expr.conformance.Feature.getDefaultInstance()); } /** *
     * List of feature flags to be enabled or disabled.
     * 
* * repeated .cel.expr.conformance.Feature features = 10; */ public java.util.List getFeaturesBuilderList() { return getFeaturesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Feature, cel.dev.expr.conformance.Feature.Builder, cel.dev.expr.conformance.FeatureOrBuilder> getFeaturesFieldBuilder() { if (featuresBuilder_ == null) { featuresBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cel.dev.expr.conformance.Feature, cel.dev.expr.conformance.Feature.Builder, cel.dev.expr.conformance.FeatureOrBuilder>( features_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); features_ = null; } return featuresBuilder_; } private boolean disableStandardCelDeclarations_ ; /** *
     * Disables including the declarations from the standard CEL environment.
     *
     * NOTE: Do not disable the standard CEL declarations unless you are aware of
     * the implications and have discussed your use case on cel-discuss@
     * or with the members of the cel-governance-team@
     *
     * Deprecated: Use LibrarySubset to disable standard cel declarations instead:
     *   stdlib = LibrarySubset{ disable: true }
     * 
* * bool disable_standard_cel_declarations = 11; * @return The disableStandardCelDeclarations. */ @java.lang.Override public boolean getDisableStandardCelDeclarations() { return disableStandardCelDeclarations_; } /** *
     * Disables including the declarations from the standard CEL environment.
     *
     * NOTE: Do not disable the standard CEL declarations unless you are aware of
     * the implications and have discussed your use case on cel-discuss@
     * or with the members of the cel-governance-team@
     *
     * Deprecated: Use LibrarySubset to disable standard cel declarations instead:
     *   stdlib = LibrarySubset{ disable: true }
     * 
* * bool disable_standard_cel_declarations = 11; * @param value The disableStandardCelDeclarations to set. * @return This builder for chaining. */ public Builder setDisableStandardCelDeclarations(boolean value) { disableStandardCelDeclarations_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Disables including the declarations from the standard CEL environment.
     *
     * NOTE: Do not disable the standard CEL declarations unless you are aware of
     * the implications and have discussed your use case on cel-discuss@
     * or with the members of the cel-governance-team@
     *
     * Deprecated: Use LibrarySubset to disable standard cel declarations instead:
     *   stdlib = LibrarySubset{ disable: true }
     * 
* * bool disable_standard_cel_declarations = 11; * @return This builder for chaining. */ public Builder clearDisableStandardCelDeclarations() { bitField0_ = (bitField0_ & ~0x00000400); disableStandardCelDeclarations_ = false; onChanged(); return this; } private com.google.protobuf.DescriptorProtos.FileDescriptorSet messageTypeExtension_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DescriptorProtos.FileDescriptorSet, com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder> messageTypeExtensionBuilder_; /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; * @return Whether the messageTypeExtension field is set. */ public boolean hasMessageTypeExtension() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; * @return The messageTypeExtension. */ public com.google.protobuf.DescriptorProtos.FileDescriptorSet getMessageTypeExtension() { if (messageTypeExtensionBuilder_ == null) { return messageTypeExtension_ == null ? com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance() : messageTypeExtension_; } else { return messageTypeExtensionBuilder_.getMessage(); } } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public Builder setMessageTypeExtension(com.google.protobuf.DescriptorProtos.FileDescriptorSet value) { if (messageTypeExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } messageTypeExtension_ = value; } else { messageTypeExtensionBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public Builder setMessageTypeExtension( com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder builderForValue) { if (messageTypeExtensionBuilder_ == null) { messageTypeExtension_ = builderForValue.build(); } else { messageTypeExtensionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public Builder mergeMessageTypeExtension(com.google.protobuf.DescriptorProtos.FileDescriptorSet value) { if (messageTypeExtensionBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && messageTypeExtension_ != null && messageTypeExtension_ != com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance()) { getMessageTypeExtensionBuilder().mergeFrom(value); } else { messageTypeExtension_ = value; } } else { messageTypeExtensionBuilder_.mergeFrom(value); } if (messageTypeExtension_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public Builder clearMessageTypeExtension() { bitField0_ = (bitField0_ & ~0x00000800); messageTypeExtension_ = null; if (messageTypeExtensionBuilder_ != null) { messageTypeExtensionBuilder_.dispose(); messageTypeExtensionBuilder_ = null; } onChanged(); return this; } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder getMessageTypeExtensionBuilder() { bitField0_ |= 0x00000800; onChanged(); return getMessageTypeExtensionFieldBuilder().getBuilder(); } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ public com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getMessageTypeExtensionOrBuilder() { if (messageTypeExtensionBuilder_ != null) { return messageTypeExtensionBuilder_.getMessageOrBuilder(); } else { return messageTypeExtension_ == null ? com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance() : messageTypeExtension_; } } /** *
     * If provided, uses the provided FileDescriptorSet to extend types available
     * the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
     * are known to the CEL compiler, but all others must be provided for type
     * checking.
     * 
* * .google.protobuf.FileDescriptorSet message_type_extension = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DescriptorProtos.FileDescriptorSet, com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder> getMessageTypeExtensionFieldBuilder() { if (messageTypeExtensionBuilder_ == null) { messageTypeExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DescriptorProtos.FileDescriptorSet, com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder>( getMessageTypeExtension(), getParentForChildren(), isClean()); messageTypeExtension_ = null; } return messageTypeExtensionBuilder_; } private boolean enableMacroCallTracking_ ; /** *
     * When macro call tracking is enabled, the resulting SourceInfo in the
     * CheckedExpr will contain a collection of expressions representing the
     * function calls which were replaced by macros.
     *
     * Deprecated: Use Feature to enable macro call tracking
     *  Feature{ name: "cel.feature.macro_call_tracking", enabled: true }
     * 
* * bool enable_macro_call_tracking = 13; * @return The enableMacroCallTracking. */ @java.lang.Override public boolean getEnableMacroCallTracking() { return enableMacroCallTracking_; } /** *
     * When macro call tracking is enabled, the resulting SourceInfo in the
     * CheckedExpr will contain a collection of expressions representing the
     * function calls which were replaced by macros.
     *
     * Deprecated: Use Feature to enable macro call tracking
     *  Feature{ name: "cel.feature.macro_call_tracking", enabled: true }
     * 
* * bool enable_macro_call_tracking = 13; * @param value The enableMacroCallTracking to set. * @return This builder for chaining. */ public Builder setEnableMacroCallTracking(boolean value) { enableMacroCallTracking_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * When macro call tracking is enabled, the resulting SourceInfo in the
     * CheckedExpr will contain a collection of expressions representing the
     * function calls which were replaced by macros.
     *
     * Deprecated: Use Feature to enable macro call tracking
     *  Feature{ name: "cel.feature.macro_call_tracking", enabled: true }
     * 
* * bool enable_macro_call_tracking = 13; * @return This builder for chaining. */ public Builder clearEnableMacroCallTracking() { bitField0_ = (bitField0_ & ~0x00001000); enableMacroCallTracking_ = false; onChanged(); return this; } @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:cel.expr.conformance.Environment) } // @@protoc_insertion_point(class_scope:cel.expr.conformance.Environment) private static final cel.dev.expr.conformance.Environment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cel.dev.expr.conformance.Environment(); } public static cel.dev.expr.conformance.Environment getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Environment 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 cel.dev.expr.conformance.Environment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy