com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-schemas Show documentation
Show all versions of protobuf-schemas Show documentation
Waves Node protobuf java classes
// 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);
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
java.util.List
getLeasesList();
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease getLeases(int index);
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
int getLeasesCount();
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder>
getLeasesOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder getLeasesOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
java.util.List
getLeaseCancelsList();
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel getLeaseCancels(int index);
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
int getLeaseCancelsCount();
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder>
getLeaseCancelsOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder getLeaseCancelsOrBuilder(
int index);
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
java.util.List
getInvokesList();
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation getInvokes(int index);
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
int getInvokesCount();
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder>
getInvokesOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder getInvokesOrBuilder(
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();
leases_ = java.util.Collections.emptyList();
leaseCancels_ = java.util.Collections.emptyList();
invokes_ = 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;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
leases_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
leases_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.parser(), extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000080) != 0)) {
leaseCancels_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
leaseCancels_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.parser(), extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000100) != 0)) {
invokes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
invokes_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.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_);
}
if (((mutable_bitField0_ & 0x00000040) != 0)) {
leases_ = java.util.Collections.unmodifiableList(leases_);
}
if (((mutable_bitField0_ & 0x00000080) != 0)) {
leaseCancels_ = java.util.Collections.unmodifiableList(leaseCancels_);
}
if (((mutable_bitField0_ & 0x00000100) != 0)) {
invokes_ = java.util.Collections.unmodifiableList(invokes_);
}
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 LeaseOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Lease)
com.google.protobuf.MessageOrBuilder {
/**
* .waves.Recipient recipient = 1;
* @return Whether the recipient field is set.
*/
boolean hasRecipient();
/**
* .waves.Recipient recipient = 1;
* @return The recipient.
*/
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient getRecipient();
/**
* .waves.Recipient recipient = 1;
*/
com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder getRecipientOrBuilder();
/**
* int64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
* int64 nonce = 3;
* @return The nonce.
*/
long getNonce();
/**
* bytes lease_id = 4;
* @return The leaseId.
*/
com.google.protobuf.ByteString getLeaseId();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Lease}
*/
public static final class Lease extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Lease)
LeaseOrBuilder {
private static final long serialVersionUID = 0L;
// Use Lease.newBuilder() to construct.
private Lease(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Lease() {
leaseId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Lease();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Lease(
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.transaction.RecipientOuterClass.Recipient.Builder subBuilder = null;
if (recipient_ != null) {
subBuilder = recipient_.toBuilder();
}
recipient_ = input.readMessage(com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(recipient_);
recipient_ = subBuilder.buildPartial();
}
break;
}
case 16: {
amount_ = input.readInt64();
break;
}
case 24: {
nonce_ = input.readInt64();
break;
}
case 34: {
leaseId_ = input.readBytes();
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_Lease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Lease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder.class);
}
public static final int RECIPIENT_FIELD_NUMBER = 1;
private com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient recipient_;
/**
* .waves.Recipient recipient = 1;
* @return Whether the recipient field is set.
*/
public boolean hasRecipient() {
return recipient_ != null;
}
/**
* .waves.Recipient recipient = 1;
* @return The recipient.
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient getRecipient() {
return recipient_ == null ? com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.getDefaultInstance() : recipient_;
}
/**
* .waves.Recipient recipient = 1;
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder getRecipientOrBuilder() {
return getRecipient();
}
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 NONCE_FIELD_NUMBER = 3;
private long nonce_;
/**
* int64 nonce = 3;
* @return The nonce.
*/
public long getNonce() {
return nonce_;
}
public static final int LEASE_ID_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString leaseId_;
/**
* bytes lease_id = 4;
* @return The leaseId.
*/
public com.google.protobuf.ByteString getLeaseId() {
return leaseId_;
}
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 (recipient_ != null) {
output.writeMessage(1, getRecipient());
}
if (amount_ != 0L) {
output.writeInt64(2, amount_);
}
if (nonce_ != 0L) {
output.writeInt64(3, nonce_);
}
if (!leaseId_.isEmpty()) {
output.writeBytes(4, leaseId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (recipient_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRecipient());
}
if (amount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, amount_);
}
if (nonce_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, nonce_);
}
if (!leaseId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, leaseId_);
}
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.Lease)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease) obj;
if (hasRecipient() != other.hasRecipient()) return false;
if (hasRecipient()) {
if (!getRecipient()
.equals(other.getRecipient())) return false;
}
if (getAmount()
!= other.getAmount()) return false;
if (getNonce()
!= other.getNonce()) return false;
if (!getLeaseId()
.equals(other.getLeaseId())) 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 (hasRecipient()) {
hash = (37 * hash) + RECIPIENT_FIELD_NUMBER;
hash = (53 * hash) + getRecipient().hashCode();
}
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAmount());
hash = (37 * hash) + NONCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNonce());
hash = (37 * hash) + LEASE_ID_FIELD_NUMBER;
hash = (53 * hash) + getLeaseId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease 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.Lease parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease 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.Lease parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease 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.Lease 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.Lease 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.Lease 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.Lease 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.Lease 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.Lease 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.Lease 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.Lease}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Lease)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Lease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Lease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.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 (recipientBuilder_ == null) {
recipient_ = null;
} else {
recipient_ = null;
recipientBuilder_ = null;
}
amount_ = 0L;
nonce_ = 0L;
leaseId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Lease_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease(this);
if (recipientBuilder_ == null) {
result.recipient_ = recipient_;
} else {
result.recipient_ = recipientBuilder_.build();
}
result.amount_ = amount_;
result.nonce_ = nonce_;
result.leaseId_ = leaseId_;
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.Lease) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.getDefaultInstance()) return this;
if (other.hasRecipient()) {
mergeRecipient(other.getRecipient());
}
if (other.getAmount() != 0L) {
setAmount(other.getAmount());
}
if (other.getNonce() != 0L) {
setNonce(other.getNonce());
}
if (other.getLeaseId() != com.google.protobuf.ByteString.EMPTY) {
setLeaseId(other.getLeaseId());
}
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.Lease parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient recipient_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient, com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder, com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder> recipientBuilder_;
/**
* .waves.Recipient recipient = 1;
* @return Whether the recipient field is set.
*/
public boolean hasRecipient() {
return recipientBuilder_ != null || recipient_ != null;
}
/**
* .waves.Recipient recipient = 1;
* @return The recipient.
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient getRecipient() {
if (recipientBuilder_ == null) {
return recipient_ == null ? com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.getDefaultInstance() : recipient_;
} else {
return recipientBuilder_.getMessage();
}
}
/**
* .waves.Recipient recipient = 1;
*/
public Builder setRecipient(com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient value) {
if (recipientBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
recipient_ = value;
onChanged();
} else {
recipientBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.Recipient recipient = 1;
*/
public Builder setRecipient(
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder builderForValue) {
if (recipientBuilder_ == null) {
recipient_ = builderForValue.build();
onChanged();
} else {
recipientBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.Recipient recipient = 1;
*/
public Builder mergeRecipient(com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient value) {
if (recipientBuilder_ == null) {
if (recipient_ != null) {
recipient_ =
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.newBuilder(recipient_).mergeFrom(value).buildPartial();
} else {
recipient_ = value;
}
onChanged();
} else {
recipientBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.Recipient recipient = 1;
*/
public Builder clearRecipient() {
if (recipientBuilder_ == null) {
recipient_ = null;
onChanged();
} else {
recipient_ = null;
recipientBuilder_ = null;
}
return this;
}
/**
* .waves.Recipient recipient = 1;
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder getRecipientBuilder() {
onChanged();
return getRecipientFieldBuilder().getBuilder();
}
/**
* .waves.Recipient recipient = 1;
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder getRecipientOrBuilder() {
if (recipientBuilder_ != null) {
return recipientBuilder_.getMessageOrBuilder();
} else {
return recipient_ == null ?
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.getDefaultInstance() : recipient_;
}
}
/**
* .waves.Recipient recipient = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient, com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder, com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder>
getRecipientFieldBuilder() {
if (recipientBuilder_ == null) {
recipientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient, com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder, com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder>(
getRecipient(),
getParentForChildren(),
isClean());
recipient_ = null;
}
return recipientBuilder_;
}
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 long nonce_ ;
/**
* int64 nonce = 3;
* @return The nonce.
*/
public long getNonce() {
return nonce_;
}
/**
* int64 nonce = 3;
* @param value The nonce to set.
* @return This builder for chaining.
*/
public Builder setNonce(long value) {
nonce_ = value;
onChanged();
return this;
}
/**
* int64 nonce = 3;
* @return This builder for chaining.
*/
public Builder clearNonce() {
nonce_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.ByteString leaseId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes lease_id = 4;
* @return The leaseId.
*/
public com.google.protobuf.ByteString getLeaseId() {
return leaseId_;
}
/**
* bytes lease_id = 4;
* @param value The leaseId to set.
* @return This builder for chaining.
*/
public Builder setLeaseId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
leaseId_ = value;
onChanged();
return this;
}
/**
* bytes lease_id = 4;
* @return This builder for chaining.
*/
public Builder clearLeaseId() {
leaseId_ = getDefaultInstance().getLeaseId();
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.Lease)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Lease)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Lease parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Lease(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.Lease getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LeaseCancelOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.LeaseCancel)
com.google.protobuf.MessageOrBuilder {
/**
* bytes lease_id = 1;
* @return The leaseId.
*/
com.google.protobuf.ByteString getLeaseId();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.LeaseCancel}
*/
public static final class LeaseCancel extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.LeaseCancel)
LeaseCancelOrBuilder {
private static final long serialVersionUID = 0L;
// Use LeaseCancel.newBuilder() to construct.
private LeaseCancel(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LeaseCancel() {
leaseId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LeaseCancel();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LeaseCancel(
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: {
leaseId_ = input.readBytes();
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_LeaseCancel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_LeaseCancel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder.class);
}
public static final int LEASE_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString leaseId_;
/**
* bytes lease_id = 1;
* @return The leaseId.
*/
public com.google.protobuf.ByteString getLeaseId() {
return leaseId_;
}
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 (!leaseId_.isEmpty()) {
output.writeBytes(1, leaseId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!leaseId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, leaseId_);
}
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.LeaseCancel)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel) obj;
if (!getLeaseId()
.equals(other.getLeaseId())) 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) + LEASE_ID_FIELD_NUMBER;
hash = (53 * hash) + getLeaseId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel 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.LeaseCancel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel 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.LeaseCancel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel 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.LeaseCancel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.LeaseCancel)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_LeaseCancel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_LeaseCancel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.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();
leaseId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_LeaseCancel_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel(this);
result.leaseId_ = leaseId_;
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.LeaseCancel) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.getDefaultInstance()) return this;
if (other.getLeaseId() != com.google.protobuf.ByteString.EMPTY) {
setLeaseId(other.getLeaseId());
}
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.LeaseCancel parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString leaseId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes lease_id = 1;
* @return The leaseId.
*/
public com.google.protobuf.ByteString getLeaseId() {
return leaseId_;
}
/**
* bytes lease_id = 1;
* @param value The leaseId to set.
* @return This builder for chaining.
*/
public Builder setLeaseId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
leaseId_ = value;
onChanged();
return this;
}
/**
* bytes lease_id = 1;
* @return This builder for chaining.
*/
public Builder clearLeaseId() {
leaseId_ = getDefaultInstance().getLeaseId();
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.LeaseCancel)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.LeaseCancel)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LeaseCancel parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LeaseCancel(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.LeaseCancel 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 interface CallOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Call)
com.google.protobuf.MessageOrBuilder {
/**
* string function = 1;
* @return The function.
*/
java.lang.String getFunction();
/**
* string function = 1;
* @return The bytes for function.
*/
com.google.protobuf.ByteString
getFunctionBytes();
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return A list containing the argsBytes.
*/
@java.lang.Deprecated java.util.List getArgsBytesList();
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return The count of argsBytes.
*/
@java.lang.Deprecated int getArgsBytesCount();
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param index The index of the element to return.
* @return The argsBytes at the given index.
*/
@java.lang.Deprecated com.google.protobuf.ByteString getArgsBytes(int index);
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
java.util.List
getArgsList();
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getArgs(int index);
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
int getArgsCount();
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getArgsOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getArgsOrBuilder(
int index);
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Call}
*/
public static final class Call extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Call)
CallOrBuilder {
private static final long serialVersionUID = 0L;
// Use Call.newBuilder() to construct.
private Call(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Call() {
function_ = "";
argsBytes_ = java.util.Collections.emptyList();
args_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Call();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Call(
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: {
java.lang.String s = input.readStringRequireUtf8();
function_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
argsBytes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
argsBytes_.add(input.readBytes());
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
args_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
args_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.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)) {
argsBytes_ = java.util.Collections.unmodifiableList(argsBytes_); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder.class);
}
public interface ArgumentOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Call.Argument)
com.google.protobuf.MessageOrBuilder {
/**
* int64 integer_value = 1;
* @return The integerValue.
*/
long getIntegerValue();
/**
* bytes binary_value = 2;
* @return The binaryValue.
*/
com.google.protobuf.ByteString getBinaryValue();
/**
* string string_value = 3;
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
* string string_value = 3;
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString
getStringValueBytes();
/**
* bool boolean_value = 4;
* @return The booleanValue.
*/
boolean getBooleanValue();
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return Whether the list field is set.
*/
boolean hasList();
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return The list.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List getList();
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder getListOrBuilder();
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ValueCase getValueCase();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Call.Argument}
*/
public static final class Argument extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Call.Argument)
ArgumentOrBuilder {
private static final long serialVersionUID = 0L;
// Use Argument.newBuilder() to construct.
private Argument(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Argument() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Argument();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Argument(
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: {
valueCase_ = 1;
value_ = input.readInt64();
break;
}
case 18: {
valueCase_ = 2;
value_ = input.readBytes();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
valueCase_ = 3;
value_ = s;
break;
}
case 32: {
valueCase_ = 4;
value_ = input.readBool();
break;
}
case 82: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder subBuilder = null;
if (valueCase_ == 10) {
subBuilder = ((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_).toBuilder();
}
value_ =
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_);
value_ = subBuilder.buildPartial();
}
valueCase_ = 10;
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_Call_Argument_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder.class);
}
public interface ListOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Call.Argument.List)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
java.util.List
getItemsList();
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getItems(int index);
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
int getItemsCount();
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getItemsOrBuilderList();
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getItemsOrBuilder(
int index);
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Call.Argument.List}
*/
public static final class List extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Call.Argument.List)
ListOrBuilder {
private static final long serialVersionUID = 0L;
// Use List.newBuilder() to construct.
private List(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private List() {
items_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new List();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private List(
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)) {
items_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
items_.add(
input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.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)) {
items_ = java.util.Collections.unmodifiableList(items_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder.class);
}
public static final int ITEMS_FIELD_NUMBER = 1;
private java.util.List items_;
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public java.util.List getItemsList() {
return items_;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public int getItemsCount() {
return items_.size();
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getItems(int index) {
return items_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getItemsOrBuilder(
int index) {
return items_.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 < items_.size(); i++) {
output.writeMessage(1, items_.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 < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, items_.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.Call.Argument.List)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) obj;
if (!getItemsList()
.equals(other.getItemsList())) 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 (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List 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.Call.Argument.List parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List 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.Call.Argument.List parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List 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.Call.Argument.List}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Call.Argument.List)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
itemsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List(this);
int from_bitField0_ = bitField0_;
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.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.Call.Argument.List) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance()) return this;
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
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.Call.Argument.List parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder> itemsBuilder_;
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public java.util.List getItemsList() {
if (itemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(items_);
} else {
return itemsBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder setItems(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
} else {
itemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder setItems(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder addItems(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder addItems(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
} else {
itemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder addItems(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder addItems(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder addAllItems(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public Builder removeItems(int index) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.remove(index);
onChanged();
} else {
itemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument items = 1;
*/
public java.util.List
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>(
items_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
@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.Call.Argument.List)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Call.Argument.List)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public List parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new List(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.Call.Argument.List getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int valueCase_ = 0;
private java.lang.Object value_;
public enum ValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INTEGER_VALUE(1),
BINARY_VALUE(2),
STRING_VALUE(3),
BOOLEAN_VALUE(4),
LIST(10),
VALUE_NOT_SET(0);
private final int value;
private ValueCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ValueCase valueOf(int value) {
return forNumber(value);
}
public static ValueCase forNumber(int value) {
switch (value) {
case 1: return INTEGER_VALUE;
case 2: return BINARY_VALUE;
case 3: return STRING_VALUE;
case 4: return BOOLEAN_VALUE;
case 10: return LIST;
case 0: return VALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public static final int INTEGER_VALUE_FIELD_NUMBER = 1;
/**
* int64 integer_value = 1;
* @return The integerValue.
*/
public long getIntegerValue() {
if (valueCase_ == 1) {
return (java.lang.Long) value_;
}
return 0L;
}
public static final int BINARY_VALUE_FIELD_NUMBER = 2;
/**
* bytes binary_value = 2;
* @return The binaryValue.
*/
public com.google.protobuf.ByteString getBinaryValue() {
if (valueCase_ == 2) {
return (com.google.protobuf.ByteString) value_;
}
return com.google.protobuf.ByteString.EMPTY;
}
public static final int STRING_VALUE_FIELD_NUMBER = 3;
/**
* string string_value = 3;
* @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (valueCase_ == 3) {
ref = value_;
}
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();
if (valueCase_ == 3) {
value_ = s;
}
return s;
}
}
/**
* string string_value = 3;
* @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (valueCase_ == 3) {
ref = value_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valueCase_ == 3) {
value_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 4;
/**
* bool boolean_value = 4;
* @return The booleanValue.
*/
public boolean getBooleanValue() {
if (valueCase_ == 4) {
return (java.lang.Boolean) value_;
}
return false;
}
public static final int LIST_FIELD_NUMBER = 10;
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return Whether the list field is set.
*/
public boolean hasList() {
return valueCase_ == 10;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return The list.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List getList() {
if (valueCase_ == 10) {
return (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_;
}
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder getListOrBuilder() {
if (valueCase_ == 10) {
return (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_;
}
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
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 (valueCase_ == 1) {
output.writeInt64(
1, (long)((java.lang.Long) value_));
}
if (valueCase_ == 2) {
output.writeBytes(
2, (com.google.protobuf.ByteString) value_);
}
if (valueCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_);
}
if (valueCase_ == 4) {
output.writeBool(
4, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 10) {
output.writeMessage(10, (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valueCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
1, (long)((java.lang.Long) value_));
}
if (valueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(
2, (com.google.protobuf.ByteString) value_);
}
if (valueCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_);
}
if (valueCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
4, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_);
}
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.Call.Argument)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument) obj;
if (!getValueCase().equals(other.getValueCase())) return false;
switch (valueCase_) {
case 1:
if (getIntegerValue()
!= other.getIntegerValue()) return false;
break;
case 2:
if (!getBinaryValue()
.equals(other.getBinaryValue())) return false;
break;
case 3:
if (!getStringValue()
.equals(other.getStringValue())) return false;
break;
case 4:
if (getBooleanValue()
!= other.getBooleanValue()) return false;
break;
case 10:
if (!getList()
.equals(other.getList())) return false;
break;
case 0:
default:
}
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();
switch (valueCase_) {
case 1:
hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIntegerValue());
break;
case 2:
hash = (37 * hash) + BINARY_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getBinaryValue().hashCode();
break;
case 3:
hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getStringValue().hashCode();
break;
case 4:
hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBooleanValue());
break;
case 10:
hash = (37 * hash) + LIST_FIELD_NUMBER;
hash = (53 * hash) + getList().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument 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.Call.Argument parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument 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.Call.Argument parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument 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.Call.Argument}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Call.Argument)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.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();
valueCase_ = 0;
value_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_Argument_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument(this);
if (valueCase_ == 1) {
result.value_ = value_;
}
if (valueCase_ == 2) {
result.value_ = value_;
}
if (valueCase_ == 3) {
result.value_ = value_;
}
if (valueCase_ == 4) {
result.value_ = value_;
}
if (valueCase_ == 10) {
if (listBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = listBuilder_.build();
}
}
result.valueCase_ = valueCase_;
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.Call.Argument) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance()) return this;
switch (other.getValueCase()) {
case INTEGER_VALUE: {
setIntegerValue(other.getIntegerValue());
break;
}
case BINARY_VALUE: {
setBinaryValue(other.getBinaryValue());
break;
}
case STRING_VALUE: {
valueCase_ = 3;
value_ = other.value_;
onChanged();
break;
}
case BOOLEAN_VALUE: {
setBooleanValue(other.getBooleanValue());
break;
}
case LIST: {
mergeList(other.getList());
break;
}
case VALUE_NOT_SET: {
break;
}
}
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.Call.Argument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valueCase_ = 0;
private java.lang.Object value_;
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public Builder clearValue() {
valueCase_ = 0;
value_ = null;
onChanged();
return this;
}
/**
* int64 integer_value = 1;
* @return The integerValue.
*/
public long getIntegerValue() {
if (valueCase_ == 1) {
return (java.lang.Long) value_;
}
return 0L;
}
/**
* int64 integer_value = 1;
* @param value The integerValue to set.
* @return This builder for chaining.
*/
public Builder setIntegerValue(long value) {
valueCase_ = 1;
value_ = value;
onChanged();
return this;
}
/**
* int64 integer_value = 1;
* @return This builder for chaining.
*/
public Builder clearIntegerValue() {
if (valueCase_ == 1) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* bytes binary_value = 2;
* @return The binaryValue.
*/
public com.google.protobuf.ByteString getBinaryValue() {
if (valueCase_ == 2) {
return (com.google.protobuf.ByteString) value_;
}
return com.google.protobuf.ByteString.EMPTY;
}
/**
* bytes binary_value = 2;
* @param value The binaryValue to set.
* @return This builder for chaining.
*/
public Builder setBinaryValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
valueCase_ = 2;
value_ = value;
onChanged();
return this;
}
/**
* bytes binary_value = 2;
* @return This builder for chaining.
*/
public Builder clearBinaryValue() {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* string string_value = 3;
* @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (valueCase_ == 3) {
ref = value_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (valueCase_ == 3) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string string_value = 3;
* @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (valueCase_ == 3) {
ref = value_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valueCase_ == 3) {
value_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string string_value = 3;
* @param value The stringValue to set.
* @return This builder for chaining.
*/
public Builder setStringValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
valueCase_ = 3;
value_ = value;
onChanged();
return this;
}
/**
* string string_value = 3;
* @return This builder for chaining.
*/
public Builder clearStringValue() {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* string string_value = 3;
* @param value The bytes for stringValue to set.
* @return This builder for chaining.
*/
public Builder setStringValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
valueCase_ = 3;
value_ = value;
onChanged();
return this;
}
/**
* bool boolean_value = 4;
* @return The booleanValue.
*/
public boolean getBooleanValue() {
if (valueCase_ == 4) {
return (java.lang.Boolean) value_;
}
return false;
}
/**
* bool boolean_value = 4;
* @param value The booleanValue to set.
* @return This builder for chaining.
*/
public Builder setBooleanValue(boolean value) {
valueCase_ = 4;
value_ = value;
onChanged();
return this;
}
/**
* bool boolean_value = 4;
* @return This builder for chaining.
*/
public Builder clearBooleanValue() {
if (valueCase_ == 4) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder> listBuilder_;
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return Whether the list field is set.
*/
public boolean hasList() {
return valueCase_ == 10;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
* @return The list.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List getList() {
if (listBuilder_ == null) {
if (valueCase_ == 10) {
return (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_;
}
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
} else {
if (valueCase_ == 10) {
return listBuilder_.getMessage();
}
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public Builder setList(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
listBuilder_.setMessage(value);
}
valueCase_ = 10;
return this;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public Builder setList(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder builderForValue) {
if (listBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
listBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 10;
return this;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public Builder mergeList(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List value) {
if (listBuilder_ == null) {
if (valueCase_ == 10 &&
value_ != com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance()) {
value_ = com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.newBuilder((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 10) {
listBuilder_.mergeFrom(value);
}
listBuilder_.setMessage(value);
}
valueCase_ = 10;
return this;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public Builder clearList() {
if (listBuilder_ == null) {
if (valueCase_ == 10) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 10) {
valueCase_ = 0;
value_ = null;
}
listBuilder_.clear();
}
return this;
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder getListBuilder() {
return getListFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder getListOrBuilder() {
if ((valueCase_ == 10) && (listBuilder_ != null)) {
return listBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 10) {
return (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_;
}
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
}
/**
* .waves.InvokeScriptResult.Call.Argument.List list = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder>
getListFieldBuilder() {
if (listBuilder_ == null) {
if (!(valueCase_ == 10)) {
value_ = com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.getDefaultInstance();
}
listBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.ListOrBuilder>(
(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.List) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 10;
onChanged();;
return listBuilder_;
}
@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.Call.Argument)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Call.Argument)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Argument parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Argument(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.Call.Argument getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int FUNCTION_FIELD_NUMBER = 1;
private volatile java.lang.Object function_;
/**
* string function = 1;
* @return The function.
*/
public java.lang.String getFunction() {
java.lang.Object ref = function_;
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();
function_ = s;
return s;
}
}
/**
* string function = 1;
* @return The bytes for function.
*/
public com.google.protobuf.ByteString
getFunctionBytes() {
java.lang.Object ref = function_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
function_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ARGS_BYTES_FIELD_NUMBER = 2;
private java.util.List argsBytes_;
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return A list containing the argsBytes.
*/
@java.lang.Deprecated public java.util.List
getArgsBytesList() {
return argsBytes_;
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return The count of argsBytes.
*/
@java.lang.Deprecated public int getArgsBytesCount() {
return argsBytes_.size();
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param index The index of the element to return.
* @return The argsBytes at the given index.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString getArgsBytes(int index) {
return argsBytes_.get(index);
}
public static final int ARGS_FIELD_NUMBER = 3;
private java.util.List args_;
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public java.util.List getArgsList() {
return args_;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getArgsOrBuilderList() {
return args_;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public int getArgsCount() {
return args_.size();
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getArgs(int index) {
return args_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getArgsOrBuilder(
int index) {
return args_.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 {
if (!getFunctionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, function_);
}
for (int i = 0; i < argsBytes_.size(); i++) {
output.writeBytes(2, argsBytes_.get(i));
}
for (int i = 0; i < args_.size(); i++) {
output.writeMessage(3, args_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFunctionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, function_);
}
{
int dataSize = 0;
for (int i = 0; i < argsBytes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(argsBytes_.get(i));
}
size += dataSize;
size += 1 * getArgsBytesList().size();
}
for (int i = 0; i < args_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, args_.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.Call)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call) obj;
if (!getFunction()
.equals(other.getFunction())) return false;
if (!getArgsBytesList()
.equals(other.getArgsBytesList())) return false;
if (!getArgsList()
.equals(other.getArgsList())) 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) + FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getFunction().hashCode();
if (getArgsBytesCount() > 0) {
hash = (37 * hash) + ARGS_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getArgsBytesList().hashCode();
}
if (getArgsCount() > 0) {
hash = (37 * hash) + ARGS_FIELD_NUMBER;
hash = (53 * hash) + getArgsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call 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.Call parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call 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.Call parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call 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.Call 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.Call 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.Call 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.Call 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.Call 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.Call 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.Call 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.Call}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Call)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getArgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
function_ = "";
argsBytes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
argsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Call_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call(this);
int from_bitField0_ = bitField0_;
result.function_ = function_;
if (((bitField0_ & 0x00000001) != 0)) {
argsBytes_ = java.util.Collections.unmodifiableList(argsBytes_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.argsBytes_ = argsBytes_;
if (argsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
args_ = java.util.Collections.unmodifiableList(args_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.args_ = args_;
} else {
result.args_ = argsBuilder_.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.Call) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.getDefaultInstance()) return this;
if (!other.getFunction().isEmpty()) {
function_ = other.function_;
onChanged();
}
if (!other.argsBytes_.isEmpty()) {
if (argsBytes_.isEmpty()) {
argsBytes_ = other.argsBytes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureArgsBytesIsMutable();
argsBytes_.addAll(other.argsBytes_);
}
onChanged();
}
if (argsBuilder_ == null) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
}
onChanged();
}
} else {
if (!other.args_.isEmpty()) {
if (argsBuilder_.isEmpty()) {
argsBuilder_.dispose();
argsBuilder_ = null;
args_ = other.args_;
bitField0_ = (bitField0_ & ~0x00000002);
argsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getArgsFieldBuilder() : null;
} else {
argsBuilder_.addAllMessages(other.args_);
}
}
}
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.Call parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object function_ = "";
/**
* string function = 1;
* @return The function.
*/
public java.lang.String getFunction() {
java.lang.Object ref = function_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
function_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string function = 1;
* @return The bytes for function.
*/
public com.google.protobuf.ByteString
getFunctionBytes() {
java.lang.Object ref = function_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
function_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string function = 1;
* @param value The function to set.
* @return This builder for chaining.
*/
public Builder setFunction(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
function_ = value;
onChanged();
return this;
}
/**
* string function = 1;
* @return This builder for chaining.
*/
public Builder clearFunction() {
function_ = getDefaultInstance().getFunction();
onChanged();
return this;
}
/**
* string function = 1;
* @param value The bytes for function to set.
* @return This builder for chaining.
*/
public Builder setFunctionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
function_ = value;
onChanged();
return this;
}
private java.util.List argsBytes_ = java.util.Collections.emptyList();
private void ensureArgsBytesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
argsBytes_ = new java.util.ArrayList(argsBytes_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return A list containing the argsBytes.
*/
@java.lang.Deprecated public java.util.List
getArgsBytesList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(argsBytes_) : argsBytes_;
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return The count of argsBytes.
*/
@java.lang.Deprecated public int getArgsBytesCount() {
return argsBytes_.size();
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param index The index of the element to return.
* @return The argsBytes at the given index.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString getArgsBytes(int index) {
return argsBytes_.get(index);
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param index The index to set the value at.
* @param value The argsBytes to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setArgsBytes(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsBytesIsMutable();
argsBytes_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param value The argsBytes to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addArgsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsBytesIsMutable();
argsBytes_.add(value);
onChanged();
return this;
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @param values The argsBytes to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addAllArgsBytes(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureArgsBytesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, argsBytes_);
onChanged();
return this;
}
/**
* repeated bytes args_bytes = 2 [deprecated = true];
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearArgsBytes() {
argsBytes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List args_ =
java.util.Collections.emptyList();
private void ensureArgsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
args_ = new java.util.ArrayList(args_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder> argsBuilder_;
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public java.util.List getArgsList() {
if (argsBuilder_ == null) {
return java.util.Collections.unmodifiableList(args_);
} else {
return argsBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public int getArgsCount() {
if (argsBuilder_ == null) {
return args_.size();
} else {
return argsBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument getArgs(int index) {
if (argsBuilder_ == null) {
return args_.get(index);
} else {
return argsBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder setArgs(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.set(index, value);
onChanged();
} else {
argsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder setArgs(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.set(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder addArgs(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(value);
onChanged();
} else {
argsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder addArgs(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument value) {
if (argsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureArgsIsMutable();
args_.add(index, value);
onChanged();
} else {
argsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder addArgs(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder addArgs(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder builderForValue) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.add(index, builderForValue.build());
onChanged();
} else {
argsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder addAllArgs(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument> values) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, args_);
onChanged();
} else {
argsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder clearArgs() {
if (argsBuilder_ == null) {
args_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
argsBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public Builder removeArgs(int index) {
if (argsBuilder_ == null) {
ensureArgsIsMutable();
args_.remove(index);
onChanged();
} else {
argsBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder getArgsBuilder(
int index) {
return getArgsFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder getArgsOrBuilder(
int index) {
if (argsBuilder_ == null) {
return args_.get(index); } else {
return argsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getArgsOrBuilderList() {
if (argsBuilder_ != null) {
return argsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(args_);
}
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder addArgsBuilder() {
return getArgsFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder addArgsBuilder(
int index) {
return getArgsFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Call.Argument args = 3;
*/
public java.util.List
getArgsBuilderList() {
return getArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>
getArgsFieldBuilder() {
if (argsBuilder_ == null) {
argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Argument.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.ArgumentOrBuilder>(
args_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
args_ = null;
}
return argsBuilder_;
}
@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.Call)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Call)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Call parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Call(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.Call getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InvocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.InvokeScriptResult.Invocation)
com.google.protobuf.MessageOrBuilder {
/**
* bytes dApp = 1;
* @return The dApp.
*/
com.google.protobuf.ByteString getDApp();
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return Whether the call field is set.
*/
boolean hasCall();
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return The call.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call getCall();
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder getCallOrBuilder();
/**
* repeated .waves.Amount payments = 3;
*/
java.util.List
getPaymentsList();
/**
* repeated .waves.Amount payments = 3;
*/
com.wavesplatform.protobuf.AmountOuterClass.Amount getPayments(int index);
/**
* repeated .waves.Amount payments = 3;
*/
int getPaymentsCount();
/**
* repeated .waves.Amount payments = 3;
*/
java.util.List extends com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getPaymentsOrBuilderList();
/**
* repeated .waves.Amount payments = 3;
*/
com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getPaymentsOrBuilder(
int index);
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return Whether the stateChanges field is set.
*/
boolean hasStateChanges();
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return The stateChanges.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getStateChanges();
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getStateChangesOrBuilder();
}
/**
* Protobuf type {@code waves.InvokeScriptResult.Invocation}
*/
public static final class Invocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.InvokeScriptResult.Invocation)
InvocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Invocation.newBuilder() to construct.
private Invocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Invocation() {
dApp_ = com.google.protobuf.ByteString.EMPTY;
payments_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Invocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Invocation(
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: {
dApp_ = input.readBytes();
break;
}
case 18: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder subBuilder = null;
if (call_ != null) {
subBuilder = call_.toBuilder();
}
call_ = input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(call_);
call_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
payments_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
payments_.add(
input.readMessage(com.wavesplatform.protobuf.AmountOuterClass.Amount.parser(), extensionRegistry));
break;
}
case 34: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder subBuilder = null;
if (stateChanges_ != null) {
subBuilder = stateChanges_.toBuilder();
}
stateChanges_ = input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stateChanges_);
stateChanges_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
payments_ = java.util.Collections.unmodifiableList(payments_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Invocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Invocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder.class);
}
public static final int DAPP_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString dApp_;
/**
* bytes dApp = 1;
* @return The dApp.
*/
public com.google.protobuf.ByteString getDApp() {
return dApp_;
}
public static final int CALL_FIELD_NUMBER = 2;
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call call_;
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return Whether the call field is set.
*/
public boolean hasCall() {
return call_ != null;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return The call.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call getCall() {
return call_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.getDefaultInstance() : call_;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder getCallOrBuilder() {
return getCall();
}
public static final int PAYMENTS_FIELD_NUMBER = 3;
private java.util.List payments_;
/**
* repeated .waves.Amount payments = 3;
*/
public java.util.List getPaymentsList() {
return payments_;
}
/**
* repeated .waves.Amount payments = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getPaymentsOrBuilderList() {
return payments_;
}
/**
* repeated .waves.Amount payments = 3;
*/
public int getPaymentsCount() {
return payments_.size();
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getPayments(int index) {
return payments_.get(index);
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getPaymentsOrBuilder(
int index) {
return payments_.get(index);
}
public static final int STATECHANGES_FIELD_NUMBER = 4;
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult stateChanges_;
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return Whether the stateChanges field is set.
*/
public boolean hasStateChanges() {
return stateChanges_ != null;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return The stateChanges.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getStateChanges() {
return stateChanges_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : stateChanges_;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getStateChangesOrBuilder() {
return getStateChanges();
}
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 (!dApp_.isEmpty()) {
output.writeBytes(1, dApp_);
}
if (call_ != null) {
output.writeMessage(2, getCall());
}
for (int i = 0; i < payments_.size(); i++) {
output.writeMessage(3, payments_.get(i));
}
if (stateChanges_ != null) {
output.writeMessage(4, getStateChanges());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!dApp_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, dApp_);
}
if (call_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCall());
}
for (int i = 0; i < payments_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, payments_.get(i));
}
if (stateChanges_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getStateChanges());
}
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.Invocation)) {
return super.equals(obj);
}
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation other = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation) obj;
if (!getDApp()
.equals(other.getDApp())) return false;
if (hasCall() != other.hasCall()) return false;
if (hasCall()) {
if (!getCall()
.equals(other.getCall())) return false;
}
if (!getPaymentsList()
.equals(other.getPaymentsList())) return false;
if (hasStateChanges() != other.hasStateChanges()) return false;
if (hasStateChanges()) {
if (!getStateChanges()
.equals(other.getStateChanges())) 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) + DAPP_FIELD_NUMBER;
hash = (53 * hash) + getDApp().hashCode();
if (hasCall()) {
hash = (37 * hash) + CALL_FIELD_NUMBER;
hash = (53 * hash) + getCall().hashCode();
}
if (getPaymentsCount() > 0) {
hash = (37 * hash) + PAYMENTS_FIELD_NUMBER;
hash = (53 * hash) + getPaymentsList().hashCode();
}
if (hasStateChanges()) {
hash = (37 * hash) + STATECHANGES_FIELD_NUMBER;
hash = (53 * hash) + getStateChanges().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation 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.Invocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation 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.Invocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation 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.Invocation 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.Invocation 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.Invocation 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.Invocation 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.Invocation 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.Invocation 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.Invocation 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.Invocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.InvokeScriptResult.Invocation)
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Invocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Invocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.class, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder.class);
}
// Construct using com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPaymentsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
dApp_ = com.google.protobuf.ByteString.EMPTY;
if (callBuilder_ == null) {
call_ = null;
} else {
call_ = null;
callBuilder_ = null;
}
if (paymentsBuilder_ == null) {
payments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
paymentsBuilder_.clear();
}
if (stateChangesBuilder_ == null) {
stateChanges_ = null;
} else {
stateChanges_ = null;
stateChangesBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.internal_static_waves_InvokeScriptResult_Invocation_descriptor;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation getDefaultInstanceForType() {
return com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation build() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation buildPartial() {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation result = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation(this);
int from_bitField0_ = bitField0_;
result.dApp_ = dApp_;
if (callBuilder_ == null) {
result.call_ = call_;
} else {
result.call_ = callBuilder_.build();
}
if (paymentsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
payments_ = java.util.Collections.unmodifiableList(payments_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.payments_ = payments_;
} else {
result.payments_ = paymentsBuilder_.build();
}
if (stateChangesBuilder_ == null) {
result.stateChanges_ = stateChanges_;
} else {
result.stateChanges_ = stateChangesBuilder_.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.Invocation) {
return mergeFrom((com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation other) {
if (other == com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.getDefaultInstance()) return this;
if (other.getDApp() != com.google.protobuf.ByteString.EMPTY) {
setDApp(other.getDApp());
}
if (other.hasCall()) {
mergeCall(other.getCall());
}
if (paymentsBuilder_ == null) {
if (!other.payments_.isEmpty()) {
if (payments_.isEmpty()) {
payments_ = other.payments_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePaymentsIsMutable();
payments_.addAll(other.payments_);
}
onChanged();
}
} else {
if (!other.payments_.isEmpty()) {
if (paymentsBuilder_.isEmpty()) {
paymentsBuilder_.dispose();
paymentsBuilder_ = null;
payments_ = other.payments_;
bitField0_ = (bitField0_ & ~0x00000001);
paymentsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPaymentsFieldBuilder() : null;
} else {
paymentsBuilder_.addAllMessages(other.payments_);
}
}
}
if (other.hasStateChanges()) {
mergeStateChanges(other.getStateChanges());
}
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.Invocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString dApp_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes dApp = 1;
* @return The dApp.
*/
public com.google.protobuf.ByteString getDApp() {
return dApp_;
}
/**
* bytes dApp = 1;
* @param value The dApp to set.
* @return This builder for chaining.
*/
public Builder setDApp(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
dApp_ = value;
onChanged();
return this;
}
/**
* bytes dApp = 1;
* @return This builder for chaining.
*/
public Builder clearDApp() {
dApp_ = getDefaultInstance().getDApp();
onChanged();
return this;
}
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call call_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder> callBuilder_;
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return Whether the call field is set.
*/
public boolean hasCall() {
return callBuilder_ != null || call_ != null;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
* @return The call.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call getCall() {
if (callBuilder_ == null) {
return call_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.getDefaultInstance() : call_;
} else {
return callBuilder_.getMessage();
}
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public Builder setCall(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call value) {
if (callBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
call_ = value;
onChanged();
} else {
callBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public Builder setCall(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder builderForValue) {
if (callBuilder_ == null) {
call_ = builderForValue.build();
onChanged();
} else {
callBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public Builder mergeCall(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call value) {
if (callBuilder_ == null) {
if (call_ != null) {
call_ =
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.newBuilder(call_).mergeFrom(value).buildPartial();
} else {
call_ = value;
}
onChanged();
} else {
callBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public Builder clearCall() {
if (callBuilder_ == null) {
call_ = null;
onChanged();
} else {
call_ = null;
callBuilder_ = null;
}
return this;
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder getCallBuilder() {
onChanged();
return getCallFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder getCallOrBuilder() {
if (callBuilder_ != null) {
return callBuilder_.getMessageOrBuilder();
} else {
return call_ == null ?
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.getDefaultInstance() : call_;
}
}
/**
* .waves.InvokeScriptResult.Call call = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder>
getCallFieldBuilder() {
if (callBuilder_ == null) {
callBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Call.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.CallOrBuilder>(
getCall(),
getParentForChildren(),
isClean());
call_ = null;
}
return callBuilder_;
}
private java.util.List payments_ =
java.util.Collections.emptyList();
private void ensurePaymentsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
payments_ = new java.util.ArrayList(payments_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder> paymentsBuilder_;
/**
* repeated .waves.Amount payments = 3;
*/
public java.util.List getPaymentsList() {
if (paymentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(payments_);
} else {
return paymentsBuilder_.getMessageList();
}
}
/**
* repeated .waves.Amount payments = 3;
*/
public int getPaymentsCount() {
if (paymentsBuilder_ == null) {
return payments_.size();
} else {
return paymentsBuilder_.getCount();
}
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount getPayments(int index) {
if (paymentsBuilder_ == null) {
return payments_.get(index);
} else {
return paymentsBuilder_.getMessage(index);
}
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder setPayments(
int index, com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (paymentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePaymentsIsMutable();
payments_.set(index, value);
onChanged();
} else {
paymentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder setPayments(
int index, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder builderForValue) {
if (paymentsBuilder_ == null) {
ensurePaymentsIsMutable();
payments_.set(index, builderForValue.build());
onChanged();
} else {
paymentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder addPayments(com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (paymentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePaymentsIsMutable();
payments_.add(value);
onChanged();
} else {
paymentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder addPayments(
int index, com.wavesplatform.protobuf.AmountOuterClass.Amount value) {
if (paymentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePaymentsIsMutable();
payments_.add(index, value);
onChanged();
} else {
paymentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder addPayments(
com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder builderForValue) {
if (paymentsBuilder_ == null) {
ensurePaymentsIsMutable();
payments_.add(builderForValue.build());
onChanged();
} else {
paymentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder addPayments(
int index, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder builderForValue) {
if (paymentsBuilder_ == null) {
ensurePaymentsIsMutable();
payments_.add(index, builderForValue.build());
onChanged();
} else {
paymentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder addAllPayments(
java.lang.Iterable extends com.wavesplatform.protobuf.AmountOuterClass.Amount> values) {
if (paymentsBuilder_ == null) {
ensurePaymentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, payments_);
onChanged();
} else {
paymentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder clearPayments() {
if (paymentsBuilder_ == null) {
payments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
paymentsBuilder_.clear();
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public Builder removePayments(int index) {
if (paymentsBuilder_ == null) {
ensurePaymentsIsMutable();
payments_.remove(index);
onChanged();
} else {
paymentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder getPaymentsBuilder(
int index) {
return getPaymentsFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder getPaymentsOrBuilder(
int index) {
if (paymentsBuilder_ == null) {
return payments_.get(index); } else {
return paymentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.Amount payments = 3;
*/
public java.util.List extends com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getPaymentsOrBuilderList() {
if (paymentsBuilder_ != null) {
return paymentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(payments_);
}
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder addPaymentsBuilder() {
return getPaymentsFieldBuilder().addBuilder(
com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance());
}
/**
* repeated .waves.Amount payments = 3;
*/
public com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder addPaymentsBuilder(
int index) {
return getPaymentsFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.AmountOuterClass.Amount.getDefaultInstance());
}
/**
* repeated .waves.Amount payments = 3;
*/
public java.util.List
getPaymentsBuilderList() {
return getPaymentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>
getPaymentsFieldBuilder() {
if (paymentsBuilder_ == null) {
paymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.AmountOuterClass.Amount, com.wavesplatform.protobuf.AmountOuterClass.Amount.Builder, com.wavesplatform.protobuf.AmountOuterClass.AmountOrBuilder>(
payments_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
payments_ = null;
}
return paymentsBuilder_;
}
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult stateChanges_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder> stateChangesBuilder_;
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return Whether the stateChanges field is set.
*/
public boolean hasStateChanges() {
return stateChangesBuilder_ != null || stateChanges_ != null;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
* @return The stateChanges.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getStateChanges() {
if (stateChangesBuilder_ == null) {
return stateChanges_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : stateChanges_;
} else {
return stateChangesBuilder_.getMessage();
}
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public Builder setStateChanges(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (stateChangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stateChanges_ = value;
onChanged();
} else {
stateChangesBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public Builder setStateChanges(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder builderForValue) {
if (stateChangesBuilder_ == null) {
stateChanges_ = builderForValue.build();
onChanged();
} else {
stateChangesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public Builder mergeStateChanges(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (stateChangesBuilder_ == null) {
if (stateChanges_ != null) {
stateChanges_ =
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.newBuilder(stateChanges_).mergeFrom(value).buildPartial();
} else {
stateChanges_ = value;
}
onChanged();
} else {
stateChangesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public Builder clearStateChanges() {
if (stateChangesBuilder_ == null) {
stateChanges_ = null;
onChanged();
} else {
stateChanges_ = null;
stateChangesBuilder_ = null;
}
return this;
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder getStateChangesBuilder() {
onChanged();
return getStateChangesFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getStateChangesOrBuilder() {
if (stateChangesBuilder_ != null) {
return stateChangesBuilder_.getMessageOrBuilder();
} else {
return stateChanges_ == null ?
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : stateChanges_;
}
}
/**
* .waves.InvokeScriptResult stateChanges = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>
getStateChangesFieldBuilder() {
if (stateChangesBuilder_ == null) {
stateChangesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>(
getStateChanges(),
getParentForChildren(),
isClean());
stateChanges_ = null;
}
return stateChangesBuilder_;
}
@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.Invocation)
}
// @@protoc_insertion_point(class_scope:waves.InvokeScriptResult.Invocation)
private static final com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation();
}
public static com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Invocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Invocation(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.Invocation 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);
}
public static final int LEASES_FIELD_NUMBER = 8;
private java.util.List leases_;
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public java.util.List getLeasesList() {
return leases_;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder>
getLeasesOrBuilderList() {
return leases_;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public int getLeasesCount() {
return leases_.size();
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease getLeases(int index) {
return leases_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder getLeasesOrBuilder(
int index) {
return leases_.get(index);
}
public static final int LEASE_CANCELS_FIELD_NUMBER = 9;
private java.util.List leaseCancels_;
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public java.util.List getLeaseCancelsList() {
return leaseCancels_;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder>
getLeaseCancelsOrBuilderList() {
return leaseCancels_;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public int getLeaseCancelsCount() {
return leaseCancels_.size();
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel getLeaseCancels(int index) {
return leaseCancels_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder getLeaseCancelsOrBuilder(
int index) {
return leaseCancels_.get(index);
}
public static final int INVOKES_FIELD_NUMBER = 10;
private java.util.List invokes_;
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public java.util.List getInvokesList() {
return invokes_;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder>
getInvokesOrBuilderList() {
return invokes_;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public int getInvokesCount() {
return invokes_.size();
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation getInvokes(int index) {
return invokes_.get(index);
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder getInvokesOrBuilder(
int index) {
return invokes_.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));
}
for (int i = 0; i < leases_.size(); i++) {
output.writeMessage(8, leases_.get(i));
}
for (int i = 0; i < leaseCancels_.size(); i++) {
output.writeMessage(9, leaseCancels_.get(i));
}
for (int i = 0; i < invokes_.size(); i++) {
output.writeMessage(10, invokes_.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));
}
for (int i = 0; i < leases_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, leases_.get(i));
}
for (int i = 0; i < leaseCancels_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, leaseCancels_.get(i));
}
for (int i = 0; i < invokes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, invokes_.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 (!getLeasesList()
.equals(other.getLeasesList())) return false;
if (!getLeaseCancelsList()
.equals(other.getLeaseCancelsList())) return false;
if (!getInvokesList()
.equals(other.getInvokesList())) 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();
}
if (getLeasesCount() > 0) {
hash = (37 * hash) + LEASES_FIELD_NUMBER;
hash = (53 * hash) + getLeasesList().hashCode();
}
if (getLeaseCancelsCount() > 0) {
hash = (37 * hash) + LEASE_CANCELS_FIELD_NUMBER;
hash = (53 * hash) + getLeaseCancelsList().hashCode();
}
if (getInvokesCount() > 0) {
hash = (37 * hash) + INVOKES_FIELD_NUMBER;
hash = (53 * hash) + getInvokesList().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();
getLeasesFieldBuilder();
getLeaseCancelsFieldBuilder();
getInvokesFieldBuilder();
}
}
@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();
}
if (leasesBuilder_ == null) {
leases_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
leasesBuilder_.clear();
}
if (leaseCancelsBuilder_ == null) {
leaseCancels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
leaseCancelsBuilder_.clear();
}
if (invokesBuilder_ == null) {
invokes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
invokesBuilder_.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();
}
if (leasesBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
leases_ = java.util.Collections.unmodifiableList(leases_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.leases_ = leases_;
} else {
result.leases_ = leasesBuilder_.build();
}
if (leaseCancelsBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0)) {
leaseCancels_ = java.util.Collections.unmodifiableList(leaseCancels_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.leaseCancels_ = leaseCancels_;
} else {
result.leaseCancels_ = leaseCancelsBuilder_.build();
}
if (invokesBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
invokes_ = java.util.Collections.unmodifiableList(invokes_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.invokes_ = invokes_;
} else {
result.invokes_ = invokesBuilder_.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_);
}
}
}
if (leasesBuilder_ == null) {
if (!other.leases_.isEmpty()) {
if (leases_.isEmpty()) {
leases_ = other.leases_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureLeasesIsMutable();
leases_.addAll(other.leases_);
}
onChanged();
}
} else {
if (!other.leases_.isEmpty()) {
if (leasesBuilder_.isEmpty()) {
leasesBuilder_.dispose();
leasesBuilder_ = null;
leases_ = other.leases_;
bitField0_ = (bitField0_ & ~0x00000040);
leasesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeasesFieldBuilder() : null;
} else {
leasesBuilder_.addAllMessages(other.leases_);
}
}
}
if (leaseCancelsBuilder_ == null) {
if (!other.leaseCancels_.isEmpty()) {
if (leaseCancels_.isEmpty()) {
leaseCancels_ = other.leaseCancels_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureLeaseCancelsIsMutable();
leaseCancels_.addAll(other.leaseCancels_);
}
onChanged();
}
} else {
if (!other.leaseCancels_.isEmpty()) {
if (leaseCancelsBuilder_.isEmpty()) {
leaseCancelsBuilder_.dispose();
leaseCancelsBuilder_ = null;
leaseCancels_ = other.leaseCancels_;
bitField0_ = (bitField0_ & ~0x00000080);
leaseCancelsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeaseCancelsFieldBuilder() : null;
} else {
leaseCancelsBuilder_.addAllMessages(other.leaseCancels_);
}
}
}
if (invokesBuilder_ == null) {
if (!other.invokes_.isEmpty()) {
if (invokes_.isEmpty()) {
invokes_ = other.invokes_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureInvokesIsMutable();
invokes_.addAll(other.invokes_);
}
onChanged();
}
} else {
if (!other.invokes_.isEmpty()) {
if (invokesBuilder_.isEmpty()) {
invokesBuilder_.dispose();
invokesBuilder_ = null;
invokes_ = other.invokes_;
bitField0_ = (bitField0_ & ~0x00000100);
invokesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInvokesFieldBuilder() : null;
} else {
invokesBuilder_.addAllMessages(other.invokes_);
}
}
}
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_;
}
private java.util.List leases_ =
java.util.Collections.emptyList();
private void ensureLeasesIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
leases_ = new java.util.ArrayList(leases_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder> leasesBuilder_;
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public java.util.List getLeasesList() {
if (leasesBuilder_ == null) {
return java.util.Collections.unmodifiableList(leases_);
} else {
return leasesBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public int getLeasesCount() {
if (leasesBuilder_ == null) {
return leases_.size();
} else {
return leasesBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease getLeases(int index) {
if (leasesBuilder_ == null) {
return leases_.get(index);
} else {
return leasesBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder setLeases(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease value) {
if (leasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeasesIsMutable();
leases_.set(index, value);
onChanged();
} else {
leasesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder setLeases(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder builderForValue) {
if (leasesBuilder_ == null) {
ensureLeasesIsMutable();
leases_.set(index, builderForValue.build());
onChanged();
} else {
leasesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder addLeases(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease value) {
if (leasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeasesIsMutable();
leases_.add(value);
onChanged();
} else {
leasesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder addLeases(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease value) {
if (leasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeasesIsMutable();
leases_.add(index, value);
onChanged();
} else {
leasesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder addLeases(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder builderForValue) {
if (leasesBuilder_ == null) {
ensureLeasesIsMutable();
leases_.add(builderForValue.build());
onChanged();
} else {
leasesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder addLeases(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder builderForValue) {
if (leasesBuilder_ == null) {
ensureLeasesIsMutable();
leases_.add(index, builderForValue.build());
onChanged();
} else {
leasesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder addAllLeases(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease> values) {
if (leasesBuilder_ == null) {
ensureLeasesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, leases_);
onChanged();
} else {
leasesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder clearLeases() {
if (leasesBuilder_ == null) {
leases_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
leasesBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public Builder removeLeases(int index) {
if (leasesBuilder_ == null) {
ensureLeasesIsMutable();
leases_.remove(index);
onChanged();
} else {
leasesBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder getLeasesBuilder(
int index) {
return getLeasesFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder getLeasesOrBuilder(
int index) {
if (leasesBuilder_ == null) {
return leases_.get(index); } else {
return leasesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder>
getLeasesOrBuilderList() {
if (leasesBuilder_ != null) {
return leasesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leases_);
}
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder addLeasesBuilder() {
return getLeasesFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder addLeasesBuilder(
int index) {
return getLeasesFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Lease leases = 8;
*/
public java.util.List
getLeasesBuilderList() {
return getLeasesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder>
getLeasesFieldBuilder() {
if (leasesBuilder_ == null) {
leasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Lease.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseOrBuilder>(
leases_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
leases_ = null;
}
return leasesBuilder_;
}
private java.util.List leaseCancels_ =
java.util.Collections.emptyList();
private void ensureLeaseCancelsIsMutable() {
if (!((bitField0_ & 0x00000080) != 0)) {
leaseCancels_ = new java.util.ArrayList(leaseCancels_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder> leaseCancelsBuilder_;
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public java.util.List getLeaseCancelsList() {
if (leaseCancelsBuilder_ == null) {
return java.util.Collections.unmodifiableList(leaseCancels_);
} else {
return leaseCancelsBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public int getLeaseCancelsCount() {
if (leaseCancelsBuilder_ == null) {
return leaseCancels_.size();
} else {
return leaseCancelsBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel getLeaseCancels(int index) {
if (leaseCancelsBuilder_ == null) {
return leaseCancels_.get(index);
} else {
return leaseCancelsBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder setLeaseCancels(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel value) {
if (leaseCancelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaseCancelsIsMutable();
leaseCancels_.set(index, value);
onChanged();
} else {
leaseCancelsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder setLeaseCancels(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder builderForValue) {
if (leaseCancelsBuilder_ == null) {
ensureLeaseCancelsIsMutable();
leaseCancels_.set(index, builderForValue.build());
onChanged();
} else {
leaseCancelsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder addLeaseCancels(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel value) {
if (leaseCancelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaseCancelsIsMutable();
leaseCancels_.add(value);
onChanged();
} else {
leaseCancelsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder addLeaseCancels(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel value) {
if (leaseCancelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeaseCancelsIsMutable();
leaseCancels_.add(index, value);
onChanged();
} else {
leaseCancelsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder addLeaseCancels(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder builderForValue) {
if (leaseCancelsBuilder_ == null) {
ensureLeaseCancelsIsMutable();
leaseCancels_.add(builderForValue.build());
onChanged();
} else {
leaseCancelsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder addLeaseCancels(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder builderForValue) {
if (leaseCancelsBuilder_ == null) {
ensureLeaseCancelsIsMutable();
leaseCancels_.add(index, builderForValue.build());
onChanged();
} else {
leaseCancelsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder addAllLeaseCancels(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel> values) {
if (leaseCancelsBuilder_ == null) {
ensureLeaseCancelsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, leaseCancels_);
onChanged();
} else {
leaseCancelsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder clearLeaseCancels() {
if (leaseCancelsBuilder_ == null) {
leaseCancels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
leaseCancelsBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public Builder removeLeaseCancels(int index) {
if (leaseCancelsBuilder_ == null) {
ensureLeaseCancelsIsMutable();
leaseCancels_.remove(index);
onChanged();
} else {
leaseCancelsBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder getLeaseCancelsBuilder(
int index) {
return getLeaseCancelsFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder getLeaseCancelsOrBuilder(
int index) {
if (leaseCancelsBuilder_ == null) {
return leaseCancels_.get(index); } else {
return leaseCancelsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder>
getLeaseCancelsOrBuilderList() {
if (leaseCancelsBuilder_ != null) {
return leaseCancelsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leaseCancels_);
}
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder addLeaseCancelsBuilder() {
return getLeaseCancelsFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder addLeaseCancelsBuilder(
int index) {
return getLeaseCancelsFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.LeaseCancel lease_cancels = 9;
*/
public java.util.List
getLeaseCancelsBuilderList() {
return getLeaseCancelsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder>
getLeaseCancelsFieldBuilder() {
if (leaseCancelsBuilder_ == null) {
leaseCancelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancel.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.LeaseCancelOrBuilder>(
leaseCancels_,
((bitField0_ & 0x00000080) != 0),
getParentForChildren(),
isClean());
leaseCancels_ = null;
}
return leaseCancelsBuilder_;
}
private java.util.List invokes_ =
java.util.Collections.emptyList();
private void ensureInvokesIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
invokes_ = new java.util.ArrayList(invokes_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder> invokesBuilder_;
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public java.util.List getInvokesList() {
if (invokesBuilder_ == null) {
return java.util.Collections.unmodifiableList(invokes_);
} else {
return invokesBuilder_.getMessageList();
}
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public int getInvokesCount() {
if (invokesBuilder_ == null) {
return invokes_.size();
} else {
return invokesBuilder_.getCount();
}
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation getInvokes(int index) {
if (invokesBuilder_ == null) {
return invokes_.get(index);
} else {
return invokesBuilder_.getMessage(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder setInvokes(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation value) {
if (invokesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInvokesIsMutable();
invokes_.set(index, value);
onChanged();
} else {
invokesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder setInvokes(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder builderForValue) {
if (invokesBuilder_ == null) {
ensureInvokesIsMutable();
invokes_.set(index, builderForValue.build());
onChanged();
} else {
invokesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder addInvokes(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation value) {
if (invokesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInvokesIsMutable();
invokes_.add(value);
onChanged();
} else {
invokesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder addInvokes(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation value) {
if (invokesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInvokesIsMutable();
invokes_.add(index, value);
onChanged();
} else {
invokesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder addInvokes(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder builderForValue) {
if (invokesBuilder_ == null) {
ensureInvokesIsMutable();
invokes_.add(builderForValue.build());
onChanged();
} else {
invokesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder addInvokes(
int index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder builderForValue) {
if (invokesBuilder_ == null) {
ensureInvokesIsMutable();
invokes_.add(index, builderForValue.build());
onChanged();
} else {
invokesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder addAllInvokes(
java.lang.Iterable extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation> values) {
if (invokesBuilder_ == null) {
ensureInvokesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, invokes_);
onChanged();
} else {
invokesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder clearInvokes() {
if (invokesBuilder_ == null) {
invokes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
invokesBuilder_.clear();
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public Builder removeInvokes(int index) {
if (invokesBuilder_ == null) {
ensureInvokesIsMutable();
invokes_.remove(index);
onChanged();
} else {
invokesBuilder_.remove(index);
}
return this;
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder getInvokesBuilder(
int index) {
return getInvokesFieldBuilder().getBuilder(index);
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder getInvokesOrBuilder(
int index) {
if (invokesBuilder_ == null) {
return invokes_.get(index); } else {
return invokesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public java.util.List extends com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder>
getInvokesOrBuilderList() {
if (invokesBuilder_ != null) {
return invokesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(invokes_);
}
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder addInvokesBuilder() {
return getInvokesFieldBuilder().addBuilder(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder addInvokesBuilder(
int index) {
return getInvokesFieldBuilder().addBuilder(
index, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.getDefaultInstance());
}
/**
* repeated .waves.InvokeScriptResult.Invocation invokes = 10;
*/
public java.util.List
getInvokesBuilderList() {
return getInvokesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder>
getInvokesFieldBuilder() {
if (invokesBuilder_ == null) {
invokesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Invocation.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.InvocationOrBuilder>(
invokes_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
invokes_ = null;
}
return invokesBuilder_;
}
@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_Lease_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Lease_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_LeaseCancel_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_LeaseCancel_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;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Call_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Call_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Call_Argument_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Call_Argument_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Call_Argument_List_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_InvokeScriptResult_Invocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_InvokeScriptResult_Invocation_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\032\025waves/recipient.proto\"\310\014\n\022Invoke" +
"ScriptResult\0222\n\004data\030\001 \003(\0132$.waves.DataT" +
"ransactionData.DataEntry\0224\n\ttransfers\030\002 " +
"\003(\0132!.waves.InvokeScriptResult.Payment\022/" +
"\n\006issues\030\003 \003(\0132\037.waves.InvokeScriptResul" +
"t.Issue\0223\n\010reissues\030\004 \003(\0132!.waves.Invoke" +
"ScriptResult.Reissue\022-\n\005burns\030\005 \003(\0132\036.wa" +
"ves.InvokeScriptResult.Burn\022=\n\rerror_mes" +
"sage\030\006 \001(\0132&.waves.InvokeScriptResult.Er" +
"rorMessage\022:\n\014sponsor_fees\030\007 \003(\0132$.waves" +
".InvokeScriptResult.SponsorFee\022/\n\006leases" +
"\030\010 \003(\0132\037.waves.InvokeScriptResult.Lease\022" +
"<\n\rlease_cancels\030\t \003(\0132%.waves.InvokeScr" +
"iptResult.LeaseCancel\0225\n\007invokes\030\n \003(\0132$" +
".waves.InvokeScriptResult.Invocation\0329\n\007" +
"Payment\022\017\n\007address\030\001 \001(\014\022\035\n\006amount\030\002 \001(\013" +
"2\r.waves.Amount\032\221\001\n\005Issue\022\020\n\010asset_id\030\001 " +
"\001(\014\022\014\n\004name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\016" +
"\n\006amount\030\004 \001(\003\022\020\n\010decimals\030\005 \001(\005\022\022\n\nreis" +
"suable\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\006amou" +
"nt\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\nSpo" +
"nsorFee\022\036\n\007min_fee\030\001 \001(\0132\r.waves.Amount\032" +
"]\n\005Lease\022#\n\trecipient\030\001 \001(\0132\020.waves.Reci" +
"pient\022\016\n\006amount\030\002 \001(\003\022\r\n\005nonce\030\003 \001(\003\022\020\n\010" +
"lease_id\030\004 \001(\014\032\037\n\013LeaseCancel\022\020\n\010lease_i" +
"d\030\001 \001(\014\032*\n\014ErrorMessage\022\014\n\004code\030\001 \001(\005\022\014\n" +
"\004text\030\002 \001(\t\032\335\002\n\004Call\022\020\n\010function\030\001 \001(\t\022\026" +
"\n\nargs_bytes\030\002 \003(\014B\002\030\001\0225\n\004args\030\003 \003(\0132\'.w" +
"aves.InvokeScriptResult.Call.Argument\032\363\001" +
"\n\010Argument\022\027\n\rinteger_value\030\001 \001(\003H\000\022\026\n\014b" +
"inary_value\030\002 \001(\014H\000\022\026\n\014string_value\030\003 \001(" +
"\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000\022<\n\004list\030\n \001" +
"(\0132,.waves.InvokeScriptResult.Call.Argum" +
"ent.ListH\000\032>\n\004List\0226\n\005items\030\001 \003(\0132\'.wave" +
"s.InvokeScriptResult.Call.ArgumentB\007\n\005va" +
"lue\032\232\001\n\nInvocation\022\014\n\004dApp\030\001 \001(\014\022,\n\004call" +
"\030\002 \001(\0132\036.waves.InvokeScriptResult.Call\022\037" +
"\n\010payments\030\003 \003(\0132\r.waves.Amount\022/\n\014state" +
"Changes\030\004 \001(\0132\031.waves.InvokeScriptResult" +
"Bk\n&com.wavesplatform.protobuf.transacti" +
"onZ9github.com/wavesplatform/gowaves/pkg" +
"/grpc/generated/waves\252\002\005Wavesb\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(),
com.wavesplatform.protobuf.transaction.RecipientOuterClass.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", "Leases", "LeaseCancels", "Invokes", });
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_Lease_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(5);
internal_static_waves_InvokeScriptResult_Lease_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Lease_descriptor,
new java.lang.String[] { "Recipient", "Amount", "Nonce", "LeaseId", });
internal_static_waves_InvokeScriptResult_LeaseCancel_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(6);
internal_static_waves_InvokeScriptResult_LeaseCancel_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_LeaseCancel_descriptor,
new java.lang.String[] { "LeaseId", });
internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(7);
internal_static_waves_InvokeScriptResult_ErrorMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_ErrorMessage_descriptor,
new java.lang.String[] { "Code", "Text", });
internal_static_waves_InvokeScriptResult_Call_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(8);
internal_static_waves_InvokeScriptResult_Call_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Call_descriptor,
new java.lang.String[] { "Function", "ArgsBytes", "Args", });
internal_static_waves_InvokeScriptResult_Call_Argument_descriptor =
internal_static_waves_InvokeScriptResult_Call_descriptor.getNestedTypes().get(0);
internal_static_waves_InvokeScriptResult_Call_Argument_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Call_Argument_descriptor,
new java.lang.String[] { "IntegerValue", "BinaryValue", "StringValue", "BooleanValue", "List", "Value", });
internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor =
internal_static_waves_InvokeScriptResult_Call_Argument_descriptor.getNestedTypes().get(0);
internal_static_waves_InvokeScriptResult_Call_Argument_List_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Call_Argument_List_descriptor,
new java.lang.String[] { "Items", });
internal_static_waves_InvokeScriptResult_Invocation_descriptor =
internal_static_waves_InvokeScriptResult_descriptor.getNestedTypes().get(9);
internal_static_waves_InvokeScriptResult_Invocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_InvokeScriptResult_Invocation_descriptor,
new java.lang.String[] { "DApp", "Call", "Payments", "StateChanges", });
com.wavesplatform.protobuf.transaction.TransactionOuterClass.getDescriptor();
com.wavesplatform.protobuf.AmountOuterClass.getDescriptor();
com.wavesplatform.protobuf.transaction.RecipientOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}