public final class ElectionBucket extends com.google.protobuf.GeneratedMessageV3 implements ElectionBucketOrBuilder
iotextypes.ElectionBucket| Modifier and Type | Class and Description |
|---|---|
static class |
ElectionBucket.Builder
Protobuf type
iotextypes.ElectionBucket |
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 |
AMOUNT_FIELD_NUMBER |
static int |
CANDIDATE_FIELD_NUMBER |
static int |
DECAY_FIELD_NUMBER |
static int |
DURATION_FIELD_NUMBER |
static int |
STARTTIME_FIELD_NUMBER |
static int |
VOTER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getAmount()
bytes amount = 3; |
com.google.protobuf.ByteString |
getCandidate()
bytes candidate = 2; |
boolean |
getDecay()
bool decay = 6; |
static ElectionBucket |
getDefaultInstance() |
ElectionBucket |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getDuration()
.google.protobuf.Duration duration = 5; |
com.google.protobuf.DurationOrBuilder |
getDurationOrBuilder()
.google.protobuf.Duration duration = 5; |
com.google.protobuf.Parser<ElectionBucket> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
.google.protobuf.Timestamp startTime = 4; |
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
.google.protobuf.Timestamp startTime = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getVoter()
bytes voter = 1; |
boolean |
hasDuration()
.google.protobuf.Duration duration = 5; |
int |
hashCode() |
boolean |
hasStartTime()
.google.protobuf.Timestamp startTime = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ElectionBucket.Builder |
newBuilder() |
static ElectionBucket.Builder |
newBuilder(ElectionBucket prototype) |
ElectionBucket.Builder |
newBuilderForType() |
protected ElectionBucket.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ElectionBucket |
parseDelimitedFrom(InputStream input) |
static ElectionBucket |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionBucket |
parseFrom(byte[] data) |
static ElectionBucket |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionBucket |
parseFrom(ByteBuffer data) |
static ElectionBucket |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionBucket |
parseFrom(com.google.protobuf.ByteString data) |
static ElectionBucket |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionBucket |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ElectionBucket |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionBucket |
parseFrom(InputStream input) |
static ElectionBucket |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ElectionBucket> |
parser() |
ElectionBucket.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, 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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VOTER_FIELD_NUMBER
public static final int CANDIDATE_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
public static final int DECAY_FIELD_NUMBER
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 com.google.protobuf.ByteString getVoter()
bytes voter = 1;getVoter in interface ElectionBucketOrBuilderpublic com.google.protobuf.ByteString getCandidate()
bytes candidate = 2;getCandidate in interface ElectionBucketOrBuilderpublic com.google.protobuf.ByteString getAmount()
bytes amount = 3;getAmount in interface ElectionBucketOrBuilderpublic boolean hasStartTime()
.google.protobuf.Timestamp startTime = 4;hasStartTime in interface ElectionBucketOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
.google.protobuf.Timestamp startTime = 4;getStartTime in interface ElectionBucketOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
.google.protobuf.Timestamp startTime = 4;getStartTimeOrBuilder in interface ElectionBucketOrBuilderpublic boolean hasDuration()
.google.protobuf.Duration duration = 5;hasDuration in interface ElectionBucketOrBuilderpublic com.google.protobuf.Duration getDuration()
.google.protobuf.Duration duration = 5;getDuration in interface ElectionBucketOrBuilderpublic com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
.google.protobuf.Duration duration = 5;getDurationOrBuilder in interface ElectionBucketOrBuilderpublic boolean getDecay()
bool decay = 6;getDecay in interface ElectionBucketOrBuilderpublic 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 ElectionBucket parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionBucket parseFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionBucket parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionBucket parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionBucket parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionBucket parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ElectionBucket parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ElectionBucket.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ElectionBucket.Builder newBuilder()
public static ElectionBucket.Builder newBuilder(ElectionBucket prototype)
public ElectionBucket.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ElectionBucket.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ElectionBucket getDefaultInstance()
public static com.google.protobuf.Parser<ElectionBucket> parser()
public com.google.protobuf.Parser<ElectionBucket> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ElectionBucket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 IoTeX Group. All rights reserved.