public static final class VoteContract.VotingRecord extends com.google.protobuf.GeneratedMessageV3 implements VoteContract.VotingRecordOrBuilder
VotingRecord| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoteContract.VotingRecord.Builder
Protobuf type
VotingRecord |
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 |
AMOUNT_FIELD_NUMBER |
static int |
IS_CHANGE_TARGET_FIELD_NUMBER |
static int |
IS_WITHDRAWN_FIELD_NUMBER |
static int |
OPTION_FIELD_NUMBER |
static int |
SNAPSHOT_NUMBER_FIELD_NUMBER |
static int |
VOTE_TIMESTAMP_FIELD_NUMBER |
static int |
VOTER_FIELD_NUMBER |
static int |
VOTING_ITEM_ID_FIELD_NUMBER |
static int |
WITHDRAW_TIMESTAMP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
long |
getAmount()
The amount of vote.
|
static VoteContract.VotingRecord |
getDefaultInstance() |
VoteContract.VotingRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsChangeTarget()
Whether vote others.
|
boolean |
getIsWithdrawn()
Whether the vote had been withdrawn.
|
String |
getOption()
The option voted.
|
com.google.protobuf.ByteString |
getOptionBytes()
The option voted.
|
com.google.protobuf.Parser<VoteContract.VotingRecord> |
getParserForType() |
int |
getSerializedSize() |
long |
getSnapshotNumber()
The snapshot number.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Client.Address |
getVoter()
The address of voter.
|
Client.AddressOrBuilder |
getVoterOrBuilder()
The address of voter.
|
com.google.protobuf.Timestamp |
getVoteTimestamp()
The time of vote.
|
com.google.protobuf.TimestampOrBuilder |
getVoteTimestampOrBuilder()
The time of vote.
|
Client.Hash |
getVotingItemId()
The voting activity id.
|
Client.HashOrBuilder |
getVotingItemIdOrBuilder()
The voting activity id.
|
com.google.protobuf.Timestamp |
getWithdrawTimestamp()
The time of withdraw.
|
com.google.protobuf.TimestampOrBuilder |
getWithdrawTimestampOrBuilder()
The time of withdraw.
|
int |
hashCode() |
boolean |
hasVoter()
The address of voter.
|
boolean |
hasVoteTimestamp()
The time of vote.
|
boolean |
hasVotingItemId()
The voting activity id.
|
boolean |
hasWithdrawTimestamp()
The time of withdraw.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VoteContract.VotingRecord.Builder |
newBuilder() |
static VoteContract.VotingRecord.Builder |
newBuilder(VoteContract.VotingRecord prototype) |
VoteContract.VotingRecord.Builder |
newBuilderForType() |
protected VoteContract.VotingRecord.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VoteContract.VotingRecord |
parseDelimitedFrom(InputStream input) |
static VoteContract.VotingRecord |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteContract.VotingRecord |
parseFrom(byte[] data) |
static VoteContract.VotingRecord |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteContract.VotingRecord |
parseFrom(ByteBuffer data) |
static VoteContract.VotingRecord |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteContract.VotingRecord |
parseFrom(com.google.protobuf.ByteString data) |
static VoteContract.VotingRecord |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteContract.VotingRecord |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VoteContract.VotingRecord |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteContract.VotingRecord |
parseFrom(InputStream input) |
static VoteContract.VotingRecord |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VoteContract.VotingRecord> |
parser() |
VoteContract.VotingRecord.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 VOTING_ITEM_ID_FIELD_NUMBER
public static final int VOTER_FIELD_NUMBER
public static final int SNAPSHOT_NUMBER_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int WITHDRAW_TIMESTAMP_FIELD_NUMBER
public static final int VOTE_TIMESTAMP_FIELD_NUMBER
public static final int IS_WITHDRAWN_FIELD_NUMBER
public static final int OPTION_FIELD_NUMBER
public static final int IS_CHANGE_TARGET_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 boolean hasVotingItemId()
The voting activity id.
.Hash voting_item_id = 1;hasVotingItemId 在接口中 VoteContract.VotingRecordOrBuilderpublic Client.Hash getVotingItemId()
The voting activity id.
.Hash voting_item_id = 1;getVotingItemId 在接口中 VoteContract.VotingRecordOrBuilderpublic Client.HashOrBuilder getVotingItemIdOrBuilder()
The voting activity id.
.Hash voting_item_id = 1;public boolean hasVoter()
The address of voter.
.Address voter = 2;hasVoter 在接口中 VoteContract.VotingRecordOrBuilderpublic Client.Address getVoter()
The address of voter.
.Address voter = 2;getVoter 在接口中 VoteContract.VotingRecordOrBuilderpublic Client.AddressOrBuilder getVoterOrBuilder()
The address of voter.
.Address voter = 2;public long getSnapshotNumber()
The snapshot number.
int64 snapshot_number = 3;getSnapshotNumber 在接口中 VoteContract.VotingRecordOrBuilderpublic long getAmount()
The amount of vote.
int64 amount = 4;getAmount 在接口中 VoteContract.VotingRecordOrBuilderpublic boolean hasWithdrawTimestamp()
The time of withdraw.
.google.protobuf.Timestamp withdraw_timestamp = 5;hasWithdrawTimestamp 在接口中 VoteContract.VotingRecordOrBuilderpublic com.google.protobuf.Timestamp getWithdrawTimestamp()
The time of withdraw.
.google.protobuf.Timestamp withdraw_timestamp = 5;getWithdrawTimestamp 在接口中 VoteContract.VotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder()
The time of withdraw.
.google.protobuf.Timestamp withdraw_timestamp = 5;public boolean hasVoteTimestamp()
The time of vote.
.google.protobuf.Timestamp vote_timestamp = 6;hasVoteTimestamp 在接口中 VoteContract.VotingRecordOrBuilderpublic com.google.protobuf.Timestamp getVoteTimestamp()
The time of vote.
.google.protobuf.Timestamp vote_timestamp = 6;getVoteTimestamp 在接口中 VoteContract.VotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder()
The time of vote.
.google.protobuf.Timestamp vote_timestamp = 6;public boolean getIsWithdrawn()
Whether the vote had been withdrawn.
bool is_withdrawn = 7;getIsWithdrawn 在接口中 VoteContract.VotingRecordOrBuilderpublic String getOption()
The option voted.
string option = 8;getOption 在接口中 VoteContract.VotingRecordOrBuilderpublic com.google.protobuf.ByteString getOptionBytes()
The option voted.
string option = 8;getOptionBytes 在接口中 VoteContract.VotingRecordOrBuilderpublic boolean getIsChangeTarget()
Whether vote others.
bool is_change_target = 9;getIsChangeTarget 在接口中 VoteContract.VotingRecordOrBuilderpublic 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 VoteContract.VotingRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteContract.VotingRecord parseFrom(InputStream input) throws IOException
IOExceptionpublic static VoteContract.VotingRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VoteContract.VotingRecord parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VoteContract.VotingRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VoteContract.VotingRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VoteContract.VotingRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VoteContract.VotingRecord.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static VoteContract.VotingRecord.Builder newBuilder()
public static VoteContract.VotingRecord.Builder newBuilder(VoteContract.VotingRecord prototype)
public VoteContract.VotingRecord.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected VoteContract.VotingRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static VoteContract.VotingRecord getDefaultInstance()
public static com.google.protobuf.Parser<VoteContract.VotingRecord> parser()
public com.google.protobuf.Parser<VoteContract.VotingRecord> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public VoteContract.VotingRecord getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.