类 Log
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.alibaba.nacos.consistency.entity.Log
-
- 所有已实现的接口:
LogOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class Log extends com.google.protobuf.GeneratedMessageV3 implements LogOrBuilder
Deprecated
Protobuf typeLog- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classLog.BuilderDeprecatedprivate static classLog.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 com.google.protobuf.ByteStringdata_static intDATA_FIELD_NUMBERprivate static LogDEFAULT_INSTANCEprivate com.google.protobuf.MapField<java.lang.String,java.lang.String>extendInfo_static intEXTENDINFO_FIELD_NUMBERprivate java.lang.Objectgroup_static intGROUP_FIELD_NUMBERprivate java.lang.Objectkey_static intKEY_FIELD_NUMBERprivate bytememoizedIsInitializedprivate java.lang.Objectoperation_static intOPERATION_FIELD_NUMBERprivate static com.google.protobuf.Parser<Log>PARSERprivate static longserialVersionUIDprivate java.lang.Objecttype_static intTYPE_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsExtendInfo(java.lang.String key)map<string, string> extendInfo = 6;booleanequals(java.lang.Object obj)com.google.protobuf.ByteStringgetData()bytes data = 3;static LoggetDefaultInstance()LoggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.util.Map<java.lang.String,java.lang.String>getExtendInfo()已过时。intgetExtendInfoCount()map<string, string> extendInfo = 6;java.util.Map<java.lang.String,java.lang.String>getExtendInfoMap()map<string, string> extendInfo = 6;java.lang.StringgetExtendInfoOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> extendInfo = 6;java.lang.StringgetExtendInfoOrThrow(java.lang.String key)map<string, string> extendInfo = 6;java.lang.StringgetGroup()string group = 1;com.google.protobuf.ByteStringgetGroupBytes()string group = 1;java.lang.StringgetKey()string key = 2;com.google.protobuf.ByteStringgetKeyBytes()string key = 2;java.lang.StringgetOperation()string operation = 5;com.google.protobuf.ByteStringgetOperationBytes()string operation = 5;com.google.protobuf.Parser<Log>getParserForType()intgetSerializedSize()java.lang.StringgetType()string type = 4;com.google.protobuf.ByteStringgetTypeBytes()string type = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetExtendInfo()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Log.BuildernewBuilder()static Log.BuildernewBuilder(Log prototype)Log.BuildernewBuilderForType()protected Log.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LogparseDelimitedFrom(java.io.InputStream input)static LogparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogparseFrom(byte[] data)static LogparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogparseFrom(com.google.protobuf.ByteString data)static LogparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogparseFrom(com.google.protobuf.CodedInputStream input)static LogparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogparseFrom(java.io.InputStream input)static LogparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogparseFrom(java.nio.ByteBuffer data)static LogparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Log>parser()Log.BuildertoBuilder()voidwriteTo(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
-
-
-
-
字段详细资料
-
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 Log DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Log> PARSER
-
-
构造器详细资料
-
Log
private Log(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Log
private Log()
-
Log
private Log(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
-
getGroup
public java.lang.String getGroup()
string group = 1;- 指定者:
getGroup在接口中LogOrBuilder
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()
string group = 1;- 指定者:
getGroupBytes在接口中LogOrBuilder
-
getKey
public java.lang.String getKey()
string key = 2;- 指定者:
getKey在接口中LogOrBuilder
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
string key = 2;- 指定者:
getKeyBytes在接口中LogOrBuilder
-
getData
public com.google.protobuf.ByteString getData()
bytes data = 3;- 指定者:
getData在接口中LogOrBuilder
-
getType
public java.lang.String getType()
string type = 4;- 指定者:
getType在接口中LogOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 4;- 指定者:
getTypeBytes在接口中LogOrBuilder
-
getOperation
public java.lang.String getOperation()
string operation = 5;- 指定者:
getOperation在接口中LogOrBuilder
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
string operation = 5;- 指定者:
getOperationBytes在接口中LogOrBuilder
-
internalGetExtendInfo
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetExtendInfo()
-
getExtendInfoCount
public int getExtendInfoCount()
从接口复制的说明:LogOrBuildermap<string, string> extendInfo = 6;- 指定者:
getExtendInfoCount在接口中LogOrBuilder
-
containsExtendInfo
public boolean containsExtendInfo(java.lang.String key)
map<string, string> extendInfo = 6;- 指定者:
containsExtendInfo在接口中LogOrBuilder
-
getExtendInfo
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getExtendInfo()
已过时。UsegetExtendInfoMap()instead.- 指定者:
getExtendInfo在接口中LogOrBuilder
-
getExtendInfoMap
public java.util.Map<java.lang.String,java.lang.String> getExtendInfoMap()
map<string, string> extendInfo = 6;- 指定者:
getExtendInfoMap在接口中LogOrBuilder
-
getExtendInfoOrDefault
public java.lang.String getExtendInfoOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> extendInfo = 6;- 指定者:
getExtendInfoOrDefault在接口中LogOrBuilder
-
getExtendInfoOrThrow
public java.lang.String getExtendInfoOrThrow(java.lang.String key)
map<string, string> extendInfo = 6;- 指定者:
getExtendInfoOrThrow在接口中LogOrBuilder
-
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 Log parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Log parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Log parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Log parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Log parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Log parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Log parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public Log.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Log.Builder newBuilder()
-
newBuilder
public static Log.Builder newBuilder(Log prototype)
-
toBuilder
public Log.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Log.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Log getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Log> parser()
-
getParserForType
public com.google.protobuf.Parser<Log> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Log getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-