Class AllocateIdsResponse.Builder

  • All Implemented Interfaces:
    AllocateIdsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AllocateIdsResponse

    public static final class AllocateIdsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
    implements AllocateIdsResponseOrBuilder
     The response for
     [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
     
    Protobuf type google.datastore.v1.AllocateIdsResponse
    • 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<AllocateIdsResponse.Builder>
      • clear

        public AllocateIdsResponse.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<AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • setField

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • clearField

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • clearOneof

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • setRepeatedField

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • addRepeatedField

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • mergeFrom

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • isInitialized

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

        public AllocateIdsResponse.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<AllocateIdsResponse.Builder>
        Throws:
        IOException
      • getKeysList

        public List<Key> getKeysList()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
        Specified by:
        getKeysList in interface AllocateIdsResponseOrBuilder
      • getKeysCount

        public int getKeysCount()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
        Specified by:
        getKeysCount in interface AllocateIdsResponseOrBuilder
      • getKeys

        public Key getKeys​(int index)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
        Specified by:
        getKeys in interface AllocateIdsResponseOrBuilder
      • setKeys

        public AllocateIdsResponse.Builder setKeys​(int index,
                                                   Key value)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • setKeys

        public AllocateIdsResponse.Builder setKeys​(int index,
                                                   Key.Builder builderForValue)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addKeys

        public AllocateIdsResponse.Builder addKeys​(Key value)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addKeys

        public AllocateIdsResponse.Builder addKeys​(int index,
                                                   Key value)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addKeys

        public AllocateIdsResponse.Builder addKeys​(Key.Builder builderForValue)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addKeys

        public AllocateIdsResponse.Builder addKeys​(int index,
                                                   Key.Builder builderForValue)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addAllKeys

        public AllocateIdsResponse.Builder addAllKeys​(Iterable<? extends Key> values)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • clearKeys

        public AllocateIdsResponse.Builder clearKeys()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • removeKeys

        public AllocateIdsResponse.Builder removeKeys​(int index)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • getKeysBuilder

        public Key.Builder getKeysBuilder​(int index)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • getKeysOrBuilder

        public KeyOrBuilder getKeysOrBuilder​(int index)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
        Specified by:
        getKeysOrBuilder in interface AllocateIdsResponseOrBuilder
      • getKeysOrBuilderList

        public List<? extends KeyOrBuilder> getKeysOrBuilderList()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
        Specified by:
        getKeysOrBuilderList in interface AllocateIdsResponseOrBuilder
      • addKeysBuilder

        public Key.Builder addKeysBuilder()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • addKeysBuilder

        public Key.Builder addKeysBuilder​(int index)
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • getKeysBuilderList

        public List<Key.Builder> getKeysBuilderList()
         The keys specified in the request (in the same order), each with
         its key path completed with a newly allocated ID.
         
        repeated .google.datastore.v1.Key keys = 1;
      • setUnknownFields

        public final AllocateIdsResponse.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<AllocateIdsResponse.Builder>
      • mergeUnknownFields

        public final AllocateIdsResponse.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<AllocateIdsResponse.Builder>