Class ListValue.Builder

    • Method Detail

      • addValue

        public ListValue.Builder addValue​(Value<?> first,
                                          Value<?>... other)
        Adds the provided values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(long first,
                                          long... other)
        Adds the provided long values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(double first,
                                          double... other)
        Adds the provided double values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(boolean first,
                                          boolean... other)
        Adds the provided boolean values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(com.google.cloud.Timestamp first,
                                          com.google.cloud.Timestamp... other)
        Adds the provided Timestamp values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(Key first,
                                          Key... other)
        Adds the provided Key values to the ListValue builder.
      • addValue

        public ListValue.Builder addValue​(Blob first,
                                          Blob... other)
        Adds the provided Blob values to the ListValue builder.
      • getValueType

        public ValueType getValueType()
        Specified by:
        getValueType in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>
      • mergeFrom

        public B mergeFrom​(P other)
        Specified by:
        mergeFrom in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>
      • getExcludeFromIndexes

        public boolean getExcludeFromIndexes()
        Specified by:
        getExcludeFromIndexes in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>
      • setExcludeFromIndexes

        public B setExcludeFromIndexes​(boolean excludeFromIndexes)
        Specified by:
        setExcludeFromIndexes in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>
      • getMeaning

        public int getMeaning()
        Description copied from interface: ValueBuilder
        Deprecated. This library preserves the field for backwards compatibility.
        Specified by:
        getMeaning in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>
      • setMeaning

        public B setMeaning​(int meaning)
        Description copied from interface: ValueBuilder
        Deprecated. This library preserves the field for backwards compatibility.
        Specified by:
        setMeaning in interface ValueBuilder<V,​P extends Value<V>,​B extends com.google.cloud.datastore.Value.BaseBuilder<V,​P,​B>>