Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.hederahashgraph.api.proto.java.TransferList Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hederahashgraph.api.proto.java;
/**
*
**
* A list of accounts and amounts to transfer out of each account (negative) or into it (positive).
*
*
* Protobuf type {@code proto.TransferList}
*/
public final class TransferList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.TransferList)
TransferListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransferList.newBuilder() to construct.
private TransferList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransferList() {
accountAmounts_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransferList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransferList(
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)) {
accountAmounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
accountAmounts_.add(
input.readMessage(com.hederahashgraph.api.proto.java.AccountAmount.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)) {
accountAmounts_ = java.util.Collections.unmodifiableList(accountAmounts_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransferList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransferList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.TransferList.class, com.hederahashgraph.api.proto.java.TransferList.Builder.class);
}
public static final int ACCOUNTAMOUNTS_FIELD_NUMBER = 1;
private java.util.List accountAmounts_;
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
@java.lang.Override
public java.util.List getAccountAmountsList() {
return accountAmounts_;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
@java.lang.Override
public java.util.List extends com.hederahashgraph.api.proto.java.AccountAmountOrBuilder>
getAccountAmountsOrBuilderList() {
return accountAmounts_;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
@java.lang.Override
public int getAccountAmountsCount() {
return accountAmounts_.size();
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountAmount getAccountAmounts(int index) {
return accountAmounts_.get(index);
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getAccountAmountsOrBuilder(
int index) {
return accountAmounts_.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 < accountAmounts_.size(); i++) {
output.writeMessage(1, accountAmounts_.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 < accountAmounts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, accountAmounts_.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.hederahashgraph.api.proto.java.TransferList)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.TransferList other = (com.hederahashgraph.api.proto.java.TransferList) obj;
if (!getAccountAmountsList()
.equals(other.getAccountAmountsList())) 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 (getAccountAmountsCount() > 0) {
hash = (37 * hash) + ACCOUNTAMOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getAccountAmountsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.TransferList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.TransferList 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.hederahashgraph.api.proto.java.TransferList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.TransferList 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.hederahashgraph.api.proto.java.TransferList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.TransferList 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.hederahashgraph.api.proto.java.TransferList 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;
}
/**
*
**
* A list of accounts and amounts to transfer out of each account (negative) or into it (positive).
*
*
* Protobuf type {@code proto.TransferList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.TransferList)
com.hederahashgraph.api.proto.java.TransferListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransferList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransferList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.TransferList.class, com.hederahashgraph.api.proto.java.TransferList.Builder.class);
}
// Construct using com.hederahashgraph.api.proto.java.TransferList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAccountAmountsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (accountAmountsBuilder_ == null) {
accountAmounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
accountAmountsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransferList_descriptor;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.TransferList getDefaultInstanceForType() {
return com.hederahashgraph.api.proto.java.TransferList.getDefaultInstance();
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.TransferList build() {
com.hederahashgraph.api.proto.java.TransferList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.TransferList buildPartial() {
com.hederahashgraph.api.proto.java.TransferList result = new com.hederahashgraph.api.proto.java.TransferList(this);
int from_bitField0_ = bitField0_;
if (accountAmountsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
accountAmounts_ = java.util.Collections.unmodifiableList(accountAmounts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.accountAmounts_ = accountAmounts_;
} else {
result.accountAmounts_ = accountAmountsBuilder_.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.hederahashgraph.api.proto.java.TransferList) {
return mergeFrom((com.hederahashgraph.api.proto.java.TransferList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hederahashgraph.api.proto.java.TransferList other) {
if (other == com.hederahashgraph.api.proto.java.TransferList.getDefaultInstance()) return this;
if (accountAmountsBuilder_ == null) {
if (!other.accountAmounts_.isEmpty()) {
if (accountAmounts_.isEmpty()) {
accountAmounts_ = other.accountAmounts_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAccountAmountsIsMutable();
accountAmounts_.addAll(other.accountAmounts_);
}
onChanged();
}
} else {
if (!other.accountAmounts_.isEmpty()) {
if (accountAmountsBuilder_.isEmpty()) {
accountAmountsBuilder_.dispose();
accountAmountsBuilder_ = null;
accountAmounts_ = other.accountAmounts_;
bitField0_ = (bitField0_ & ~0x00000001);
accountAmountsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAccountAmountsFieldBuilder() : null;
} else {
accountAmountsBuilder_.addAllMessages(other.accountAmounts_);
}
}
}
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.hederahashgraph.api.proto.java.TransferList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hederahashgraph.api.proto.java.TransferList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List accountAmounts_ =
java.util.Collections.emptyList();
private void ensureAccountAmountsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
accountAmounts_ = new java.util.ArrayList(accountAmounts_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder> accountAmountsBuilder_;
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public java.util.List getAccountAmountsList() {
if (accountAmountsBuilder_ == null) {
return java.util.Collections.unmodifiableList(accountAmounts_);
} else {
return accountAmountsBuilder_.getMessageList();
}
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public int getAccountAmountsCount() {
if (accountAmountsBuilder_ == null) {
return accountAmounts_.size();
} else {
return accountAmountsBuilder_.getCount();
}
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public com.hederahashgraph.api.proto.java.AccountAmount getAccountAmounts(int index) {
if (accountAmountsBuilder_ == null) {
return accountAmounts_.get(index);
} else {
return accountAmountsBuilder_.getMessage(index);
}
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder setAccountAmounts(
int index, com.hederahashgraph.api.proto.java.AccountAmount value) {
if (accountAmountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountAmountsIsMutable();
accountAmounts_.set(index, value);
onChanged();
} else {
accountAmountsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder setAccountAmounts(
int index, com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) {
if (accountAmountsBuilder_ == null) {
ensureAccountAmountsIsMutable();
accountAmounts_.set(index, builderForValue.build());
onChanged();
} else {
accountAmountsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder addAccountAmounts(com.hederahashgraph.api.proto.java.AccountAmount value) {
if (accountAmountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountAmountsIsMutable();
accountAmounts_.add(value);
onChanged();
} else {
accountAmountsBuilder_.addMessage(value);
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder addAccountAmounts(
int index, com.hederahashgraph.api.proto.java.AccountAmount value) {
if (accountAmountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountAmountsIsMutable();
accountAmounts_.add(index, value);
onChanged();
} else {
accountAmountsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder addAccountAmounts(
com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) {
if (accountAmountsBuilder_ == null) {
ensureAccountAmountsIsMutable();
accountAmounts_.add(builderForValue.build());
onChanged();
} else {
accountAmountsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder addAccountAmounts(
int index, com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) {
if (accountAmountsBuilder_ == null) {
ensureAccountAmountsIsMutable();
accountAmounts_.add(index, builderForValue.build());
onChanged();
} else {
accountAmountsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder addAllAccountAmounts(
java.lang.Iterable extends com.hederahashgraph.api.proto.java.AccountAmount> values) {
if (accountAmountsBuilder_ == null) {
ensureAccountAmountsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accountAmounts_);
onChanged();
} else {
accountAmountsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder clearAccountAmounts() {
if (accountAmountsBuilder_ == null) {
accountAmounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
accountAmountsBuilder_.clear();
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public Builder removeAccountAmounts(int index) {
if (accountAmountsBuilder_ == null) {
ensureAccountAmountsIsMutable();
accountAmounts_.remove(index);
onChanged();
} else {
accountAmountsBuilder_.remove(index);
}
return this;
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public com.hederahashgraph.api.proto.java.AccountAmount.Builder getAccountAmountsBuilder(
int index) {
return getAccountAmountsFieldBuilder().getBuilder(index);
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getAccountAmountsOrBuilder(
int index) {
if (accountAmountsBuilder_ == null) {
return accountAmounts_.get(index); } else {
return accountAmountsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public java.util.List extends com.hederahashgraph.api.proto.java.AccountAmountOrBuilder>
getAccountAmountsOrBuilderList() {
if (accountAmountsBuilder_ != null) {
return accountAmountsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(accountAmounts_);
}
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public com.hederahashgraph.api.proto.java.AccountAmount.Builder addAccountAmountsBuilder() {
return getAccountAmountsFieldBuilder().addBuilder(
com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance());
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public com.hederahashgraph.api.proto.java.AccountAmount.Builder addAccountAmountsBuilder(
int index) {
return getAccountAmountsFieldBuilder().addBuilder(
index, com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance());
}
/**
*
**
* Multiple list of AccountAmount pairs, each of which has an account and
* an amount to transfer into it (positive) or out of it (negative)
*
*
* repeated .proto.AccountAmount accountAmounts = 1;
*/
public java.util.List
getAccountAmountsBuilderList() {
return getAccountAmountsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder>
getAccountAmountsFieldBuilder() {
if (accountAmountsBuilder_ == null) {
accountAmountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder>(
accountAmounts_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
accountAmounts_ = null;
}
return accountAmountsBuilder_;
}
@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:proto.TransferList)
}
// @@protoc_insertion_point(class_scope:proto.TransferList)
private static final com.hederahashgraph.api.proto.java.TransferList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.TransferList();
}
public static com.hederahashgraph.api.proto.java.TransferList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransferList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransferList(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.hederahashgraph.api.proto.java.TransferList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}