public static final class ByzCoinProto.DownloadState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder> 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 | Method and Description |
|---|---|
ByzCoinProto.DownloadState.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.DownloadState |
build() |
ByzCoinProto.DownloadState |
buildPartial() |
ByzCoinProto.DownloadState.Builder |
clear() |
ByzCoinProto.DownloadState.Builder |
clearByzcoinid()
ByzCoinID of the state to download
|
ByzCoinProto.DownloadState.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ByzCoinProto.DownloadState.Builder |
clearLength()
Length of the statechanges to download
|
ByzCoinProto.DownloadState.Builder |
clearNonce()
Nonce is 0 for a new download, else it must be
equal to the nonce returned in DownloadStateResponse.
|
ByzCoinProto.DownloadState.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ByzCoinProto.DownloadState.Builder |
clone() |
com.google.protobuf.ByteString |
getByzcoinid()
ByzCoinID of the state to download
|
ByzCoinProto.DownloadState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
boolean |
hasByzcoinid()
ByzCoinID of the state to download
|
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() |
ByzCoinProto.DownloadState.Builder |
mergeFrom(ByzCoinProto.DownloadState other) |
ByzCoinProto.DownloadState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ByzCoinProto.DownloadState.Builder |
mergeFrom(com.google.protobuf.Message other) |
ByzCoinProto.DownloadState.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByzCoinProto.DownloadState.Builder |
setByzcoinid(com.google.protobuf.ByteString value)
ByzCoinID of the state to download
|
ByzCoinProto.DownloadState.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.DownloadState.Builder |
setLength(int value)
Length of the statechanges to download
|
ByzCoinProto.DownloadState.Builder |
setNonce(long value)
Nonce is 0 for a new download, else it must be
equal to the nonce returned in DownloadStateResponse.
|
ByzCoinProto.DownloadState.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ByzCoinProto.DownloadState.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ByzCoinProto.DownloadState build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.DownloadState buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.DownloadState.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder mergeFrom(ByzCoinProto.DownloadState other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public ByzCoinProto.DownloadState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.DownloadState.Builder>IOExceptionpublic 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 ByzCoinProto.DownloadState.Builder setByzcoinid(com.google.protobuf.ByteString value)
ByzCoinID of the state to download
required bytes byzcoinid = 1;public ByzCoinProto.DownloadState.Builder clearByzcoinid()
ByzCoinID of the state to download
required bytes byzcoinid = 1;public 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 ByzCoinProto.DownloadState.Builder setNonce(long value)
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;public ByzCoinProto.DownloadState.Builder clearNonce()
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;public 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 ByzCoinProto.DownloadState.Builder setLength(int value)
Length of the statechanges to download
required sint32 length = 3;public ByzCoinProto.DownloadState.Builder clearLength()
Length of the statechanges to download
required sint32 length = 3;public final ByzCoinProto.DownloadState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>public final ByzCoinProto.DownloadState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DownloadState.Builder>Copyright © 2019. All rights reserved.