Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
*
* string channel = 2 [(.gogoproto.moretags) = "yaml:\"source_channel\""];
*/
public com.google.protobuf.ByteString
getChannelBytes() {
java.lang.Object ref = channel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TIMEOUT_HEIGHT_FIELD_NUMBER = 4;
private long timeoutHeight_;
/**
*
* Timeout height relative to the current block height.
* The timeout is disabled when set to 0.
*
*
* uint64 timeout_height = 4 [(.gogoproto.moretags) = "yaml:\"timeout_height\""];
*/
public long getTimeoutHeight() {
return timeoutHeight_;
}
public static final int TIMEOUT_TIMESTAMP_FIELD_NUMBER = 5;
private long timeoutTimestamp_;
/**
*
* Timeout timestamp (in nanoseconds) relative to the current block timestamp.
* The timeout is disabled when set to 0.
*
*
* uint64 timeout_timestamp = 5 [(.gogoproto.moretags) = "yaml:\"timeout_timestamp\""];
*/
public long getTimeoutTimestamp() {
return timeoutTimestamp_;
}
public static final int DATA_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString data_;
/**
*
* data is the payload to transfer
*
*
* bytes data = 6 [(.gogoproto.casttype) = "encoding/json.RawMessage"];
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
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 (!getChannelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channel_);
}
if (timeoutHeight_ != 0L) {
output.writeUInt64(4, timeoutHeight_);
}
if (timeoutTimestamp_ != 0L) {
output.writeUInt64(5, timeoutTimestamp_);
}
if (!data_.isEmpty()) {
output.writeBytes(6, data_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getChannelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channel_);
}
if (timeoutHeight_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, timeoutHeight_);
}
if (timeoutTimestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, timeoutTimestamp_);
}
if (!data_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, data_);
}
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 cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend)) {
return super.equals(obj);
}
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend other = (cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend) obj;
boolean result = true;
result = result && getChannel()
.equals(other.getChannel());
result = result && (getTimeoutHeight()
== other.getTimeoutHeight());
result = result && (getTimeoutTimestamp()
== other.getTimeoutTimestamp());
result = result && getData()
.equals(other.getData());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CHANNEL_FIELD_NUMBER;
hash = (53 * hash) + getChannel().hashCode();
hash = (37 * hash) + TIMEOUT_HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutHeight());
hash = (37 * hash) + TIMEOUT_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutTimestamp());
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend 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 cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend 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 cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend 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(cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend 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;
}
/**
*
* MsgIBCSend
*
*
* Protobuf type {@code cosmwasm.wasm.v1beta1.MsgIBCSend}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmwasm.wasm.v1beta1.MsgIBCSend)
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSendOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmwasm.wasm.v1beta1.Ibc.internal_static_cosmwasm_wasm_v1beta1_MsgIBCSend_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmwasm.wasm.v1beta1.Ibc.internal_static_cosmwasm_wasm_v1beta1_MsgIBCSend_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend.class, cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend.Builder.class);
}
// Construct using cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend.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();
channel_ = "";
timeoutHeight_ = 0L;
timeoutTimestamp_ = 0L;
data_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmwasm.wasm.v1beta1.Ibc.internal_static_cosmwasm_wasm_v1beta1_MsgIBCSend_descriptor;
}
@java.lang.Override
public cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend getDefaultInstanceForType() {
return cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend.getDefaultInstance();
}
@java.lang.Override
public cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend build() {
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend buildPartial() {
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend result = new cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend(this);
result.channel_ = channel_;
result.timeoutHeight_ = timeoutHeight_;
result.timeoutTimestamp_ = timeoutTimestamp_;
result.data_ = data_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend) {
return mergeFrom((cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend other) {
if (other == cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend.getDefaultInstance()) return this;
if (!other.getChannel().isEmpty()) {
channel_ = other.channel_;
onChanged();
}
if (other.getTimeoutHeight() != 0L) {
setTimeoutHeight(other.getTimeoutHeight());
}
if (other.getTimeoutTimestamp() != 0L) {
setTimeoutTimestamp(other.getTimeoutTimestamp());
}
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
setData(other.getData());
}
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 {
cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmwasm.wasm.v1beta1.Ibc.MsgIBCSend) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object channel_ = "";
/**
*