public static final class ChainMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder> implements ChainMetaOrBuilder
Blockchain MetadataProtobuf type
iotextypes.ChainMeta| Modifier and Type | Method and Description |
|---|---|
ChainMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChainMeta |
build() |
ChainMeta |
buildPartial() |
ChainMeta.Builder |
clear() |
ChainMeta.Builder |
clearChainID()
uint32 chainID = 6; |
ChainMeta.Builder |
clearEpoch()
.iotextypes.EpochData epoch = 4; |
ChainMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChainMeta.Builder |
clearHeight()
uint64 height = 1; |
ChainMeta.Builder |
clearNumActions()
int64 numActions = 2; |
ChainMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ChainMeta.Builder |
clearTps()
int64 tps = 3; |
ChainMeta.Builder |
clearTpsFloat()
float tpsFloat = 5; |
ChainMeta.Builder |
clone() |
int |
getChainID()
uint32 chainID = 6; |
ChainMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EpochData |
getEpoch()
.iotextypes.EpochData epoch = 4; |
EpochData.Builder |
getEpochBuilder()
.iotextypes.EpochData epoch = 4; |
EpochDataOrBuilder |
getEpochOrBuilder()
.iotextypes.EpochData epoch = 4; |
long |
getHeight()
uint64 height = 1; |
long |
getNumActions()
int64 numActions = 2; |
long |
getTps()
int64 tps = 3; |
float |
getTpsFloat()
float tpsFloat = 5; |
boolean |
hasEpoch()
.iotextypes.EpochData epoch = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChainMeta.Builder |
mergeEpoch(EpochData value)
.iotextypes.EpochData epoch = 4; |
ChainMeta.Builder |
mergeFrom(ChainMeta other) |
ChainMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChainMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChainMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChainMeta.Builder |
setChainID(int value)
uint32 chainID = 6; |
ChainMeta.Builder |
setEpoch(EpochData.Builder builderForValue)
.iotextypes.EpochData epoch = 4; |
ChainMeta.Builder |
setEpoch(EpochData value)
.iotextypes.EpochData epoch = 4; |
ChainMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChainMeta.Builder |
setHeight(long value)
uint64 height = 1; |
ChainMeta.Builder |
setNumActions(long value)
int64 numActions = 2; |
ChainMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ChainMeta.Builder |
setTps(long value)
int64 tps = 3; |
ChainMeta.Builder |
setTpsFloat(float value)
float tpsFloat = 5; |
ChainMeta.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChainMeta build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChainMeta buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChainMeta.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChainMeta.Builder>public ChainMeta.Builder mergeFrom(ChainMeta other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public ChainMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChainMeta.Builder>IOExceptionpublic long getHeight()
uint64 height = 1;getHeight in interface ChainMetaOrBuilderpublic ChainMeta.Builder setHeight(long value)
uint64 height = 1;public ChainMeta.Builder clearHeight()
uint64 height = 1;public long getNumActions()
int64 numActions = 2;getNumActions in interface ChainMetaOrBuilderpublic ChainMeta.Builder setNumActions(long value)
int64 numActions = 2;public ChainMeta.Builder clearNumActions()
int64 numActions = 2;public long getTps()
int64 tps = 3;getTps in interface ChainMetaOrBuilderpublic ChainMeta.Builder setTps(long value)
int64 tps = 3;public ChainMeta.Builder clearTps()
int64 tps = 3;public boolean hasEpoch()
.iotextypes.EpochData epoch = 4;hasEpoch in interface ChainMetaOrBuilderpublic EpochData getEpoch()
.iotextypes.EpochData epoch = 4;getEpoch in interface ChainMetaOrBuilderpublic ChainMeta.Builder setEpoch(EpochData value)
.iotextypes.EpochData epoch = 4;public ChainMeta.Builder setEpoch(EpochData.Builder builderForValue)
.iotextypes.EpochData epoch = 4;public ChainMeta.Builder mergeEpoch(EpochData value)
.iotextypes.EpochData epoch = 4;public ChainMeta.Builder clearEpoch()
.iotextypes.EpochData epoch = 4;public EpochData.Builder getEpochBuilder()
.iotextypes.EpochData epoch = 4;public EpochDataOrBuilder getEpochOrBuilder()
.iotextypes.EpochData epoch = 4;getEpochOrBuilder in interface ChainMetaOrBuilderpublic float getTpsFloat()
float tpsFloat = 5;getTpsFloat in interface ChainMetaOrBuilderpublic ChainMeta.Builder setTpsFloat(float value)
float tpsFloat = 5;public ChainMeta.Builder clearTpsFloat()
float tpsFloat = 5;public int getChainID()
uint32 chainID = 6;getChainID in interface ChainMetaOrBuilderpublic ChainMeta.Builder setChainID(int value)
uint32 chainID = 6;public ChainMeta.Builder clearChainID()
uint32 chainID = 6;public final ChainMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>public final ChainMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChainMeta.Builder>Copyright © 2022 IoTeX Group. All rights reserved.