public static final class ByzCoinProto.DownloadState extends com.google.protobuf.GeneratedMessageV3 implements ByzCoinProto.DownloadStateOrBuilder
DownloadState requests the current global state of that node. If it is the first call to the service, then Reset must be true, else an error will be returned, or old data might be used.Protobuf type
byzcoin.DownloadState| Modifier and Type | Class and Description |
|---|---|
static class |
ByzCoinProto.DownloadState.Builder
DownloadState requests the current global state of that node.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
BYZCOINID_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static com.google.protobuf.Parser<ByzCoinProto.DownloadState> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getByzcoinid()
ByzCoinID of the state to download
|
static ByzCoinProto.DownloadState |
getDefaultInstance() |
ByzCoinProto.DownloadState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getLength()
Length of the statechanges to download
|
long |
getNonce()
Nonce is 0 for a new download, else it must be
equal to the nonce returned in DownloadStateResponse.
|
com.google.protobuf.Parser<ByzCoinProto.DownloadState> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasByzcoinid()
ByzCoinID of the state to download
|
int |
hashCode() |
boolean |
hasLength()
Length of the statechanges to download
|
boolean |
hasNonce()
Nonce is 0 for a new download, else it must be
equal to the nonce returned in DownloadStateResponse.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ByzCoinProto.DownloadState.Builder |
newBuilder() |
static ByzCoinProto.DownloadState.Builder |
newBuilder(ByzCoinProto.DownloadState prototype) |
ByzCoinProto.DownloadState.Builder |
newBuilderForType() |
protected ByzCoinProto.DownloadState.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ByzCoinProto.DownloadState |
parseDelimitedFrom(InputStream input) |
static ByzCoinProto.DownloadState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByzCoinProto.DownloadState |
parseFrom(byte[] data) |
static ByzCoinProto.DownloadState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByzCoinProto.DownloadState |
parseFrom(ByteBuffer data) |
static ByzCoinProto.DownloadState |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByzCoinProto.DownloadState |
parseFrom(com.google.protobuf.ByteString data) |
static ByzCoinProto.DownloadState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByzCoinProto.DownloadState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ByzCoinProto.DownloadState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByzCoinProto.DownloadState |
parseFrom(InputStream input) |
static ByzCoinProto.DownloadState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ByzCoinProto.DownloadState> |
parser() |
ByzCoinProto.DownloadState.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BYZCOINID_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<ByzCoinProto.DownloadState> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasByzcoinid()
ByzCoinID of the state to download
required bytes byzcoinid = 1;hasByzcoinid in interface ByzCoinProto.DownloadStateOrBuilderpublic com.google.protobuf.ByteString getByzcoinid()
ByzCoinID of the state to download
required bytes byzcoinid = 1;getByzcoinid in interface ByzCoinProto.DownloadStateOrBuilderpublic boolean hasNonce()
Nonce is 0 for a new download, else it must be equal to the nonce returned in DownloadStateResponse. In case Nonce is non-zero, but doesn't correspond to the current session, an error is returned, as only one download-session can be active at any given moment.
required uint64 nonce = 2;hasNonce in interface ByzCoinProto.DownloadStateOrBuilderpublic long getNonce()
Nonce is 0 for a new download, else it must be equal to the nonce returned in DownloadStateResponse. In case Nonce is non-zero, but doesn't correspond to the current session, an error is returned, as only one download-session can be active at any given moment.
required uint64 nonce = 2;getNonce in interface ByzCoinProto.DownloadStateOrBuilderpublic boolean hasLength()
Length of the statechanges to download
required sint32 length = 3;hasLength in interface ByzCoinProto.DownloadStateOrBuilderpublic int getLength()
Length of the statechanges to download
required sint32 length = 3;getLength in interface ByzCoinProto.DownloadStateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ByzCoinProto.DownloadState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByzCoinProto.DownloadState parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByzCoinProto.DownloadState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByzCoinProto.DownloadState parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByzCoinProto.DownloadState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByzCoinProto.DownloadState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByzCoinProto.DownloadState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByzCoinProto.DownloadState.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ByzCoinProto.DownloadState.Builder newBuilder()
public static ByzCoinProto.DownloadState.Builder newBuilder(ByzCoinProto.DownloadState prototype)
public ByzCoinProto.DownloadState.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ByzCoinProto.DownloadState.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ByzCoinProto.DownloadState getDefaultInstance()
public static com.google.protobuf.Parser<ByzCoinProto.DownloadState> parser()
public com.google.protobuf.Parser<ByzCoinProto.DownloadState> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ByzCoinProto.DownloadState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.