public static final class XchainOuterClass.BlockID extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.BlockID,XchainOuterClass.BlockID.Builder> implements XchainOuterClass.BlockIDOrBuilder
pb.BlockID| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.BlockID.Builder
Protobuf type
pb.BlockID |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BCNAME_FIELD_NUMBER |
static int |
BLOCKID_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
NEED_CONTENT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
String |
getBcname()
optional string bcname = 1; |
com.google.protobuf.ByteString |
getBcnameBytes()
optional string bcname = 1; |
com.google.protobuf.ByteString |
getBlockid()
optional bytes blockid = 2; |
static XchainOuterClass.BlockID |
getDefaultInstance() |
XchainOuterClass.Header |
getHeader()
optional .pb.Header header = 4; |
boolean |
getNeedContent()
if need content
optional bool need_content = 3; |
int |
getSerializedSize() |
boolean |
hasHeader()
optional .pb.Header header = 4; |
static XchainOuterClass.BlockID.Builder |
newBuilder() |
static XchainOuterClass.BlockID.Builder |
newBuilder(XchainOuterClass.BlockID prototype) |
static XchainOuterClass.BlockID |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.BlockID |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.BlockID |
parseFrom(byte[] data) |
static XchainOuterClass.BlockID |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.BlockID |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.BlockID |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.BlockID |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.BlockID |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.BlockID |
parseFrom(InputStream input) |
static XchainOuterClass.BlockID |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.BlockID> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringpublic static final int HEADER_FIELD_NUMBER
public static final int BCNAME_FIELD_NUMBER
public static final int BLOCKID_FIELD_NUMBER
public static final int NEED_CONTENT_FIELD_NUMBER
public boolean hasHeader()
optional .pb.Header header = 4;hasHeader 在接口中 XchainOuterClass.BlockIDOrBuilderpublic XchainOuterClass.Header getHeader()
optional .pb.Header header = 4;getHeader 在接口中 XchainOuterClass.BlockIDOrBuilderpublic String getBcname()
optional string bcname = 1;getBcname 在接口中 XchainOuterClass.BlockIDOrBuilderpublic com.google.protobuf.ByteString getBcnameBytes()
optional string bcname = 1;public com.google.protobuf.ByteString getBlockid()
optional bytes blockid = 2;getBlockid 在接口中 XchainOuterClass.BlockIDOrBuilderpublic boolean getNeedContent()
if need content
optional bool need_content = 3;public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.BlockID parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.BlockID parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.BlockID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.BlockID parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.BlockID parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.BlockID.Builder newBuilder()
public static XchainOuterClass.BlockID.Builder newBuilder(XchainOuterClass.BlockID prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.BlockID,XchainOuterClass.BlockID.Builder>public static XchainOuterClass.BlockID getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.BlockID> parser()
Copyright © 2020. All rights reserved.