public static final class TransactionLog.Transaction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder> implements TransactionLog.TransactionOrBuilder
iotextypes.TransactionLog.Transaction| Modifier and Type | Method and Description |
|---|---|
TransactionLog.Transaction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionLog.Transaction |
build() |
TransactionLog.Transaction |
buildPartial() |
TransactionLog.Transaction.Builder |
clear() |
TransactionLog.Transaction.Builder |
clearAmount()
string amount = 2; |
TransactionLog.Transaction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionLog.Transaction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionLog.Transaction.Builder |
clearRecipient()
string recipient = 4; |
TransactionLog.Transaction.Builder |
clearSender()
string sender = 3; |
TransactionLog.Transaction.Builder |
clearTopic()
bytes topic = 1; |
TransactionLog.Transaction.Builder |
clearType()
.iotextypes.TransactionLogType type = 5; |
TransactionLog.Transaction.Builder |
clone() |
String |
getAmount()
string amount = 2; |
com.google.protobuf.ByteString |
getAmountBytes()
string amount = 2; |
TransactionLog.Transaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRecipient()
string recipient = 4; |
com.google.protobuf.ByteString |
getRecipientBytes()
string recipient = 4; |
String |
getSender()
string sender = 3; |
com.google.protobuf.ByteString |
getSenderBytes()
string sender = 3; |
com.google.protobuf.ByteString |
getTopic()
bytes topic = 1; |
TransactionLogType |
getType()
.iotextypes.TransactionLogType type = 5; |
int |
getTypeValue()
.iotextypes.TransactionLogType type = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransactionLog.Transaction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionLog.Transaction.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionLog.Transaction.Builder |
mergeFrom(TransactionLog.Transaction other) |
TransactionLog.Transaction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionLog.Transaction.Builder |
setAmount(String value)
string amount = 2; |
TransactionLog.Transaction.Builder |
setAmountBytes(com.google.protobuf.ByteString value)
string amount = 2; |
TransactionLog.Transaction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionLog.Transaction.Builder |
setRecipient(String value)
string recipient = 4; |
TransactionLog.Transaction.Builder |
setRecipientBytes(com.google.protobuf.ByteString value)
string recipient = 4; |
TransactionLog.Transaction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransactionLog.Transaction.Builder |
setSender(String value)
string sender = 3; |
TransactionLog.Transaction.Builder |
setSenderBytes(com.google.protobuf.ByteString value)
string sender = 3; |
TransactionLog.Transaction.Builder |
setTopic(com.google.protobuf.ByteString value)
bytes topic = 1; |
TransactionLog.Transaction.Builder |
setType(TransactionLogType value)
.iotextypes.TransactionLogType type = 5; |
TransactionLog.Transaction.Builder |
setTypeValue(int value)
.iotextypes.TransactionLogType type = 5; |
TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>public TransactionLog.Transaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransactionLog.Transaction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransactionLog.Transaction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransactionLog.Transaction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.Builder mergeFrom(TransactionLog.Transaction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>public TransactionLog.Transaction.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<TransactionLog.Transaction.Builder>IOExceptionpublic com.google.protobuf.ByteString getTopic()
bytes topic = 1;getTopic in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setTopic(com.google.protobuf.ByteString value)
bytes topic = 1;public TransactionLog.Transaction.Builder clearTopic()
bytes topic = 1;public String getAmount()
string amount = 2;getAmount in interface TransactionLog.TransactionOrBuilderpublic com.google.protobuf.ByteString getAmountBytes()
string amount = 2;getAmountBytes in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setAmount(String value)
string amount = 2;public TransactionLog.Transaction.Builder clearAmount()
string amount = 2;public TransactionLog.Transaction.Builder setAmountBytes(com.google.protobuf.ByteString value)
string amount = 2;public String getSender()
string sender = 3;getSender in interface TransactionLog.TransactionOrBuilderpublic com.google.protobuf.ByteString getSenderBytes()
string sender = 3;getSenderBytes in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setSender(String value)
string sender = 3;public TransactionLog.Transaction.Builder clearSender()
string sender = 3;public TransactionLog.Transaction.Builder setSenderBytes(com.google.protobuf.ByteString value)
string sender = 3;public String getRecipient()
string recipient = 4;getRecipient in interface TransactionLog.TransactionOrBuilderpublic com.google.protobuf.ByteString getRecipientBytes()
string recipient = 4;getRecipientBytes in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setRecipient(String value)
string recipient = 4;public TransactionLog.Transaction.Builder clearRecipient()
string recipient = 4;public TransactionLog.Transaction.Builder setRecipientBytes(com.google.protobuf.ByteString value)
string recipient = 4;public int getTypeValue()
.iotextypes.TransactionLogType type = 5;getTypeValue in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setTypeValue(int value)
.iotextypes.TransactionLogType type = 5;public TransactionLogType getType()
.iotextypes.TransactionLogType type = 5;getType in interface TransactionLog.TransactionOrBuilderpublic TransactionLog.Transaction.Builder setType(TransactionLogType value)
.iotextypes.TransactionLogType type = 5;public TransactionLog.Transaction.Builder clearType()
.iotextypes.TransactionLogType type = 5;public final TransactionLog.Transaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>public final TransactionLog.Transaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionLog.Transaction.Builder>Copyright © 2022 IoTeX Group. All rights reserved.