Package dev.cel.expr

Class Expr.CreateStruct.Entry.Builder

    • Method Detail

      • getDescriptor

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

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

        public Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>
      • getDefaultInstanceForType

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

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

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

        public Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>
      • setField

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

        public Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>
      • clearOneof

        public Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>
      • setRepeatedField

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

        public Expr.CreateStruct.Entry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.CreateStruct.Entry.Builder>
      • isInitialized

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

        public Expr.CreateStruct.Entry.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.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<Expr.CreateStruct.Entry.Builder>
        Throws:
        java.io.IOException
      • getId

        public long getId()
         Required. An id assigned to this node by the parser which is unique
         in a given expression tree. This is used to associate type
         information and other attributes to the node.
         
        int64 id = 1;
        Specified by:
        getId in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        The id.
      • setId

        public Expr.CreateStruct.Entry.Builder setId​(long value)
         Required. An id assigned to this node by the parser which is unique
         in a given expression tree. This is used to associate type
         information and other attributes to the node.
         
        int64 id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Expr.CreateStruct.Entry.Builder clearId()
         Required. An id assigned to this node by the parser which is unique
         in a given expression tree. This is used to associate type
         information and other attributes to the node.
         
        int64 id = 1;
        Returns:
        This builder for chaining.
      • hasFieldKey

        public boolean hasFieldKey()
         The field key for a message creator statement.
         
        string field_key = 2;
        Specified by:
        hasFieldKey in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        Whether the fieldKey field is set.
      • getFieldKey

        public java.lang.String getFieldKey()
         The field key for a message creator statement.
         
        string field_key = 2;
        Specified by:
        getFieldKey in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        The fieldKey.
      • getFieldKeyBytes

        public com.google.protobuf.ByteString getFieldKeyBytes()
         The field key for a message creator statement.
         
        string field_key = 2;
        Specified by:
        getFieldKeyBytes in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        The bytes for fieldKey.
      • setFieldKey

        public Expr.CreateStruct.Entry.Builder setFieldKey​(java.lang.String value)
         The field key for a message creator statement.
         
        string field_key = 2;
        Parameters:
        value - The fieldKey to set.
        Returns:
        This builder for chaining.
      • clearFieldKey

        public Expr.CreateStruct.Entry.Builder clearFieldKey()
         The field key for a message creator statement.
         
        string field_key = 2;
        Returns:
        This builder for chaining.
      • setFieldKeyBytes

        public Expr.CreateStruct.Entry.Builder setFieldKeyBytes​(com.google.protobuf.ByteString value)
         The field key for a message creator statement.
         
        string field_key = 2;
        Parameters:
        value - The bytes for fieldKey to set.
        Returns:
        This builder for chaining.
      • hasMapKey

        public boolean hasMapKey()
         The key expression for a map creation statement.
         
        .cel.expr.Expr map_key = 3;
        Specified by:
        hasMapKey in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        Whether the mapKey field is set.
      • getMapKeyBuilder

        public Expr.Builder getMapKeyBuilder()
         The key expression for a map creation statement.
         
        .cel.expr.Expr map_key = 3;
      • hasValue

        public boolean hasValue()
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
        Specified by:
        hasValue in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public Expr getValue()
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
        Specified by:
        getValue in interface Expr.CreateStruct.EntryOrBuilder
        Returns:
        The value.
      • setValue

        public Expr.CreateStruct.Entry.Builder setValue​(Expr value)
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
      • setValue

        public Expr.CreateStruct.Entry.Builder setValue​(Expr.Builder builderForValue)
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
      • mergeValue

        public Expr.CreateStruct.Entry.Builder mergeValue​(Expr value)
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
      • clearValue

        public Expr.CreateStruct.Entry.Builder clearValue()
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
      • getValueBuilder

        public Expr.Builder getValueBuilder()
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
      • getValueOrBuilder

        public ExprOrBuilder getValueOrBuilder()
         Required. The value assigned to the key.
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .cel.expr.Expr value = 4;
        Specified by:
        getValueOrBuilder in interface Expr.CreateStruct.EntryOrBuilder
      • setOptionalEntry

        public Expr.CreateStruct.Entry.Builder setOptionalEntry​(boolean value)
         Whether the key-value pair is optional.
         
        bool optional_entry = 5;
        Parameters:
        value - The optionalEntry to set.
        Returns:
        This builder for chaining.
      • clearOptionalEntry

        public Expr.CreateStruct.Entry.Builder clearOptionalEntry()
         Whether the key-value pair is optional.
         
        bool optional_entry = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>
      • mergeUnknownFields

        public final Expr.CreateStruct.Entry.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<Expr.CreateStruct.Entry.Builder>