public static final class ElectionContract.CandidateInformation extends com.google.protobuf.GeneratedMessageV3 implements ElectionContract.CandidateInformationOrBuilder
election_contractProtobuf type
CandidateInformation| 限定符和类型 | 类和说明 |
|---|---|
static class |
ElectionContract.CandidateInformation.Builder
election_contract
Protobuf type
CandidateInformation |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ANNOUNCEMENT_TRANSACTION_ID_FIELD_NUMBER |
static int |
CONTINUAL_APPOINTMENT_COUNT_FIELD_NUMBER |
static int |
IS_CURRENT_CANDIDATE_FIELD_NUMBER |
static int |
MISSED_TIME_SLOTS_FIELD_NUMBER |
static int |
PRODUCED_BLOCKS_FIELD_NUMBER |
static int |
PUBKEY_FIELD_NUMBER |
static int |
TERMS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Client.Hash |
getAnnouncementTransactionId()
The transaction id when the candidate announced.
|
Client.HashOrBuilder |
getAnnouncementTransactionIdOrBuilder()
The transaction id when the candidate announced.
|
long |
getContinualAppointmentCount()
The count of continual appointment.
|
static ElectionContract.CandidateInformation |
getDefaultInstance() |
ElectionContract.CandidateInformation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsCurrentCandidate()
Indicate whether the candidate can be elected in the current term.
|
long |
getMissedTimeSlots()
The time slot for which the candidate failed to produce blocks.
|
com.google.protobuf.Parser<ElectionContract.CandidateInformation> |
getParserForType() |
long |
getProducedBlocks()
The number of blocks the candidate has produced.
|
String |
getPubkey()
Candidate’s public key.
|
com.google.protobuf.ByteString |
getPubkeyBytes()
Candidate’s public key.
|
int |
getSerializedSize() |
long |
getTerms(int index)
The number of terms that the candidate is elected.
|
int |
getTermsCount()
The number of terms that the candidate is elected.
|
List<Long> |
getTermsList()
The number of terms that the candidate is elected.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAnnouncementTransactionId()
The transaction id when the candidate announced.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ElectionContract.CandidateInformation.Builder |
newBuilder() |
static ElectionContract.CandidateInformation.Builder |
newBuilder(ElectionContract.CandidateInformation prototype) |
ElectionContract.CandidateInformation.Builder |
newBuilderForType() |
protected ElectionContract.CandidateInformation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ElectionContract.CandidateInformation |
parseDelimitedFrom(InputStream input) |
static ElectionContract.CandidateInformation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.CandidateInformation |
parseFrom(byte[] data) |
static ElectionContract.CandidateInformation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.CandidateInformation |
parseFrom(ByteBuffer data) |
static ElectionContract.CandidateInformation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.CandidateInformation |
parseFrom(com.google.protobuf.ByteString data) |
static ElectionContract.CandidateInformation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.CandidateInformation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ElectionContract.CandidateInformation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.CandidateInformation |
parseFrom(InputStream input) |
static ElectionContract.CandidateInformation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ElectionContract.CandidateInformation> |
parser() |
ElectionContract.CandidateInformation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, writeTopublic static final int PUBKEY_FIELD_NUMBER
public static final int TERMS_FIELD_NUMBER
public static final int PRODUCED_BLOCKS_FIELD_NUMBER
public static final int MISSED_TIME_SLOTS_FIELD_NUMBER
public static final int CONTINUAL_APPOINTMENT_COUNT_FIELD_NUMBER
public static final int ANNOUNCEMENT_TRANSACTION_ID_FIELD_NUMBER
public static final int IS_CURRENT_CANDIDATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getPubkey()
Candidate’s public key.
string pubkey = 1;getPubkey 在接口中 ElectionContract.CandidateInformationOrBuilderpublic com.google.protobuf.ByteString getPubkeyBytes()
Candidate’s public key.
string pubkey = 1;getPubkeyBytes 在接口中 ElectionContract.CandidateInformationOrBuilderpublic List<Long> getTermsList()
The number of terms that the candidate is elected.
repeated int64 terms = 2;getTermsList 在接口中 ElectionContract.CandidateInformationOrBuilderpublic int getTermsCount()
The number of terms that the candidate is elected.
repeated int64 terms = 2;getTermsCount 在接口中 ElectionContract.CandidateInformationOrBuilderpublic long getTerms(int index)
The number of terms that the candidate is elected.
repeated int64 terms = 2;getTerms 在接口中 ElectionContract.CandidateInformationOrBuilderindex - The index of the element to return.public long getProducedBlocks()
The number of blocks the candidate has produced.
int64 produced_blocks = 3;getProducedBlocks 在接口中 ElectionContract.CandidateInformationOrBuilderpublic long getMissedTimeSlots()
The time slot for which the candidate failed to produce blocks.
int64 missed_time_slots = 4;getMissedTimeSlots 在接口中 ElectionContract.CandidateInformationOrBuilderpublic long getContinualAppointmentCount()
The count of continual appointment.
int64 continual_appointment_count = 5;getContinualAppointmentCount 在接口中 ElectionContract.CandidateInformationOrBuilderpublic boolean hasAnnouncementTransactionId()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;hasAnnouncementTransactionId 在接口中 ElectionContract.CandidateInformationOrBuilderpublic Client.Hash getAnnouncementTransactionId()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;getAnnouncementTransactionId 在接口中 ElectionContract.CandidateInformationOrBuilderpublic Client.HashOrBuilder getAnnouncementTransactionIdOrBuilder()
The transaction id when the candidate announced.
.Hash announcement_transaction_id = 6;public boolean getIsCurrentCandidate()
Indicate whether the candidate can be elected in the current term.
bool is_current_candidate = 7;getIsCurrentCandidate 在接口中 ElectionContract.CandidateInformationOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ElectionContract.CandidateInformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.CandidateInformation parseFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.CandidateInformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.CandidateInformation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.CandidateInformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.CandidateInformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ElectionContract.CandidateInformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ElectionContract.CandidateInformation.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ElectionContract.CandidateInformation.Builder newBuilder()
public static ElectionContract.CandidateInformation.Builder newBuilder(ElectionContract.CandidateInformation prototype)
public ElectionContract.CandidateInformation.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ElectionContract.CandidateInformation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ElectionContract.CandidateInformation getDefaultInstance()
public static com.google.protobuf.Parser<ElectionContract.CandidateInformation> parser()
public com.google.protobuf.Parser<ElectionContract.CandidateInformation> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ElectionContract.CandidateInformation getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.