public static final class XchainOuterClass.ResourceLimit extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.ResourceLimit,XchainOuterClass.ResourceLimit.Builder> implements XchainOuterClass.ResourceLimitOrBuilder
pb.ResourceLimit| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.ResourceLimit.Builder
Protobuf type
pb.ResourceLimit |
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 |
LIMIT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static XchainOuterClass.ResourceLimit |
getDefaultInstance() |
long |
getLimit()
optional int64 limit = 2; |
int |
getSerializedSize() |
XchainOuterClass.ResourceType |
getType()
optional .pb.ResourceType type = 1; |
int |
getTypeValue()
optional .pb.ResourceType type = 1; |
static XchainOuterClass.ResourceLimit.Builder |
newBuilder() |
static XchainOuterClass.ResourceLimit.Builder |
newBuilder(XchainOuterClass.ResourceLimit prototype) |
static XchainOuterClass.ResourceLimit |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.ResourceLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.ResourceLimit |
parseFrom(byte[] data) |
static XchainOuterClass.ResourceLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.ResourceLimit |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.ResourceLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.ResourceLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.ResourceLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.ResourceLimit |
parseFrom(InputStream input) |
static XchainOuterClass.ResourceLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.ResourceLimit> |
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 TYPE_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public int getTypeValue()
optional .pb.ResourceType type = 1;public XchainOuterClass.ResourceType getType()
optional .pb.ResourceType type = 1;public long getLimit()
optional int64 limit = 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.ResourceLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.ResourceLimit.Builder newBuilder()
public static XchainOuterClass.ResourceLimit.Builder newBuilder(XchainOuterClass.ResourceLimit prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.ResourceLimit,XchainOuterClass.ResourceLimit.Builder>public static XchainOuterClass.ResourceLimit getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.ResourceLimit> parser()
Copyright © 2020. All rights reserved.