Class Bindings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
dev.cel.expr.conformance.test.Bindings.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BindingsOrBuilder, Cloneable
Enclosing class:
Bindings

public static final class Bindings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder> implements BindingsOrBuilder
 The bindings of input variables for the test case.
 
Protobuf type cel.expr.conformance.test.Bindings
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • clear

      public Bindings.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • getDefaultInstanceForType

      public Bindings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Bindings build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Bindings buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Bindings.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • setField

      public Bindings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • clearField

      public Bindings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • clearOneof

      public Bindings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • setRepeatedField

      public Bindings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • addRepeatedField

      public Bindings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • mergeFrom

      public Bindings.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bindings.Builder>
    • mergeFrom

      public Bindings.Builder mergeFrom(Bindings other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • mergeFrom

      public Bindings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bindings.Builder>
      Throws:
      IOException
    • getValuesCount

      public int getValuesCount()
      Description copied from interface: BindingsOrBuilder
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
      Specified by:
      getValuesCount in interface BindingsOrBuilder
    • containsValues

      public boolean containsValues(String key)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
      Specified by:
      containsValues in interface BindingsOrBuilder
    • getValues

      @Deprecated public Map<String,InputValue> getValues()
      Deprecated.
      Use getValuesMap() instead.
      Specified by:
      getValues in interface BindingsOrBuilder
    • getValuesMap

      public Map<String,InputValue> getValuesMap()
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
      Specified by:
      getValuesMap in interface BindingsOrBuilder
    • getValuesOrDefault

      public InputValue getValuesOrDefault(String key, InputValue defaultValue)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
      Specified by:
      getValuesOrDefault in interface BindingsOrBuilder
    • getValuesOrThrow

      public InputValue getValuesOrThrow(String key)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
      Specified by:
      getValuesOrThrow in interface BindingsOrBuilder
    • clearValues

      public Bindings.Builder clearValues()
    • removeValues

      public Bindings.Builder removeValues(String key)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
    • getMutableValues

      @Deprecated public Map<String,InputValue> getMutableValues()
      Deprecated.
      Use alternate mutation accessors instead.
    • putValues

      public Bindings.Builder putValues(String key, InputValue value)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
    • putAllValues

      public Bindings.Builder putAllValues(Map<String,InputValue> values)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
    • putValuesBuilderIfAbsent

      public InputValue.Builder putValuesBuilderIfAbsent(String key)
       A map representing a variable binding where the key is the name of the
       input variable.
       
      map<string, .cel.expr.conformance.test.InputValue> values = 1;
    • setUnknownFields

      public final Bindings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>
    • mergeUnknownFields

      public final Bindings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Bindings.Builder>