Class Rpc.GetRequest.Builder

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

    public static final class Rpc.GetRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Rpc.GetRequest.Builder>
    implements Rpc.GetRequestOrBuilder
     *
     Request to read data from the system.
     
    Protobuf type GetRequest
    • 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.GetRequest.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.String getAttribute()
         * Name of the attribute. 
         
        string attribute = 3;
        Specified by:
        getAttribute in interface Rpc.GetRequestOrBuilder
        Returns:
        The attribute.
      • getAttributeBytes

        public com.google.protobuf.ByteString getAttributeBytes()
         * Name of the attribute. 
         
        string attribute = 3;
        Specified by:
        getAttributeBytes in interface Rpc.GetRequestOrBuilder
        Returns:
        The bytes for attribute.
      • setAttribute

        public Rpc.GetRequest.Builder setAttribute​(java.lang.String value)
         * Name of the attribute. 
         
        string attribute = 3;
        Parameters:
        value - The attribute to set.
        Returns:
        This builder for chaining.
      • clearAttribute

        public Rpc.GetRequest.Builder clearAttribute()
         * Name of the attribute. 
         
        string attribute = 3;
        Returns:
        This builder for chaining.
      • setAttributeBytes

        public Rpc.GetRequest.Builder setAttributeBytes​(com.google.protobuf.ByteString value)
         * Name of the attribute. 
         
        string attribute = 3;
        Parameters:
        value - The bytes for attribute to set.
        Returns:
        This builder for chaining.
      • getTransactionId

        public java.lang.String getTransactionId()
         *
         ID of transaction that is part of this request (if any).
         If empty, the request is not part of any ongoing transaction.
         
        string transactionId = 4;
        Specified by:
        getTransactionId in interface Rpc.GetRequestOrBuilder
        Returns:
        The transactionId.
      • getTransactionIdBytes

        public com.google.protobuf.ByteString getTransactionIdBytes()
         *
         ID of transaction that is part of this request (if any).
         If empty, the request is not part of any ongoing transaction.
         
        string transactionId = 4;
        Specified by:
        getTransactionIdBytes in interface Rpc.GetRequestOrBuilder
        Returns:
        The bytes for transactionId.
      • setTransactionId

        public Rpc.GetRequest.Builder setTransactionId​(java.lang.String value)
         *
         ID of transaction that is part of this request (if any).
         If empty, the request is not part of any ongoing transaction.
         
        string transactionId = 4;
        Parameters:
        value - The transactionId to set.
        Returns:
        This builder for chaining.
      • clearTransactionId

        public Rpc.GetRequest.Builder clearTransactionId()
         *
         ID of transaction that is part of this request (if any).
         If empty, the request is not part of any ongoing transaction.
         
        string transactionId = 4;
        Returns:
        This builder for chaining.
      • setTransactionIdBytes

        public Rpc.GetRequest.Builder setTransactionIdBytes​(com.google.protobuf.ByteString value)
         *
         ID of transaction that is part of this request (if any).
         If empty, the request is not part of any ongoing transaction.
         
        string transactionId = 4;
        Parameters:
        value - The bytes for transactionId to set.
        Returns:
        This builder for chaining.