games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/nftbridge/definition.proto
package games.mythical.saga.sdk.proto.api.nftbridge;
/**
* Protobuf type {@code saga.api.nftbridge.QuoteBridgeNFTResponse}
*/
public final class QuoteBridgeNFTResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:saga.api.nftbridge.QuoteBridgeNFTResponse)
QuoteBridgeNFTResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuoteBridgeNFTResponse.newBuilder() to construct.
private QuoteBridgeNFTResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuoteBridgeNFTResponse() {
traceId_ = "";
feeInOriginchainNativeToken_ = "";
feeInOriginchainNativeTokenUnit_ = "";
feeInUsd_ = "";
expiresAt_ = "";
gasPriceOriginchain_ = "";
gasPriceOriginchainUnit_ = "";
gasPriceTargetchain_ = "";
gasPriceTargetchainUnit_ = "";
signature_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QuoteBridgeNFTResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return games.mythical.saga.sdk.proto.api.nftbridge.Definition.internal_static_saga_api_nftbridge_QuoteBridgeNFTResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return games.mythical.saga.sdk.proto.api.nftbridge.Definition.internal_static_saga_api_nftbridge_QuoteBridgeNFTResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.class, games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.Builder.class);
}
public static final int TRACE_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object traceId_;
/**
* string trace_id = 1;
* @return The traceId.
*/
@java.lang.Override
public java.lang.String getTraceId() {
java.lang.Object ref = traceId_;
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();
traceId_ = s;
return s;
}
}
/**
* string trace_id = 1;
* @return The bytes for traceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTraceIdBytes() {
java.lang.Object ref = traceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEE_IN_ORIGINCHAIN_NATIVE_TOKEN_FIELD_NUMBER = 2;
private volatile java.lang.Object feeInOriginchainNativeToken_;
/**
* string fee_in_originchain_native_token = 2;
* @return The feeInOriginchainNativeToken.
*/
@java.lang.Override
public java.lang.String getFeeInOriginchainNativeToken() {
java.lang.Object ref = feeInOriginchainNativeToken_;
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();
feeInOriginchainNativeToken_ = s;
return s;
}
}
/**
* string fee_in_originchain_native_token = 2;
* @return The bytes for feeInOriginchainNativeToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeeInOriginchainNativeTokenBytes() {
java.lang.Object ref = feeInOriginchainNativeToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInOriginchainNativeToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEE_IN_ORIGINCHAIN_NATIVE_TOKEN_UNIT_FIELD_NUMBER = 3;
private volatile java.lang.Object feeInOriginchainNativeTokenUnit_;
/**
* string fee_in_originchain_native_token_unit = 3;
* @return The feeInOriginchainNativeTokenUnit.
*/
@java.lang.Override
public java.lang.String getFeeInOriginchainNativeTokenUnit() {
java.lang.Object ref = feeInOriginchainNativeTokenUnit_;
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();
feeInOriginchainNativeTokenUnit_ = s;
return s;
}
}
/**
* string fee_in_originchain_native_token_unit = 3;
* @return The bytes for feeInOriginchainNativeTokenUnit.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeeInOriginchainNativeTokenUnitBytes() {
java.lang.Object ref = feeInOriginchainNativeTokenUnit_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInOriginchainNativeTokenUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEE_IN_USD_FIELD_NUMBER = 4;
private volatile java.lang.Object feeInUsd_;
/**
* string fee_in_usd = 4;
* @return The feeInUsd.
*/
@java.lang.Override
public java.lang.String getFeeInUsd() {
java.lang.Object ref = feeInUsd_;
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();
feeInUsd_ = s;
return s;
}
}
/**
* string fee_in_usd = 4;
* @return The bytes for feeInUsd.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeeInUsdBytes() {
java.lang.Object ref = feeInUsd_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInUsd_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRES_AT_FIELD_NUMBER = 5;
private volatile java.lang.Object expiresAt_;
/**
* string expires_at = 5;
* @return The expiresAt.
*/
@java.lang.Override
public java.lang.String getExpiresAt() {
java.lang.Object ref = expiresAt_;
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();
expiresAt_ = s;
return s;
}
}
/**
* string expires_at = 5;
* @return The bytes for expiresAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExpiresAtBytes() {
java.lang.Object ref = expiresAt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expiresAt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAS_PRICE_ORIGINCHAIN_FIELD_NUMBER = 6;
private volatile java.lang.Object gasPriceOriginchain_;
/**
* string gas_price_originchain = 6;
* @return The gasPriceOriginchain.
*/
@java.lang.Override
public java.lang.String getGasPriceOriginchain() {
java.lang.Object ref = gasPriceOriginchain_;
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();
gasPriceOriginchain_ = s;
return s;
}
}
/**
* string gas_price_originchain = 6;
* @return The bytes for gasPriceOriginchain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGasPriceOriginchainBytes() {
java.lang.Object ref = gasPriceOriginchain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceOriginchain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAS_PRICE_ORIGINCHAIN_UNIT_FIELD_NUMBER = 7;
private volatile java.lang.Object gasPriceOriginchainUnit_;
/**
* string gas_price_originchain_unit = 7;
* @return The gasPriceOriginchainUnit.
*/
@java.lang.Override
public java.lang.String getGasPriceOriginchainUnit() {
java.lang.Object ref = gasPriceOriginchainUnit_;
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();
gasPriceOriginchainUnit_ = s;
return s;
}
}
/**
* string gas_price_originchain_unit = 7;
* @return The bytes for gasPriceOriginchainUnit.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGasPriceOriginchainUnitBytes() {
java.lang.Object ref = gasPriceOriginchainUnit_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceOriginchainUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAS_PRICE_TARGETCHAIN_FIELD_NUMBER = 8;
private volatile java.lang.Object gasPriceTargetchain_;
/**
* string gas_price_targetchain = 8;
* @return The gasPriceTargetchain.
*/
@java.lang.Override
public java.lang.String getGasPriceTargetchain() {
java.lang.Object ref = gasPriceTargetchain_;
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();
gasPriceTargetchain_ = s;
return s;
}
}
/**
* string gas_price_targetchain = 8;
* @return The bytes for gasPriceTargetchain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGasPriceTargetchainBytes() {
java.lang.Object ref = gasPriceTargetchain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceTargetchain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAS_PRICE_TARGETCHAIN_UNIT_FIELD_NUMBER = 9;
private volatile java.lang.Object gasPriceTargetchainUnit_;
/**
* string gas_price_targetchain_unit = 9;
* @return The gasPriceTargetchainUnit.
*/
@java.lang.Override
public java.lang.String getGasPriceTargetchainUnit() {
java.lang.Object ref = gasPriceTargetchainUnit_;
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();
gasPriceTargetchainUnit_ = s;
return s;
}
}
/**
* string gas_price_targetchain_unit = 9;
* @return The bytes for gasPriceTargetchainUnit.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGasPriceTargetchainUnitBytes() {
java.lang.Object ref = gasPriceTargetchainUnit_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceTargetchainUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIGNATURE_FIELD_NUMBER = 10;
private volatile java.lang.Object signature_;
/**
* string signature = 10;
* @return The signature.
*/
@java.lang.Override
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
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();
signature_ = s;
return s;
}
}
/**
* string signature = 10;
* @return The bytes for signature.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, traceId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInOriginchainNativeToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, feeInOriginchainNativeToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInOriginchainNativeTokenUnit_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, feeInOriginchainNativeTokenUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInUsd_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, feeInUsd_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiresAt_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, expiresAt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceOriginchain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, gasPriceOriginchain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceOriginchainUnit_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gasPriceOriginchainUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceTargetchain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, gasPriceTargetchain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceTargetchainUnit_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, gasPriceTargetchainUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, signature_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, traceId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInOriginchainNativeToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, feeInOriginchainNativeToken_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInOriginchainNativeTokenUnit_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, feeInOriginchainNativeTokenUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(feeInUsd_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, feeInUsd_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiresAt_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, expiresAt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceOriginchain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, gasPriceOriginchain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceOriginchainUnit_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gasPriceOriginchainUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceTargetchain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, gasPriceTargetchain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gasPriceTargetchainUnit_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, gasPriceTargetchainUnit_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, signature_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse)) {
return super.equals(obj);
}
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse other = (games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse) obj;
if (!getTraceId()
.equals(other.getTraceId())) return false;
if (!getFeeInOriginchainNativeToken()
.equals(other.getFeeInOriginchainNativeToken())) return false;
if (!getFeeInOriginchainNativeTokenUnit()
.equals(other.getFeeInOriginchainNativeTokenUnit())) return false;
if (!getFeeInUsd()
.equals(other.getFeeInUsd())) return false;
if (!getExpiresAt()
.equals(other.getExpiresAt())) return false;
if (!getGasPriceOriginchain()
.equals(other.getGasPriceOriginchain())) return false;
if (!getGasPriceOriginchainUnit()
.equals(other.getGasPriceOriginchainUnit())) return false;
if (!getGasPriceTargetchain()
.equals(other.getGasPriceTargetchain())) return false;
if (!getGasPriceTargetchainUnit()
.equals(other.getGasPriceTargetchainUnit())) return false;
if (!getSignature()
.equals(other.getSignature())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TRACE_ID_FIELD_NUMBER;
hash = (53 * hash) + getTraceId().hashCode();
hash = (37 * hash) + FEE_IN_ORIGINCHAIN_NATIVE_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getFeeInOriginchainNativeToken().hashCode();
hash = (37 * hash) + FEE_IN_ORIGINCHAIN_NATIVE_TOKEN_UNIT_FIELD_NUMBER;
hash = (53 * hash) + getFeeInOriginchainNativeTokenUnit().hashCode();
hash = (37 * hash) + FEE_IN_USD_FIELD_NUMBER;
hash = (53 * hash) + getFeeInUsd().hashCode();
hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER;
hash = (53 * hash) + getExpiresAt().hashCode();
hash = (37 * hash) + GAS_PRICE_ORIGINCHAIN_FIELD_NUMBER;
hash = (53 * hash) + getGasPriceOriginchain().hashCode();
hash = (37 * hash) + GAS_PRICE_ORIGINCHAIN_UNIT_FIELD_NUMBER;
hash = (53 * hash) + getGasPriceOriginchainUnit().hashCode();
hash = (37 * hash) + GAS_PRICE_TARGETCHAIN_FIELD_NUMBER;
hash = (53 * hash) + getGasPriceTargetchain().hashCode();
hash = (37 * hash) + GAS_PRICE_TARGETCHAIN_UNIT_FIELD_NUMBER;
hash = (53 * hash) + getGasPriceTargetchainUnit().hashCode();
hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getSignature().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse 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 games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse 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 games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse 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(games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse 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 saga.api.nftbridge.QuoteBridgeNFTResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:saga.api.nftbridge.QuoteBridgeNFTResponse)
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return games.mythical.saga.sdk.proto.api.nftbridge.Definition.internal_static_saga_api_nftbridge_QuoteBridgeNFTResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return games.mythical.saga.sdk.proto.api.nftbridge.Definition.internal_static_saga_api_nftbridge_QuoteBridgeNFTResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.class, games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.Builder.class);
}
// Construct using games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
traceId_ = "";
feeInOriginchainNativeToken_ = "";
feeInOriginchainNativeTokenUnit_ = "";
feeInUsd_ = "";
expiresAt_ = "";
gasPriceOriginchain_ = "";
gasPriceOriginchainUnit_ = "";
gasPriceTargetchain_ = "";
gasPriceTargetchainUnit_ = "";
signature_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return games.mythical.saga.sdk.proto.api.nftbridge.Definition.internal_static_saga_api_nftbridge_QuoteBridgeNFTResponse_descriptor;
}
@java.lang.Override
public games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse getDefaultInstanceForType() {
return games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.getDefaultInstance();
}
@java.lang.Override
public games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse build() {
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse buildPartial() {
games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse result = new games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse(this);
result.traceId_ = traceId_;
result.feeInOriginchainNativeToken_ = feeInOriginchainNativeToken_;
result.feeInOriginchainNativeTokenUnit_ = feeInOriginchainNativeTokenUnit_;
result.feeInUsd_ = feeInUsd_;
result.expiresAt_ = expiresAt_;
result.gasPriceOriginchain_ = gasPriceOriginchain_;
result.gasPriceOriginchainUnit_ = gasPriceOriginchainUnit_;
result.gasPriceTargetchain_ = gasPriceTargetchain_;
result.gasPriceTargetchainUnit_ = gasPriceTargetchainUnit_;
result.signature_ = signature_;
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 games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse) {
return mergeFrom((games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse other) {
if (other == games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse.getDefaultInstance()) return this;
if (!other.getTraceId().isEmpty()) {
traceId_ = other.traceId_;
onChanged();
}
if (!other.getFeeInOriginchainNativeToken().isEmpty()) {
feeInOriginchainNativeToken_ = other.feeInOriginchainNativeToken_;
onChanged();
}
if (!other.getFeeInOriginchainNativeTokenUnit().isEmpty()) {
feeInOriginchainNativeTokenUnit_ = other.feeInOriginchainNativeTokenUnit_;
onChanged();
}
if (!other.getFeeInUsd().isEmpty()) {
feeInUsd_ = other.feeInUsd_;
onChanged();
}
if (!other.getExpiresAt().isEmpty()) {
expiresAt_ = other.expiresAt_;
onChanged();
}
if (!other.getGasPriceOriginchain().isEmpty()) {
gasPriceOriginchain_ = other.gasPriceOriginchain_;
onChanged();
}
if (!other.getGasPriceOriginchainUnit().isEmpty()) {
gasPriceOriginchainUnit_ = other.gasPriceOriginchainUnit_;
onChanged();
}
if (!other.getGasPriceTargetchain().isEmpty()) {
gasPriceTargetchain_ = other.gasPriceTargetchain_;
onChanged();
}
if (!other.getGasPriceTargetchainUnit().isEmpty()) {
gasPriceTargetchainUnit_ = other.gasPriceTargetchainUnit_;
onChanged();
}
if (!other.getSignature().isEmpty()) {
signature_ = other.signature_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
traceId_ = input.readStringRequireUtf8();
break;
} // case 10
case 18: {
feeInOriginchainNativeToken_ = input.readStringRequireUtf8();
break;
} // case 18
case 26: {
feeInOriginchainNativeTokenUnit_ = input.readStringRequireUtf8();
break;
} // case 26
case 34: {
feeInUsd_ = input.readStringRequireUtf8();
break;
} // case 34
case 42: {
expiresAt_ = input.readStringRequireUtf8();
break;
} // case 42
case 50: {
gasPriceOriginchain_ = input.readStringRequireUtf8();
break;
} // case 50
case 58: {
gasPriceOriginchainUnit_ = input.readStringRequireUtf8();
break;
} // case 58
case 66: {
gasPriceTargetchain_ = input.readStringRequireUtf8();
break;
} // case 66
case 74: {
gasPriceTargetchainUnit_ = input.readStringRequireUtf8();
break;
} // case 74
case 82: {
signature_ = input.readStringRequireUtf8();
break;
} // case 82
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private java.lang.Object traceId_ = "";
/**
* string trace_id = 1;
* @return The traceId.
*/
public java.lang.String getTraceId() {
java.lang.Object ref = traceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
traceId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string trace_id = 1;
* @return The bytes for traceId.
*/
public com.google.protobuf.ByteString
getTraceIdBytes() {
java.lang.Object ref = traceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string trace_id = 1;
* @param value The traceId to set.
* @return This builder for chaining.
*/
public Builder setTraceId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
traceId_ = value;
onChanged();
return this;
}
/**
* string trace_id = 1;
* @return This builder for chaining.
*/
public Builder clearTraceId() {
traceId_ = getDefaultInstance().getTraceId();
onChanged();
return this;
}
/**
* string trace_id = 1;
* @param value The bytes for traceId to set.
* @return This builder for chaining.
*/
public Builder setTraceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
traceId_ = value;
onChanged();
return this;
}
private java.lang.Object feeInOriginchainNativeToken_ = "";
/**
* string fee_in_originchain_native_token = 2;
* @return The feeInOriginchainNativeToken.
*/
public java.lang.String getFeeInOriginchainNativeToken() {
java.lang.Object ref = feeInOriginchainNativeToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feeInOriginchainNativeToken_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fee_in_originchain_native_token = 2;
* @return The bytes for feeInOriginchainNativeToken.
*/
public com.google.protobuf.ByteString
getFeeInOriginchainNativeTokenBytes() {
java.lang.Object ref = feeInOriginchainNativeToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInOriginchainNativeToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fee_in_originchain_native_token = 2;
* @param value The feeInOriginchainNativeToken to set.
* @return This builder for chaining.
*/
public Builder setFeeInOriginchainNativeToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
feeInOriginchainNativeToken_ = value;
onChanged();
return this;
}
/**
* string fee_in_originchain_native_token = 2;
* @return This builder for chaining.
*/
public Builder clearFeeInOriginchainNativeToken() {
feeInOriginchainNativeToken_ = getDefaultInstance().getFeeInOriginchainNativeToken();
onChanged();
return this;
}
/**
* string fee_in_originchain_native_token = 2;
* @param value The bytes for feeInOriginchainNativeToken to set.
* @return This builder for chaining.
*/
public Builder setFeeInOriginchainNativeTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
feeInOriginchainNativeToken_ = value;
onChanged();
return this;
}
private java.lang.Object feeInOriginchainNativeTokenUnit_ = "";
/**
* string fee_in_originchain_native_token_unit = 3;
* @return The feeInOriginchainNativeTokenUnit.
*/
public java.lang.String getFeeInOriginchainNativeTokenUnit() {
java.lang.Object ref = feeInOriginchainNativeTokenUnit_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feeInOriginchainNativeTokenUnit_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fee_in_originchain_native_token_unit = 3;
* @return The bytes for feeInOriginchainNativeTokenUnit.
*/
public com.google.protobuf.ByteString
getFeeInOriginchainNativeTokenUnitBytes() {
java.lang.Object ref = feeInOriginchainNativeTokenUnit_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInOriginchainNativeTokenUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fee_in_originchain_native_token_unit = 3;
* @param value The feeInOriginchainNativeTokenUnit to set.
* @return This builder for chaining.
*/
public Builder setFeeInOriginchainNativeTokenUnit(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
feeInOriginchainNativeTokenUnit_ = value;
onChanged();
return this;
}
/**
* string fee_in_originchain_native_token_unit = 3;
* @return This builder for chaining.
*/
public Builder clearFeeInOriginchainNativeTokenUnit() {
feeInOriginchainNativeTokenUnit_ = getDefaultInstance().getFeeInOriginchainNativeTokenUnit();
onChanged();
return this;
}
/**
* string fee_in_originchain_native_token_unit = 3;
* @param value The bytes for feeInOriginchainNativeTokenUnit to set.
* @return This builder for chaining.
*/
public Builder setFeeInOriginchainNativeTokenUnitBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
feeInOriginchainNativeTokenUnit_ = value;
onChanged();
return this;
}
private java.lang.Object feeInUsd_ = "";
/**
* string fee_in_usd = 4;
* @return The feeInUsd.
*/
public java.lang.String getFeeInUsd() {
java.lang.Object ref = feeInUsd_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feeInUsd_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fee_in_usd = 4;
* @return The bytes for feeInUsd.
*/
public com.google.protobuf.ByteString
getFeeInUsdBytes() {
java.lang.Object ref = feeInUsd_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feeInUsd_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fee_in_usd = 4;
* @param value The feeInUsd to set.
* @return This builder for chaining.
*/
public Builder setFeeInUsd(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
feeInUsd_ = value;
onChanged();
return this;
}
/**
* string fee_in_usd = 4;
* @return This builder for chaining.
*/
public Builder clearFeeInUsd() {
feeInUsd_ = getDefaultInstance().getFeeInUsd();
onChanged();
return this;
}
/**
* string fee_in_usd = 4;
* @param value The bytes for feeInUsd to set.
* @return This builder for chaining.
*/
public Builder setFeeInUsdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
feeInUsd_ = value;
onChanged();
return this;
}
private java.lang.Object expiresAt_ = "";
/**
* string expires_at = 5;
* @return The expiresAt.
*/
public java.lang.String getExpiresAt() {
java.lang.Object ref = expiresAt_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
expiresAt_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string expires_at = 5;
* @return The bytes for expiresAt.
*/
public com.google.protobuf.ByteString
getExpiresAtBytes() {
java.lang.Object ref = expiresAt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expiresAt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string expires_at = 5;
* @param value The expiresAt to set.
* @return This builder for chaining.
*/
public Builder setExpiresAt(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
expiresAt_ = value;
onChanged();
return this;
}
/**
* string expires_at = 5;
* @return This builder for chaining.
*/
public Builder clearExpiresAt() {
expiresAt_ = getDefaultInstance().getExpiresAt();
onChanged();
return this;
}
/**
* string expires_at = 5;
* @param value The bytes for expiresAt to set.
* @return This builder for chaining.
*/
public Builder setExpiresAtBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
expiresAt_ = value;
onChanged();
return this;
}
private java.lang.Object gasPriceOriginchain_ = "";
/**
* string gas_price_originchain = 6;
* @return The gasPriceOriginchain.
*/
public java.lang.String getGasPriceOriginchain() {
java.lang.Object ref = gasPriceOriginchain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gasPriceOriginchain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gas_price_originchain = 6;
* @return The bytes for gasPriceOriginchain.
*/
public com.google.protobuf.ByteString
getGasPriceOriginchainBytes() {
java.lang.Object ref = gasPriceOriginchain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceOriginchain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string gas_price_originchain = 6;
* @param value The gasPriceOriginchain to set.
* @return This builder for chaining.
*/
public Builder setGasPriceOriginchain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gasPriceOriginchain_ = value;
onChanged();
return this;
}
/**
* string gas_price_originchain = 6;
* @return This builder for chaining.
*/
public Builder clearGasPriceOriginchain() {
gasPriceOriginchain_ = getDefaultInstance().getGasPriceOriginchain();
onChanged();
return this;
}
/**
* string gas_price_originchain = 6;
* @param value The bytes for gasPriceOriginchain to set.
* @return This builder for chaining.
*/
public Builder setGasPriceOriginchainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gasPriceOriginchain_ = value;
onChanged();
return this;
}
private java.lang.Object gasPriceOriginchainUnit_ = "";
/**
* string gas_price_originchain_unit = 7;
* @return The gasPriceOriginchainUnit.
*/
public java.lang.String getGasPriceOriginchainUnit() {
java.lang.Object ref = gasPriceOriginchainUnit_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gasPriceOriginchainUnit_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gas_price_originchain_unit = 7;
* @return The bytes for gasPriceOriginchainUnit.
*/
public com.google.protobuf.ByteString
getGasPriceOriginchainUnitBytes() {
java.lang.Object ref = gasPriceOriginchainUnit_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceOriginchainUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string gas_price_originchain_unit = 7;
* @param value The gasPriceOriginchainUnit to set.
* @return This builder for chaining.
*/
public Builder setGasPriceOriginchainUnit(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gasPriceOriginchainUnit_ = value;
onChanged();
return this;
}
/**
* string gas_price_originchain_unit = 7;
* @return This builder for chaining.
*/
public Builder clearGasPriceOriginchainUnit() {
gasPriceOriginchainUnit_ = getDefaultInstance().getGasPriceOriginchainUnit();
onChanged();
return this;
}
/**
* string gas_price_originchain_unit = 7;
* @param value The bytes for gasPriceOriginchainUnit to set.
* @return This builder for chaining.
*/
public Builder setGasPriceOriginchainUnitBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gasPriceOriginchainUnit_ = value;
onChanged();
return this;
}
private java.lang.Object gasPriceTargetchain_ = "";
/**
* string gas_price_targetchain = 8;
* @return The gasPriceTargetchain.
*/
public java.lang.String getGasPriceTargetchain() {
java.lang.Object ref = gasPriceTargetchain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gasPriceTargetchain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gas_price_targetchain = 8;
* @return The bytes for gasPriceTargetchain.
*/
public com.google.protobuf.ByteString
getGasPriceTargetchainBytes() {
java.lang.Object ref = gasPriceTargetchain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceTargetchain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string gas_price_targetchain = 8;
* @param value The gasPriceTargetchain to set.
* @return This builder for chaining.
*/
public Builder setGasPriceTargetchain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gasPriceTargetchain_ = value;
onChanged();
return this;
}
/**
* string gas_price_targetchain = 8;
* @return This builder for chaining.
*/
public Builder clearGasPriceTargetchain() {
gasPriceTargetchain_ = getDefaultInstance().getGasPriceTargetchain();
onChanged();
return this;
}
/**
* string gas_price_targetchain = 8;
* @param value The bytes for gasPriceTargetchain to set.
* @return This builder for chaining.
*/
public Builder setGasPriceTargetchainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gasPriceTargetchain_ = value;
onChanged();
return this;
}
private java.lang.Object gasPriceTargetchainUnit_ = "";
/**
* string gas_price_targetchain_unit = 9;
* @return The gasPriceTargetchainUnit.
*/
public java.lang.String getGasPriceTargetchainUnit() {
java.lang.Object ref = gasPriceTargetchainUnit_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gasPriceTargetchainUnit_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gas_price_targetchain_unit = 9;
* @return The bytes for gasPriceTargetchainUnit.
*/
public com.google.protobuf.ByteString
getGasPriceTargetchainUnitBytes() {
java.lang.Object ref = gasPriceTargetchainUnit_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gasPriceTargetchainUnit_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string gas_price_targetchain_unit = 9;
* @param value The gasPriceTargetchainUnit to set.
* @return This builder for chaining.
*/
public Builder setGasPriceTargetchainUnit(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gasPriceTargetchainUnit_ = value;
onChanged();
return this;
}
/**
* string gas_price_targetchain_unit = 9;
* @return This builder for chaining.
*/
public Builder clearGasPriceTargetchainUnit() {
gasPriceTargetchainUnit_ = getDefaultInstance().getGasPriceTargetchainUnit();
onChanged();
return this;
}
/**
* string gas_price_targetchain_unit = 9;
* @param value The bytes for gasPriceTargetchainUnit to set.
* @return This builder for chaining.
*/
public Builder setGasPriceTargetchainUnitBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gasPriceTargetchainUnit_ = value;
onChanged();
return this;
}
private java.lang.Object signature_ = "";
/**
* string signature = 10;
* @return The signature.
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
signature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string signature = 10;
* @return The bytes for signature.
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string signature = 10;
* @param value The signature to set.
* @return This builder for chaining.
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
signature_ = value;
onChanged();
return this;
}
/**
* string signature = 10;
* @return This builder for chaining.
*/
public Builder clearSignature() {
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
* string signature = 10;
* @param value The bytes for signature to set.
* @return This builder for chaining.
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
signature_ = 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:saga.api.nftbridge.QuoteBridgeNFTResponse)
}
// @@protoc_insertion_point(class_scope:saga.api.nftbridge.QuoteBridgeNFTResponse)
private static final games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse();
}
public static games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuoteBridgeNFTResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public games.mythical.saga.sdk.proto.api.nftbridge.QuoteBridgeNFTResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}