proto.tibc.apps.nft_transfer.v1.Tx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of irita-sdk Show documentation
Show all versions of irita-sdk Show documentation
Irita open alliance chain SDK (java)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tibc/apps/nft_transfer/v1/tx.proto
package proto.tibc.apps.nft_transfer.v1;
public final class Tx {
private Tx() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface MsgNftTransferOrBuilder extends
// @@protoc_insertion_point(interface_extends:tibc.apps.nft_transfer.v1.MsgNftTransfer)
com.google.protobuf.MessageOrBuilder {
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The class.
*/
java.lang.String getClass_();
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The bytes for class.
*/
com.google.protobuf.ByteString
getClass_Bytes();
/**
*
* the nft id
*
*
* string id = 2;
* @return The id.
*/
java.lang.String getId();
/**
*
* the nft id
*
*
* string id = 2;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The sender.
*/
java.lang.String getSender();
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The bytes for sender.
*/
com.google.protobuf.ByteString
getSenderBytes();
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The receiver.
*/
java.lang.String getReceiver();
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The bytes for receiver.
*/
com.google.protobuf.ByteString
getReceiverBytes();
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The destChain.
*/
java.lang.String getDestChain();
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The bytes for destChain.
*/
com.google.protobuf.ByteString
getDestChainBytes();
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The realayChain.
*/
java.lang.String getRealayChain();
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The bytes for realayChain.
*/
com.google.protobuf.ByteString
getRealayChainBytes();
}
/**
* Protobuf type {@code tibc.apps.nft_transfer.v1.MsgNftTransfer}
*/
public static final class MsgNftTransfer extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tibc.apps.nft_transfer.v1.MsgNftTransfer)
MsgNftTransferOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgNftTransfer.newBuilder() to construct.
private MsgNftTransfer(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgNftTransfer() {
class__ = "";
id_ = "";
sender_ = "";
receiver_ = "";
destChain_ = "";
realayChain_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MsgNftTransfer();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgNftTransfer(
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: {
java.lang.String s = input.readStringRequireUtf8();
class__ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
sender_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
receiver_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
destChain_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
realayChain_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.class, proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.Builder.class);
}
public static final int CLASS_FIELD_NUMBER = 1;
private volatile java.lang.Object class__;
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The class.
*/
@java.lang.Override
public java.lang.String getClass_() {
java.lang.Object ref = class__;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
class__ = s;
return s;
}
}
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The bytes for class.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClass_Bytes() {
java.lang.Object ref = class__;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
class__ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 2;
private volatile java.lang.Object id_;
/**
*
* the nft id
*
*
* string id = 2;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* the nft id
*
*
* string id = 2;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SENDER_FIELD_NUMBER = 3;
private volatile java.lang.Object sender_;
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The sender.
*/
@java.lang.Override
public java.lang.String getSender() {
java.lang.Object ref = sender_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sender_ = s;
return s;
}
}
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The bytes for sender.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSenderBytes() {
java.lang.Object ref = sender_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sender_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RECEIVER_FIELD_NUMBER = 4;
private volatile java.lang.Object receiver_;
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The receiver.
*/
@java.lang.Override
public java.lang.String getReceiver() {
java.lang.Object ref = receiver_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
receiver_ = s;
return s;
}
}
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The bytes for receiver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReceiverBytes() {
java.lang.Object ref = receiver_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
receiver_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEST_CHAIN_FIELD_NUMBER = 5;
private volatile java.lang.Object destChain_;
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The destChain.
*/
@java.lang.Override
public java.lang.String getDestChain() {
java.lang.Object ref = destChain_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destChain_ = s;
return s;
}
}
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The bytes for destChain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDestChainBytes() {
java.lang.Object ref = destChain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destChain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REALAY_CHAIN_FIELD_NUMBER = 6;
private volatile java.lang.Object realayChain_;
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The realayChain.
*/
@java.lang.Override
public java.lang.String getRealayChain() {
java.lang.Object ref = realayChain_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
realayChain_ = s;
return s;
}
}
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The bytes for realayChain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRealayChainBytes() {
java.lang.Object ref = realayChain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
realayChain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getClass_Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, class__);
}
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
if (!getSenderBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sender_);
}
if (!getReceiverBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, receiver_);
}
if (!getDestChainBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, destChain_);
}
if (!getRealayChainBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, realayChain_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getClass_Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, class__);
}
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
if (!getSenderBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sender_);
}
if (!getReceiverBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, receiver_);
}
if (!getDestChainBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, destChain_);
}
if (!getRealayChainBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, realayChain_);
}
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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer)) {
return super.equals(obj);
}
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer other = (proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer) obj;
if (!getClass_()
.equals(other.getClass_())) return false;
if (!getId()
.equals(other.getId())) return false;
if (!getSender()
.equals(other.getSender())) return false;
if (!getReceiver()
.equals(other.getReceiver())) return false;
if (!getDestChain()
.equals(other.getDestChain())) return false;
if (!getRealayChain()
.equals(other.getRealayChain())) 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) + CLASS_FIELD_NUMBER;
hash = (53 * hash) + getClass_().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + SENDER_FIELD_NUMBER;
hash = (53 * hash) + getSender().hashCode();
hash = (37 * hash) + RECEIVER_FIELD_NUMBER;
hash = (53 * hash) + getReceiver().hashCode();
hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER;
hash = (53 * hash) + getDestChain().hashCode();
hash = (37 * hash) + REALAY_CHAIN_FIELD_NUMBER;
hash = (53 * hash) + getRealayChain().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer 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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer 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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer 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(proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer 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 tibc.apps.nft_transfer.v1.MsgNftTransfer}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tibc.apps.nft_transfer.v1.MsgNftTransfer)
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.class, proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.Builder.class);
}
// Construct using proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.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();
class__ = "";
id_ = "";
sender_ = "";
receiver_ = "";
destChain_ = "";
realayChain_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor;
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer getDefaultInstanceForType() {
return proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.getDefaultInstance();
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer build() {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer buildPartial() {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer result = new proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer(this);
result.class__ = class__;
result.id_ = id_;
result.sender_ = sender_;
result.receiver_ = receiver_;
result.destChain_ = destChain_;
result.realayChain_ = realayChain_;
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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer) {
return mergeFrom((proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer other) {
if (other == proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer.getDefaultInstance()) return this;
if (!other.getClass_().isEmpty()) {
class__ = other.class__;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getSender().isEmpty()) {
sender_ = other.sender_;
onChanged();
}
if (!other.getReceiver().isEmpty()) {
receiver_ = other.receiver_;
onChanged();
}
if (!other.getDestChain().isEmpty()) {
destChain_ = other.destChain_;
onChanged();
}
if (!other.getRealayChain().isEmpty()) {
realayChain_ = other.realayChain_;
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 {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object class__ = "";
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The class.
*/
public java.lang.String getClass_() {
java.lang.Object ref = class__;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
class__ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return The bytes for class.
*/
public com.google.protobuf.ByteString
getClass_Bytes() {
java.lang.Object ref = class__;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
class__ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @param value The class to set.
* @return This builder for chaining.
*/
public Builder setClass_(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
class__ = value;
onChanged();
return this;
}
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @return This builder for chaining.
*/
public Builder clearClass_() {
class__ = getDefaultInstance().getClass_();
onChanged();
return this;
}
/**
*
* the class to which the NFT to be transferred belongs
*
*
* string class = 1;
* @param value The bytes for class to set.
* @return This builder for chaining.
*/
public Builder setClass_Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
class__ = value;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
*
* the nft id
*
*
* string id = 2;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the nft id
*
*
* string id = 2;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the nft id
*
*
* string id = 2;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* the nft id
*
*
* string id = 2;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* the nft id
*
*
* string id = 2;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object sender_ = "";
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The sender.
*/
public java.lang.String getSender() {
java.lang.Object ref = sender_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sender_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the nft sender
*
*
* string sender = 3;
* @return The bytes for sender.
*/
public com.google.protobuf.ByteString
getSenderBytes() {
java.lang.Object ref = sender_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sender_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the nft sender
*
*
* string sender = 3;
* @param value The sender to set.
* @return This builder for chaining.
*/
public Builder setSender(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sender_ = value;
onChanged();
return this;
}
/**
*
* the nft sender
*
*
* string sender = 3;
* @return This builder for chaining.
*/
public Builder clearSender() {
sender_ = getDefaultInstance().getSender();
onChanged();
return this;
}
/**
*
* the nft sender
*
*
* string sender = 3;
* @param value The bytes for sender to set.
* @return This builder for chaining.
*/
public Builder setSenderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sender_ = value;
onChanged();
return this;
}
private java.lang.Object receiver_ = "";
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The receiver.
*/
public java.lang.String getReceiver() {
java.lang.Object ref = receiver_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
receiver_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return The bytes for receiver.
*/
public com.google.protobuf.ByteString
getReceiverBytes() {
java.lang.Object ref = receiver_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
receiver_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @param value The receiver to set.
* @return This builder for chaining.
*/
public Builder setReceiver(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
receiver_ = value;
onChanged();
return this;
}
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @return This builder for chaining.
*/
public Builder clearReceiver() {
receiver_ = getDefaultInstance().getReceiver();
onChanged();
return this;
}
/**
*
* the nft receiver
*
*
* string receiver = 4;
* @param value The bytes for receiver to set.
* @return This builder for chaining.
*/
public Builder setReceiverBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
receiver_ = value;
onChanged();
return this;
}
private java.lang.Object destChain_ = "";
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The destChain.
*/
public java.lang.String getDestChain() {
java.lang.Object ref = destChain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destChain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return The bytes for destChain.
*/
public com.google.protobuf.ByteString
getDestChainBytes() {
java.lang.Object ref = destChain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destChain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @param value The destChain to set.
* @return This builder for chaining.
*/
public Builder setDestChain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
destChain_ = value;
onChanged();
return this;
}
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @return This builder for chaining.
*/
public Builder clearDestChain() {
destChain_ = getDefaultInstance().getDestChain();
onChanged();
return this;
}
/**
*
* target chain of transmission
*
*
* string dest_chain = 5;
* @param value The bytes for destChain to set.
* @return This builder for chaining.
*/
public Builder setDestChainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
destChain_ = value;
onChanged();
return this;
}
private java.lang.Object realayChain_ = "";
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The realayChain.
*/
public java.lang.String getRealayChain() {
java.lang.Object ref = realayChain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
realayChain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return The bytes for realayChain.
*/
public com.google.protobuf.ByteString
getRealayChainBytes() {
java.lang.Object ref = realayChain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
realayChain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @param value The realayChain to set.
* @return This builder for chaining.
*/
public Builder setRealayChain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
realayChain_ = value;
onChanged();
return this;
}
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @return This builder for chaining.
*/
public Builder clearRealayChain() {
realayChain_ = getDefaultInstance().getRealayChain();
onChanged();
return this;
}
/**
*
* relay chain during transmission
*
*
* string realay_chain = 6;
* @param value The bytes for realayChain to set.
* @return This builder for chaining.
*/
public Builder setRealayChainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
realayChain_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tibc.apps.nft_transfer.v1.MsgNftTransfer)
}
// @@protoc_insertion_point(class_scope:tibc.apps.nft_transfer.v1.MsgNftTransfer)
private static final proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer();
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MsgNftTransfer parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgNftTransfer(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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransfer getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgNftTransferResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:tibc.apps.nft_transfer.v1.MsgNftTransferResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* MsgTransferResponse defines the Msg/NftTransfer response type.
*
*
* Protobuf type {@code tibc.apps.nft_transfer.v1.MsgNftTransferResponse}
*/
public static final class MsgNftTransferResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tibc.apps.nft_transfer.v1.MsgNftTransferResponse)
MsgNftTransferResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgNftTransferResponse.newBuilder() to construct.
private MsgNftTransferResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgNftTransferResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MsgNftTransferResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgNftTransferResponse(
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;
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 proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.class, proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse)) {
return super.equals(obj);
}
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse other = (proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse 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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse 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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse 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(proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse 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;
}
/**
*
* MsgTransferResponse defines the Msg/NftTransfer response type.
*
*
* Protobuf type {@code tibc.apps.nft_transfer.v1.MsgNftTransferResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tibc.apps.nft_transfer.v1.MsgNftTransferResponse)
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.class, proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.Builder.class);
}
// Construct using proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return proto.tibc.apps.nft_transfer.v1.Tx.internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor;
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse getDefaultInstanceForType() {
return proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.getDefaultInstance();
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse build() {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse buildPartial() {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse result = new proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse(this);
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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse) {
return mergeFrom((proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse other) {
if (other == proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse.getDefaultInstance()) return this;
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 {
proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:tibc.apps.nft_transfer.v1.MsgNftTransferResponse)
}
// @@protoc_insertion_point(class_scope:tibc.apps.nft_transfer.v1.MsgNftTransferResponse)
private static final proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse();
}
public static proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MsgNftTransferResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgNftTransferResponse(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 proto.tibc.apps.nft_transfer.v1.Tx.MsgNftTransferResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_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\"tibc/apps/nft_transfer/v1/tx.proto\022\031ti" +
"bc.apps.nft_transfer.v1\032\024gogoproto/gogo." +
"proto\"\201\001\n\016MsgNftTransfer\022\r\n\005class\030\001 \001(\t\022" +
"\n\n\002id\030\002 \001(\t\022\016\n\006sender\030\003 \001(\t\022\020\n\010receiver\030" +
"\004 \001(\t\022\022\n\ndest_chain\030\005 \001(\t\022\024\n\014realay_chai" +
"n\030\006 \001(\t:\010\350\240\037\000\210\240\037\000\"\030\n\026MsgNftTransferRespo" +
"nse2r\n\003Msg\022k\n\013NftTransfer\022).tibc.apps.nf" +
"t_transfer.v1.MsgNftTransfer\0321.tibc.apps" +
".nft_transfer.v1.MsgNftTransferResponseB" +
"!\n\037proto.tibc.apps.nft_transfer.v1b\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.GoGoProtos.getDescriptor(),
});
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransfer_descriptor,
new java.lang.String[] { "Class_", "Id", "Sender", "Receiver", "DestChain", "RealayChain", });
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tibc_apps_nft_transfer_v1_MsgNftTransferResponse_descriptor,
new java.lang.String[] { });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.equal);
registry.add(com.google.protobuf.GoGoProtos.goprotoGetters);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.GoGoProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}