public static final class XchainOuterClass.PermissionModel extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.PermissionModel,XchainOuterClass.PermissionModel.Builder> implements XchainOuterClass.PermissionModelOrBuilder
pb.PermissionModel| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.PermissionModel.Builder
Protobuf type
pb.PermissionModel |
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 |
ACCEPTVALUE_FIELD_NUMBER |
static int |
RULE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
double |
getAcceptValue()
取决于用哪种rule, 可以表示签名率,签名数或权重阈值
optional double acceptValue = 2; |
static XchainOuterClass.PermissionModel |
getDefaultInstance() |
XchainOuterClass.PermissionRule |
getRule()
optional .pb.PermissionRule rule = 1; |
int |
getRuleValue()
optional .pb.PermissionRule rule = 1; |
int |
getSerializedSize() |
static XchainOuterClass.PermissionModel.Builder |
newBuilder() |
static XchainOuterClass.PermissionModel.Builder |
newBuilder(XchainOuterClass.PermissionModel prototype) |
static XchainOuterClass.PermissionModel |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.PermissionModel |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.PermissionModel |
parseFrom(byte[] data) |
static XchainOuterClass.PermissionModel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.PermissionModel |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.PermissionModel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.PermissionModel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.PermissionModel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.PermissionModel |
parseFrom(InputStream input) |
static XchainOuterClass.PermissionModel |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.PermissionModel> |
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 RULE_FIELD_NUMBER
public static final int ACCEPTVALUE_FIELD_NUMBER
public int getRuleValue()
optional .pb.PermissionRule rule = 1;public XchainOuterClass.PermissionRule getRule()
optional .pb.PermissionRule rule = 1;public double getAcceptValue()
取决于用哪种rule, 可以表示签名率,签名数或权重阈值
optional double acceptValue = 2;public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.PermissionModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.PermissionModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.PermissionModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.PermissionModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.PermissionModel parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.PermissionModel.Builder newBuilder()
public static XchainOuterClass.PermissionModel.Builder newBuilder(XchainOuterClass.PermissionModel prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.PermissionModel,XchainOuterClass.PermissionModel.Builder>public static XchainOuterClass.PermissionModel getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.PermissionModel> parser()
Copyright © 2020. All rights reserved.