Class Rpc.ScanRequest.Builder

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

    public static final class Rpc.ScanRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Rpc.ScanRequest.Builder>
    implements Rpc.ScanRequestOrBuilder
     *
     Request to scan the complete data for given attributes.
     Currently, the attributes have to reside in the same attribute family.
     
    Protobuf type ScanRequest
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Rpc.ScanRequest.Builder addAllAttribute​(java.lang.Iterable<java.lang.String> values)
      repeated string attribute = 2;
      Rpc.ScanRequest.Builder addAttribute​(java.lang.String value)
      repeated string attribute = 2;
      Rpc.ScanRequest.Builder addAttributeBytes​(com.google.protobuf.ByteString value)
      repeated string attribute = 2;
      Rpc.ScanRequest build()  
      Rpc.ScanRequest buildPartial()  
      Rpc.ScanRequest.Builder clear()  
      Rpc.ScanRequest.Builder clearAttribute()
      repeated string attribute = 2;
      Rpc.ScanRequest.Builder clearEntity()
      string entity = 1;
      java.lang.String getAttribute​(int index)
      repeated string attribute = 2;
      com.google.protobuf.ByteString getAttributeBytes​(int index)
      repeated string attribute = 2;
      int getAttributeCount()
      repeated string attribute = 2;
      com.google.protobuf.ProtocolStringList getAttributeList()
      repeated string attribute = 2;
      Rpc.ScanRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getEntity()
      string entity = 1;
      com.google.protobuf.ByteString getEntityBytes()
      string entity = 1;
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Rpc.ScanRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Rpc.ScanRequest.Builder mergeFrom​(com.google.protobuf.Message other)  
      Rpc.ScanRequest.Builder mergeFrom​(Rpc.ScanRequest other)  
      Rpc.ScanRequest.Builder setAttribute​(int index, java.lang.String value)
      repeated string attribute = 2;
      Rpc.ScanRequest.Builder setEntity​(java.lang.String value)
      string entity = 1;
      Rpc.ScanRequest.Builder setEntityBytes​(com.google.protobuf.ByteString value)
      string entity = 1;
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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.ScanRequest.Builder>
      • clear

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

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

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

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

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

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

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

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

        public Rpc.ScanRequest.Builder clearEntity()
        string entity = 1;
        Returns:
        This builder for chaining.
      • setEntityBytes

        public Rpc.ScanRequest.Builder setEntityBytes​(com.google.protobuf.ByteString value)
        string entity = 1;
        Parameters:
        value - The bytes for entity to set.
        Returns:
        This builder for chaining.
      • getAttributeList

        public com.google.protobuf.ProtocolStringList getAttributeList()
        repeated string attribute = 2;
        Specified by:
        getAttributeList in interface Rpc.ScanRequestOrBuilder
        Returns:
        A list containing the attribute.
      • getAttribute

        public java.lang.String getAttribute​(int index)
        repeated string attribute = 2;
        Specified by:
        getAttribute in interface Rpc.ScanRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The attribute at the given index.
      • getAttributeBytes

        public com.google.protobuf.ByteString getAttributeBytes​(int index)
        repeated string attribute = 2;
        Specified by:
        getAttributeBytes in interface Rpc.ScanRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the attribute at the given index.
      • setAttribute

        public Rpc.ScanRequest.Builder setAttribute​(int index,
                                                    java.lang.String value)
        repeated string attribute = 2;
        Parameters:
        index - The index to set the value at.
        value - The attribute to set.
        Returns:
        This builder for chaining.
      • addAttribute

        public Rpc.ScanRequest.Builder addAttribute​(java.lang.String value)
        repeated string attribute = 2;
        Parameters:
        value - The attribute to add.
        Returns:
        This builder for chaining.
      • addAllAttribute

        public Rpc.ScanRequest.Builder addAllAttribute​(java.lang.Iterable<java.lang.String> values)
        repeated string attribute = 2;
        Parameters:
        values - The attribute to add.
        Returns:
        This builder for chaining.
      • clearAttribute

        public Rpc.ScanRequest.Builder clearAttribute()
        repeated string attribute = 2;
        Returns:
        This builder for chaining.
      • addAttributeBytes

        public Rpc.ScanRequest.Builder addAttributeBytes​(com.google.protobuf.ByteString value)
        repeated string attribute = 2;
        Parameters:
        value - The bytes of the attribute to add.
        Returns:
        This builder for chaining.