public static final class Chainkit.GetBestBlockResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Chainkit.GetBestBlockResponse.Builder> implements Chainkit.GetBestBlockResponseOrBuilder
chainrpc.GetBestBlockResponseaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<Chainkit.GetBestBlockResponse.Builder>public Chainkit.GetBestBlockResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Chainkit.GetBestBlockResponse.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<Chainkit.GetBestBlockResponse.Builder>public Chainkit.GetBestBlockResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Chainkit.GetBestBlockResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Chainkit.GetBestBlockResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Chainkit.GetBestBlockResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chainkit.GetBestBlockResponse.Builder>public Chainkit.GetBestBlockResponse.Builder mergeFrom(Chainkit.GetBestBlockResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Chainkit.GetBestBlockResponse.Builder>public Chainkit.GetBestBlockResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chainkit.GetBestBlockResponse.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getBlockHash()
The hash of the best block.
bytes block_hash = 1;getBlockHash in interface Chainkit.GetBestBlockResponseOrBuilderpublic Chainkit.GetBestBlockResponse.Builder setBlockHash(com.google.protobuf.ByteString value)
The hash of the best block.
bytes block_hash = 1;value - The blockHash to set.public Chainkit.GetBestBlockResponse.Builder clearBlockHash()
The hash of the best block.
bytes block_hash = 1;public int getBlockHeight()
The height of the best block.
int32 block_height = 2;getBlockHeight in interface Chainkit.GetBestBlockResponseOrBuilderpublic Chainkit.GetBestBlockResponse.Builder setBlockHeight(int value)
The height of the best block.
int32 block_height = 2;value - The blockHeight to set.public Chainkit.GetBestBlockResponse.Builder clearBlockHeight()
The height of the best block.
int32 block_height = 2;public final Chainkit.GetBestBlockResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Chainkit.GetBestBlockResponse.Builder>public final Chainkit.GetBestBlockResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Chainkit.GetBestBlockResponse.Builder>