public final class BlockProposal extends com.google.protobuf.GeneratedMessageV3 implements BlockProposalOrBuilder
iotextypes.BlockProposal| Modifier and Type | Class and Description |
|---|---|
static class |
BlockProposal.Builder
Protobuf type
iotextypes.BlockProposal |
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 |
BLOCK_FIELD_NUMBER |
static int |
ENDORSEMENTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Block |
getBlock()
.iotextypes.Block block = 1; |
BlockOrBuilder |
getBlockOrBuilder()
.iotextypes.Block block = 1; |
static BlockProposal |
getDefaultInstance() |
BlockProposal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Endorsement |
getEndorsements(int index)
repeated .iotextypes.Endorsement endorsements = 2; |
int |
getEndorsementsCount()
repeated .iotextypes.Endorsement endorsements = 2; |
List<Endorsement> |
getEndorsementsList()
repeated .iotextypes.Endorsement endorsements = 2; |
EndorsementOrBuilder |
getEndorsementsOrBuilder(int index)
repeated .iotextypes.Endorsement endorsements = 2; |
List<? extends EndorsementOrBuilder> |
getEndorsementsOrBuilderList()
repeated .iotextypes.Endorsement endorsements = 2; |
com.google.protobuf.Parser<BlockProposal> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlock()
.iotextypes.Block block = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BlockProposal.Builder |
newBuilder() |
static BlockProposal.Builder |
newBuilder(BlockProposal prototype) |
BlockProposal.Builder |
newBuilderForType() |
protected BlockProposal.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BlockProposal |
parseDelimitedFrom(InputStream input) |
static BlockProposal |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockProposal |
parseFrom(byte[] data) |
static BlockProposal |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockProposal |
parseFrom(ByteBuffer data) |
static BlockProposal |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockProposal |
parseFrom(com.google.protobuf.ByteString data) |
static BlockProposal |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockProposal |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BlockProposal |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockProposal |
parseFrom(InputStream input) |
static BlockProposal |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BlockProposal> |
parser() |
BlockProposal.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 BLOCK_FIELD_NUMBER
public static final int ENDORSEMENTS_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 boolean hasBlock()
.iotextypes.Block block = 1;hasBlock in interface BlockProposalOrBuilderpublic Block getBlock()
.iotextypes.Block block = 1;getBlock in interface BlockProposalOrBuilderpublic BlockOrBuilder getBlockOrBuilder()
.iotextypes.Block block = 1;getBlockOrBuilder in interface BlockProposalOrBuilderpublic List<Endorsement> getEndorsementsList()
repeated .iotextypes.Endorsement endorsements = 2;getEndorsementsList in interface BlockProposalOrBuilderpublic List<? extends EndorsementOrBuilder> getEndorsementsOrBuilderList()
repeated .iotextypes.Endorsement endorsements = 2;getEndorsementsOrBuilderList in interface BlockProposalOrBuilderpublic int getEndorsementsCount()
repeated .iotextypes.Endorsement endorsements = 2;getEndorsementsCount in interface BlockProposalOrBuilderpublic Endorsement getEndorsements(int index)
repeated .iotextypes.Endorsement endorsements = 2;getEndorsements in interface BlockProposalOrBuilderpublic EndorsementOrBuilder getEndorsementsOrBuilder(int index)
repeated .iotextypes.Endorsement endorsements = 2;getEndorsementsOrBuilder in interface BlockProposalOrBuilderpublic 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 BlockProposal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockProposal parseFrom(InputStream input) throws IOException
IOExceptionpublic static BlockProposal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BlockProposal parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BlockProposal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BlockProposal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BlockProposal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BlockProposal.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BlockProposal.Builder newBuilder()
public static BlockProposal.Builder newBuilder(BlockProposal prototype)
public BlockProposal.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BlockProposal.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BlockProposal getDefaultInstance()
public static com.google.protobuf.Parser<BlockProposal> parser()
public com.google.protobuf.Parser<BlockProposal> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BlockProposal getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 IoTeX Group. All rights reserved.