public static final class SkipchainProto.SkipBlock extends com.google.protobuf.GeneratedMessageV3 implements SkipchainProto.SkipBlockOrBuilder
skipchain.SkipBlock| Modifier and Type | Class and Description |
|---|---|
static class |
SkipchainProto.SkipBlock.Builder
Protobuf type
skipchain.SkipBlock |
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 |
BACKLINKS_FIELD_NUMBER |
static int |
BASE_HEIGHT_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
FORWARD_FIELD_NUMBER |
static int |
GENESIS_FIELD_NUMBER |
static int |
HASH_FIELD_NUMBER |
static int |
HEIGHT_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
MAX_HEIGHT_FIELD_NUMBER |
static com.google.protobuf.Parser<SkipchainProto.SkipBlock> |
PARSER
Deprecated.
|
static int |
PAYLOAD_FIELD_NUMBER |
static int |
ROSTER_FIELD_NUMBER |
static int |
VERIFIERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getBacklinks(int index)
repeated bytes backlinks = 5; |
int |
getBacklinksCount()
repeated bytes backlinks = 5; |
List<com.google.protobuf.ByteString> |
getBacklinksList()
repeated bytes backlinks = 5; |
int |
getBaseHeight()
required sint32 base_height = 4; |
com.google.protobuf.ByteString |
getData()
required bytes data = 8; |
static SkipchainProto.SkipBlock |
getDefaultInstance() |
SkipchainProto.SkipBlock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SkipchainProto.ForwardLink |
getForward(int index)
repeated .skipchain.ForwardLink forward = 11; |
int |
getForwardCount()
repeated .skipchain.ForwardLink forward = 11; |
List<SkipchainProto.ForwardLink> |
getForwardList()
repeated .skipchain.ForwardLink forward = 11; |
SkipchainProto.ForwardLinkOrBuilder |
getForwardOrBuilder(int index)
repeated .skipchain.ForwardLink forward = 11; |
List<? extends SkipchainProto.ForwardLinkOrBuilder> |
getForwardOrBuilderList()
repeated .skipchain.ForwardLink forward = 11; |
com.google.protobuf.ByteString |
getGenesis()
required bytes genesis = 7; |
com.google.protobuf.ByteString |
getHash()
required bytes hash = 10; |
int |
getHeight()
required sint32 height = 2; |
int |
getIndex()
required sint32 index = 1; |
int |
getMaxHeight()
required sint32 max_height = 3; |
com.google.protobuf.Parser<SkipchainProto.SkipBlock> |
getParserForType() |
com.google.protobuf.ByteString |
getPayload()
optional bytes payload = 12; |
OnetProto.Roster |
getRoster()
required .onet.Roster roster = 9; |
OnetProto.RosterOrBuilder |
getRosterOrBuilder()
required .onet.Roster roster = 9; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getVerifiers(int index)
repeated bytes verifiers = 6; |
int |
getVerifiersCount()
repeated bytes verifiers = 6; |
List<com.google.protobuf.ByteString> |
getVerifiersList()
repeated bytes verifiers = 6; |
boolean |
hasBaseHeight()
required sint32 base_height = 4; |
boolean |
hasData()
required bytes data = 8; |
boolean |
hasGenesis()
required bytes genesis = 7; |
boolean |
hasHash()
required bytes hash = 10; |
int |
hashCode() |
boolean |
hasHeight()
required sint32 height = 2; |
boolean |
hasIndex()
required sint32 index = 1; |
boolean |
hasMaxHeight()
required sint32 max_height = 3; |
boolean |
hasPayload()
optional bytes payload = 12; |
boolean |
hasRoster()
required .onet.Roster roster = 9; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SkipchainProto.SkipBlock.Builder |
newBuilder() |
static SkipchainProto.SkipBlock.Builder |
newBuilder(SkipchainProto.SkipBlock prototype) |
SkipchainProto.SkipBlock.Builder |
newBuilderForType() |
protected SkipchainProto.SkipBlock.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SkipchainProto.SkipBlock |
parseDelimitedFrom(InputStream input) |
static SkipchainProto.SkipBlock |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SkipchainProto.SkipBlock |
parseFrom(byte[] data) |
static SkipchainProto.SkipBlock |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SkipchainProto.SkipBlock |
parseFrom(ByteBuffer data) |
static SkipchainProto.SkipBlock |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SkipchainProto.SkipBlock |
parseFrom(com.google.protobuf.ByteString data) |
static SkipchainProto.SkipBlock |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SkipchainProto.SkipBlock |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SkipchainProto.SkipBlock |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SkipchainProto.SkipBlock |
parseFrom(InputStream input) |
static SkipchainProto.SkipBlock |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SkipchainProto.SkipBlock> |
parser() |
SkipchainProto.SkipBlock.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 INDEX_FIELD_NUMBER
public static final int HEIGHT_FIELD_NUMBER
public static final int MAX_HEIGHT_FIELD_NUMBER
public static final int BASE_HEIGHT_FIELD_NUMBER
public static final int BACKLINKS_FIELD_NUMBER
public static final int VERIFIERS_FIELD_NUMBER
public static final int GENESIS_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int ROSTER_FIELD_NUMBER
public static final int HASH_FIELD_NUMBER
public static final int FORWARD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<SkipchainProto.SkipBlock> PARSER
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 hasIndex()
required sint32 index = 1;hasIndex in interface SkipchainProto.SkipBlockOrBuilderpublic int getIndex()
required sint32 index = 1;getIndex in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasHeight()
required sint32 height = 2;hasHeight in interface SkipchainProto.SkipBlockOrBuilderpublic int getHeight()
required sint32 height = 2;getHeight in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasMaxHeight()
required sint32 max_height = 3;hasMaxHeight in interface SkipchainProto.SkipBlockOrBuilderpublic int getMaxHeight()
required sint32 max_height = 3;getMaxHeight in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasBaseHeight()
required sint32 base_height = 4;hasBaseHeight in interface SkipchainProto.SkipBlockOrBuilderpublic int getBaseHeight()
required sint32 base_height = 4;getBaseHeight in interface SkipchainProto.SkipBlockOrBuilderpublic List<com.google.protobuf.ByteString> getBacklinksList()
repeated bytes backlinks = 5;getBacklinksList in interface SkipchainProto.SkipBlockOrBuilderpublic int getBacklinksCount()
repeated bytes backlinks = 5;getBacklinksCount in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getBacklinks(int index)
repeated bytes backlinks = 5;getBacklinks in interface SkipchainProto.SkipBlockOrBuilderpublic List<com.google.protobuf.ByteString> getVerifiersList()
repeated bytes verifiers = 6;getVerifiersList in interface SkipchainProto.SkipBlockOrBuilderpublic int getVerifiersCount()
repeated bytes verifiers = 6;getVerifiersCount in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getVerifiers(int index)
repeated bytes verifiers = 6;getVerifiers in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasGenesis()
required bytes genesis = 7;hasGenesis in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getGenesis()
required bytes genesis = 7;getGenesis in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasData()
required bytes data = 8;hasData in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getData()
required bytes data = 8;getData in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasRoster()
required .onet.Roster roster = 9;hasRoster in interface SkipchainProto.SkipBlockOrBuilderpublic OnetProto.Roster getRoster()
required .onet.Roster roster = 9;getRoster in interface SkipchainProto.SkipBlockOrBuilderpublic OnetProto.RosterOrBuilder getRosterOrBuilder()
required .onet.Roster roster = 9;getRosterOrBuilder in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasHash()
required bytes hash = 10;hasHash in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getHash()
required bytes hash = 10;getHash in interface SkipchainProto.SkipBlockOrBuilderpublic List<SkipchainProto.ForwardLink> getForwardList()
repeated .skipchain.ForwardLink forward = 11;getForwardList in interface SkipchainProto.SkipBlockOrBuilderpublic List<? extends SkipchainProto.ForwardLinkOrBuilder> getForwardOrBuilderList()
repeated .skipchain.ForwardLink forward = 11;getForwardOrBuilderList in interface SkipchainProto.SkipBlockOrBuilderpublic int getForwardCount()
repeated .skipchain.ForwardLink forward = 11;getForwardCount in interface SkipchainProto.SkipBlockOrBuilderpublic SkipchainProto.ForwardLink getForward(int index)
repeated .skipchain.ForwardLink forward = 11;getForward in interface SkipchainProto.SkipBlockOrBuilderpublic SkipchainProto.ForwardLinkOrBuilder getForwardOrBuilder(int index)
repeated .skipchain.ForwardLink forward = 11;getForwardOrBuilder in interface SkipchainProto.SkipBlockOrBuilderpublic boolean hasPayload()
optional bytes payload = 12;hasPayload in interface SkipchainProto.SkipBlockOrBuilderpublic com.google.protobuf.ByteString getPayload()
optional bytes payload = 12;getPayload in interface SkipchainProto.SkipBlockOrBuilderpublic 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 SkipchainProto.SkipBlock parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SkipchainProto.SkipBlock parseFrom(InputStream input) throws IOException
IOExceptionpublic static SkipchainProto.SkipBlock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SkipchainProto.SkipBlock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SkipchainProto.SkipBlock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SkipchainProto.SkipBlock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SkipchainProto.SkipBlock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SkipchainProto.SkipBlock.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SkipchainProto.SkipBlock.Builder newBuilder()
public static SkipchainProto.SkipBlock.Builder newBuilder(SkipchainProto.SkipBlock prototype)
public SkipchainProto.SkipBlock.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SkipchainProto.SkipBlock.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SkipchainProto.SkipBlock getDefaultInstance()
public static com.google.protobuf.Parser<SkipchainProto.SkipBlock> parser()
public com.google.protobuf.Parser<SkipchainProto.SkipBlock> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SkipchainProto.SkipBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.