![JAR search and dependency download from the Maven repository](/logo.png)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: waves/invoke_script_result.proto
package com.wavesplatform.protobuf.transaction;
public final class InvokeScriptResultOuterClass {
private InvokeScriptResultOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface InvokeScriptResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
java.util.List
getDataList();
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry getData(int index);
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
int getDataCount();
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder>
getDataOrBuilderList();
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder getDataOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
java.util.List
getTransfersList();
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getTransfers(int index);
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
int getTransfersCount();
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder>
getTransfersOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder getTransfersOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
java.util.List
getIssuesList();
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getIssues(int index);
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
int getIssuesCount();
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder>
getIssuesOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder getIssuesOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
java.util.List
getReissuesList();
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getReissues(int index);
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
int getReissuesCount();
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder>
getReissuesOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder getReissuesOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
java.util.List
getBurnsList();
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getBurns(int index);
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
int getBurnsCount();
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder>
getBurnsOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder getBurnsOrBuilder(
int index);
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return Whether the errorMessage field is set.
*/
boolean hasErrorMessage();
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return The errorMessage.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getErrorMessage();
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder getErrorMessageOrBuilder();
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
java.util.List
getSponsorFeesList();
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getSponsorFees(int index);
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
int getSponsorFeesCount();
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder>
getSponsorFeesOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder getSponsorFeesOrBuilder(
int index);
}
/**
* Protobuf type {@code waves.InvokeScriptResult}
*/
public static final class InvokeScriptResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult)
InvokeScriptResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use InvokeScriptResult.newBuilder() to construct.
private InvokeScriptResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InvokeScriptResult() {
data_ = java.util.Collections.emptyList();
transfers_ = java.util.Collections.emptyList();
issues_ = java.util.Collections.emptyList();
reissues_ = java.util.Collections.emptyList();
burns_ = java.util.Collections.emptyList();
sponsorFees_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InvokeScriptResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InvokeScriptResult(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
data_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
data_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
transfers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
transfers_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
issues_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
issues_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
reissues_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
reissues_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
burns_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
burns_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.parser(), extensionRegistry));
break;
}
case 50: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder subBuilder = null;
if (errorMessage_ != null) {
subBuilder = errorMessage_.toBuilder();
}
errorMessage_ = input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(errorMessage_);
errorMessage_ = subBuilder.buildPartial();
}
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
sponsorFees_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
sponsorFees_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
data_ = java.util.Collections.unmodifiableList(data_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
transfers_ = java.util.Collections.unmodifiableList(transfers_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
issues_ = java.util.Collections.unmodifiableList(issues_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
reissues_ = java.util.Collections.unmodifiableList(reissues_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
burns_ = java.util.Collections.unmodifiableList(burns_);
}
if (((mutable_bitField0_ & 0x00000020) != 0)) {
sponsorFees_ = java.util.Collections.unmodifiableList(sponsorFees_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder.class);
}
public interface PaymentOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Payment)
com.google.protobuf.MessageOrBuilder {
/**
* bytes address = 1;
* @return The address.
*/
com.google.protobuf.ByteString getAddress();
/**
* .waves.Amount amount = 2;
* @return Whether the amount field is set.
*/
boolean hasAmount();
/**
* .waves.Amount amount = 2;
* @return The amount.
*/
com.wavesplatform.protobuf.AmountOuterClass.Amount getAmount();
/**
* .waves.Amount amount = 2;
*/
com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getAmountOrBuilder();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Payment}
*/
public static final class Payment extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Payment)
PaymentOrBuilder {
private static final long serialVersionUID = 0L;
// Use Payment.newBuilder() to construct.
private Payment(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Payment() {
address_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Payment();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Payment(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
address_ = input.readBytes();
break;
}
case 18: {
com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder subBuilder = null;
if (amount_ != null) {
subBuilder = amount_.toBuilder();
}
amount_ = input.readMessage(com.wavesplatform.protobuf.AmountOuterClass.Amount.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(amount_);
amount_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Payment_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Payment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder.class);
}
public static final int ADDRESS_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString address_;
/**
* bytes address = 1;
* @return The address.
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
public static final int AMOUNT_FIELD_NUMBER = 2;
private com.wavesplatform.protobuf.AmountOuterClass.Amount amount_;
/**
* .waves.Amount amount = 2;
* @return Whether the amount field is set.
*/
public boolean hasAmount() {
return amount_ != null;
}
/**
* .waves.Amount amount = 2;
* @return The amount.
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getAmount() {
return amount_ == null ? com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : amount_;
}
/**
* .waves.Amount amount = 2;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getAmountOrBuilder() {
return getAmount();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!address_.isEmpty()) {
output.writeBytes(1, address_);
}
if (amount_ != null) {
output.writeMessage(2, getAmount());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!address_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, address_);
}
if (amount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAmount());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment) obj;
if (!getAddress()
.equals(other.getAddress())) return false;
if (hasAmount() != other.hasAmount()) return false;
if (hasAmount()) {
if (!getAmount()
.equals(other.getAmount())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
if (hasAmount()) {
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + getAmount().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Payment}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Payment)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Payment_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Payment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
address_ = com.google.protobuf.ByteString.EMPTY;
if (amountBuilder_ == null) {
amount_ = null;
} else {
amount_ = null;
amountBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Payment_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment(this);
result.address_ = address_;
if (amountBuilder_ == null) {
result.amount_ = amount_;
} else {
result.amount_ = amountBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.getDefaultInstance()) return this;
if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) {
setAddress(other.getAddress());
}
if (other.hasAmount()) {
mergeAmount(other.getAmount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes address = 1;
* @return The address.
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
/**
* bytes address = 1;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
address_ = value;
onChanged();
return this;
}
/**
* bytes address = 1;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
onChanged();
return this;
}
private com.wavesplatform.protobuf.AmountOuterClass.Amount amount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder> amountBuilder_;
/**
* .waves.Amount amount = 2;
* @return Whether the amount field is set.
*/
public boolean hasAmount() {
return amountBuilder_ != null || amount_ != null;
}
/**
* .waves.Amount amount = 2;
* @return The amount.
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getAmount() {
if (amountBuilder_ == null) {
return amount_ == null ? com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : amount_;
} else {
return amountBuilder_.getMessage();
}
}
/**
* .waves.Amount amount = 2;
*/
public Builder setAmount(com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (amountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
amount_ = value;
onChanged();
} else {
amountBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.Amount amount = 2;
*/
public Builder setAmount(
com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder builderForValue) {
if (amountBuilder_ == null) {
amount_ = builderForValue.build();
onChanged();
} else {
amountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.Amount amount = 2;
*/
public Builder mergeAmount(com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (amountBuilder_ == null) {
if (amount_ != null) {
amount_ =
com.wavesplatform.protobuf.AmountOuterClass.Amount.newBuilder(amount_).mergeFrom(value).buildPartial();
} else {
amount_ = value;
}
onChanged();
} else {
amountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.Amount amount = 2;
*/
public Builder clearAmount() {
if (amountBuilder_ == null) {
amount_ = null;
onChanged();
} else {
amount_ = null;
amountBuilder_ = null;
}
return this;
}
/**
* .waves.Amount amount = 2;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder getAmountBuilder() {
onChanged();
return getAmountFieldBuilder().getBuilder();
}
/**
* .waves.Amount amount = 2;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getAmountOrBuilder() {
if (amountBuilder_ != null) {
return amountBuilder_.getMessageOrBuilder();
} else {
return amount_ == null ?
com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : amount_;
}
}
/**
* .waves.Amount amount = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getAmountFieldBuilder() {
if (amountBuilder_ == null) {
amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>(
getAmount(),
getParentForChildren(),
isClean());
amount_ = null;
}
return amountBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.Payment)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Payment)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Payment parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Payment(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IssueOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Issue)
com.google.protobuf.MessageOrBuilder {
/**
* bytes asset_id = 1;
* @return The assetId.
*/
com.google.protobuf.ByteString getAssetId();
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string description = 3;
* @return The description.
*/
java.lang.String getDescription();
/**
* string description = 3;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* int64 amount = 4;
* @return The amount.
*/
long getAmount();
/**
* int32 decimals = 5;
* @return The decimals.
*/
int getDecimals();
/**
* bool reissuable = 6;
* @return The reissuable.
*/
boolean getReissuable();
/**
* bytes script = 7;
* @return The script.
*/
com.google.protobuf.ByteString getScript();
/**
* int64 nonce = 8;
* @return The nonce.
*/
long getNonce();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Issue}
*/
public static final class Issue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Issue)
IssueOrBuilder {
private static final long serialVersionUID = 0L;
// Use Issue.newBuilder() to construct.
private Issue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Issue() {
assetId_ = com.google.protobuf.ByteString.EMPTY;
name_ = "";
description_ = "";
script_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Issue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Issue(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
assetId_ = input.readBytes();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 32: {
amount_ = input.readInt64();
break;
}
case 40: {
decimals_ = input.readInt32();
break;
}
case 48: {
reissuable_ = input.readBool();
break;
}
case 58: {
script_ = input.readBytes();
break;
}
case 64: {
nonce_ = input.readInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Issue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Issue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder.class);
}
public static final int ASSET_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString assetId_;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 3;
private volatile java.lang.Object description_;
/**
* string description = 3;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
* string description = 3;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AMOUNT_FIELD_NUMBER = 4;
private long amount_;
/**
* int64 amount = 4;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
public static final int DECIMALS_FIELD_NUMBER = 5;
private int decimals_;
/**
* int32 decimals = 5;
* @return The decimals.
*/
public int getDecimals() {
return decimals_;
}
public static final int REISSUABLE_FIELD_NUMBER = 6;
private boolean reissuable_;
/**
* bool reissuable = 6;
* @return The reissuable.
*/
public boolean getReissuable() {
return reissuable_;
}
public static final int SCRIPT_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString script_;
/**
* bytes script = 7;
* @return The script.
*/
public com.google.protobuf.ByteString getScript() {
return script_;
}
public static final int NONCE_FIELD_NUMBER = 8;
private long nonce_;
/**
* int64 nonce = 8;
* @return The nonce.
*/
public long getNonce() {
return nonce_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!assetId_.isEmpty()) {
output.writeBytes(1, assetId_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (amount_ != 0L) {
output.writeInt64(4, amount_);
}
if (decimals_ != 0) {
output.writeInt32(5, decimals_);
}
if (reissuable_ != false) {
output.writeBool(6, reissuable_);
}
if (!script_.isEmpty()) {
output.writeBytes(7, script_);
}
if (nonce_ != 0L) {
output.writeInt64(8, nonce_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!assetId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, assetId_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (amount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, amount_);
}
if (decimals_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, decimals_);
}
if (reissuable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, reissuable_);
}
if (!script_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, script_);
}
if (nonce_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, nonce_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue) obj;
if (!getAssetId()
.equals(other.getAssetId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (getAmount()
!= other.getAmount()) return false;
if (getDecimals()
!= other.getDecimals()) return false;
if (getReissuable()
!= other.getReissuable()) return false;
if (!getScript()
.equals(other.getScript())) return false;
if (getNonce()
!= other.getNonce()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ASSET_ID_FIELD_NUMBER;
hash = (53 * hash) + getAssetId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAmount());
hash = (37 * hash) + DECIMALS_FIELD_NUMBER;
hash = (53 * hash) + getDecimals();
hash = (37 * hash) + REISSUABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getReissuable());
hash = (37 * hash) + SCRIPT_FIELD_NUMBER;
hash = (53 * hash) + getScript().hashCode();
hash = (37 * hash) + NONCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNonce());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Issue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Issue)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Issue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Issue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
assetId_ = com.google.protobuf.ByteString.EMPTY;
name_ = "";
description_ = "";
amount_ = 0L;
decimals_ = 0;
reissuable_ = false;
script_ = com.google.protobuf.ByteString.EMPTY;
nonce_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Issue_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue(this);
result.assetId_ = assetId_;
result.name_ = name_;
result.description_ = description_;
result.amount_ = amount_;
result.decimals_ = decimals_;
result.reissuable_ = reissuable_;
result.script_ = script_;
result.nonce_ = nonce_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.getDefaultInstance()) return this;
if (other.getAssetId() != com.google.protobuf.ByteString.EMPTY) {
setAssetId(other.getAssetId());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (other.getAmount() != 0L) {
setAmount(other.getAmount());
}
if (other.getDecimals() != 0) {
setDecimals(other.getDecimals());
}
if (other.getReissuable() != false) {
setReissuable(other.getReissuable());
}
if (other.getScript() != com.google.protobuf.ByteString.EMPTY) {
setScript(other.getScript());
}
if (other.getNonce() != 0L) {
setNonce(other.getNonce());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString assetId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
/**
* bytes asset_id = 1;
* @param value The assetId to set.
* @return This builder for chaining.
*/
public Builder setAssetId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
assetId_ = value;
onChanged();
return this;
}
/**
* bytes asset_id = 1;
* @return This builder for chaining.
*/
public Builder clearAssetId() {
assetId_ = getDefaultInstance().getAssetId();
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 3;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 3;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 3;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 3;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 3;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private long amount_ ;
/**
* int64 amount = 4;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
/**
* int64 amount = 4;
* @param value The amount to set.
* @return This builder for chaining.
*/
public Builder setAmount(long value) {
amount_ = value;
onChanged();
return this;
}
/**
* int64 amount = 4;
* @return This builder for chaining.
*/
public Builder clearAmount() {
amount_ = 0L;
onChanged();
return this;
}
private int decimals_ ;
/**
* int32 decimals = 5;
* @return The decimals.
*/
public int getDecimals() {
return decimals_;
}
/**
* int32 decimals = 5;
* @param value The decimals to set.
* @return This builder for chaining.
*/
public Builder setDecimals(int value) {
decimals_ = value;
onChanged();
return this;
}
/**
* int32 decimals = 5;
* @return This builder for chaining.
*/
public Builder clearDecimals() {
decimals_ = 0;
onChanged();
return this;
}
private boolean reissuable_ ;
/**
* bool reissuable = 6;
* @return The reissuable.
*/
public boolean getReissuable() {
return reissuable_;
}
/**
* bool reissuable = 6;
* @param value The reissuable to set.
* @return This builder for chaining.
*/
public Builder setReissuable(boolean value) {
reissuable_ = value;
onChanged();
return this;
}
/**
* bool reissuable = 6;
* @return This builder for chaining.
*/
public Builder clearReissuable() {
reissuable_ = false;
onChanged();
return this;
}
private com.google.protobuf.ByteString script_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes script = 7;
* @return The script.
*/
public com.google.protobuf.ByteString getScript() {
return script_;
}
/**
* bytes script = 7;
* @param value The script to set.
* @return This builder for chaining.
*/
public Builder setScript(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
script_ = value;
onChanged();
return this;
}
/**
* bytes script = 7;
* @return This builder for chaining.
*/
public Builder clearScript() {
script_ = getDefaultInstance().getScript();
onChanged();
return this;
}
private long nonce_ ;
/**
* int64 nonce = 8;
* @return The nonce.
*/
public long getNonce() {
return nonce_;
}
/**
* int64 nonce = 8;
* @param value The nonce to set.
* @return This builder for chaining.
*/
public Builder setNonce(long value) {
nonce_ = value;
onChanged();
return this;
}
/**
* int64 nonce = 8;
* @return This builder for chaining.
*/
public Builder clearNonce() {
nonce_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.Issue)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Issue)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Issue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Issue(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReissueOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Reissue)
com.google.protobuf.MessageOrBuilder {
/**
* bytes asset_id = 1;
* @return The assetId.
*/
com.google.protobuf.ByteString getAssetId();
/**
* int64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
* bool is_reissuable = 3;
* @return The isReissuable.
*/
boolean getIsReissuable();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Reissue}
*/
public static final class Reissue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Reissue)
ReissueOrBuilder {
private static final long serialVersionUID = 0L;
// Use Reissue.newBuilder() to construct.
private Reissue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Reissue() {
assetId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Reissue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Reissue(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
assetId_ = input.readBytes();
break;
}
case 16: {
amount_ = input.readInt64();
break;
}
case 24: {
isReissuable_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Reissue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Reissue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder.class);
}
public static final int ASSET_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString assetId_;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
public static final int AMOUNT_FIELD_NUMBER = 2;
private long amount_;
/**
* int64 amount = 2;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
public static final int IS_REISSUABLE_FIELD_NUMBER = 3;
private boolean isReissuable_;
/**
* bool is_reissuable = 3;
* @return The isReissuable.
*/
public boolean getIsReissuable() {
return isReissuable_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!assetId_.isEmpty()) {
output.writeBytes(1, assetId_);
}
if (amount_ != 0L) {
output.writeInt64(2, amount_);
}
if (isReissuable_ != false) {
output.writeBool(3, isReissuable_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!assetId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, assetId_);
}
if (amount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, amount_);
}
if (isReissuable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isReissuable_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue) obj;
if (!getAssetId()
.equals(other.getAssetId())) return false;
if (getAmount()
!= other.getAmount()) return false;
if (getIsReissuable()
!= other.getIsReissuable()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ASSET_ID_FIELD_NUMBER;
hash = (53 * hash) + getAssetId().hashCode();
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAmount());
hash = (37 * hash) + IS_REISSUABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsReissuable());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Reissue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Reissue)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Reissue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Reissue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
assetId_ = com.google.protobuf.ByteString.EMPTY;
amount_ = 0L;
isReissuable_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Reissue_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue(this);
result.assetId_ = assetId_;
result.amount_ = amount_;
result.isReissuable_ = isReissuable_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.getDefaultInstance()) return this;
if (other.getAssetId() != com.google.protobuf.ByteString.EMPTY) {
setAssetId(other.getAssetId());
}
if (other.getAmount() != 0L) {
setAmount(other.getAmount());
}
if (other.getIsReissuable() != false) {
setIsReissuable(other.getIsReissuable());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString assetId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
/**
* bytes asset_id = 1;
* @param value The assetId to set.
* @return This builder for chaining.
*/
public Builder setAssetId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
assetId_ = value;
onChanged();
return this;
}
/**
* bytes asset_id = 1;
* @return This builder for chaining.
*/
public Builder clearAssetId() {
assetId_ = getDefaultInstance().getAssetId();
onChanged();
return this;
}
private long amount_ ;
/**
* int64 amount = 2;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
/**
* int64 amount = 2;
* @param value The amount to set.
* @return This builder for chaining.
*/
public Builder setAmount(long value) {
amount_ = value;
onChanged();
return this;
}
/**
* int64 amount = 2;
* @return This builder for chaining.
*/
public Builder clearAmount() {
amount_ = 0L;
onChanged();
return this;
}
private boolean isReissuable_ ;
/**
* bool is_reissuable = 3;
* @return The isReissuable.
*/
public boolean getIsReissuable() {
return isReissuable_;
}
/**
* bool is_reissuable = 3;
* @param value The isReissuable to set.
* @return This builder for chaining.
*/
public Builder setIsReissuable(boolean value) {
isReissuable_ = value;
onChanged();
return this;
}
/**
* bool is_reissuable = 3;
* @return This builder for chaining.
*/
public Builder clearIsReissuable() {
isReissuable_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.Reissue)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Reissue)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Reissue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Reissue(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BurnOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Burn)
com.google.protobuf.MessageOrBuilder {
/**
* bytes asset_id = 1;
* @return The assetId.
*/
com.google.protobuf.ByteString getAssetId();
/**
* int64 amount = 2;
* @return The amount.
*/
long getAmount();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Burn}
*/
public static final class Burn extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Burn)
BurnOrBuilder {
private static final long serialVersionUID = 0L;
// Use Burn.newBuilder() to construct.
private Burn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Burn() {
assetId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Burn();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Burn(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
assetId_ = input.readBytes();
break;
}
case 16: {
amount_ = input.readInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Burn_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Burn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder.class);
}
public static final int ASSET_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString assetId_;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
public static final int AMOUNT_FIELD_NUMBER = 2;
private long amount_;
/**
* int64 amount = 2;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!assetId_.isEmpty()) {
output.writeBytes(1, assetId_);
}
if (amount_ != 0L) {
output.writeInt64(2, amount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!assetId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, assetId_);
}
if (amount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, amount_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn) obj;
if (!getAssetId()
.equals(other.getAssetId())) return false;
if (getAmount()
!= other.getAmount()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ASSET_ID_FIELD_NUMBER;
hash = (53 * hash) + getAssetId().hashCode();
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAmount());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Burn}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Burn)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Burn_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Burn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
assetId_ = com.google.protobuf.ByteString.EMPTY;
amount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Burn_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn(this);
result.assetId_ = assetId_;
result.amount_ = amount_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.getDefaultInstance()) return this;
if (other.getAssetId() != com.google.protobuf.ByteString.EMPTY) {
setAssetId(other.getAssetId());
}
if (other.getAmount() != 0L) {
setAmount(other.getAmount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString assetId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes asset_id = 1;
* @return The assetId.
*/
public com.google.protobuf.ByteString getAssetId() {
return assetId_;
}
/**
* bytes asset_id = 1;
* @param value The assetId to set.
* @return This builder for chaining.
*/
public Builder setAssetId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
assetId_ = value;
onChanged();
return this;
}
/**
* bytes asset_id = 1;
* @return This builder for chaining.
*/
public Builder clearAssetId() {
assetId_ = getDefaultInstance().getAssetId();
onChanged();
return this;
}
private long amount_ ;
/**
* int64 amount = 2;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
/**
* int64 amount = 2;
* @param value The amount to set.
* @return This builder for chaining.
*/
public Builder setAmount(long value) {
amount_ = value;
onChanged();
return this;
}
/**
* int64 amount = 2;
* @return This builder for chaining.
*/
public Builder clearAmount() {
amount_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.Burn)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Burn)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Burn parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Burn(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SponsorFeeOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.SponsorFee)
com.google.protobuf.MessageOrBuilder {
/**
* .waves.Amount min_fee = 1;
* @return Whether the minFee field is set.
*/
boolean hasMinFee();
/**
* .waves.Amount min_fee = 1;
* @return The minFee.
*/
com.wavesplatform.protobuf.AmountOuterClass.Amount getMinFee();
/**
* .waves.Amount min_fee = 1;
*/
com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getMinFeeOrBuilder();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.SponsorFee}
*/
public static final class SponsorFee extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.SponsorFee)
SponsorFeeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SponsorFee.newBuilder() to construct.
private SponsorFee(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SponsorFee() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SponsorFee();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SponsorFee(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder subBuilder = null;
if (minFee_ != null) {
subBuilder = minFee_.toBuilder();
}
minFee_ = input.readMessage(com.wavesplatform.protobuf.AmountOuterClass.Amount.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minFee_);
minFee_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_SponsorFee_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_SponsorFee_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder.class);
}
public static final int MIN_FEE_FIELD_NUMBER = 1;
private com.wavesplatform.protobuf.AmountOuterClass.Amount minFee_;
/**
* .waves.Amount min_fee = 1;
* @return Whether the minFee field is set.
*/
public boolean hasMinFee() {
return minFee_ != null;
}
/**
* .waves.Amount min_fee = 1;
* @return The minFee.
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getMinFee() {
return minFee_ == null ? com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : minFee_;
}
/**
* .waves.Amount min_fee = 1;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getMinFeeOrBuilder() {
return getMinFee();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (minFee_ != null) {
output.writeMessage(1, getMinFee());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (minFee_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMinFee());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee) obj;
if (hasMinFee() != other.hasMinFee()) return false;
if (hasMinFee()) {
if (!getMinFee()
.equals(other.getMinFee())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMinFee()) {
hash = (37 * hash) + MIN_FEE_FIELD_NUMBER;
hash = (53 * hash) + getMinFee().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.SponsorFee}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.SponsorFee)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_SponsorFee_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_SponsorFee_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (minFeeBuilder_ == null) {
minFee_ = null;
} else {
minFee_ = null;
minFeeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_SponsorFee_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee(this);
if (minFeeBuilder_ == null) {
result.minFee_ = minFee_;
} else {
result.minFee_ = minFeeBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.getDefaultInstance()) return this;
if (other.hasMinFee()) {
mergeMinFee(other.getMinFee());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.wavesplatform.protobuf.AmountOuterClass.Amount minFee_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder> minFeeBuilder_;
/**
* .waves.Amount min_fee = 1;
* @return Whether the minFee field is set.
*/
public boolean hasMinFee() {
return minFeeBuilder_ != null || minFee_ != null;
}
/**
* .waves.Amount min_fee = 1;
* @return The minFee.
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getMinFee() {
if (minFeeBuilder_ == null) {
return minFee_ == null ? com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : minFee_;
} else {
return minFeeBuilder_.getMessage();
}
}
/**
* .waves.Amount min_fee = 1;
*/
public Builder setMinFee(com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (minFeeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minFee_ = value;
onChanged();
} else {
minFeeBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.Amount min_fee = 1;
*/
public Builder setMinFee(
com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder builderForValue) {
if (minFeeBuilder_ == null) {
minFee_ = builderForValue.build();
onChanged();
} else {
minFeeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.Amount min_fee = 1;
*/
public Builder mergeMinFee(com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (minFeeBuilder_ == null) {
if (minFee_ != null) {
minFee_ =
com.wavesplatform.protobuf.AmountOuterClass.Amount.newBuilder(minFee_).mergeFrom(value).buildPartial();
} else {
minFee_ = value;
}
onChanged();
} else {
minFeeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.Amount min_fee = 1;
*/
public Builder clearMinFee() {
if (minFeeBuilder_ == null) {
minFee_ = null;
onChanged();
} else {
minFee_ = null;
minFeeBuilder_ = null;
}
return this;
}
/**
* .waves.Amount min_fee = 1;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder getMinFeeBuilder() {
onChanged();
return getMinFeeFieldBuilder().getBuilder();
}
/**
* .waves.Amount min_fee = 1;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getMinFeeOrBuilder() {
if (minFeeBuilder_ != null) {
return minFeeBuilder_.getMessageOrBuilder();
} else {
return minFee_ == null ?
com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance() : minFee_;
}
}
/**
* .waves.Amount min_fee = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getMinFeeFieldBuilder() {
if (minFeeBuilder_ == null) {
minFeeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>(
getMinFee(),
getParentForChildren(),
isClean());
minFee_ = null;
}
return minFeeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.SponsorFee)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.SponsorFee)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SponsorFee parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SponsorFee(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ErrorMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.ErrorMessage)
com.google.protobuf.MessageOrBuilder {
/**
* int32 code = 1;
* @return The code.
*/
int getCode();
/**
* string text = 2;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 2;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.ErrorMessage}
*/
public static final class ErrorMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.ErrorMessage)
ErrorMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use ErrorMessage.newBuilder() to construct.
private ErrorMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ErrorMessage() {
text_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ErrorMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ErrorMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
code_ = input.readInt32();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_ErrorMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder.class);
}
public static final int CODE_FIELD_NUMBER = 1;
private int code_;
/**
* int32 code = 1;
* @return The code.
*/
public int getCode() {
return code_;
}
public static final int TEXT_FIELD_NUMBER = 2;
private volatile java.lang.Object text_;
/**
* string text = 2;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 2;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (code_ != 0) {
output.writeInt32(1, code_);
}
if (!getTextBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (code_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, code_);
}
if (!getTextBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage) obj;
if (getCode()
!= other.getCode()) return false;
if (!getText()
.equals(other.getText())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode();
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult.ErrorMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.ErrorMessage)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_ErrorMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
code_ = 0;
text_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage(this);
result.code_ = code_;
result.text_ = text_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.getDefaultInstance()) return this;
if (other.getCode() != 0) {
setCode(other.getCode());
}
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int code_ ;
/**
* int32 code = 1;
* @return The code.
*/
public int getCode() {
return code_;
}
/**
* int32 code = 1;
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(int value) {
code_ = value;
onChanged();
return this;
}
/**
* int32 code = 1;
* @return This builder for chaining.
*/
public Builder clearCode() {
code_ = 0;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 2;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 2;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 2;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 2;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 2;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult.ErrorMessage)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.ErrorMessage)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ErrorMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ErrorMessage(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int DATA_FIELD_NUMBER = 1;
private java.util.List data_;
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public java.util.List getDataList() {
return data_;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public int getDataCount() {
return data_.size();
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry getData(int index) {
return data_.get(index);
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
public static final int TRANSFERS_FIELD_NUMBER = 2;
private java.util.List transfers_;
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public java.util.List getTransfersList() {
return transfers_;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder>
getTransfersOrBuilderList() {
return transfers_;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public int getTransfersCount() {
return transfers_.size();
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getTransfers(int index) {
return transfers_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder getTransfersOrBuilder(
int index) {
return transfers_.get(index);
}
public static final int ISSUES_FIELD_NUMBER = 3;
private java.util.List issues_;
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public java.util.List getIssuesList() {
return issues_;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder>
getIssuesOrBuilderList() {
return issues_;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public int getIssuesCount() {
return issues_.size();
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getIssues(int index) {
return issues_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder getIssuesOrBuilder(
int index) {
return issues_.get(index);
}
public static final int REISSUES_FIELD_NUMBER = 4;
private java.util.List reissues_;
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public java.util.List getReissuesList() {
return reissues_;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder>
getReissuesOrBuilderList() {
return reissues_;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public int getReissuesCount() {
return reissues_.size();
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getReissues(int index) {
return reissues_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder getReissuesOrBuilder(
int index) {
return reissues_.get(index);
}
public static final int BURNS_FIELD_NUMBER = 5;
private java.util.List burns_;
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public java.util.List getBurnsList() {
return burns_;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder>
getBurnsOrBuilderList() {
return burns_;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public int getBurnsCount() {
return burns_.size();
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getBurns(int index) {
return burns_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder getBurnsOrBuilder(
int index) {
return burns_.get(index);
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 6;
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage errorMessage_;
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return Whether the errorMessage field is set.
*/
public boolean hasErrorMessage() {
return errorMessage_ != null;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return The errorMessage.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getErrorMessage() {
return errorMessage_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.getDefaultInstance() : errorMessage_;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder getErrorMessageOrBuilder() {
return getErrorMessage();
}
public static final int SPONSOR_FEES_FIELD_NUMBER = 7;
private java.util.List sponsorFees_;
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public java.util.List getSponsorFeesList() {
return sponsorFees_;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder>
getSponsorFeesOrBuilderList() {
return sponsorFees_;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public int getSponsorFeesCount() {
return sponsorFees_.size();
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getSponsorFees(int index) {
return sponsorFees_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder getSponsorFeesOrBuilder(
int index) {
return sponsorFees_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < data_.size(); i++) {
output.writeMessage(1, data_.get(i));
}
for (int i = 0; i < transfers_.size(); i++) {
output.writeMessage(2, transfers_.get(i));
}
for (int i = 0; i < issues_.size(); i++) {
output.writeMessage(3, issues_.get(i));
}
for (int i = 0; i < reissues_.size(); i++) {
output.writeMessage(4, reissues_.get(i));
}
for (int i = 0; i < burns_.size(); i++) {
output.writeMessage(5, burns_.get(i));
}
if (errorMessage_ != null) {
output.writeMessage(6, getErrorMessage());
}
for (int i = 0; i < sponsorFees_.size(); i++) {
output.writeMessage(7, sponsorFees_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < data_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, data_.get(i));
}
for (int i = 0; i < transfers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, transfers_.get(i));
}
for (int i = 0; i < issues_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, issues_.get(i));
}
for (int i = 0; i < reissues_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, reissues_.get(i));
}
for (int i = 0; i < burns_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, burns_.get(i));
}
if (errorMessage_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getErrorMessage());
}
for (int i = 0; i < sponsorFees_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, sponsorFees_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult) obj;
if (!getDataList()
.equals(other.getDataList())) return false;
if (!getTransfersList()
.equals(other.getTransfersList())) return false;
if (!getIssuesList()
.equals(other.getIssuesList())) return false;
if (!getReissuesList()
.equals(other.getReissuesList())) return false;
if (!getBurnsList()
.equals(other.getBurnsList())) return false;
if (hasErrorMessage() != other.hasErrorMessage()) return false;
if (hasErrorMessage()) {
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
}
if (!getSponsorFeesList()
.equals(other.getSponsorFeesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDataCount() > 0) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getDataList().hashCode();
}
if (getTransfersCount() > 0) {
hash = (37 * hash) + TRANSFERS_FIELD_NUMBER;
hash = (53 * hash) + getTransfersList().hashCode();
}
if (getIssuesCount() > 0) {
hash = (37 * hash) + ISSUES_FIELD_NUMBER;
hash = (53 * hash) + getIssuesList().hashCode();
}
if (getReissuesCount() > 0) {
hash = (37 * hash) + REISSUES_FIELD_NUMBER;
hash = (53 * hash) + getReissuesList().hashCode();
}
if (getBurnsCount() > 0) {
hash = (37 * hash) + BURNS_FIELD_NUMBER;
hash = (53 * hash) + getBurnsList().hashCode();
}
if (hasErrorMessage()) {
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
}
if (getSponsorFeesCount() > 0) {
hash = (37 * hash) + SPONSOR_FEES_FIELD_NUMBER;
hash = (53 * hash) + getSponsorFeesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code waves.InvokeScriptResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDataFieldBuilder();
getTransfersFieldBuilder();
getIssuesFieldBuilder();
getReissuesFieldBuilder();
getBurnsFieldBuilder();
getSponsorFeesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dataBuilder_.clear();
}
if (transfersBuilder_ == null) {
transfers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
transfersBuilder_.clear();
}
if (issuesBuilder_ == null) {
issues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
issuesBuilder_.clear();
}
if (reissuesBuilder_ == null) {
reissues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
reissuesBuilder_.clear();
}
if (burnsBuilder_ == null) {
burns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
burnsBuilder_.clear();
}
if (errorMessageBuilder_ == null) {
errorMessage_ = null;
} else {
errorMessage_ = null;
errorMessageBuilder_ = null;
}
if (sponsorFeesBuilder_ == null) {
sponsorFees_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
sponsorFeesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult(this);
int from_bitField0_ = bitField0_;
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
data_ = java.util.Collections.unmodifiableList(data_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.data_ = data_;
} else {
result.data_ = dataBuilder_.build();
}
if (transfersBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
transfers_ = java.util.Collections.unmodifiableList(transfers_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.transfers_ = transfers_;
} else {
result.transfers_ = transfersBuilder_.build();
}
if (issuesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
issues_ = java.util.Collections.unmodifiableList(issues_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.issues_ = issues_;
} else {
result.issues_ = issuesBuilder_.build();
}
if (reissuesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
reissues_ = java.util.Collections.unmodifiableList(reissues_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.reissues_ = reissues_;
} else {
result.reissues_ = reissuesBuilder_.build();
}
if (burnsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
burns_ = java.util.Collections.unmodifiableList(burns_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.burns_ = burns_;
} else {
result.burns_ = burnsBuilder_.build();
}
if (errorMessageBuilder_ == null) {
result.errorMessage_ = errorMessage_;
} else {
result.errorMessage_ = errorMessageBuilder_.build();
}
if (sponsorFeesBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
sponsorFees_ = java.util.Collections.unmodifiableList(sponsorFees_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.sponsorFees_ = sponsorFees_;
} else {
result.sponsorFees_ = sponsorFeesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance()) return this;
if (dataBuilder_ == null) {
if (!other.data_.isEmpty()) {
if (data_.isEmpty()) {
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataIsMutable();
data_.addAll(other.data_);
}
onChanged();
}
} else {
if (!other.data_.isEmpty()) {
if (dataBuilder_.isEmpty()) {
dataBuilder_.dispose();
dataBuilder_ = null;
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
dataBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataFieldBuilder() : null;
} else {
dataBuilder_.addAllMessages(other.data_);
}
}
}
if (transfersBuilder_ == null) {
if (!other.transfers_.isEmpty()) {
if (transfers_.isEmpty()) {
transfers_ = other.transfers_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTransfersIsMutable();
transfers_.addAll(other.transfers_);
}
onChanged();
}
} else {
if (!other.transfers_.isEmpty()) {
if (transfersBuilder_.isEmpty()) {
transfersBuilder_.dispose();
transfersBuilder_ = null;
transfers_ = other.transfers_;
bitField0_ = (bitField0_ & ~0x00000002);
transfersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTransfersFieldBuilder() : null;
} else {
transfersBuilder_.addAllMessages(other.transfers_);
}
}
}
if (issuesBuilder_ == null) {
if (!other.issues_.isEmpty()) {
if (issues_.isEmpty()) {
issues_ = other.issues_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureIssuesIsMutable();
issues_.addAll(other.issues_);
}
onChanged();
}
} else {
if (!other.issues_.isEmpty()) {
if (issuesBuilder_.isEmpty()) {
issuesBuilder_.dispose();
issuesBuilder_ = null;
issues_ = other.issues_;
bitField0_ = (bitField0_ & ~0x00000004);
issuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIssuesFieldBuilder() : null;
} else {
issuesBuilder_.addAllMessages(other.issues_);
}
}
}
if (reissuesBuilder_ == null) {
if (!other.reissues_.isEmpty()) {
if (reissues_.isEmpty()) {
reissues_ = other.reissues_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureReissuesIsMutable();
reissues_.addAll(other.reissues_);
}
onChanged();
}
} else {
if (!other.reissues_.isEmpty()) {
if (reissuesBuilder_.isEmpty()) {
reissuesBuilder_.dispose();
reissuesBuilder_ = null;
reissues_ = other.reissues_;
bitField0_ = (bitField0_ & ~0x00000008);
reissuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReissuesFieldBuilder() : null;
} else {
reissuesBuilder_.addAllMessages(other.reissues_);
}
}
}
if (burnsBuilder_ == null) {
if (!other.burns_.isEmpty()) {
if (burns_.isEmpty()) {
burns_ = other.burns_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureBurnsIsMutable();
burns_.addAll(other.burns_);
}
onChanged();
}
} else {
if (!other.burns_.isEmpty()) {
if (burnsBuilder_.isEmpty()) {
burnsBuilder_.dispose();
burnsBuilder_ = null;
burns_ = other.burns_;
bitField0_ = (bitField0_ & ~0x00000010);
burnsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBurnsFieldBuilder() : null;
} else {
burnsBuilder_.addAllMessages(other.burns_);
}
}
}
if (other.hasErrorMessage()) {
mergeErrorMessage(other.getErrorMessage());
}
if (sponsorFeesBuilder_ == null) {
if (!other.sponsorFees_.isEmpty()) {
if (sponsorFees_.isEmpty()) {
sponsorFees_ = other.sponsorFees_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSponsorFeesIsMutable();
sponsorFees_.addAll(other.sponsorFees_);
}
onChanged();
}
} else {
if (!other.sponsorFees_.isEmpty()) {
if (sponsorFeesBuilder_.isEmpty()) {
sponsorFeesBuilder_.dispose();
sponsorFeesBuilder_ = null;
sponsorFees_ = other.sponsorFees_;
bitField0_ = (bitField0_ & ~0x00000020);
sponsorFeesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSponsorFeesFieldBuilder() : null;
} else {
sponsorFeesBuilder_.addAllMessages(other.sponsorFees_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List data_ =
java.util.Collections.emptyList();
private void ensureDataIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
data_ = new java.util.ArrayList(data_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder> dataBuilder_;
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public java.util.List getDataList() {
if (dataBuilder_ == null) {
return java.util.Collections.unmodifiableList(data_);
} else {
return dataBuilder_.getMessageList();
}
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public int getDataCount() {
if (dataBuilder_ == null) {
return data_.size();
} else {
return dataBuilder_.getCount();
}
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry getData(int index) {
if (dataBuilder_ == null) {
return data_.get(index);
} else {
return dataBuilder_.getMessage(index);
}
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder setData(
int index, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.set(index, value);
onChanged();
} else {
dataBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder setData(
int index, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.set(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder addData(com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(value);
onChanged();
} else {
dataBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder addData(
int index, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(index, value);
onChanged();
} else {
dataBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder addData(
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder addData(
int index, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder addAllData(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry> values) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, data_);
onChanged();
} else {
dataBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dataBuilder_.clear();
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public Builder removeData(int index) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.remove(index);
onChanged();
} else {
dataBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder getDataBuilder(
int index) {
return getDataFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder getDataOrBuilder(
int index) {
if (dataBuilder_ == null) {
return data_.get(index); } else {
return dataBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder>
getDataOrBuilderList() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(data_);
}
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder addDataBuilder() {
return getDataFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.getDefaultInstance());
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder addDataBuilder(
int index) {
return getDataFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.getDefaultInstance());
}
/**
* repeated .waves.DataTransactionData.DataEntry data = 1;
*/
public java.util.List
getDataBuilderList() {
return getDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntry.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.DataTransactionData.DataEntryOrBuilder>(
data_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
private java.util.List transfers_ =
java.util.Collections.emptyList();
private void ensureTransfersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
transfers_ = new java.util.ArrayList(transfers_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder> transfersBuilder_;
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public java.util.List getTransfersList() {
if (transfersBuilder_ == null) {
return java.util.Collections.unmodifiableList(transfers_);
} else {
return transfersBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public int getTransfersCount() {
if (transfersBuilder_ == null) {
return transfers_.size();
} else {
return transfersBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment getTransfers(int index) {
if (transfersBuilder_ == null) {
return transfers_.get(index);
} else {
return transfersBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder setTransfers(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment value) {
if (transfersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransfersIsMutable();
transfers_.set(index, value);
onChanged();
} else {
transfersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder setTransfers(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder builderForValue) {
if (transfersBuilder_ == null) {
ensureTransfersIsMutable();
transfers_.set(index, builderForValue.build());
onChanged();
} else {
transfersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder addTransfers(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment value) {
if (transfersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransfersIsMutable();
transfers_.add(value);
onChanged();
} else {
transfersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder addTransfers(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment value) {
if (transfersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransfersIsMutable();
transfers_.add(index, value);
onChanged();
} else {
transfersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder addTransfers(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder builderForValue) {
if (transfersBuilder_ == null) {
ensureTransfersIsMutable();
transfers_.add(builderForValue.build());
onChanged();
} else {
transfersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder addTransfers(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder builderForValue) {
if (transfersBuilder_ == null) {
ensureTransfersIsMutable();
transfers_.add(index, builderForValue.build());
onChanged();
} else {
transfersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder addAllTransfers(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment> values) {
if (transfersBuilder_ == null) {
ensureTransfersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transfers_);
onChanged();
} else {
transfersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder clearTransfers() {
if (transfersBuilder_ == null) {
transfers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
transfersBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public Builder removeTransfers(int index) {
if (transfersBuilder_ == null) {
ensureTransfersIsMutable();
transfers_.remove(index);
onChanged();
} else {
transfersBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder getTransfersBuilder(
int index) {
return getTransfersFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder getTransfersOrBuilder(
int index) {
if (transfersBuilder_ == null) {
return transfers_.get(index); } else {
return transfersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder>
getTransfersOrBuilderList() {
if (transfersBuilder_ != null) {
return transfersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(transfers_);
}
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder addTransfersBuilder() {
return getTransfersFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder addTransfersBuilder(
int index) {
return getTransfersFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Payment transfers = 2;
*/
public java.util.List
getTransfersBuilderList() {
return getTransfersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder>
getTransfersFieldBuilder() {
if (transfersBuilder_ == null) {
transfersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Payment.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.PaymentOrBuilder>(
transfers_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
transfers_ = null;
}
return transfersBuilder_;
}
private java.util.List issues_ =
java.util.Collections.emptyList();
private void ensureIssuesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
issues_ = new java.util.ArrayList(issues_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder> issuesBuilder_;
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public java.util.List getIssuesList() {
if (issuesBuilder_ == null) {
return java.util.Collections.unmodifiableList(issues_);
} else {
return issuesBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public int getIssuesCount() {
if (issuesBuilder_ == null) {
return issues_.size();
} else {
return issuesBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue getIssues(int index) {
if (issuesBuilder_ == null) {
return issues_.get(index);
} else {
return issuesBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder setIssues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue value) {
if (issuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIssuesIsMutable();
issues_.set(index, value);
onChanged();
} else {
issuesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder setIssues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder builderForValue) {
if (issuesBuilder_ == null) {
ensureIssuesIsMutable();
issues_.set(index, builderForValue.build());
onChanged();
} else {
issuesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder addIssues(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue value) {
if (issuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIssuesIsMutable();
issues_.add(value);
onChanged();
} else {
issuesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder addIssues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue value) {
if (issuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIssuesIsMutable();
issues_.add(index, value);
onChanged();
} else {
issuesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder addIssues(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder builderForValue) {
if (issuesBuilder_ == null) {
ensureIssuesIsMutable();
issues_.add(builderForValue.build());
onChanged();
} else {
issuesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder addIssues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder builderForValue) {
if (issuesBuilder_ == null) {
ensureIssuesIsMutable();
issues_.add(index, builderForValue.build());
onChanged();
} else {
issuesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder addAllIssues(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue> values) {
if (issuesBuilder_ == null) {
ensureIssuesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, issues_);
onChanged();
} else {
issuesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder clearIssues() {
if (issuesBuilder_ == null) {
issues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
issuesBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public Builder removeIssues(int index) {
if (issuesBuilder_ == null) {
ensureIssuesIsMutable();
issues_.remove(index);
onChanged();
} else {
issuesBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder getIssuesBuilder(
int index) {
return getIssuesFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder getIssuesOrBuilder(
int index) {
if (issuesBuilder_ == null) {
return issues_.get(index); } else {
return issuesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder>
getIssuesOrBuilderList() {
if (issuesBuilder_ != null) {
return issuesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(issues_);
}
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder addIssuesBuilder() {
return getIssuesFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder addIssuesBuilder(
int index) {
return getIssuesFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Issue issues = 3;
*/
public java.util.List
getIssuesBuilderList() {
return getIssuesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder>
getIssuesFieldBuilder() {
if (issuesBuilder_ == null) {
issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Issue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.IssueOrBuilder>(
issues_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
issues_ = null;
}
return issuesBuilder_;
}
private java.util.List reissues_ =
java.util.Collections.emptyList();
private void ensureReissuesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
reissues_ = new java.util.ArrayList(reissues_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder> reissuesBuilder_;
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public java.util.List getReissuesList() {
if (reissuesBuilder_ == null) {
return java.util.Collections.unmodifiableList(reissues_);
} else {
return reissuesBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public int getReissuesCount() {
if (reissuesBuilder_ == null) {
return reissues_.size();
} else {
return reissuesBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue getReissues(int index) {
if (reissuesBuilder_ == null) {
return reissues_.get(index);
} else {
return reissuesBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder setReissues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue value) {
if (reissuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReissuesIsMutable();
reissues_.set(index, value);
onChanged();
} else {
reissuesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder setReissues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder builderForValue) {
if (reissuesBuilder_ == null) {
ensureReissuesIsMutable();
reissues_.set(index, builderForValue.build());
onChanged();
} else {
reissuesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder addReissues(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue value) {
if (reissuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReissuesIsMutable();
reissues_.add(value);
onChanged();
} else {
reissuesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder addReissues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue value) {
if (reissuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReissuesIsMutable();
reissues_.add(index, value);
onChanged();
} else {
reissuesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder addReissues(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder builderForValue) {
if (reissuesBuilder_ == null) {
ensureReissuesIsMutable();
reissues_.add(builderForValue.build());
onChanged();
} else {
reissuesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder addReissues(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder builderForValue) {
if (reissuesBuilder_ == null) {
ensureReissuesIsMutable();
reissues_.add(index, builderForValue.build());
onChanged();
} else {
reissuesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder addAllReissues(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue> values) {
if (reissuesBuilder_ == null) {
ensureReissuesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reissues_);
onChanged();
} else {
reissuesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder clearReissues() {
if (reissuesBuilder_ == null) {
reissues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
reissuesBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public Builder removeReissues(int index) {
if (reissuesBuilder_ == null) {
ensureReissuesIsMutable();
reissues_.remove(index);
onChanged();
} else {
reissuesBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder getReissuesBuilder(
int index) {
return getReissuesFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder getReissuesOrBuilder(
int index) {
if (reissuesBuilder_ == null) {
return reissues_.get(index); } else {
return reissuesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder>
getReissuesOrBuilderList() {
if (reissuesBuilder_ != null) {
return reissuesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reissues_);
}
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder addReissuesBuilder() {
return getReissuesFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder addReissuesBuilder(
int index) {
return getReissuesFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Reissue reissues = 4;
*/
public java.util.List
getReissuesBuilderList() {
return getReissuesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder>
getReissuesFieldBuilder() {
if (reissuesBuilder_ == null) {
reissuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Reissue.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ReissueOrBuilder>(
reissues_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
reissues_ = null;
}
return reissuesBuilder_;
}
private java.util.List burns_ =
java.util.Collections.emptyList();
private void ensureBurnsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
burns_ = new java.util.ArrayList(burns_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder> burnsBuilder_;
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public java.util.List getBurnsList() {
if (burnsBuilder_ == null) {
return java.util.Collections.unmodifiableList(burns_);
} else {
return burnsBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public int getBurnsCount() {
if (burnsBuilder_ == null) {
return burns_.size();
} else {
return burnsBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn getBurns(int index) {
if (burnsBuilder_ == null) {
return burns_.get(index);
} else {
return burnsBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder setBurns(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn value) {
if (burnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBurnsIsMutable();
burns_.set(index, value);
onChanged();
} else {
burnsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder setBurns(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder builderForValue) {
if (burnsBuilder_ == null) {
ensureBurnsIsMutable();
burns_.set(index, builderForValue.build());
onChanged();
} else {
burnsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder addBurns(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn value) {
if (burnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBurnsIsMutable();
burns_.add(value);
onChanged();
} else {
burnsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder addBurns(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn value) {
if (burnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBurnsIsMutable();
burns_.add(index, value);
onChanged();
} else {
burnsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder addBurns(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder builderForValue) {
if (burnsBuilder_ == null) {
ensureBurnsIsMutable();
burns_.add(builderForValue.build());
onChanged();
} else {
burnsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder addBurns(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder builderForValue) {
if (burnsBuilder_ == null) {
ensureBurnsIsMutable();
burns_.add(index, builderForValue.build());
onChanged();
} else {
burnsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder addAllBurns(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn> values) {
if (burnsBuilder_ == null) {
ensureBurnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, burns_);
onChanged();
} else {
burnsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder clearBurns() {
if (burnsBuilder_ == null) {
burns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
burnsBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public Builder removeBurns(int index) {
if (burnsBuilder_ == null) {
ensureBurnsIsMutable();
burns_.remove(index);
onChanged();
} else {
burnsBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder getBurnsBuilder(
int index) {
return getBurnsFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder getBurnsOrBuilder(
int index) {
if (burnsBuilder_ == null) {
return burns_.get(index); } else {
return burnsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder>
getBurnsOrBuilderList() {
if (burnsBuilder_ != null) {
return burnsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(burns_);
}
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder addBurnsBuilder() {
return getBurnsFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder addBurnsBuilder(
int index) {
return getBurnsFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Burn burns = 5;
*/
public java.util.List
getBurnsBuilderList() {
return getBurnsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder>
getBurnsFieldBuilder() {
if (burnsBuilder_ == null) {
burnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Burn.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.BurnOrBuilder>(
burns_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
burns_ = null;
}
return burnsBuilder_;
}
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage errorMessage_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder> errorMessageBuilder_;
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return Whether the errorMessage field is set.
*/
public boolean hasErrorMessage() {
return errorMessageBuilder_ != null || errorMessage_ != null;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
* @return The errorMessage.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage getErrorMessage() {
if (errorMessageBuilder_ == null) {
return errorMessage_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.getDefaultInstance() : errorMessage_;
} else {
return errorMessageBuilder_.getMessage();
}
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public Builder setErrorMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage value) {
if (errorMessageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
} else {
errorMessageBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public Builder setErrorMessage(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder builderForValue) {
if (errorMessageBuilder_ == null) {
errorMessage_ = builderForValue.build();
onChanged();
} else {
errorMessageBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public Builder mergeErrorMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage value) {
if (errorMessageBuilder_ == null) {
if (errorMessage_ != null) {
errorMessage_ =
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial();
} else {
errorMessage_ = value;
}
onChanged();
} else {
errorMessageBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public Builder clearErrorMessage() {
if (errorMessageBuilder_ == null) {
errorMessage_ = null;
onChanged();
} else {
errorMessage_ = null;
errorMessageBuilder_ = null;
}
return this;
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder getErrorMessageBuilder() {
onChanged();
return getErrorMessageFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder getErrorMessageOrBuilder() {
if (errorMessageBuilder_ != null) {
return errorMessageBuilder_.getMessageOrBuilder();
} else {
return errorMessage_ == null ?
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.getDefaultInstance() : errorMessage_;
}
}
/**
* .waves.InvokeScriptResult.ErrorMessage error_message = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder>
getErrorMessageFieldBuilder() {
if (errorMessageBuilder_ == null) {
errorMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessage.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.ErrorMessageOrBuilder>(
getErrorMessage(),
getParentForChildren(),
isClean());
errorMessage_ = null;
}
return errorMessageBuilder_;
}
private java.util.List sponsorFees_ =
java.util.Collections.emptyList();
private void ensureSponsorFeesIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
sponsorFees_ = new java.util.ArrayList(sponsorFees_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder> sponsorFeesBuilder_;
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public java.util.List getSponsorFeesList() {
if (sponsorFeesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sponsorFees_);
} else {
return sponsorFeesBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public int getSponsorFeesCount() {
if (sponsorFeesBuilder_ == null) {
return sponsorFees_.size();
} else {
return sponsorFeesBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee getSponsorFees(int index) {
if (sponsorFeesBuilder_ == null) {
return sponsorFees_.get(index);
} else {
return sponsorFeesBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder setSponsorFees(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee value) {
if (sponsorFeesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSponsorFeesIsMutable();
sponsorFees_.set(index, value);
onChanged();
} else {
sponsorFeesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder setSponsorFees(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder builderForValue) {
if (sponsorFeesBuilder_ == null) {
ensureSponsorFeesIsMutable();
sponsorFees_.set(index, builderForValue.build());
onChanged();
} else {
sponsorFeesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder addSponsorFees(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee value) {
if (sponsorFeesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSponsorFeesIsMutable();
sponsorFees_.add(value);
onChanged();
} else {
sponsorFeesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder addSponsorFees(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee value) {
if (sponsorFeesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSponsorFeesIsMutable();
sponsorFees_.add(index, value);
onChanged();
} else {
sponsorFeesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder addSponsorFees(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder builderForValue) {
if (sponsorFeesBuilder_ == null) {
ensureSponsorFeesIsMutable();
sponsorFees_.add(builderForValue.build());
onChanged();
} else {
sponsorFeesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder addSponsorFees(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder builderForValue) {
if (sponsorFeesBuilder_ == null) {
ensureSponsorFeesIsMutable();
sponsorFees_.add(index, builderForValue.build());
onChanged();
} else {
sponsorFeesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder addAllSponsorFees(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee> values) {
if (sponsorFeesBuilder_ == null) {
ensureSponsorFeesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sponsorFees_);
onChanged();
} else {
sponsorFeesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder clearSponsorFees() {
if (sponsorFeesBuilder_ == null) {
sponsorFees_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
sponsorFeesBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public Builder removeSponsorFees(int index) {
if (sponsorFeesBuilder_ == null) {
ensureSponsorFeesIsMutable();
sponsorFees_.remove(index);
onChanged();
} else {
sponsorFeesBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder getSponsorFeesBuilder(
int index) {
return getSponsorFeesFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder getSponsorFeesOrBuilder(
int index) {
if (sponsorFeesBuilder_ == null) {
return sponsorFees_.get(index); } else {
return sponsorFeesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder>
getSponsorFeesOrBuilderList() {
if (sponsorFeesBuilder_ != null) {
return sponsorFeesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sponsorFees_);
}
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder addSponsorFeesBuilder() {
return getSponsorFeesFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder addSponsorFeesBuilder(
int index) {
return getSponsorFeesFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.SponsorFee sponsor_fees = 7;
*/
public java.util.List
getSponsorFeesBuilderList() {
return getSponsorFeesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder>
getSponsorFeesFieldBuilder() {
if (sponsorFeesBuilder_ == null) {
sponsorFeesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFee.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.SponsorFeeOrBuilder>(
sponsorFees_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
sponsorFees_ = null;
}
return sponsorFeesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:waves.InvokeScriptResult)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InvokeScriptResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InvokeScriptResult(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Payment_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Payment_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Issue_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Issue_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Reissue_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Reissue_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Burn_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Burn_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_SponsorFee_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_SponsorFee_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_ErrorMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n waves/invoke_script_result.proto\022\005wave" +
"s\032\027waves/transaction.proto\032\022waves/amount" +
".proto\"\245\006\n\022InvokeScriptResult\0222\n\004data\030\001 " +
"\003(\0132$.waves.DataTransactionData.DataEntr" +
"y\0224\n\ttransfers\030\002 \003(\0132!.waves.InvokeScrip" +
"tResult.Payment\022/\n\006issues\030\003 \003(\0132\037.waves." +
"InvokeScriptResult.Issue\0223\n\010reissues\030\004 \003" +
"(\0132!.waves.InvokeScriptResult.Reissue\022-\n" +
"\005burns\030\005 \003(\0132\036.waves.InvokeScriptResult." +
"Burn\022=\n\rerror_message\030\006 \001(\0132&.waves.Invo" +
"keScriptResult.ErrorMessage\022:\n\014sponsor_f" +
"ees\030\007 \003(\0132$.waves.InvokeScriptResult.Spo" +
"nsorFee\0329\n\007Payment\022\017\n\007address\030\001 \001(\014\022\035\n\006a" +
"mount\030\002 \001(\0132\r.waves.Amount\032\221\001\n\005Issue\022\020\n\010" +
"asset_id\030\001 \001(\014\022\014\n\004name\030\002 \001(\t\022\023\n\013descript" +
"ion\030\003 \001(\t\022\016\n\006amount\030\004 \001(\003\022\020\n\010decimals\030\005 " +
"\001(\005\022\022\n\nreissuable\030\006 \001(\010\022\016\n\006script\030\007 \001(\014\022" +
"\r\n\005nonce\030\010 \001(\003\032B\n\007Reissue\022\020\n\010asset_id\030\001 " +
"\001(\014\022\016\n\006amount\030\002 \001(\003\022\025\n\ris_reissuable\030\003 \001" +
"(\010\032(\n\004Burn\022\020\n\010asset_id\030\001 \001(\014\022\016\n\006amount\030\002" +
" \001(\003\032,\n\nSponsorFee\022\036\n\007min_fee\030\001 \001(\0132\r.wa" +
"ves.Amount\032*\n\014ErrorMessage\022\014\n\004code\030\001 \001(\005" +
"\022\014\n\004text\030\002 \001(\tBk\n&com.wavesplatform.prot" +
"obuf.transactionZ9github.com/wavesplatfo" +
"rm/gowaves/pkg/grpc/generated/waves\252\002\005Wa" +
"vesb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.wavesplatform.protobuf.transaction.TransactionOuterClass.getDescriptor(),
com.wavesplatform.protobuf.AmountOuterClass.getDescriptor(),
});
internal_static_waves_InvokeScriptResult_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_waves_InvokeScriptResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_descriptor,
new java.lang.String[] { "Data", "Transfers", "Issues", "Reissues", "Burns", "ErrorMessage", "SponsorFees", });
internal_static_waves_InvokeScriptResult_Payment_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(0);
internal_static_waves_InvokeScriptResult_Payment_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Payment_descriptor,
new java.lang.String[] { "Address", "Amount", });
internal_static_waves_InvokeScriptResult_Issue_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(1);
internal_static_waves_InvokeScriptResult_Issue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Issue_descriptor,
new java.lang.String[] { "AssetId", "Name", "Description", "Amount", "Decimals", "Reissuable", "Script", "Nonce", });
internal_static_waves_InvokeScriptResult_Reissue_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(2);
internal_static_waves_InvokeScriptResult_Reissue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Reissue_descriptor,
new java.lang.String[] { "AssetId", "Amount", "IsReissuable", });
internal_static_waves_InvokeScriptResult_Burn_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(3);
internal_static_waves_InvokeScriptResult_Burn_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Burn_descriptor,
new java.lang.String[] { "AssetId", "Amount", });
internal_static_waves_InvokeScriptResult_SponsorFee_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(4);
internal_static_waves_InvokeScriptResult_SponsorFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_SponsorFee_descriptor,
new java.lang.String[] { "MinFee", });
internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(5);
internal_static_waves_InvokeScriptResult_ErrorMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor,
new java.lang.String[] { "Code", "Text", });
com.wavesplatform.protobuf.transaction.TransactionOuterClass.getDescriptor();
com.wavesplatform.protobuf.AmountOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy