Package io.github.xezzon.zeroweb.dict
Class DictResp
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.github.xezzon.zeroweb.dict.DictResp
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DictRespOrBuilder
,Serializable
public final class DictResp
extends com.google.protobuf.GeneratedMessage
implements DictRespOrBuilder
字典响应Protobuf type
io.github.xezzon.zeroweb.dict.DictResp
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
字典键com.google.protobuf.ByteString
字典键static DictResp
static final com.google.protobuf.Descriptors.Descriptor
getId()
string id = 1;
com.google.protobuf.ByteString
string id = 1;
getLabel()
字典值com.google.protobuf.ByteString
字典值int
排序号上级IDcom.google.protobuf.ByteString
上级IDcom.google.protobuf.Parser<DictResp>
int
getTag()
字典目com.google.protobuf.ByteString
字典目int
hashCode()
final boolean
static DictResp.Builder
static DictResp.Builder
newBuilder
(DictResp prototype) static DictResp
parseDelimitedFrom
(InputStream input) static DictResp
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DictResp
parseFrom
(byte[] data) static DictResp
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DictResp
parseFrom
(com.google.protobuf.ByteString data) static DictResp
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DictResp
parseFrom
(com.google.protobuf.CodedInputStream input) static DictResp
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DictResp
parseFrom
(InputStream input) static DictResp
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DictResp
parseFrom
(ByteBuffer data) static DictResp
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DictResp>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER- See Also:
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER- See Also:
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER- See Also:
-
ORDINAL_FIELD_NUMBER
public static final int ORDINAL_FIELD_NUMBER- See Also:
-
PARENT_ID_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getId
string id = 1;
- Specified by:
getId
in interfaceDictRespOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1;
- Specified by:
getIdBytes
in interfaceDictRespOrBuilder
- Returns:
- The bytes for id.
-
getTag
字典目
string tag = 2;
- Specified by:
getTag
in interfaceDictRespOrBuilder
- Returns:
- The tag.
-
getTagBytes
public com.google.protobuf.ByteString getTagBytes()字典目
string tag = 2;
- Specified by:
getTagBytes
in interfaceDictRespOrBuilder
- Returns:
- The bytes for tag.
-
getCode
字典键
string code = 3;
- Specified by:
getCode
in interfaceDictRespOrBuilder
- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()字典键
string code = 3;
- Specified by:
getCodeBytes
in interfaceDictRespOrBuilder
- Returns:
- The bytes for code.
-
getLabel
字典值
string label = 4;
- Specified by:
getLabel
in interfaceDictRespOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()字典值
string label = 4;
- Specified by:
getLabelBytes
in interfaceDictRespOrBuilder
- Returns:
- The bytes for label.
-
getOrdinal
public int getOrdinal()排序号
int32 ordinal = 5;
- Specified by:
getOrdinal
in interfaceDictRespOrBuilder
- Returns:
- The ordinal.
-
getParentId
上级ID
string parent_id = 6;
- Specified by:
getParentId
in interfaceDictRespOrBuilder
- Returns:
- The parentId.
-
getParentIdBytes
public com.google.protobuf.ByteString getParentIdBytes()上级ID
string parent_id = 6;
- Specified by:
getParentIdBytes
in interfaceDictRespOrBuilder
- Returns:
- The bytes for parentId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DictResp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DictResp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DictResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DictResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DictResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DictResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DictResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DictResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DictResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-