public static final class GetWithProof.UpdateToLatestLedgerResponse extends com.google.protobuf.GeneratedMessageV3 implements GetWithProof.UpdateToLatestLedgerResponseOrBuilder
Response from getting latest ledgerProtobuf type
types.UpdateToLatestLedgerResponse| Modifier and Type | Class and Description |
|---|---|
static class |
GetWithProof.UpdateToLatestLedgerResponse.Builder
Response from getting latest ledger
|
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 |
LEDGER_INFO_WITH_SIGS_FIELD_NUMBER |
static int |
RESPONSE_ITEMS_FIELD_NUMBER |
static int |
VALIDATOR_CHANGE_EVENTS_FIELD_NUMBER |
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 RESPONSE_ITEMS_FIELD_NUMBER
public static final int LEDGER_INFO_WITH_SIGS_FIELD_NUMBER
public static final int VALIDATOR_CHANGE_EVENTS_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 List<GetWithProof.ResponseItem> getResponseItemsList()
Responses to the queries posed by the requests. The proofs generated will be relative to the version of the latest ledger provided below.
repeated .types.ResponseItem response_items = 1;getResponseItemsList in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic List<? extends GetWithProof.ResponseItemOrBuilder> getResponseItemsOrBuilderList()
Responses to the queries posed by the requests. The proofs generated will be relative to the version of the latest ledger provided below.
repeated .types.ResponseItem response_items = 1;getResponseItemsOrBuilderList in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic int getResponseItemsCount()
Responses to the queries posed by the requests. The proofs generated will be relative to the version of the latest ledger provided below.
repeated .types.ResponseItem response_items = 1;getResponseItemsCount in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic GetWithProof.ResponseItem getResponseItems(int index)
Responses to the queries posed by the requests. The proofs generated will be relative to the version of the latest ledger provided below.
repeated .types.ResponseItem response_items = 1;getResponseItems in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic GetWithProof.ResponseItemOrBuilder getResponseItemsOrBuilder(int index)
Responses to the queries posed by the requests. The proofs generated will be relative to the version of the latest ledger provided below.
repeated .types.ResponseItem response_items = 1;getResponseItemsOrBuilder in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic boolean hasLedgerInfoWithSigs()
The latest ledger info this node has. It will come with at least 2f+1 validator signatures as well as a proof that shows the latest ledger extends the old ledger the client had.
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 2;hasLedgerInfoWithSigs in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic LedgerInfoOuterClass.LedgerInfoWithSignatures getLedgerInfoWithSigs()
The latest ledger info this node has. It will come with at least 2f+1 validator signatures as well as a proof that shows the latest ledger extends the old ledger the client had.
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 2;getLedgerInfoWithSigs in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic LedgerInfoOuterClass.LedgerInfoWithSignaturesOrBuilder getLedgerInfoWithSigsOrBuilder()
The latest ledger info this node has. It will come with at least 2f+1 validator signatures as well as a proof that shows the latest ledger extends the old ledger the client had.
.types.LedgerInfoWithSignatures ledger_info_with_sigs = 2;getLedgerInfoWithSigsOrBuilder in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic List<ValidatorChange.ValidatorChangeEventWithProof> getValidatorChangeEventsList()
Validator change events from what the client last knew. This is used to inform the client of validator changes from the client's last known version until the current version
repeated .types.ValidatorChangeEventWithProof validator_change_events = 3;getValidatorChangeEventsList in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic List<? extends ValidatorChange.ValidatorChangeEventWithProofOrBuilder> getValidatorChangeEventsOrBuilderList()
Validator change events from what the client last knew. This is used to inform the client of validator changes from the client's last known version until the current version
repeated .types.ValidatorChangeEventWithProof validator_change_events = 3;getValidatorChangeEventsOrBuilderList in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic int getValidatorChangeEventsCount()
Validator change events from what the client last knew. This is used to inform the client of validator changes from the client's last known version until the current version
repeated .types.ValidatorChangeEventWithProof validator_change_events = 3;getValidatorChangeEventsCount in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic ValidatorChange.ValidatorChangeEventWithProof getValidatorChangeEvents(int index)
Validator change events from what the client last knew. This is used to inform the client of validator changes from the client's last known version until the current version
repeated .types.ValidatorChangeEventWithProof validator_change_events = 3;getValidatorChangeEvents in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic ValidatorChange.ValidatorChangeEventWithProofOrBuilder getValidatorChangeEventsOrBuilder(int index)
Validator change events from what the client last knew. This is used to inform the client of validator changes from the client's last known version until the current version
repeated .types.ValidatorChangeEventWithProof validator_change_events = 3;getValidatorChangeEventsOrBuilder in interface GetWithProof.UpdateToLatestLedgerResponseOrBuilderpublic 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 GetWithProof.UpdateToLatestLedgerResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GetWithProof.UpdateToLatestLedgerResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GetWithProof.UpdateToLatestLedgerResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GetWithProof.UpdateToLatestLedgerResponse.Builder newBuilder()
public static GetWithProof.UpdateToLatestLedgerResponse.Builder newBuilder(GetWithProof.UpdateToLatestLedgerResponse prototype)
public GetWithProof.UpdateToLatestLedgerResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GetWithProof.UpdateToLatestLedgerResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GetWithProof.UpdateToLatestLedgerResponse getDefaultInstance()
public static com.google.protobuf.Parser<GetWithProof.UpdateToLatestLedgerResponse> parser()
public com.google.protobuf.Parser<GetWithProof.UpdateToLatestLedgerResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GetWithProof.UpdateToLatestLedgerResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.