类 WriteRequest

  • 所有已实现的接口:
    WriteRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class WriteRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements WriteRequestOrBuilder
    Protobuf type WriteRequest
    另请参阅:
    序列化表格
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  WriteRequest.Builder
      Protobuf type WriteRequest
      private static class  WriteRequest.ExtendInfoDefaultEntryHolder  
      • 从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
    • 构造器概要

      构造器 
      限定符 构造器 说明
      private WriteRequest()  
      private WriteRequest​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      private WriteRequest​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)  
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 已过时的方法 
      修饰符和类型 方法 说明
      boolean containsExtendInfo​(java.lang.String key)
      map<string, string> extendInfo = 6;
      boolean equals​(java.lang.Object obj)  
      com.google.protobuf.ByteString getData()
      bytes data = 3;
      static WriteRequest getDefaultInstance()  
      WriteRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.util.Map<java.lang.String,​java.lang.String> getExtendInfo()
      已过时。
      int getExtendInfoCount()
      map<string, string> extendInfo = 6;
      java.util.Map<java.lang.String,​java.lang.String> getExtendInfoMap()
      map<string, string> extendInfo = 6;
      java.lang.String getExtendInfoOrDefault​(java.lang.String key, java.lang.String defaultValue)
      map<string, string> extendInfo = 6;
      java.lang.String getExtendInfoOrThrow​(java.lang.String key)
      map<string, string> extendInfo = 6;
      java.lang.String getGroup()
      string group = 1;
      com.google.protobuf.ByteString getGroupBytes()
      string group = 1;
      java.lang.String getKey()
      string key = 2;
      com.google.protobuf.ByteString getKeyBytes()
      string key = 2;
      java.lang.String getOperation()
      string operation = 5;
      com.google.protobuf.ByteString getOperationBytes()
      string operation = 5;
      com.google.protobuf.Parser<WriteRequest> getParserForType()  
      int getSerializedSize()  
      java.lang.String getType()
      string type = 4;
      com.google.protobuf.ByteString getTypeBytes()
      string type = 4;
      com.google.protobuf.UnknownFieldSet getUnknownFields()  
      int hashCode()  
      private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetExtendInfo()  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapField internalGetMapField​(int number)  
      boolean isInitialized()  
      static WriteRequest.Builder newBuilder()  
      static WriteRequest.Builder newBuilder​(WriteRequest prototype)  
      WriteRequest.Builder newBuilderForType()  
      protected WriteRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static WriteRequest parseDelimitedFrom​(java.io.InputStream input)  
      static WriteRequest parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static WriteRequest parseFrom​(byte[] data)  
      static WriteRequest parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static WriteRequest parseFrom​(com.google.protobuf.ByteString data)  
      static WriteRequest parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static WriteRequest parseFrom​(com.google.protobuf.CodedInputStream input)  
      static WriteRequest parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static WriteRequest parseFrom​(java.io.InputStream input)  
      static WriteRequest parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static WriteRequest parseFrom​(java.nio.ByteBuffer data)  
      static WriteRequest parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<WriteRequest> parser()  
      WriteRequest.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • 从类继承的方法 com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • 从类继承的方法 com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • 从类继承的方法 com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • 从接口继承的方法 com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
    • 字段详细资料

      • serialVersionUID

        private static final long serialVersionUID
        另请参阅:
        常量字段值
      • GROUP_FIELD_NUMBER

        public static final int GROUP_FIELD_NUMBER
        另请参阅:
        常量字段值
      • group_

        private volatile java.lang.Object group_
      • KEY_FIELD_NUMBER

        public static final int KEY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • key_

        private volatile java.lang.Object key_
      • DATA_FIELD_NUMBER

        public static final int DATA_FIELD_NUMBER
        另请参阅:
        常量字段值
      • data_

        private com.google.protobuf.ByteString data_
      • TYPE_FIELD_NUMBER

        public static final int TYPE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • type_

        private volatile java.lang.Object type_
      • OPERATION_FIELD_NUMBER

        public static final int OPERATION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • operation_

        private volatile java.lang.Object operation_
      • EXTENDINFO_FIELD_NUMBER

        public static final int EXTENDINFO_FIELD_NUMBER
        另请参阅:
        常量字段值
      • extendInfo_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> extendInfo_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final WriteRequest DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<WriteRequest> PARSER
    • 构造器详细资料

      • WriteRequest

        private WriteRequest​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • WriteRequest

        private WriteRequest()
      • WriteRequest

        private WriteRequest​(com.google.protobuf.CodedInputStream input,
                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        覆盖:
        internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • internalGetExtendInfo

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetExtendInfo()
      • getExtendInfoMap

        public java.util.Map<java.lang.String,​java.lang.String> getExtendInfoMap()
        map<string, string> extendInfo = 6;
        指定者:
        getExtendInfoMap 在接口中 WriteRequestOrBuilder
      • getExtendInfoOrDefault

        public java.lang.String getExtendInfoOrDefault​(java.lang.String key,
                                                       java.lang.String defaultValue)
        map<string, string> extendInfo = 6;
        指定者:
        getExtendInfoOrDefault 在接口中 WriteRequestOrBuilder
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static WriteRequest parseFrom​(java.nio.ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(java.nio.ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WriteRequest parseFrom​(java.io.InputStream input)
                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static WriteRequest parseFrom​(java.io.InputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static WriteRequest parseDelimitedFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static WriteRequest parseDelimitedFrom​(java.io.InputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static WriteRequest parseFrom​(com.google.protobuf.CodedInputStream input)
                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static WriteRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public WriteRequest.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public WriteRequest.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected WriteRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static WriteRequest getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<WriteRequest> parser()
      • getParserForType

        public com.google.protobuf.Parser<WriteRequest> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public WriteRequest getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder