Class Rpc.Ingest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Rpc.IngestOrBuilder, java.lang.Cloneable
    Enclosing class:
    Rpc.Ingest

    public static final class Rpc.Ingest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Rpc.Ingest.Builder>
    implements Rpc.IngestOrBuilder
     * Ingest of a attribute update (or delete) 
     
    Protobuf type Ingest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Rpc.Ingest.Builder>
      • clear

        public Rpc.Ingest.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.GeneratedMessage.Builder<Rpc.Ingest.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.GeneratedMessage.Builder<Rpc.Ingest.Builder>
      • getDefaultInstanceForType

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

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

        public Rpc.Ingest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

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

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

        public Rpc.Ingest.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<Rpc.Ingest.Builder>
        Throws:
        java.io.IOException
      • getUuid

        public java.lang.String getUuid()
         *
         UUID of the ingest. This UUID is returned in status to match
         the request with the response
         
        string uuid = 1;
        Specified by:
        getUuid in interface Rpc.IngestOrBuilder
        Returns:
        The uuid.
      • getUuidBytes

        public com.google.protobuf.ByteString getUuidBytes()
         *
         UUID of the ingest. This UUID is returned in status to match
         the request with the response
         
        string uuid = 1;
        Specified by:
        getUuidBytes in interface Rpc.IngestOrBuilder
        Returns:
        The bytes for uuid.
      • setUuid

        public Rpc.Ingest.Builder setUuid​(java.lang.String value)
         *
         UUID of the ingest. This UUID is returned in status to match
         the request with the response
         
        string uuid = 1;
        Parameters:
        value - The uuid to set.
        Returns:
        This builder for chaining.
      • clearUuid

        public Rpc.Ingest.Builder clearUuid()
         *
         UUID of the ingest. This UUID is returned in status to match
         the request with the response
         
        string uuid = 1;
        Returns:
        This builder for chaining.
      • setUuidBytes

        public Rpc.Ingest.Builder setUuidBytes​(com.google.protobuf.ByteString value)
         *
         UUID of the ingest. This UUID is returned in status to match
         the request with the response
         
        string uuid = 1;
        Parameters:
        value - The bytes for uuid to set.
        Returns:
        This builder for chaining.
      • getEntity

        public java.lang.String getEntity()
         * Name of the entity 
         
        string entity = 2;
        Specified by:
        getEntity in interface Rpc.IngestOrBuilder
        Returns:
        The entity.
      • getEntityBytes

        public com.google.protobuf.ByteString getEntityBytes()
         * Name of the entity 
         
        string entity = 2;
        Specified by:
        getEntityBytes in interface Rpc.IngestOrBuilder
        Returns:
        The bytes for entity.
      • setEntity

        public Rpc.Ingest.Builder setEntity​(java.lang.String value)
         * Name of the entity 
         
        string entity = 2;
        Parameters:
        value - The entity to set.
        Returns:
        This builder for chaining.
      • clearEntity

        public Rpc.Ingest.Builder clearEntity()
         * Name of the entity 
         
        string entity = 2;
        Returns:
        This builder for chaining.
      • setEntityBytes

        public Rpc.Ingest.Builder setEntityBytes​(com.google.protobuf.ByteString value)
         * Name of the entity 
         
        string entity = 2;
        Parameters:
        value - The bytes for entity to set.
        Returns:
        This builder for chaining.
      • getAttribute

        public java.lang.String getAttribute()
         * Name of the attribute.
         Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
         
        string attribute = 3;
        Specified by:
        getAttribute in interface Rpc.IngestOrBuilder
        Returns:
        The attribute.
      • getAttributeBytes

        public com.google.protobuf.ByteString getAttributeBytes()
         * Name of the attribute.
         Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
         
        string attribute = 3;
        Specified by:
        getAttributeBytes in interface Rpc.IngestOrBuilder
        Returns:
        The bytes for attribute.
      • setAttribute

        public Rpc.Ingest.Builder setAttribute​(java.lang.String value)
         * Name of the attribute.
         Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
         
        string attribute = 3;
        Parameters:
        value - The attribute to set.
        Returns:
        This builder for chaining.
      • clearAttribute

        public Rpc.Ingest.Builder clearAttribute()
         * Name of the attribute.
         Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
         
        string attribute = 3;
        Returns:
        This builder for chaining.
      • setAttributeBytes

        public Rpc.Ingest.Builder setAttributeBytes​(com.google.protobuf.ByteString value)
         * Name of the attribute.
         Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
         
        string attribute = 3;
        Parameters:
        value - The bytes for attribute to set.
        Returns:
        This builder for chaining.
      • getKey

        public java.lang.String getKey()
         * Key of the entity. 
         
        string key = 4;
        Specified by:
        getKey in interface Rpc.IngestOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         * Key of the entity. 
         
        string key = 4;
        Specified by:
        getKeyBytes in interface Rpc.IngestOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public Rpc.Ingest.Builder setKey​(java.lang.String value)
         * Key of the entity. 
         
        string key = 4;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public Rpc.Ingest.Builder clearKey()
         * Key of the entity. 
         
        string key = 4;
        Returns:
        This builder for chaining.
      • setKeyBytes

        public Rpc.Ingest.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         * Key of the entity. 
         
        string key = 4;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • getValue

        public com.google.protobuf.ByteString getValue()
         * Value to update. 
         
        bytes value = 5;
        Specified by:
        getValue in interface Rpc.IngestOrBuilder
        Returns:
        The value.
      • setValue

        public Rpc.Ingest.Builder setValue​(com.google.protobuf.ByteString value)
         * Value to update. 
         
        bytes value = 5;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public Rpc.Ingest.Builder clearValue()
         * Value to update. 
         
        bytes value = 5;
        Returns:
        This builder for chaining.
      • getStamp

        public long getStamp()
         * Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp. 
         
        uint64 stamp = 7;
        Specified by:
        getStamp in interface Rpc.IngestOrBuilder
        Returns:
        The stamp.
      • setStamp

        public Rpc.Ingest.Builder setStamp​(long value)
         * Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp. 
         
        uint64 stamp = 7;
        Parameters:
        value - The stamp to set.
        Returns:
        This builder for chaining.
      • clearStamp

        public Rpc.Ingest.Builder clearStamp()
         * Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp. 
         
        uint64 stamp = 7;
        Returns:
        This builder for chaining.
      • getDelete

        public boolean getDelete()
         *
         Whether to delete the attribute. You must explicitly set this
         if you want to delete an attribute.
         
        bool delete = 6;
        Specified by:
        getDelete in interface Rpc.IngestOrBuilder
        Returns:
        The delete.
      • setDelete

        public Rpc.Ingest.Builder setDelete​(boolean value)
         *
         Whether to delete the attribute. You must explicitly set this
         if you want to delete an attribute.
         
        bool delete = 6;
        Parameters:
        value - The delete to set.
        Returns:
        This builder for chaining.
      • clearDelete

        public Rpc.Ingest.Builder clearDelete()
         *
         Whether to delete the attribute. You must explicitly set this
         if you want to delete an attribute.
         
        bool delete = 6;
        Returns:
        This builder for chaining.
      • getTransactionId

        public java.lang.String getTransactionId()
         *
         Optional transaction ID associated with the ingest.
         
        string transactionId = 8;
        Specified by:
        getTransactionId in interface Rpc.IngestOrBuilder
        Returns:
        The transactionId.
      • getTransactionIdBytes

        public com.google.protobuf.ByteString getTransactionIdBytes()
         *
         Optional transaction ID associated with the ingest.
         
        string transactionId = 8;
        Specified by:
        getTransactionIdBytes in interface Rpc.IngestOrBuilder
        Returns:
        The bytes for transactionId.
      • setTransactionId

        public Rpc.Ingest.Builder setTransactionId​(java.lang.String value)
         *
         Optional transaction ID associated with the ingest.
         
        string transactionId = 8;
        Parameters:
        value - The transactionId to set.
        Returns:
        This builder for chaining.
      • clearTransactionId

        public Rpc.Ingest.Builder clearTransactionId()
         *
         Optional transaction ID associated with the ingest.
         
        string transactionId = 8;
        Returns:
        This builder for chaining.
      • setTransactionIdBytes

        public Rpc.Ingest.Builder setTransactionIdBytes​(com.google.protobuf.ByteString value)
         *
         Optional transaction ID associated with the ingest.
         
        string transactionId = 8;
        Parameters:
        value - The bytes for transactionId to set.
        Returns:
        This builder for chaining.