public static final class Protocol.Transaction.Result.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder> implements Protocol.Transaction.ResultOrBuilder
protocol.Transaction.Result
Modifier and Type | Method and Description |
---|---|
Protocol.Transaction.Result.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Transaction.Result |
build() |
Protocol.Transaction.Result |
buildPartial() |
Protocol.Transaction.Result.Builder |
clear() |
Protocol.Transaction.Result.Builder |
clearContractRet()
.protocol.Transaction.Result.contractResult contractRet = 3; |
Protocol.Transaction.Result.Builder |
clearExchangeId()
int64 exchange_id = 21; |
Protocol.Transaction.Result.Builder |
clearExchangeInjectAnotherAmount()
int64 exchange_inject_another_amount = 19; |
Protocol.Transaction.Result.Builder |
clearExchangeReceivedAmount()
int64 exchange_received_amount = 18; |
Protocol.Transaction.Result.Builder |
clearExchangeWithdrawAnotherAmount()
int64 exchange_withdraw_another_amount = 20; |
Protocol.Transaction.Result.Builder |
clearFee()
int64 fee = 1; |
Protocol.Transaction.Result.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.Transaction.Result.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.Transaction.Result.Builder |
clearRet()
.protocol.Transaction.Result.code ret = 2; |
Protocol.Transaction.Result.Builder |
clearUnfreezeAmount()
int64 unfreeze_amount = 16; |
Protocol.Transaction.Result.Builder |
clearWithdrawAmount()
int64 withdraw_amount = 15; |
Protocol.Transaction.Result.Builder |
clone() |
Protocol.Transaction.Result.contractResult |
getContractRet()
.protocol.Transaction.Result.contractResult contractRet = 3; |
int |
getContractRetValue()
.protocol.Transaction.Result.contractResult contractRet = 3; |
Protocol.Transaction.Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExchangeId()
int64 exchange_id = 21; |
long |
getExchangeInjectAnotherAmount()
int64 exchange_inject_another_amount = 19; |
long |
getExchangeReceivedAmount()
int64 exchange_received_amount = 18; |
long |
getExchangeWithdrawAnotherAmount()
int64 exchange_withdraw_another_amount = 20; |
long |
getFee()
int64 fee = 1; |
Protocol.Transaction.Result.code |
getRet()
.protocol.Transaction.Result.code ret = 2; |
int |
getRetValue()
.protocol.Transaction.Result.code ret = 2; |
long |
getUnfreezeAmount()
int64 unfreeze_amount = 16; |
long |
getWithdrawAmount()
int64 withdraw_amount = 15; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.Transaction.Result.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.Transaction.Result.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.Transaction.Result.Builder |
mergeFrom(Protocol.Transaction.Result other) |
Protocol.Transaction.Result.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.Transaction.Result.Builder |
setContractRet(Protocol.Transaction.Result.contractResult value)
.protocol.Transaction.Result.contractResult contractRet = 3; |
Protocol.Transaction.Result.Builder |
setContractRetValue(int value)
.protocol.Transaction.Result.contractResult contractRet = 3; |
Protocol.Transaction.Result.Builder |
setExchangeId(long value)
int64 exchange_id = 21; |
Protocol.Transaction.Result.Builder |
setExchangeInjectAnotherAmount(long value)
int64 exchange_inject_another_amount = 19; |
Protocol.Transaction.Result.Builder |
setExchangeReceivedAmount(long value)
int64 exchange_received_amount = 18; |
Protocol.Transaction.Result.Builder |
setExchangeWithdrawAnotherAmount(long value)
int64 exchange_withdraw_another_amount = 20; |
Protocol.Transaction.Result.Builder |
setFee(long value)
int64 fee = 1; |
Protocol.Transaction.Result.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Transaction.Result.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.Transaction.Result.Builder |
setRet(Protocol.Transaction.Result.code value)
.protocol.Transaction.Result.code ret = 2; |
Protocol.Transaction.Result.Builder |
setRetValue(int value)
.protocol.Transaction.Result.code ret = 2; |
Protocol.Transaction.Result.Builder |
setUnfreezeAmount(long value)
int64 unfreeze_amount = 16; |
Protocol.Transaction.Result.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.Transaction.Result.Builder |
setWithdrawAmount(long value)
int64 withdraw_amount = 15; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.Transaction.Result build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.Transaction.Result buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.Transaction.Result.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder mergeFrom(Protocol.Transaction.Result other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public Protocol.Transaction.Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.Transaction.Result.Builder>
IOException
public long getFee()
int64 fee = 1;
getFee
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setFee(long value)
int64 fee = 1;
public Protocol.Transaction.Result.Builder clearFee()
int64 fee = 1;
public int getRetValue()
.protocol.Transaction.Result.code ret = 2;
getRetValue
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setRetValue(int value)
.protocol.Transaction.Result.code ret = 2;
public Protocol.Transaction.Result.code getRet()
.protocol.Transaction.Result.code ret = 2;
getRet
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setRet(Protocol.Transaction.Result.code value)
.protocol.Transaction.Result.code ret = 2;
public Protocol.Transaction.Result.Builder clearRet()
.protocol.Transaction.Result.code ret = 2;
public int getContractRetValue()
.protocol.Transaction.Result.contractResult contractRet = 3;
getContractRetValue
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setContractRetValue(int value)
.protocol.Transaction.Result.contractResult contractRet = 3;
public Protocol.Transaction.Result.contractResult getContractRet()
.protocol.Transaction.Result.contractResult contractRet = 3;
getContractRet
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setContractRet(Protocol.Transaction.Result.contractResult value)
.protocol.Transaction.Result.contractResult contractRet = 3;
public Protocol.Transaction.Result.Builder clearContractRet()
.protocol.Transaction.Result.contractResult contractRet = 3;
public long getWithdrawAmount()
int64 withdraw_amount = 15;
getWithdrawAmount
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setWithdrawAmount(long value)
int64 withdraw_amount = 15;
public Protocol.Transaction.Result.Builder clearWithdrawAmount()
int64 withdraw_amount = 15;
public long getUnfreezeAmount()
int64 unfreeze_amount = 16;
getUnfreezeAmount
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setUnfreezeAmount(long value)
int64 unfreeze_amount = 16;
public Protocol.Transaction.Result.Builder clearUnfreezeAmount()
int64 unfreeze_amount = 16;
public long getExchangeReceivedAmount()
int64 exchange_received_amount = 18;
getExchangeReceivedAmount
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setExchangeReceivedAmount(long value)
int64 exchange_received_amount = 18;
public Protocol.Transaction.Result.Builder clearExchangeReceivedAmount()
int64 exchange_received_amount = 18;
public long getExchangeInjectAnotherAmount()
int64 exchange_inject_another_amount = 19;
getExchangeInjectAnotherAmount
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setExchangeInjectAnotherAmount(long value)
int64 exchange_inject_another_amount = 19;
public Protocol.Transaction.Result.Builder clearExchangeInjectAnotherAmount()
int64 exchange_inject_another_amount = 19;
public long getExchangeWithdrawAnotherAmount()
int64 exchange_withdraw_another_amount = 20;
getExchangeWithdrawAnotherAmount
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setExchangeWithdrawAnotherAmount(long value)
int64 exchange_withdraw_another_amount = 20;
public Protocol.Transaction.Result.Builder clearExchangeWithdrawAnotherAmount()
int64 exchange_withdraw_another_amount = 20;
public long getExchangeId()
int64 exchange_id = 21;
getExchangeId
in interface Protocol.Transaction.ResultOrBuilder
public Protocol.Transaction.Result.Builder setExchangeId(long value)
int64 exchange_id = 21;
public Protocol.Transaction.Result.Builder clearExchangeId()
int64 exchange_id = 21;
public final Protocol.Transaction.Result.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
public final Protocol.Transaction.Result.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Transaction.Result.Builder>
Copyright © 2020. All rights reserved.