com.wavesplatform.api.grpc.TransactionsApiOuterClass 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/node/grpc/transactions_api.proto
package com.wavesplatform.api.grpc;
public final class TransactionsApiOuterClass {
private TransactionsApiOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code waves.node.grpc.ApplicationStatus}
*/
public enum ApplicationStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* SUCCEEDED = 1;
*/
SUCCEEDED(1),
/**
* SCRIPT_EXECUTION_FAILED = 2;
*/
SCRIPT_EXECUTION_FAILED(2),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* SUCCEEDED = 1;
*/
public static final int SUCCEEDED_VALUE = 1;
/**
* SCRIPT_EXECUTION_FAILED = 2;
*/
public static final int SCRIPT_EXECUTION_FAILED_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ApplicationStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ApplicationStatus forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return SUCCEEDED;
case 2: return SCRIPT_EXECUTION_FAILED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ApplicationStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ApplicationStatus findValueByNumber(int number) {
return ApplicationStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final ApplicationStatus[] VALUES = values();
public static ApplicationStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ApplicationStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:waves.node.grpc.ApplicationStatus)
}
public interface TransactionStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.TransactionStatus)
com.google.protobuf.MessageOrBuilder {
/**
* bytes id = 1;
* @return The id.
*/
com.google.protobuf.ByteString getId();
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The status.
*/
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status getStatus();
/**
* int64 height = 3;
* @return The height.
*/
long getHeight();
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
int getApplicationStatusValue();
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus();
}
/**
* Protobuf type {@code waves.node.grpc.TransactionStatus}
*/
public static final class TransactionStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.TransactionStatus)
TransactionStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionStatus.newBuilder() to construct.
private TransactionStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionStatus() {
id_ = com.google.protobuf.ByteString.EMPTY;
status_ = 0;
applicationStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransactionStatus();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransactionStatus(
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: {
id_ = input.readBytes();
break;
}
case 16: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 24: {
height_ = input.readInt64();
break;
}
case 32: {
int rawValue = input.readEnum();
applicationStatus_ = rawValue;
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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Builder.class);
}
/**
* Protobuf enum {@code waves.node.grpc.TransactionStatus.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NOT_EXISTS = 0;
*/
NOT_EXISTS(0),
/**
* UNCONFIRMED = 1;
*/
UNCONFIRMED(1),
/**
* CONFIRMED = 2;
*/
CONFIRMED(2),
UNRECOGNIZED(-1),
;
/**
* NOT_EXISTS = 0;
*/
public static final int NOT_EXISTS_VALUE = 0;
/**
* UNCONFIRMED = 1;
*/
public static final int UNCONFIRMED_VALUE = 1;
/**
* CONFIRMED = 2;
*/
public static final int CONFIRMED_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Status forNumber(int value) {
switch (value) {
case 0: return NOT_EXISTS;
case 1: return UNCONFIRMED;
case 2: return CONFIRMED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.getDescriptor().getEnumTypes().get(0);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:waves.node.grpc.TransactionStatus.Status)
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString id_;
/**
* bytes id = 1;
* @return The id.
*/
public com.google.protobuf.ByteString getId() {
return id_;
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
}
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The status.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status getStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.valueOf(status_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.UNRECOGNIZED : result;
}
public static final int HEIGHT_FIELD_NUMBER = 3;
private long height_;
/**
* int64 height = 3;
* @return The height.
*/
public long getHeight() {
return height_;
}
public static final int APPLICATION_STATUS_FIELD_NUMBER = 4;
private int applicationStatus_;
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
public int getApplicationStatusValue() {
return applicationStatus_;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.valueOf(applicationStatus_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNRECOGNIZED : result;
}
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 (!id_.isEmpty()) {
output.writeBytes(1, id_);
}
if (status_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.NOT_EXISTS.getNumber()) {
output.writeEnum(2, status_);
}
if (height_ != 0L) {
output.writeInt64(3, height_);
}
if (applicationStatus_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNKNOWN.getNumber()) {
output.writeEnum(4, applicationStatus_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!id_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, id_);
}
if (status_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.NOT_EXISTS.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, status_);
}
if (height_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, height_);
}
if (applicationStatus_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, applicationStatus_);
}
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.api.grpc.TransactionsApiOuterClass.TransactionStatus)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus) obj;
if (!getId()
.equals(other.getId())) return false;
if (status_ != other.status_) return false;
if (getHeight()
!= other.getHeight()) return false;
if (applicationStatus_ != other.applicationStatus_) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHeight());
hash = (37 * hash) + APPLICATION_STATUS_FIELD_NUMBER;
hash = (53 * hash) + applicationStatus_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus 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.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus 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.api.grpc.TransactionsApiOuterClass.TransactionStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus 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.api.grpc.TransactionsApiOuterClass.TransactionStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus 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.api.grpc.TransactionsApiOuterClass.TransactionStatus 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.node.grpc.TransactionStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.TransactionStatus)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.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();
id_ = com.google.protobuf.ByteString.EMPTY;
status_ = 0;
height_ = 0L;
applicationStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionStatus_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus(this);
result.id_ = id_;
result.status_ = status_;
result.height_ = height_;
result.applicationStatus_ = applicationStatus_;
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.api.grpc.TransactionsApiOuterClass.TransactionStatus) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.getDefaultInstance()) return this;
if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
setId(other.getId());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (other.getHeight() != 0L) {
setHeight(other.getHeight());
}
if (other.applicationStatus_ != 0) {
setApplicationStatusValue(other.getApplicationStatusValue());
}
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.api.grpc.TransactionsApiOuterClass.TransactionStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes id = 1;
* @return The id.
*/
public com.google.protobuf.ByteString getId() {
return id_;
}
/**
* bytes id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* bytes id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
private int status_ = 0;
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
}
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return The status.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status getStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.valueOf(status_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status.UNRECOGNIZED : result;
}
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus.Status value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .waves.node.grpc.TransactionStatus.Status status = 2;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private long height_ ;
/**
* int64 height = 3;
* @return The height.
*/
public long getHeight() {
return height_;
}
/**
* int64 height = 3;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(long value) {
height_ = value;
onChanged();
return this;
}
/**
* int64 height = 3;
* @return This builder for chaining.
*/
public Builder clearHeight() {
height_ = 0L;
onChanged();
return this;
}
private int applicationStatus_ = 0;
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
public int getApplicationStatusValue() {
return applicationStatus_;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @param value The enum numeric value on the wire for applicationStatus to set.
* @return This builder for chaining.
*/
public Builder setApplicationStatusValue(int value) {
applicationStatus_ = value;
onChanged();
return this;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.valueOf(applicationStatus_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNRECOGNIZED : result;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @param value The applicationStatus to set.
* @return This builder for chaining.
*/
public Builder setApplicationStatus(com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus value) {
if (value == null) {
throw new NullPointerException();
}
applicationStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return This builder for chaining.
*/
public Builder clearApplicationStatus() {
applicationStatus_ = 0;
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.node.grpc.TransactionStatus)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.TransactionStatus)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransactionStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransactionStatus(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.api.grpc.TransactionsApiOuterClass.TransactionStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.TransactionResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes id = 1;
* @return The id.
*/
com.google.protobuf.ByteString getId();
/**
* int64 height = 2;
* @return The height.
*/
long getHeight();
/**
* .waves.SignedTransaction transaction = 3;
* @return Whether the transaction field is set.
*/
boolean hasTransaction();
/**
* .waves.SignedTransaction transaction = 3;
* @return The transaction.
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction();
/**
* .waves.SignedTransaction transaction = 3;
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder();
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
int getApplicationStatusValue();
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus();
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return Whether the invokeScriptResult field is set.
*/
boolean hasInvokeScriptResult();
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return The invokeScriptResult.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getInvokeScriptResult();
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getInvokeScriptResultOrBuilder();
}
/**
* Protobuf type {@code waves.node.grpc.TransactionResponse}
*/
public static final class TransactionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.TransactionResponse)
TransactionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionResponse.newBuilder() to construct.
private TransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionResponse() {
id_ = com.google.protobuf.ByteString.EMPTY;
applicationStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransactionResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransactionResponse(
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: {
id_ = input.readBytes();
break;
}
case 16: {
height_ = input.readInt64();
break;
}
case 26: {
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder subBuilder = null;
if (transaction_ != null) {
subBuilder = transaction_.toBuilder();
}
transaction_ = input.readMessage(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transaction_);
transaction_ = subBuilder.buildPartial();
}
break;
}
case 32: {
int rawValue = input.readEnum();
applicationStatus_ = rawValue;
break;
}
case 42: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder subBuilder = null;
if (invokeScriptResult_ != null) {
subBuilder = invokeScriptResult_.toBuilder();
}
invokeScriptResult_ = input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(invokeScriptResult_);
invokeScriptResult_ = 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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString id_;
/**
* bytes id = 1;
* @return The id.
*/
public com.google.protobuf.ByteString getId() {
return id_;
}
public static final int HEIGHT_FIELD_NUMBER = 2;
private long height_;
/**
* int64 height = 2;
* @return The height.
*/
public long getHeight() {
return height_;
}
public static final int TRANSACTION_FIELD_NUMBER = 3;
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction transaction_;
/**
* .waves.SignedTransaction transaction = 3;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transaction_ != null;
}
/**
* .waves.SignedTransaction transaction = 3;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction() {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder() {
return getTransaction();
}
public static final int APPLICATION_STATUS_FIELD_NUMBER = 4;
private int applicationStatus_;
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
public int getApplicationStatusValue() {
return applicationStatus_;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.valueOf(applicationStatus_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNRECOGNIZED : result;
}
public static final int INVOKE_SCRIPT_RESULT_FIELD_NUMBER = 5;
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult invokeScriptResult_;
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return Whether the invokeScriptResult field is set.
*/
public boolean hasInvokeScriptResult() {
return invokeScriptResult_ != null;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return The invokeScriptResult.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getInvokeScriptResult() {
return invokeScriptResult_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : invokeScriptResult_;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getInvokeScriptResultOrBuilder() {
return getInvokeScriptResult();
}
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 (!id_.isEmpty()) {
output.writeBytes(1, id_);
}
if (height_ != 0L) {
output.writeInt64(2, height_);
}
if (transaction_ != null) {
output.writeMessage(3, getTransaction());
}
if (applicationStatus_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNKNOWN.getNumber()) {
output.writeEnum(4, applicationStatus_);
}
if (invokeScriptResult_ != null) {
output.writeMessage(5, getInvokeScriptResult());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!id_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, id_);
}
if (height_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, height_);
}
if (transaction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTransaction());
}
if (applicationStatus_ != com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, applicationStatus_);
}
if (invokeScriptResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getInvokeScriptResult());
}
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.api.grpc.TransactionsApiOuterClass.TransactionResponse)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse) obj;
if (!getId()
.equals(other.getId())) return false;
if (getHeight()
!= other.getHeight()) return false;
if (hasTransaction() != other.hasTransaction()) return false;
if (hasTransaction()) {
if (!getTransaction()
.equals(other.getTransaction())) return false;
}
if (applicationStatus_ != other.applicationStatus_) return false;
if (hasInvokeScriptResult() != other.hasInvokeScriptResult()) return false;
if (hasInvokeScriptResult()) {
if (!getInvokeScriptResult()
.equals(other.getInvokeScriptResult())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHeight());
if (hasTransaction()) {
hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getTransaction().hashCode();
}
hash = (37 * hash) + APPLICATION_STATUS_FIELD_NUMBER;
hash = (53 * hash) + applicationStatus_;
if (hasInvokeScriptResult()) {
hash = (37 * hash) + INVOKE_SCRIPT_RESULT_FIELD_NUMBER;
hash = (53 * hash) + getInvokeScriptResult().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse 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.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse 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.api.grpc.TransactionsApiOuterClass.TransactionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse 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.api.grpc.TransactionsApiOuterClass.TransactionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse 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.api.grpc.TransactionsApiOuterClass.TransactionResponse 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.node.grpc.TransactionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.TransactionResponse)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.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();
id_ = com.google.protobuf.ByteString.EMPTY;
height_ = 0L;
if (transactionBuilder_ == null) {
transaction_ = null;
} else {
transaction_ = null;
transactionBuilder_ = null;
}
applicationStatus_ = 0;
if (invokeScriptResultBuilder_ == null) {
invokeScriptResult_ = null;
} else {
invokeScriptResult_ = null;
invokeScriptResultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionResponse_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse(this);
result.id_ = id_;
result.height_ = height_;
if (transactionBuilder_ == null) {
result.transaction_ = transaction_;
} else {
result.transaction_ = transactionBuilder_.build();
}
result.applicationStatus_ = applicationStatus_;
if (invokeScriptResultBuilder_ == null) {
result.invokeScriptResult_ = invokeScriptResult_;
} else {
result.invokeScriptResult_ = invokeScriptResultBuilder_.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.api.grpc.TransactionsApiOuterClass.TransactionResponse) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse.getDefaultInstance()) return this;
if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
setId(other.getId());
}
if (other.getHeight() != 0L) {
setHeight(other.getHeight());
}
if (other.hasTransaction()) {
mergeTransaction(other.getTransaction());
}
if (other.applicationStatus_ != 0) {
setApplicationStatusValue(other.getApplicationStatusValue());
}
if (other.hasInvokeScriptResult()) {
mergeInvokeScriptResult(other.getInvokeScriptResult());
}
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.api.grpc.TransactionsApiOuterClass.TransactionResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes id = 1;
* @return The id.
*/
public com.google.protobuf.ByteString getId() {
return id_;
}
/**
* bytes id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* bytes id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
private long height_ ;
/**
* int64 height = 2;
* @return The height.
*/
public long getHeight() {
return height_;
}
/**
* int64 height = 2;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(long value) {
height_ = value;
onChanged();
return this;
}
/**
* int64 height = 2;
* @return This builder for chaining.
*/
public Builder clearHeight() {
height_ = 0L;
onChanged();
return this;
}
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction transaction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder> transactionBuilder_;
/**
* .waves.SignedTransaction transaction = 3;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transactionBuilder_ != null || transaction_ != null;
}
/**
* .waves.SignedTransaction transaction = 3;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction() {
if (transactionBuilder_ == null) {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
} else {
return transactionBuilder_.getMessage();
}
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public Builder setTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction value) {
if (transactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transaction_ = value;
onChanged();
} else {
transactionBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public Builder setTransaction(
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder builderForValue) {
if (transactionBuilder_ == null) {
transaction_ = builderForValue.build();
onChanged();
} else {
transactionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public Builder mergeTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction value) {
if (transactionBuilder_ == null) {
if (transaction_ != null) {
transaction_ =
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
} else {
transaction_ = value;
}
onChanged();
} else {
transactionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public Builder clearTransaction() {
if (transactionBuilder_ == null) {
transaction_ = null;
onChanged();
} else {
transaction_ = null;
transactionBuilder_ = null;
}
return this;
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder getTransactionBuilder() {
onChanged();
return getTransactionFieldBuilder().getBuilder();
}
/**
* .waves.SignedTransaction transaction = 3;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder() {
if (transactionBuilder_ != null) {
return transactionBuilder_.getMessageOrBuilder();
} else {
return transaction_ == null ?
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
}
}
/**
* .waves.SignedTransaction transaction = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder>
getTransactionFieldBuilder() {
if (transactionBuilder_ == null) {
transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder>(
getTransaction(),
getParentForChildren(),
isClean());
transaction_ = null;
}
return transactionBuilder_;
}
private int applicationStatus_ = 0;
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The enum numeric value on the wire for applicationStatus.
*/
public int getApplicationStatusValue() {
return applicationStatus_;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @param value The enum numeric value on the wire for applicationStatus to set.
* @return This builder for chaining.
*/
public Builder setApplicationStatusValue(int value) {
applicationStatus_ = value;
onChanged();
return this;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return The applicationStatus.
*/
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus getApplicationStatus() {
@SuppressWarnings("deprecation")
com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus result = com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.valueOf(applicationStatus_);
return result == null ? com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus.UNRECOGNIZED : result;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @param value The applicationStatus to set.
* @return This builder for chaining.
*/
public Builder setApplicationStatus(com.wavesplatform.api.grpc.TransactionsApiOuterClass.ApplicationStatus value) {
if (value == null) {
throw new NullPointerException();
}
applicationStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* .waves.node.grpc.ApplicationStatus application_status = 4;
* @return This builder for chaining.
*/
public Builder clearApplicationStatus() {
applicationStatus_ = 0;
onChanged();
return this;
}
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult invokeScriptResult_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder> invokeScriptResultBuilder_;
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return Whether the invokeScriptResult field is set.
*/
public boolean hasInvokeScriptResult() {
return invokeScriptResultBuilder_ != null || invokeScriptResult_ != null;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
* @return The invokeScriptResult.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getInvokeScriptResult() {
if (invokeScriptResultBuilder_ == null) {
return invokeScriptResult_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : invokeScriptResult_;
} else {
return invokeScriptResultBuilder_.getMessage();
}
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public Builder setInvokeScriptResult(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (invokeScriptResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
invokeScriptResult_ = value;
onChanged();
} else {
invokeScriptResultBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public Builder setInvokeScriptResult(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder builderForValue) {
if (invokeScriptResultBuilder_ == null) {
invokeScriptResult_ = builderForValue.build();
onChanged();
} else {
invokeScriptResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public Builder mergeInvokeScriptResult(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (invokeScriptResultBuilder_ == null) {
if (invokeScriptResult_ != null) {
invokeScriptResult_ =
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.newBuilder(invokeScriptResult_).mergeFrom(value).buildPartial();
} else {
invokeScriptResult_ = value;
}
onChanged();
} else {
invokeScriptResultBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public Builder clearInvokeScriptResult() {
if (invokeScriptResultBuilder_ == null) {
invokeScriptResult_ = null;
onChanged();
} else {
invokeScriptResult_ = null;
invokeScriptResultBuilder_ = null;
}
return this;
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder getInvokeScriptResultBuilder() {
onChanged();
return getInvokeScriptResultFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getInvokeScriptResultOrBuilder() {
if (invokeScriptResultBuilder_ != null) {
return invokeScriptResultBuilder_.getMessageOrBuilder();
} else {
return invokeScriptResult_ == null ?
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : invokeScriptResult_;
}
}
/**
* .waves.InvokeScriptResult invoke_script_result = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>
getInvokeScriptResultFieldBuilder() {
if (invokeScriptResultBuilder_ == null) {
invokeScriptResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>(
getInvokeScriptResult(),
getParentForChildren(),
isClean());
invokeScriptResult_ = null;
}
return invokeScriptResultBuilder_;
}
@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.node.grpc.TransactionResponse)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.TransactionResponse)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransactionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransactionResponse(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.api.grpc.TransactionsApiOuterClass.TransactionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.TransactionsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes sender = 1;
* @return The sender.
*/
com.google.protobuf.ByteString getSender();
/**
* .waves.Recipient recipient = 2;
* @return Whether the recipient field is set.
*/
boolean hasRecipient();
/**
* .waves.Recipient recipient = 2;
* @return The recipient.
*/
com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient getRecipient();
/**
* .waves.Recipient recipient = 2;
*/
com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder getRecipientOrBuilder();
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
java.util.List getTransactionIdsList();
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
int getTransactionIdsCount();
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
com.google.protobuf.ByteString getTransactionIds(int index);
}
/**
* Protobuf type {@code waves.node.grpc.TransactionsRequest}
*/
public static final class TransactionsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.TransactionsRequest)
TransactionsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionsRequest.newBuilder() to construct.
private TransactionsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionsRequest() {
sender_ = com.google.protobuf.ByteString.EMPTY;
transactionIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransactionsRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransactionsRequest(
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: {
sender_ = input.readBytes();
break;
}
case 18: {
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 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
transactionIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
transactionIds_.add(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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
transactionIds_ = java.util.Collections.unmodifiableList(transactionIds_); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.Builder.class);
}
public static final int SENDER_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString sender_;
/**
* bytes sender = 1;
* @return The sender.
*/
public com.google.protobuf.ByteString getSender() {
return sender_;
}
public static final int RECIPIENT_FIELD_NUMBER = 2;
private com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient recipient_;
/**
* .waves.Recipient recipient = 2;
* @return Whether the recipient field is set.
*/
public boolean hasRecipient() {
return recipient_ != null;
}
/**
* .waves.Recipient recipient = 2;
* @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 = 2;
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.RecipientOrBuilder getRecipientOrBuilder() {
return getRecipient();
}
public static final int TRANSACTION_IDS_FIELD_NUMBER = 3;
private java.util.List transactionIds_;
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
public java.util.List
getTransactionIdsList() {
return transactionIds_;
}
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
public int getTransactionIdsCount() {
return transactionIds_.size();
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
public com.google.protobuf.ByteString getTransactionIds(int index) {
return transactionIds_.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 (!sender_.isEmpty()) {
output.writeBytes(1, sender_);
}
if (recipient_ != null) {
output.writeMessage(2, getRecipient());
}
for (int i = 0; i < transactionIds_.size(); i++) {
output.writeBytes(3, transactionIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!sender_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, sender_);
}
if (recipient_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRecipient());
}
{
int dataSize = 0;
for (int i = 0; i < transactionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(transactionIds_.get(i));
}
size += dataSize;
size += 1 * getTransactionIdsList().size();
}
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.api.grpc.TransactionsApiOuterClass.TransactionsRequest)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest) obj;
if (!getSender()
.equals(other.getSender())) return false;
if (hasRecipient() != other.hasRecipient()) return false;
if (hasRecipient()) {
if (!getRecipient()
.equals(other.getRecipient())) return false;
}
if (!getTransactionIdsList()
.equals(other.getTransactionIdsList())) 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) + SENDER_FIELD_NUMBER;
hash = (53 * hash) + getSender().hashCode();
if (hasRecipient()) {
hash = (37 * hash) + RECIPIENT_FIELD_NUMBER;
hash = (53 * hash) + getRecipient().hashCode();
}
if (getTransactionIdsCount() > 0) {
hash = (37 * hash) + TRANSACTION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsRequest 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.node.grpc.TransactionsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.TransactionsRequest)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.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();
sender_ = com.google.protobuf.ByteString.EMPTY;
if (recipientBuilder_ == null) {
recipient_ = null;
} else {
recipient_ = null;
recipientBuilder_ = null;
}
transactionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsRequest_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest(this);
int from_bitField0_ = bitField0_;
result.sender_ = sender_;
if (recipientBuilder_ == null) {
result.recipient_ = recipient_;
} else {
result.recipient_ = recipientBuilder_.build();
}
if (((bitField0_ & 0x00000001) != 0)) {
transactionIds_ = java.util.Collections.unmodifiableList(transactionIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.transactionIds_ = transactionIds_;
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.api.grpc.TransactionsApiOuterClass.TransactionsRequest) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest.getDefaultInstance()) return this;
if (other.getSender() != com.google.protobuf.ByteString.EMPTY) {
setSender(other.getSender());
}
if (other.hasRecipient()) {
mergeRecipient(other.getRecipient());
}
if (!other.transactionIds_.isEmpty()) {
if (transactionIds_.isEmpty()) {
transactionIds_ = other.transactionIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransactionIdsIsMutable();
transactionIds_.addAll(other.transactionIds_);
}
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.api.grpc.TransactionsApiOuterClass.TransactionsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString sender_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes sender = 1;
* @return The sender.
*/
public com.google.protobuf.ByteString getSender() {
return sender_;
}
/**
* bytes sender = 1;
* @param value The sender to set.
* @return This builder for chaining.
*/
public Builder setSender(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
sender_ = value;
onChanged();
return this;
}
/**
* bytes sender = 1;
* @return This builder for chaining.
*/
public Builder clearSender() {
sender_ = getDefaultInstance().getSender();
onChanged();
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 = 2;
* @return Whether the recipient field is set.
*/
public boolean hasRecipient() {
return recipientBuilder_ != null || recipient_ != null;
}
/**
* .waves.Recipient recipient = 2;
* @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 = 2;
*/
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 = 2;
*/
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 = 2;
*/
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 = 2;
*/
public Builder clearRecipient() {
if (recipientBuilder_ == null) {
recipient_ = null;
onChanged();
} else {
recipient_ = null;
recipientBuilder_ = null;
}
return this;
}
/**
* .waves.Recipient recipient = 2;
*/
public com.wavesplatform.protobuf.transaction.RecipientOuterClass.Recipient.Builder getRecipientBuilder() {
onChanged();
return getRecipientFieldBuilder().getBuilder();
}
/**
* .waves.Recipient recipient = 2;
*/
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 = 2;
*/
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 java.util.List transactionIds_ = java.util.Collections.emptyList();
private void ensureTransactionIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
transactionIds_ = new java.util.ArrayList(transactionIds_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
public java.util.List
getTransactionIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(transactionIds_) : transactionIds_;
}
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
public int getTransactionIdsCount() {
return transactionIds_.size();
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
public com.google.protobuf.ByteString getTransactionIds(int index) {
return transactionIds_.get(index);
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index to set the value at.
* @param value The transactionIds to set.
* @return This builder for chaining.
*/
public Builder setTransactionIds(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionIdsIsMutable();
transactionIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @param value The transactionIds to add.
* @return This builder for chaining.
*/
public Builder addTransactionIds(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionIdsIsMutable();
transactionIds_.add(value);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @param values The transactionIds to add.
* @return This builder for chaining.
*/
public Builder addAllTransactionIds(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureTransactionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transactionIds_);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @return This builder for chaining.
*/
public Builder clearTransactionIds() {
transactionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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.node.grpc.TransactionsRequest)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.TransactionsRequest)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransactionsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransactionsRequest(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.api.grpc.TransactionsApiOuterClass.TransactionsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionsByIdRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.TransactionsByIdRequest)
com.google.protobuf.MessageOrBuilder {
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
java.util.List getTransactionIdsList();
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
int getTransactionIdsCount();
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
com.google.protobuf.ByteString getTransactionIds(int index);
}
/**
* Protobuf type {@code waves.node.grpc.TransactionsByIdRequest}
*/
public static final class TransactionsByIdRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.TransactionsByIdRequest)
TransactionsByIdRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionsByIdRequest.newBuilder() to construct.
private TransactionsByIdRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionsByIdRequest() {
transactionIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TransactionsByIdRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransactionsByIdRequest(
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 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
transactionIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
transactionIds_.add(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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
transactionIds_ = java.util.Collections.unmodifiableList(transactionIds_); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsByIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.Builder.class);
}
public static final int TRANSACTION_IDS_FIELD_NUMBER = 3;
private java.util.List transactionIds_;
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
public java.util.List
getTransactionIdsList() {
return transactionIds_;
}
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
public int getTransactionIdsCount() {
return transactionIds_.size();
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
public com.google.protobuf.ByteString getTransactionIds(int index) {
return transactionIds_.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 < transactionIds_.size(); i++) {
output.writeBytes(3, transactionIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < transactionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(transactionIds_.get(i));
}
size += dataSize;
size += 1 * getTransactionIdsList().size();
}
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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest) obj;
if (!getTransactionIdsList()
.equals(other.getTransactionIdsList())) 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 (getTransactionIdsCount() > 0) {
hash = (37 * hash) + TRANSACTION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest 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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest 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.node.grpc.TransactionsByIdRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.TransactionsByIdRequest)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsByIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.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();
transactionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
transactionIds_ = java.util.Collections.unmodifiableList(transactionIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.transactionIds_ = transactionIds_;
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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest.getDefaultInstance()) return this;
if (!other.transactionIds_.isEmpty()) {
if (transactionIds_.isEmpty()) {
transactionIds_ = other.transactionIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransactionIdsIsMutable();
transactionIds_.addAll(other.transactionIds_);
}
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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List transactionIds_ = java.util.Collections.emptyList();
private void ensureTransactionIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
transactionIds_ = new java.util.ArrayList(transactionIds_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes transaction_ids = 3;
* @return A list containing the transactionIds.
*/
public java.util.List
getTransactionIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(transactionIds_) : transactionIds_;
}
/**
* repeated bytes transaction_ids = 3;
* @return The count of transactionIds.
*/
public int getTransactionIdsCount() {
return transactionIds_.size();
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index of the element to return.
* @return The transactionIds at the given index.
*/
public com.google.protobuf.ByteString getTransactionIds(int index) {
return transactionIds_.get(index);
}
/**
* repeated bytes transaction_ids = 3;
* @param index The index to set the value at.
* @param value The transactionIds to set.
* @return This builder for chaining.
*/
public Builder setTransactionIds(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionIdsIsMutable();
transactionIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @param value The transactionIds to add.
* @return This builder for chaining.
*/
public Builder addTransactionIds(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionIdsIsMutable();
transactionIds_.add(value);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @param values The transactionIds to add.
* @return This builder for chaining.
*/
public Builder addAllTransactionIds(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureTransactionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transactionIds_);
onChanged();
return this;
}
/**
* repeated bytes transaction_ids = 3;
* @return This builder for chaining.
*/
public Builder clearTransactionIds() {
transactionIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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.node.grpc.TransactionsByIdRequest)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.TransactionsByIdRequest)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TransactionsByIdRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransactionsByIdRequest(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.api.grpc.TransactionsApiOuterClass.TransactionsByIdRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CalculateFeeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.CalculateFeeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes asset_id = 1;
* @return The assetId.
*/
com.google.protobuf.ByteString getAssetId();
/**
* uint64 amount = 2;
* @return The amount.
*/
long getAmount();
}
/**
* Protobuf type {@code waves.node.grpc.CalculateFeeResponse}
*/
public static final class CalculateFeeResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.CalculateFeeResponse)
CalculateFeeResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CalculateFeeResponse.newBuilder() to construct.
private CalculateFeeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CalculateFeeResponse() {
assetId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CalculateFeeResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CalculateFeeResponse(
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.readUInt64();
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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_CalculateFeeResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_CalculateFeeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.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_;
/**
* uint64 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.writeUInt64(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
.computeUInt64Size(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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse) 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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse 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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse 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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse 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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse 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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse 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.node.grpc.CalculateFeeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.CalculateFeeResponse)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_CalculateFeeResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_CalculateFeeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_CalculateFeeResponse_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse(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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse.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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse) 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_ ;
/**
* uint64 amount = 2;
* @return The amount.
*/
public long getAmount() {
return amount_;
}
/**
* uint64 amount = 2;
* @param value The amount to set.
* @return This builder for chaining.
*/
public Builder setAmount(long value) {
amount_ = value;
onChanged();
return this;
}
/**
* uint64 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.node.grpc.CalculateFeeResponse)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.CalculateFeeResponse)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CalculateFeeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CalculateFeeResponse(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.api.grpc.TransactionsApiOuterClass.CalculateFeeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SignRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.SignRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .waves.Transaction transaction = 1;
* @return Whether the transaction field is set.
*/
boolean hasTransaction();
/**
* .waves.Transaction transaction = 1;
* @return The transaction.
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction getTransaction();
/**
* .waves.Transaction transaction = 1;
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder();
/**
* bytes signer_public_key = 2;
* @return The signerPublicKey.
*/
com.google.protobuf.ByteString getSignerPublicKey();
}
/**
* Protobuf type {@code waves.node.grpc.SignRequest}
*/
public static final class SignRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.SignRequest)
SignRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SignRequest.newBuilder() to construct.
private SignRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SignRequest() {
signerPublicKey_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SignRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SignRequest(
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.TransactionOuterClass.Transaction.Builder subBuilder = null;
if (transaction_ != null) {
subBuilder = transaction_.toBuilder();
}
transaction_ = input.readMessage(com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transaction_);
transaction_ = subBuilder.buildPartial();
}
break;
}
case 18: {
signerPublicKey_ = 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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_SignRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_SignRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.Builder.class);
}
public static final int TRANSACTION_FIELD_NUMBER = 1;
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction transaction_;
/**
* .waves.Transaction transaction = 1;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transaction_ != null;
}
/**
* .waves.Transaction transaction = 1;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction getTransaction() {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
}
/**
* .waves.Transaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
return getTransaction();
}
public static final int SIGNER_PUBLIC_KEY_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString signerPublicKey_;
/**
* bytes signer_public_key = 2;
* @return The signerPublicKey.
*/
public com.google.protobuf.ByteString getSignerPublicKey() {
return signerPublicKey_;
}
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 (transaction_ != null) {
output.writeMessage(1, getTransaction());
}
if (!signerPublicKey_.isEmpty()) {
output.writeBytes(2, signerPublicKey_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (transaction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTransaction());
}
if (!signerPublicKey_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, signerPublicKey_);
}
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.api.grpc.TransactionsApiOuterClass.SignRequest)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest) obj;
if (hasTransaction() != other.hasTransaction()) return false;
if (hasTransaction()) {
if (!getTransaction()
.equals(other.getTransaction())) return false;
}
if (!getSignerPublicKey()
.equals(other.getSignerPublicKey())) 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 (hasTransaction()) {
hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getTransaction().hashCode();
}
hash = (37 * hash) + SIGNER_PUBLIC_KEY_FIELD_NUMBER;
hash = (53 * hash) + getSignerPublicKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest 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.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest 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.api.grpc.TransactionsApiOuterClass.SignRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest 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.api.grpc.TransactionsApiOuterClass.SignRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest 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.api.grpc.TransactionsApiOuterClass.SignRequest 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.node.grpc.SignRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.SignRequest)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_SignRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_SignRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.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 (transactionBuilder_ == null) {
transaction_ = null;
} else {
transaction_ = null;
transactionBuilder_ = null;
}
signerPublicKey_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_SignRequest_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest(this);
if (transactionBuilder_ == null) {
result.transaction_ = transaction_;
} else {
result.transaction_ = transactionBuilder_.build();
}
result.signerPublicKey_ = signerPublicKey_;
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.api.grpc.TransactionsApiOuterClass.SignRequest) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest.getDefaultInstance()) return this;
if (other.hasTransaction()) {
mergeTransaction(other.getTransaction());
}
if (other.getSignerPublicKey() != com.google.protobuf.ByteString.EMPTY) {
setSignerPublicKey(other.getSignerPublicKey());
}
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.api.grpc.TransactionsApiOuterClass.SignRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction transaction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder> transactionBuilder_;
/**
* .waves.Transaction transaction = 1;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transactionBuilder_ != null || transaction_ != null;
}
/**
* .waves.Transaction transaction = 1;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction getTransaction() {
if (transactionBuilder_ == null) {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
} else {
return transactionBuilder_.getMessage();
}
}
/**
* .waves.Transaction transaction = 1;
*/
public Builder setTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction value) {
if (transactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transaction_ = value;
onChanged();
} else {
transactionBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.Transaction transaction = 1;
*/
public Builder setTransaction(
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.Builder builderForValue) {
if (transactionBuilder_ == null) {
transaction_ = builderForValue.build();
onChanged();
} else {
transactionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.Transaction transaction = 1;
*/
public Builder mergeTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction value) {
if (transactionBuilder_ == null) {
if (transaction_ != null) {
transaction_ =
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
} else {
transaction_ = value;
}
onChanged();
} else {
transactionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.Transaction transaction = 1;
*/
public Builder clearTransaction() {
if (transactionBuilder_ == null) {
transaction_ = null;
onChanged();
} else {
transaction_ = null;
transactionBuilder_ = null;
}
return this;
}
/**
* .waves.Transaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.Builder getTransactionBuilder() {
onChanged();
return getTransactionFieldBuilder().getBuilder();
}
/**
* .waves.Transaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
if (transactionBuilder_ != null) {
return transactionBuilder_.getMessageOrBuilder();
} else {
return transaction_ == null ?
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
}
}
/**
* .waves.Transaction transaction = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder>
getTransactionFieldBuilder() {
if (transactionBuilder_ == null) {
transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.Transaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.TransactionOrBuilder>(
getTransaction(),
getParentForChildren(),
isClean());
transaction_ = null;
}
return transactionBuilder_;
}
private com.google.protobuf.ByteString signerPublicKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes signer_public_key = 2;
* @return The signerPublicKey.
*/
public com.google.protobuf.ByteString getSignerPublicKey() {
return signerPublicKey_;
}
/**
* bytes signer_public_key = 2;
* @param value The signerPublicKey to set.
* @return This builder for chaining.
*/
public Builder setSignerPublicKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
signerPublicKey_ = value;
onChanged();
return this;
}
/**
* bytes signer_public_key = 2;
* @return This builder for chaining.
*/
public Builder clearSignerPublicKey() {
signerPublicKey_ = getDefaultInstance().getSignerPublicKey();
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.node.grpc.SignRequest)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.SignRequest)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.SignRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SignRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SignRequest(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.api.grpc.TransactionsApiOuterClass.SignRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InvokeScriptResultResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:waves.node.grpc.InvokeScriptResultResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .waves.SignedTransaction transaction = 1;
* @return Whether the transaction field is set.
*/
boolean hasTransaction();
/**
* .waves.SignedTransaction transaction = 1;
* @return The transaction.
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction();
/**
* .waves.SignedTransaction transaction = 1;
*/
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder();
/**
* .waves.InvokeScriptResult result = 2;
* @return Whether the result field is set.
*/
boolean hasResult();
/**
* .waves.InvokeScriptResult result = 2;
* @return The result.
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getResult();
/**
* .waves.InvokeScriptResult result = 2;
*/
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getResultOrBuilder();
}
/**
* Protobuf type {@code waves.node.grpc.InvokeScriptResultResponse}
*/
public static final class InvokeScriptResultResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:waves.node.grpc.InvokeScriptResultResponse)
InvokeScriptResultResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use InvokeScriptResultResponse.newBuilder() to construct.
private InvokeScriptResultResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InvokeScriptResultResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InvokeScriptResultResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InvokeScriptResultResponse(
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.TransactionOuterClass.SignedTransaction.Builder subBuilder = null;
if (transaction_ != null) {
subBuilder = transaction_.toBuilder();
}
transaction_ = input.readMessage(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transaction_);
transaction_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder subBuilder = null;
if (result_ != null) {
subBuilder = result_.toBuilder();
}
result_ = input.readMessage(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(result_);
result_ = 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.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_InvokeScriptResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.Builder.class);
}
public static final int TRANSACTION_FIELD_NUMBER = 1;
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction transaction_;
/**
* .waves.SignedTransaction transaction = 1;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transaction_ != null;
}
/**
* .waves.SignedTransaction transaction = 1;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction() {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder() {
return getTransaction();
}
public static final int RESULT_FIELD_NUMBER = 2;
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult result_;
/**
* .waves.InvokeScriptResult result = 2;
* @return Whether the result field is set.
*/
public boolean hasResult() {
return result_ != null;
}
/**
* .waves.InvokeScriptResult result = 2;
* @return The result.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getResult() {
return result_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : result_;
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getResultOrBuilder() {
return getResult();
}
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 (transaction_ != null) {
output.writeMessage(1, getTransaction());
}
if (result_ != null) {
output.writeMessage(2, getResult());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (transaction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTransaction());
}
if (result_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getResult());
}
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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse)) {
return super.equals(obj);
}
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse other = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse) obj;
if (hasTransaction() != other.hasTransaction()) return false;
if (hasTransaction()) {
if (!getTransaction()
.equals(other.getTransaction())) return false;
}
if (hasResult() != other.hasResult()) return false;
if (hasResult()) {
if (!getResult()
.equals(other.getResult())) 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 (hasTransaction()) {
hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getTransaction().hashCode();
}
if (hasResult()) {
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse 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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse 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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse 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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse 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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse 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.node.grpc.InvokeScriptResultResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:waves.node.grpc.InvokeScriptResultResponse)
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_InvokeScriptResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.class, com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.Builder.class);
}
// Construct using com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.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 (transactionBuilder_ == null) {
transaction_ = null;
} else {
transaction_ = null;
transactionBuilder_ = null;
}
if (resultBuilder_ == null) {
result_ = null;
} else {
result_ = null;
resultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse getDefaultInstanceForType() {
return com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.getDefaultInstance();
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse build() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse buildPartial() {
com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse result = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse(this);
if (transactionBuilder_ == null) {
result.transaction_ = transaction_;
} else {
result.transaction_ = transactionBuilder_.build();
}
if (resultBuilder_ == null) {
result.result_ = result_;
} else {
result.result_ = resultBuilder_.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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse) {
return mergeFrom((com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse other) {
if (other == com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse.getDefaultInstance()) return this;
if (other.hasTransaction()) {
mergeTransaction(other.getTransaction());
}
if (other.hasResult()) {
mergeResult(other.getResult());
}
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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction transaction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder> transactionBuilder_;
/**
* .waves.SignedTransaction transaction = 1;
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transactionBuilder_ != null || transaction_ != null;
}
/**
* .waves.SignedTransaction transaction = 1;
* @return The transaction.
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction getTransaction() {
if (transactionBuilder_ == null) {
return transaction_ == null ? com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
} else {
return transactionBuilder_.getMessage();
}
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public Builder setTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction value) {
if (transactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transaction_ = value;
onChanged();
} else {
transactionBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public Builder setTransaction(
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder builderForValue) {
if (transactionBuilder_ == null) {
transaction_ = builderForValue.build();
onChanged();
} else {
transactionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public Builder mergeTransaction(com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction value) {
if (transactionBuilder_ == null) {
if (transaction_ != null) {
transaction_ =
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
} else {
transaction_ = value;
}
onChanged();
} else {
transactionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public Builder clearTransaction() {
if (transactionBuilder_ == null) {
transaction_ = null;
onChanged();
} else {
transaction_ = null;
transactionBuilder_ = null;
}
return this;
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder getTransactionBuilder() {
onChanged();
return getTransactionFieldBuilder().getBuilder();
}
/**
* .waves.SignedTransaction transaction = 1;
*/
public com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder getTransactionOrBuilder() {
if (transactionBuilder_ != null) {
return transactionBuilder_.getMessageOrBuilder();
} else {
return transaction_ == null ?
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.getDefaultInstance() : transaction_;
}
}
/**
* .waves.SignedTransaction transaction = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder>
getTransactionFieldBuilder() {
if (transactionBuilder_ == null) {
transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransaction.Builder, com.wavesplatform.protobuf.transaction.TransactionOuterClass.SignedTransactionOrBuilder>(
getTransaction(),
getParentForChildren(),
isClean());
transaction_ = null;
}
return transactionBuilder_;
}
private com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult result_;
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder> resultBuilder_;
/**
* .waves.InvokeScriptResult result = 2;
* @return Whether the result field is set.
*/
public boolean hasResult() {
return resultBuilder_ != null || result_ != null;
}
/**
* .waves.InvokeScriptResult result = 2;
* @return The result.
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult getResult() {
if (resultBuilder_ == null) {
return result_ == null ? com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : result_;
} else {
return resultBuilder_.getMessage();
}
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public Builder setResult(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (resultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
resultBuilder_.setMessage(value);
}
return this;
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public Builder setResult(
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder builderForValue) {
if (resultBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
resultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public Builder mergeResult(com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult value) {
if (resultBuilder_ == null) {
if (result_ != null) {
result_ =
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.newBuilder(result_).mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
resultBuilder_.mergeFrom(value);
}
return this;
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public Builder clearResult() {
if (resultBuilder_ == null) {
result_ = null;
onChanged();
} else {
result_ = null;
resultBuilder_ = null;
}
return this;
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder getResultBuilder() {
onChanged();
return getResultFieldBuilder().getBuilder();
}
/**
* .waves.InvokeScriptResult result = 2;
*/
public com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder getResultOrBuilder() {
if (resultBuilder_ != null) {
return resultBuilder_.getMessageOrBuilder();
} else {
return result_ == null ?
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.getDefaultInstance() : result_;
}
}
/**
* .waves.InvokeScriptResult result = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>
getResultFieldBuilder() {
if (resultBuilder_ == null) {
resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResult.Builder, com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.InvokeScriptResultOrBuilder>(
getResult(),
getParentForChildren(),
isClean());
result_ = null;
}
return resultBuilder_;
}
@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.node.grpc.InvokeScriptResultResponse)
}
// @@protoc_insertion_point(class_scope:waves.node.grpc.InvokeScriptResultResponse)
private static final com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse();
}
public static com.wavesplatform.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InvokeScriptResultResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InvokeScriptResultResponse(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.api.grpc.TransactionsApiOuterClass.InvokeScriptResultResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_TransactionStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_TransactionStatus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_TransactionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_TransactionResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_TransactionsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_TransactionsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_TransactionsByIdRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_CalculateFeeResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_CalculateFeeResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_SignRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_SignRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_waves_node_grpc_InvokeScriptResultResponse_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/node/grpc/transactions_api.proto" +
"\022\017waves.node.grpc\032\025waves/recipient.proto" +
"\032\027waves/transaction.proto\032 waves/invoke_" +
"script_result.proto\"\344\001\n\021TransactionStatu" +
"s\022\n\n\002id\030\001 \001(\014\0229\n\006status\030\002 \001(\0162).waves.no" +
"de.grpc.TransactionStatus.Status\022\016\n\006heig" +
"ht\030\003 \001(\003\022>\n\022application_status\030\004 \001(\0162\".w" +
"aves.node.grpc.ApplicationStatus\"8\n\006Stat" +
"us\022\016\n\nNOT_EXISTS\020\000\022\017\n\013UNCONFIRMED\020\001\022\r\n\tC" +
"ONFIRMED\020\002\"\331\001\n\023TransactionResponse\022\n\n\002id" +
"\030\001 \001(\014\022\016\n\006height\030\002 \001(\003\022-\n\013transaction\030\003 " +
"\001(\0132\030.waves.SignedTransaction\022>\n\022applica" +
"tion_status\030\004 \001(\0162\".waves.node.grpc.Appl" +
"icationStatus\0227\n\024invoke_script_result\030\005 " +
"\001(\0132\031.waves.InvokeScriptResult\"c\n\023Transa" +
"ctionsRequest\022\016\n\006sender\030\001 \001(\014\022#\n\trecipie" +
"nt\030\002 \001(\0132\020.waves.Recipient\022\027\n\017transactio" +
"n_ids\030\003 \003(\014\"2\n\027TransactionsByIdRequest\022\027" +
"\n\017transaction_ids\030\003 \003(\014\"8\n\024CalculateFeeR" +
"esponse\022\020\n\010asset_id\030\001 \001(\014\022\016\n\006amount\030\002 \001(" +
"\004\"Q\n\013SignRequest\022\'\n\013transaction\030\001 \001(\0132\022." +
"waves.Transaction\022\031\n\021signer_public_key\030\002" +
" \001(\014\"v\n\032InvokeScriptResultResponse\022-\n\013tr" +
"ansaction\030\001 \001(\0132\030.waves.SignedTransactio" +
"n\022)\n\006result\030\002 \001(\0132\031.waves.InvokeScriptRe" +
"sult*L\n\021ApplicationStatus\022\013\n\007UNKNOWN\020\000\022\r" +
"\n\tSUCCEEDED\020\001\022\033\n\027SCRIPT_EXECUTION_FAILED" +
"\020\0022\237\004\n\017TransactionsApi\022_\n\017GetTransaction" +
"s\022$.waves.node.grpc.TransactionsRequest\032" +
"$.waves.node.grpc.TransactionResponse0\001\022" +
"k\n\017GetStateChanges\022$.waves.node.grpc.Tra" +
"nsactionsRequest\032+.waves.node.grpc.Invok" +
"eScriptResultResponse\"\003\210\002\0010\001\022]\n\013GetStatu" +
"ses\022(.waves.node.grpc.TransactionsByIdRe" +
"quest\032\".waves.node.grpc.TransactionStatu" +
"s0\001\022^\n\016GetUnconfirmed\022$.waves.node.grpc." +
"TransactionsRequest\032$.waves.node.grpc.Tr" +
"ansactionResponse0\001\022>\n\004Sign\022\034.waves.node" +
".grpc.SignRequest\032\030.waves.SignedTransact" +
"ion\022?\n\tBroadcast\022\030.waves.SignedTransacti" +
"on\032\030.waves.SignedTransactionBs\n\032com.wave" +
"splatform.api.grpcZCgithub.com/wavesplat" +
"form/gowaves/pkg/grpc/generated/waves/no" +
"de/grpc\252\002\017Waves.Node.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.wavesplatform.protobuf.transaction.RecipientOuterClass.getDescriptor(),
com.wavesplatform.protobuf.transaction.TransactionOuterClass.getDescriptor(),
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.getDescriptor(),
});
internal_static_waves_node_grpc_TransactionStatus_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_waves_node_grpc_TransactionStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_TransactionStatus_descriptor,
new java.lang.String[] { "Id", "Status", "Height", "ApplicationStatus", });
internal_static_waves_node_grpc_TransactionResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_waves_node_grpc_TransactionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_TransactionResponse_descriptor,
new java.lang.String[] { "Id", "Height", "Transaction", "ApplicationStatus", "InvokeScriptResult", });
internal_static_waves_node_grpc_TransactionsRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_waves_node_grpc_TransactionsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_TransactionsRequest_descriptor,
new java.lang.String[] { "Sender", "Recipient", "TransactionIds", });
internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_waves_node_grpc_TransactionsByIdRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_TransactionsByIdRequest_descriptor,
new java.lang.String[] { "TransactionIds", });
internal_static_waves_node_grpc_CalculateFeeResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_waves_node_grpc_CalculateFeeResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_CalculateFeeResponse_descriptor,
new java.lang.String[] { "AssetId", "Amount", });
internal_static_waves_node_grpc_SignRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_waves_node_grpc_SignRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_SignRequest_descriptor,
new java.lang.String[] { "Transaction", "SignerPublicKey", });
internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_waves_node_grpc_InvokeScriptResultResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_waves_node_grpc_InvokeScriptResultResponse_descriptor,
new java.lang.String[] { "Transaction", "Result", });
com.wavesplatform.protobuf.transaction.RecipientOuterClass.getDescriptor();
com.wavesplatform.protobuf.transaction.TransactionOuterClass.getDescriptor();
com.wavesplatform.protobuf.transaction.InvokeScriptResultOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}