Class Rpc.KeyValue.Builder

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

    public static final class Rpc.KeyValue.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Rpc.KeyValue.Builder>
    implements Rpc.KeyValueOrBuilder
    Protobuf type KeyValue
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Rpc.KeyValue build()  
      Rpc.KeyValue buildPartial()  
      Rpc.KeyValue.Builder clear()  
      Rpc.KeyValue.Builder clearAttribute()
      string attribute = 2;
      Rpc.KeyValue.Builder clearKey()
      string key = 1;
      Rpc.KeyValue.Builder clearStamp()
      uint64 stamp = 4;
      Rpc.KeyValue.Builder clearValue()
      bytes value = 3;
      java.lang.String getAttribute()
      string attribute = 2;
      com.google.protobuf.ByteString getAttributeBytes()
      string attribute = 2;
      Rpc.KeyValue getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getKey()
      string key = 1;
      com.google.protobuf.ByteString getKeyBytes()
      string key = 1;
      long getStamp()
      uint64 stamp = 4;
      com.google.protobuf.ByteString getValue()
      bytes value = 3;
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Rpc.KeyValue.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Rpc.KeyValue.Builder mergeFrom​(com.google.protobuf.Message other)  
      Rpc.KeyValue.Builder mergeFrom​(Rpc.KeyValue other)  
      Rpc.KeyValue.Builder setAttribute​(java.lang.String value)
      string attribute = 2;
      Rpc.KeyValue.Builder setAttributeBytes​(com.google.protobuf.ByteString value)
      string attribute = 2;
      Rpc.KeyValue.Builder setKey​(java.lang.String value)
      string key = 1;
      Rpc.KeyValue.Builder setKeyBytes​(com.google.protobuf.ByteString value)
      string key = 1;
      Rpc.KeyValue.Builder setStamp​(long value)
      uint64 stamp = 4;
      Rpc.KeyValue.Builder setValue​(com.google.protobuf.ByteString value)
      bytes value = 3;
      • 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.KeyValue.Builder>
      • clear

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

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

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

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

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

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

        public java.lang.String getKey()
        string key = 1;
        Specified by:
        getKey in interface Rpc.KeyValueOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
        string key = 1;
        Specified by:
        getKeyBytes in interface Rpc.KeyValueOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public Rpc.KeyValue.Builder setKey​(java.lang.String value)
        string key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public Rpc.KeyValue.Builder clearKey()
        string key = 1;
        Returns:
        This builder for chaining.
      • setKeyBytes

        public Rpc.KeyValue.Builder setKeyBytes​(com.google.protobuf.ByteString value)
        string key = 1;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • getAttribute

        public java.lang.String getAttribute()
        string attribute = 2;
        Specified by:
        getAttribute in interface Rpc.KeyValueOrBuilder
        Returns:
        The attribute.
      • getAttributeBytes

        public com.google.protobuf.ByteString getAttributeBytes()
        string attribute = 2;
        Specified by:
        getAttributeBytes in interface Rpc.KeyValueOrBuilder
        Returns:
        The bytes for attribute.
      • setAttribute

        public Rpc.KeyValue.Builder setAttribute​(java.lang.String value)
        string attribute = 2;
        Parameters:
        value - The attribute to set.
        Returns:
        This builder for chaining.
      • clearAttribute

        public Rpc.KeyValue.Builder clearAttribute()
        string attribute = 2;
        Returns:
        This builder for chaining.
      • setAttributeBytes

        public Rpc.KeyValue.Builder setAttributeBytes​(com.google.protobuf.ByteString value)
        string attribute = 2;
        Parameters:
        value - The bytes for attribute to set.
        Returns:
        This builder for chaining.
      • getValue

        public com.google.protobuf.ByteString getValue()
        bytes value = 3;
        Specified by:
        getValue in interface Rpc.KeyValueOrBuilder
        Returns:
        The value.
      • setValue

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

        public Rpc.KeyValue.Builder clearValue()
        bytes value = 3;
        Returns:
        This builder for chaining.
      • setStamp

        public Rpc.KeyValue.Builder setStamp​(long value)
        uint64 stamp = 4;
        Parameters:
        value - The stamp to set.
        Returns:
        This builder for chaining.
      • clearStamp

        public Rpc.KeyValue.Builder clearStamp()
        uint64 stamp = 4;
        Returns:
        This builder for chaining.