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

dev.cel.expr.Explain Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: cel/expr/explain.proto
// Protobuf Java Version: 4.28.2

package dev.cel.expr;

/**
 * 
 * Values of intermediate expressions produced when evaluating expression.
 * 
* * Protobuf type {@code cel.expr.Explain} */ @java.lang.Deprecated public final class Explain extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:cel.expr.Explain) ExplainOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 2, /* suffix= */ "", Explain.class.getName()); } // Use Explain.newBuilder() to construct. private Explain(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Explain() { values_ = java.util.Collections.emptyList(); exprSteps_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_fieldAccessorTable .ensureFieldAccessorsInitialized( dev.cel.expr.Explain.class, dev.cel.expr.Explain.Builder.class); } public interface ExprStepOrBuilder extends // @@protoc_insertion_point(interface_extends:cel.expr.Explain.ExprStep) com.google.protobuf.MessageOrBuilder { /** *
     * ID of corresponding Expr node.
     * 
* * int64 id = 1; * @return The id. */ long getId(); /** *
     * Index of the value in the values list.
     * 
* * int32 value_index = 2; * @return The valueIndex. */ int getValueIndex(); } /** *
   * ID and value index of one step.
   * 
* * Protobuf type {@code cel.expr.Explain.ExprStep} */ public static final class ExprStep extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:cel.expr.Explain.ExprStep) ExprStepOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 2, /* suffix= */ "", ExprStep.class.getName()); } // Use ExprStep.newBuilder() to construct. private ExprStep(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ExprStep() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_ExprStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_ExprStep_fieldAccessorTable .ensureFieldAccessorsInitialized( dev.cel.expr.Explain.ExprStep.class, dev.cel.expr.Explain.ExprStep.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private long id_ = 0L; /** *
     * ID of corresponding Expr node.
     * 
* * int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int VALUE_INDEX_FIELD_NUMBER = 2; private int valueIndex_ = 0; /** *
     * Index of the value in the values list.
     * 
* * int32 value_index = 2; * @return The valueIndex. */ @java.lang.Override public int getValueIndex() { return valueIndex_; } 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 (id_ != 0L) { output.writeInt64(1, id_); } if (valueIndex_ != 0) { output.writeInt32(2, valueIndex_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, id_); } if (valueIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, valueIndex_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof dev.cel.expr.Explain.ExprStep)) { return super.equals(obj); } dev.cel.expr.Explain.ExprStep other = (dev.cel.expr.Explain.ExprStep) obj; if (getId() != other.getId()) return false; if (getValueIndex() != other.getValueIndex()) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); hash = (37 * hash) + VALUE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getValueIndex(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static dev.cel.expr.Explain.ExprStep parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain.ExprStep parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain.ExprStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain.ExprStep parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain.ExprStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain.ExprStep parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain.ExprStep parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static dev.cel.expr.Explain.ExprStep parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static dev.cel.expr.Explain.ExprStep parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static dev.cel.expr.Explain.ExprStep parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static dev.cel.expr.Explain.ExprStep parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static dev.cel.expr.Explain.ExprStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(dev.cel.expr.Explain.ExprStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * ID and value index of one step.
     * 
* * Protobuf type {@code cel.expr.Explain.ExprStep} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:cel.expr.Explain.ExprStep) dev.cel.expr.Explain.ExprStepOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_ExprStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_ExprStep_fieldAccessorTable .ensureFieldAccessorsInitialized( dev.cel.expr.Explain.ExprStep.class, dev.cel.expr.Explain.ExprStep.Builder.class); } // Construct using dev.cel.expr.Explain.ExprStep.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; id_ = 0L; valueIndex_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_ExprStep_descriptor; } @java.lang.Override public dev.cel.expr.Explain.ExprStep getDefaultInstanceForType() { return dev.cel.expr.Explain.ExprStep.getDefaultInstance(); } @java.lang.Override public dev.cel.expr.Explain.ExprStep build() { dev.cel.expr.Explain.ExprStep result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public dev.cel.expr.Explain.ExprStep buildPartial() { dev.cel.expr.Explain.ExprStep result = new dev.cel.expr.Explain.ExprStep(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(dev.cel.expr.Explain.ExprStep result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.valueIndex_ = valueIndex_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof dev.cel.expr.Explain.ExprStep) { return mergeFrom((dev.cel.expr.Explain.ExprStep)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(dev.cel.expr.Explain.ExprStep other) { if (other == dev.cel.expr.Explain.ExprStep.getDefaultInstance()) return this; if (other.getId() != 0L) { setId(other.getId()); } if (other.getValueIndex() != 0) { setValueIndex(other.getValueIndex()); } 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 8: { id_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { valueIndex_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 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 long id_ ; /** *
       * ID of corresponding Expr node.
       * 
* * int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** *
       * ID of corresponding Expr node.
       * 
* * int64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * ID of corresponding Expr node.
       * 
* * int64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private int valueIndex_ ; /** *
       * Index of the value in the values list.
       * 
* * int32 value_index = 2; * @return The valueIndex. */ @java.lang.Override public int getValueIndex() { return valueIndex_; } /** *
       * Index of the value in the values list.
       * 
* * int32 value_index = 2; * @param value The valueIndex to set. * @return This builder for chaining. */ public Builder setValueIndex(int value) { valueIndex_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Index of the value in the values list.
       * 
* * int32 value_index = 2; * @return This builder for chaining. */ public Builder clearValueIndex() { bitField0_ = (bitField0_ & ~0x00000002); valueIndex_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:cel.expr.Explain.ExprStep) } // @@protoc_insertion_point(class_scope:cel.expr.Explain.ExprStep) private static final dev.cel.expr.Explain.ExprStep DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new dev.cel.expr.Explain.ExprStep(); } public static dev.cel.expr.Explain.ExprStep getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExprStep parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public dev.cel.expr.Explain.ExprStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int VALUES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List values_; /** *
   * All of the observed values.
   *
   * The field value_index is an index in the values list.
   * Separating values from steps is needed to remove redundant values.
   * 
* * repeated .cel.expr.Value values = 1; */ @java.lang.Override public java.util.List getValuesList() { return values_; } /** *
   * All of the observed values.
   *
   * The field value_index is an index in the values list.
   * Separating values from steps is needed to remove redundant values.
   * 
* * repeated .cel.expr.Value values = 1; */ @java.lang.Override public java.util.List getValuesOrBuilderList() { return values_; } /** *
   * All of the observed values.
   *
   * The field value_index is an index in the values list.
   * Separating values from steps is needed to remove redundant values.
   * 
* * repeated .cel.expr.Value values = 1; */ @java.lang.Override public int getValuesCount() { return values_.size(); } /** *
   * All of the observed values.
   *
   * The field value_index is an index in the values list.
   * Separating values from steps is needed to remove redundant values.
   * 
* * repeated .cel.expr.Value values = 1; */ @java.lang.Override public dev.cel.expr.Value getValues(int index) { return values_.get(index); } /** *
   * All of the observed values.
   *
   * The field value_index is an index in the values list.
   * Separating values from steps is needed to remove redundant values.
   * 
* * repeated .cel.expr.Value values = 1; */ @java.lang.Override public dev.cel.expr.ValueOrBuilder getValuesOrBuilder( int index) { return values_.get(index); } public static final int EXPR_STEPS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List exprSteps_; /** *
   * List of steps.
   *
   * Repeated evaluations of the same expression generate new ExprStep
   * instances. The order of such ExprStep instances matches the order of
   * elements returned by Comprehension.iter_range.
   * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ @java.lang.Override public java.util.List getExprStepsList() { return exprSteps_; } /** *
   * List of steps.
   *
   * Repeated evaluations of the same expression generate new ExprStep
   * instances. The order of such ExprStep instances matches the order of
   * elements returned by Comprehension.iter_range.
   * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ @java.lang.Override public java.util.List getExprStepsOrBuilderList() { return exprSteps_; } /** *
   * List of steps.
   *
   * Repeated evaluations of the same expression generate new ExprStep
   * instances. The order of such ExprStep instances matches the order of
   * elements returned by Comprehension.iter_range.
   * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ @java.lang.Override public int getExprStepsCount() { return exprSteps_.size(); } /** *
   * List of steps.
   *
   * Repeated evaluations of the same expression generate new ExprStep
   * instances. The order of such ExprStep instances matches the order of
   * elements returned by Comprehension.iter_range.
   * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ @java.lang.Override public dev.cel.expr.Explain.ExprStep getExprSteps(int index) { return exprSteps_.get(index); } /** *
   * List of steps.
   *
   * Repeated evaluations of the same expression generate new ExprStep
   * instances. The order of such ExprStep instances matches the order of
   * elements returned by Comprehension.iter_range.
   * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ @java.lang.Override public dev.cel.expr.Explain.ExprStepOrBuilder getExprStepsOrBuilder( int index) { return exprSteps_.get(index); } 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 { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } for (int i = 0; i < exprSteps_.size(); i++) { output.writeMessage(2, exprSteps_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < values_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, values_.get(i)); } for (int i = 0; i < exprSteps_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, exprSteps_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof dev.cel.expr.Explain)) { return super.equals(obj); } dev.cel.expr.Explain other = (dev.cel.expr.Explain) obj; if (!getValuesList() .equals(other.getValuesList())) return false; if (!getExprStepsList() .equals(other.getExprStepsList())) 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(); if (getValuesCount() > 0) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValuesList().hashCode(); } if (getExprStepsCount() > 0) { hash = (37 * hash) + EXPR_STEPS_FIELD_NUMBER; hash = (53 * hash) + getExprStepsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static dev.cel.expr.Explain parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static dev.cel.expr.Explain parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static dev.cel.expr.Explain parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static dev.cel.expr.Explain parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static dev.cel.expr.Explain parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static dev.cel.expr.Explain parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static dev.cel.expr.Explain parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static dev.cel.expr.Explain parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(dev.cel.expr.Explain prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Values of intermediate expressions produced when evaluating expression.
   * 
* * Protobuf type {@code cel.expr.Explain} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:cel.expr.Explain) dev.cel.expr.ExplainOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_fieldAccessorTable .ensureFieldAccessorsInitialized( dev.cel.expr.Explain.class, dev.cel.expr.Explain.Builder.class); } // Construct using dev.cel.expr.Explain.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); } else { values_ = null; valuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (exprStepsBuilder_ == null) { exprSteps_ = java.util.Collections.emptyList(); } else { exprSteps_ = null; exprStepsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return dev.cel.expr.ExplainProto.internal_static_cel_expr_Explain_descriptor; } @java.lang.Override public dev.cel.expr.Explain getDefaultInstanceForType() { return dev.cel.expr.Explain.getDefaultInstance(); } @java.lang.Override public dev.cel.expr.Explain build() { dev.cel.expr.Explain result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public dev.cel.expr.Explain buildPartial() { dev.cel.expr.Explain result = new dev.cel.expr.Explain(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(dev.cel.expr.Explain result) { if (valuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); bitField0_ = (bitField0_ & ~0x00000001); } result.values_ = values_; } else { result.values_ = valuesBuilder_.build(); } if (exprStepsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { exprSteps_ = java.util.Collections.unmodifiableList(exprSteps_); bitField0_ = (bitField0_ & ~0x00000002); } result.exprSteps_ = exprSteps_; } else { result.exprSteps_ = exprStepsBuilder_.build(); } } private void buildPartial0(dev.cel.expr.Explain result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof dev.cel.expr.Explain) { return mergeFrom((dev.cel.expr.Explain)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(dev.cel.expr.Explain other) { if (other == dev.cel.expr.Explain.getDefaultInstance()) return this; if (valuesBuilder_ == null) { if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValuesIsMutable(); values_.addAll(other.values_); } onChanged(); } } else { if (!other.values_.isEmpty()) { if (valuesBuilder_.isEmpty()) { valuesBuilder_.dispose(); valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); valuesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } } } if (exprStepsBuilder_ == null) { if (!other.exprSteps_.isEmpty()) { if (exprSteps_.isEmpty()) { exprSteps_ = other.exprSteps_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureExprStepsIsMutable(); exprSteps_.addAll(other.exprSteps_); } onChanged(); } } else { if (!other.exprSteps_.isEmpty()) { if (exprStepsBuilder_.isEmpty()) { exprStepsBuilder_.dispose(); exprStepsBuilder_ = null; exprSteps_ = other.exprSteps_; bitField0_ = (bitField0_ & ~0x00000002); exprStepsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getExprStepsFieldBuilder() : null; } else { exprStepsBuilder_.addAllMessages(other.exprSteps_); } } } 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: { dev.cel.expr.Value m = input.readMessage( dev.cel.expr.Value.parser(), extensionRegistry); if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(m); } else { valuesBuilder_.addMessage(m); } break; } // case 10 case 18: { dev.cel.expr.Explain.ExprStep m = input.readMessage( dev.cel.expr.Explain.ExprStep.parser(), extensionRegistry); if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); exprSteps_.add(m); } else { exprStepsBuilder_.addMessage(m); } break; } // case 18 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.util.List values_ = java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder> valuesBuilder_; /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public java.util.List getValuesList() { if (valuesBuilder_ == null) { return java.util.Collections.unmodifiableList(values_); } else { return valuesBuilder_.getMessageList(); } } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public int getValuesCount() { if (valuesBuilder_ == null) { return values_.size(); } else { return valuesBuilder_.getCount(); } } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public dev.cel.expr.Value getValues(int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessage(index); } } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder setValues( int index, dev.cel.expr.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); } else { valuesBuilder_.setMessage(index, value); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder setValues( int index, dev.cel.expr.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder addValues(dev.cel.expr.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); } else { valuesBuilder_.addMessage(value); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder addValues( int index, dev.cel.expr.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(index, value); onChanged(); } else { valuesBuilder_.addMessage(index, value); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder addValues( dev.cel.expr.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder addValues( int index, dev.cel.expr.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder clearValues() { if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { valuesBuilder_.clear(); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public Builder removeValues(int index) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.remove(index); onChanged(); } else { valuesBuilder_.remove(index); } return this; } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public dev.cel.expr.Value.Builder getValuesBuilder( int index) { return getValuesFieldBuilder().getBuilder(index); } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public dev.cel.expr.ValueOrBuilder getValuesOrBuilder( int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public java.util.List getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(values_); } } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public dev.cel.expr.Value.Builder addValuesBuilder() { return getValuesFieldBuilder().addBuilder( dev.cel.expr.Value.getDefaultInstance()); } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public dev.cel.expr.Value.Builder addValuesBuilder( int index) { return getValuesFieldBuilder().addBuilder( index, dev.cel.expr.Value.getDefaultInstance()); } /** *
     * All of the observed values.
     *
     * The field value_index is an index in the values list.
     * Separating values from steps is needed to remove redundant values.
     * 
* * repeated .cel.expr.Value values = 1; */ public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>( values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } private java.util.List exprSteps_ = java.util.Collections.emptyList(); private void ensureExprStepsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exprSteps_ = new java.util.ArrayList(exprSteps_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Explain.ExprStep, dev.cel.expr.Explain.ExprStep.Builder, dev.cel.expr.Explain.ExprStepOrBuilder> exprStepsBuilder_; /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public java.util.List getExprStepsList() { if (exprStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(exprSteps_); } else { return exprStepsBuilder_.getMessageList(); } } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public int getExprStepsCount() { if (exprStepsBuilder_ == null) { return exprSteps_.size(); } else { return exprStepsBuilder_.getCount(); } } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public dev.cel.expr.Explain.ExprStep getExprSteps(int index) { if (exprStepsBuilder_ == null) { return exprSteps_.get(index); } else { return exprStepsBuilder_.getMessage(index); } } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder setExprSteps( int index, dev.cel.expr.Explain.ExprStep value) { if (exprStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprStepsIsMutable(); exprSteps_.set(index, value); onChanged(); } else { exprStepsBuilder_.setMessage(index, value); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder setExprSteps( int index, dev.cel.expr.Explain.ExprStep.Builder builderForValue) { if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); exprSteps_.set(index, builderForValue.build()); onChanged(); } else { exprStepsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder addExprSteps(dev.cel.expr.Explain.ExprStep value) { if (exprStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprStepsIsMutable(); exprSteps_.add(value); onChanged(); } else { exprStepsBuilder_.addMessage(value); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder addExprSteps( int index, dev.cel.expr.Explain.ExprStep value) { if (exprStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprStepsIsMutable(); exprSteps_.add(index, value); onChanged(); } else { exprStepsBuilder_.addMessage(index, value); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder addExprSteps( dev.cel.expr.Explain.ExprStep.Builder builderForValue) { if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); exprSteps_.add(builderForValue.build()); onChanged(); } else { exprStepsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder addExprSteps( int index, dev.cel.expr.Explain.ExprStep.Builder builderForValue) { if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); exprSteps_.add(index, builderForValue.build()); onChanged(); } else { exprStepsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder addAllExprSteps( java.lang.Iterable values) { if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, exprSteps_); onChanged(); } else { exprStepsBuilder_.addAllMessages(values); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder clearExprSteps() { if (exprStepsBuilder_ == null) { exprSteps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { exprStepsBuilder_.clear(); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public Builder removeExprSteps(int index) { if (exprStepsBuilder_ == null) { ensureExprStepsIsMutable(); exprSteps_.remove(index); onChanged(); } else { exprStepsBuilder_.remove(index); } return this; } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public dev.cel.expr.Explain.ExprStep.Builder getExprStepsBuilder( int index) { return getExprStepsFieldBuilder().getBuilder(index); } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public dev.cel.expr.Explain.ExprStepOrBuilder getExprStepsOrBuilder( int index) { if (exprStepsBuilder_ == null) { return exprSteps_.get(index); } else { return exprStepsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public java.util.List getExprStepsOrBuilderList() { if (exprStepsBuilder_ != null) { return exprStepsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(exprSteps_); } } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public dev.cel.expr.Explain.ExprStep.Builder addExprStepsBuilder() { return getExprStepsFieldBuilder().addBuilder( dev.cel.expr.Explain.ExprStep.getDefaultInstance()); } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public dev.cel.expr.Explain.ExprStep.Builder addExprStepsBuilder( int index) { return getExprStepsFieldBuilder().addBuilder( index, dev.cel.expr.Explain.ExprStep.getDefaultInstance()); } /** *
     * List of steps.
     *
     * Repeated evaluations of the same expression generate new ExprStep
     * instances. The order of such ExprStep instances matches the order of
     * elements returned by Comprehension.iter_range.
     * 
* * repeated .cel.expr.Explain.ExprStep expr_steps = 2; */ public java.util.List getExprStepsBuilderList() { return getExprStepsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Explain.ExprStep, dev.cel.expr.Explain.ExprStep.Builder, dev.cel.expr.Explain.ExprStepOrBuilder> getExprStepsFieldBuilder() { if (exprStepsBuilder_ == null) { exprStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< dev.cel.expr.Explain.ExprStep, dev.cel.expr.Explain.ExprStep.Builder, dev.cel.expr.Explain.ExprStepOrBuilder>( exprSteps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); exprSteps_ = null; } return exprStepsBuilder_; } // @@protoc_insertion_point(builder_scope:cel.expr.Explain) } // @@protoc_insertion_point(class_scope:cel.expr.Explain) private static final dev.cel.expr.Explain DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new dev.cel.expr.Explain(); } public static dev.cel.expr.Explain getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Explain parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public dev.cel.expr.Explain getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy