Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ibc.core.channel.v1.Genesis Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ibc/core/channel/v1/genesis.proto
package ibc.core.channel.v1;
public final class Genesis {
private Genesis() {}
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 GenesisStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.GenesisState)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
java.util.List
getChannelsList();
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel getChannels(int index);
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
int getChannelsCount();
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
java.util.List extends ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder>
getChannelsOrBuilderList();
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder getChannelsOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
java.util.List
getAcknowledgementsList();
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketState getAcknowledgements(int index);
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
int getAcknowledgementsCount();
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getAcknowledgementsOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
java.util.List
getCommitmentsList();
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketState getCommitments(int index);
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
int getCommitmentsCount();
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getCommitmentsOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
java.util.List
getReceiptsList();
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketState getReceipts(int index);
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
int getReceiptsCount();
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getReceiptsOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getReceiptsOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
java.util.List
getSendSequencesList();
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequence getSendSequences(int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
int getSendSequencesCount();
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getSendSequencesOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getSendSequencesOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
java.util.List
getRecvSequencesList();
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequence getRecvSequences(int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
int getRecvSequencesCount();
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getRecvSequencesOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getRecvSequencesOrBuilder(
int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
java.util.List
getAckSequencesList();
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequence getAckSequences(int index);
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
int getAckSequencesCount();
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getAckSequencesOrBuilderList();
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getAckSequencesOrBuilder(
int index);
/**
*
* the sequence for the next generated channel identifier
*
*
* uint64 next_channel_sequence = 8 [(.gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
*/
long getNextChannelSequence();
}
/**
*
* GenesisState defines the ibc channel submodule's genesis state.
*
*
* Protobuf type {@code ibc.core.channel.v1.GenesisState}
*/
public static final class GenesisState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ibc.core.channel.v1.GenesisState)
GenesisStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use GenesisState.newBuilder() to construct.
private GenesisState(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GenesisState() {
channels_ = java.util.Collections.emptyList();
acknowledgements_ = java.util.Collections.emptyList();
commitments_ = java.util.Collections.emptyList();
receipts_ = java.util.Collections.emptyList();
sendSequences_ = java.util.Collections.emptyList();
recvSequences_ = java.util.Collections.emptyList();
ackSequences_ = java.util.Collections.emptyList();
nextChannelSequence_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GenesisState(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
channels_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
channels_.add(
input.readMessage(ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
acknowledgements_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
acknowledgements_.add(
input.readMessage(ibc.core.channel.v1.ChannelOuterClass.PacketState.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
commitments_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
commitments_.add(
input.readMessage(ibc.core.channel.v1.ChannelOuterClass.PacketState.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
receipts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
receipts_.add(
input.readMessage(ibc.core.channel.v1.ChannelOuterClass.PacketState.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
sendSequences_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
sendSequences_.add(
input.readMessage(ibc.core.channel.v1.Genesis.PacketSequence.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
recvSequences_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
recvSequences_.add(
input.readMessage(ibc.core.channel.v1.Genesis.PacketSequence.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
ackSequences_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
ackSequences_.add(
input.readMessage(ibc.core.channel.v1.Genesis.PacketSequence.parser(), extensionRegistry));
break;
}
case 64: {
nextChannelSequence_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
channels_ = java.util.Collections.unmodifiableList(channels_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
acknowledgements_ = java.util.Collections.unmodifiableList(acknowledgements_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
commitments_ = java.util.Collections.unmodifiableList(commitments_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
receipts_ = java.util.Collections.unmodifiableList(receipts_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
sendSequences_ = java.util.Collections.unmodifiableList(sendSequences_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
recvSequences_ = java.util.Collections.unmodifiableList(recvSequences_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
ackSequences_ = java.util.Collections.unmodifiableList(ackSequences_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ibc.core.channel.v1.Genesis.GenesisState.class, ibc.core.channel.v1.Genesis.GenesisState.Builder.class);
}
private int bitField0_;
public static final int CHANNELS_FIELD_NUMBER = 1;
private java.util.List channels_;
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public java.util.List getChannelsList() {
return channels_;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder>
getChannelsOrBuilderList() {
return channels_;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public int getChannelsCount() {
return channels_.size();
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel getChannels(int index) {
return channels_.get(index);
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder getChannelsOrBuilder(
int index) {
return channels_.get(index);
}
public static final int ACKNOWLEDGEMENTS_FIELD_NUMBER = 2;
private java.util.List acknowledgements_;
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List getAcknowledgementsList() {
return acknowledgements_;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getAcknowledgementsOrBuilderList() {
return acknowledgements_;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public int getAcknowledgementsCount() {
return acknowledgements_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getAcknowledgements(int index) {
return acknowledgements_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder(
int index) {
return acknowledgements_.get(index);
}
public static final int COMMITMENTS_FIELD_NUMBER = 3;
private java.util.List commitments_;
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List getCommitmentsList() {
return commitments_;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getCommitmentsOrBuilderList() {
return commitments_;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public int getCommitmentsCount() {
return commitments_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getCommitments(int index) {
return commitments_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder(
int index) {
return commitments_.get(index);
}
public static final int RECEIPTS_FIELD_NUMBER = 4;
private java.util.List receipts_;
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List getReceiptsList() {
return receipts_;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getReceiptsOrBuilderList() {
return receipts_;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public int getReceiptsCount() {
return receipts_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getReceipts(int index) {
return receipts_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getReceiptsOrBuilder(
int index) {
return receipts_.get(index);
}
public static final int SEND_SEQUENCES_FIELD_NUMBER = 5;
private java.util.List sendSequences_;
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public java.util.List getSendSequencesList() {
return sendSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getSendSequencesOrBuilderList() {
return sendSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public int getSendSequencesCount() {
return sendSequences_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getSendSequences(int index) {
return sendSequences_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getSendSequencesOrBuilder(
int index) {
return sendSequences_.get(index);
}
public static final int RECV_SEQUENCES_FIELD_NUMBER = 6;
private java.util.List recvSequences_;
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public java.util.List getRecvSequencesList() {
return recvSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getRecvSequencesOrBuilderList() {
return recvSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public int getRecvSequencesCount() {
return recvSequences_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getRecvSequences(int index) {
return recvSequences_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getRecvSequencesOrBuilder(
int index) {
return recvSequences_.get(index);
}
public static final int ACK_SEQUENCES_FIELD_NUMBER = 7;
private java.util.List ackSequences_;
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public java.util.List getAckSequencesList() {
return ackSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getAckSequencesOrBuilderList() {
return ackSequences_;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public int getAckSequencesCount() {
return ackSequences_.size();
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getAckSequences(int index) {
return ackSequences_.get(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getAckSequencesOrBuilder(
int index) {
return ackSequences_.get(index);
}
public static final int NEXT_CHANNEL_SEQUENCE_FIELD_NUMBER = 8;
private long nextChannelSequence_;
/**
*
* the sequence for the next generated channel identifier
*
*
* uint64 next_channel_sequence = 8 [(.gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
*/
public long getNextChannelSequence() {
return nextChannelSequence_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < channels_.size(); i++) {
output.writeMessage(1, channels_.get(i));
}
for (int i = 0; i < acknowledgements_.size(); i++) {
output.writeMessage(2, acknowledgements_.get(i));
}
for (int i = 0; i < commitments_.size(); i++) {
output.writeMessage(3, commitments_.get(i));
}
for (int i = 0; i < receipts_.size(); i++) {
output.writeMessage(4, receipts_.get(i));
}
for (int i = 0; i < sendSequences_.size(); i++) {
output.writeMessage(5, sendSequences_.get(i));
}
for (int i = 0; i < recvSequences_.size(); i++) {
output.writeMessage(6, recvSequences_.get(i));
}
for (int i = 0; i < ackSequences_.size(); i++) {
output.writeMessage(7, ackSequences_.get(i));
}
if (nextChannelSequence_ != 0L) {
output.writeUInt64(8, nextChannelSequence_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < channels_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, channels_.get(i));
}
for (int i = 0; i < acknowledgements_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, acknowledgements_.get(i));
}
for (int i = 0; i < commitments_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, commitments_.get(i));
}
for (int i = 0; i < receipts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, receipts_.get(i));
}
for (int i = 0; i < sendSequences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, sendSequences_.get(i));
}
for (int i = 0; i < recvSequences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, recvSequences_.get(i));
}
for (int i = 0; i < ackSequences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, ackSequences_.get(i));
}
if (nextChannelSequence_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, nextChannelSequence_);
}
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 ibc.core.channel.v1.Genesis.GenesisState)) {
return super.equals(obj);
}
ibc.core.channel.v1.Genesis.GenesisState other = (ibc.core.channel.v1.Genesis.GenesisState) obj;
boolean result = true;
result = result && getChannelsList()
.equals(other.getChannelsList());
result = result && getAcknowledgementsList()
.equals(other.getAcknowledgementsList());
result = result && getCommitmentsList()
.equals(other.getCommitmentsList());
result = result && getReceiptsList()
.equals(other.getReceiptsList());
result = result && getSendSequencesList()
.equals(other.getSendSequencesList());
result = result && getRecvSequencesList()
.equals(other.getRecvSequencesList());
result = result && getAckSequencesList()
.equals(other.getAckSequencesList());
result = result && (getNextChannelSequence()
== other.getNextChannelSequence());
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();
if (getChannelsCount() > 0) {
hash = (37 * hash) + CHANNELS_FIELD_NUMBER;
hash = (53 * hash) + getChannelsList().hashCode();
}
if (getAcknowledgementsCount() > 0) {
hash = (37 * hash) + ACKNOWLEDGEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getAcknowledgementsList().hashCode();
}
if (getCommitmentsCount() > 0) {
hash = (37 * hash) + COMMITMENTS_FIELD_NUMBER;
hash = (53 * hash) + getCommitmentsList().hashCode();
}
if (getReceiptsCount() > 0) {
hash = (37 * hash) + RECEIPTS_FIELD_NUMBER;
hash = (53 * hash) + getReceiptsList().hashCode();
}
if (getSendSequencesCount() > 0) {
hash = (37 * hash) + SEND_SEQUENCES_FIELD_NUMBER;
hash = (53 * hash) + getSendSequencesList().hashCode();
}
if (getRecvSequencesCount() > 0) {
hash = (37 * hash) + RECV_SEQUENCES_FIELD_NUMBER;
hash = (53 * hash) + getRecvSequencesList().hashCode();
}
if (getAckSequencesCount() > 0) {
hash = (37 * hash) + ACK_SEQUENCES_FIELD_NUMBER;
hash = (53 * hash) + getAckSequencesList().hashCode();
}
hash = (37 * hash) + NEXT_CHANNEL_SEQUENCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNextChannelSequence());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.GenesisState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.GenesisState 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 ibc.core.channel.v1.Genesis.GenesisState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.GenesisState 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 ibc.core.channel.v1.Genesis.GenesisState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.GenesisState 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(ibc.core.channel.v1.Genesis.GenesisState 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;
}
/**
*
* GenesisState defines the ibc channel submodule's genesis state.
*
*
* Protobuf type {@code ibc.core.channel.v1.GenesisState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.GenesisState)
ibc.core.channel.v1.Genesis.GenesisStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ibc.core.channel.v1.Genesis.GenesisState.class, ibc.core.channel.v1.Genesis.GenesisState.Builder.class);
}
// Construct using ibc.core.channel.v1.Genesis.GenesisState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChannelsFieldBuilder();
getAcknowledgementsFieldBuilder();
getCommitmentsFieldBuilder();
getReceiptsFieldBuilder();
getSendSequencesFieldBuilder();
getRecvSequencesFieldBuilder();
getAckSequencesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (channelsBuilder_ == null) {
channels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
channelsBuilder_.clear();
}
if (acknowledgementsBuilder_ == null) {
acknowledgements_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
acknowledgementsBuilder_.clear();
}
if (commitmentsBuilder_ == null) {
commitments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
commitmentsBuilder_.clear();
}
if (receiptsBuilder_ == null) {
receipts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
receiptsBuilder_.clear();
}
if (sendSequencesBuilder_ == null) {
sendSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
sendSequencesBuilder_.clear();
}
if (recvSequencesBuilder_ == null) {
recvSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
recvSequencesBuilder_.clear();
}
if (ackSequencesBuilder_ == null) {
ackSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ackSequencesBuilder_.clear();
}
nextChannelSequence_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_GenesisState_descriptor;
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.GenesisState getDefaultInstanceForType() {
return ibc.core.channel.v1.Genesis.GenesisState.getDefaultInstance();
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.GenesisState build() {
ibc.core.channel.v1.Genesis.GenesisState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.GenesisState buildPartial() {
ibc.core.channel.v1.Genesis.GenesisState result = new ibc.core.channel.v1.Genesis.GenesisState(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (channelsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
channels_ = java.util.Collections.unmodifiableList(channels_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.channels_ = channels_;
} else {
result.channels_ = channelsBuilder_.build();
}
if (acknowledgementsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
acknowledgements_ = java.util.Collections.unmodifiableList(acknowledgements_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.acknowledgements_ = acknowledgements_;
} else {
result.acknowledgements_ = acknowledgementsBuilder_.build();
}
if (commitmentsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
commitments_ = java.util.Collections.unmodifiableList(commitments_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.commitments_ = commitments_;
} else {
result.commitments_ = commitmentsBuilder_.build();
}
if (receiptsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
receipts_ = java.util.Collections.unmodifiableList(receipts_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.receipts_ = receipts_;
} else {
result.receipts_ = receiptsBuilder_.build();
}
if (sendSequencesBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
sendSequences_ = java.util.Collections.unmodifiableList(sendSequences_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.sendSequences_ = sendSequences_;
} else {
result.sendSequences_ = sendSequencesBuilder_.build();
}
if (recvSequencesBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
recvSequences_ = java.util.Collections.unmodifiableList(recvSequences_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.recvSequences_ = recvSequences_;
} else {
result.recvSequences_ = recvSequencesBuilder_.build();
}
if (ackSequencesBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
ackSequences_ = java.util.Collections.unmodifiableList(ackSequences_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.ackSequences_ = ackSequences_;
} else {
result.ackSequences_ = ackSequencesBuilder_.build();
}
result.nextChannelSequence_ = nextChannelSequence_;
result.bitField0_ = to_bitField0_;
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 ibc.core.channel.v1.Genesis.GenesisState) {
return mergeFrom((ibc.core.channel.v1.Genesis.GenesisState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ibc.core.channel.v1.Genesis.GenesisState other) {
if (other == ibc.core.channel.v1.Genesis.GenesisState.getDefaultInstance()) return this;
if (channelsBuilder_ == null) {
if (!other.channels_.isEmpty()) {
if (channels_.isEmpty()) {
channels_ = other.channels_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureChannelsIsMutable();
channels_.addAll(other.channels_);
}
onChanged();
}
} else {
if (!other.channels_.isEmpty()) {
if (channelsBuilder_.isEmpty()) {
channelsBuilder_.dispose();
channelsBuilder_ = null;
channels_ = other.channels_;
bitField0_ = (bitField0_ & ~0x00000001);
channelsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChannelsFieldBuilder() : null;
} else {
channelsBuilder_.addAllMessages(other.channels_);
}
}
}
if (acknowledgementsBuilder_ == null) {
if (!other.acknowledgements_.isEmpty()) {
if (acknowledgements_.isEmpty()) {
acknowledgements_ = other.acknowledgements_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAcknowledgementsIsMutable();
acknowledgements_.addAll(other.acknowledgements_);
}
onChanged();
}
} else {
if (!other.acknowledgements_.isEmpty()) {
if (acknowledgementsBuilder_.isEmpty()) {
acknowledgementsBuilder_.dispose();
acknowledgementsBuilder_ = null;
acknowledgements_ = other.acknowledgements_;
bitField0_ = (bitField0_ & ~0x00000002);
acknowledgementsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAcknowledgementsFieldBuilder() : null;
} else {
acknowledgementsBuilder_.addAllMessages(other.acknowledgements_);
}
}
}
if (commitmentsBuilder_ == null) {
if (!other.commitments_.isEmpty()) {
if (commitments_.isEmpty()) {
commitments_ = other.commitments_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureCommitmentsIsMutable();
commitments_.addAll(other.commitments_);
}
onChanged();
}
} else {
if (!other.commitments_.isEmpty()) {
if (commitmentsBuilder_.isEmpty()) {
commitmentsBuilder_.dispose();
commitmentsBuilder_ = null;
commitments_ = other.commitments_;
bitField0_ = (bitField0_ & ~0x00000004);
commitmentsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCommitmentsFieldBuilder() : null;
} else {
commitmentsBuilder_.addAllMessages(other.commitments_);
}
}
}
if (receiptsBuilder_ == null) {
if (!other.receipts_.isEmpty()) {
if (receipts_.isEmpty()) {
receipts_ = other.receipts_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureReceiptsIsMutable();
receipts_.addAll(other.receipts_);
}
onChanged();
}
} else {
if (!other.receipts_.isEmpty()) {
if (receiptsBuilder_.isEmpty()) {
receiptsBuilder_.dispose();
receiptsBuilder_ = null;
receipts_ = other.receipts_;
bitField0_ = (bitField0_ & ~0x00000008);
receiptsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReceiptsFieldBuilder() : null;
} else {
receiptsBuilder_.addAllMessages(other.receipts_);
}
}
}
if (sendSequencesBuilder_ == null) {
if (!other.sendSequences_.isEmpty()) {
if (sendSequences_.isEmpty()) {
sendSequences_ = other.sendSequences_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureSendSequencesIsMutable();
sendSequences_.addAll(other.sendSequences_);
}
onChanged();
}
} else {
if (!other.sendSequences_.isEmpty()) {
if (sendSequencesBuilder_.isEmpty()) {
sendSequencesBuilder_.dispose();
sendSequencesBuilder_ = null;
sendSequences_ = other.sendSequences_;
bitField0_ = (bitField0_ & ~0x00000010);
sendSequencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSendSequencesFieldBuilder() : null;
} else {
sendSequencesBuilder_.addAllMessages(other.sendSequences_);
}
}
}
if (recvSequencesBuilder_ == null) {
if (!other.recvSequences_.isEmpty()) {
if (recvSequences_.isEmpty()) {
recvSequences_ = other.recvSequences_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureRecvSequencesIsMutable();
recvSequences_.addAll(other.recvSequences_);
}
onChanged();
}
} else {
if (!other.recvSequences_.isEmpty()) {
if (recvSequencesBuilder_.isEmpty()) {
recvSequencesBuilder_.dispose();
recvSequencesBuilder_ = null;
recvSequences_ = other.recvSequences_;
bitField0_ = (bitField0_ & ~0x00000020);
recvSequencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRecvSequencesFieldBuilder() : null;
} else {
recvSequencesBuilder_.addAllMessages(other.recvSequences_);
}
}
}
if (ackSequencesBuilder_ == null) {
if (!other.ackSequences_.isEmpty()) {
if (ackSequences_.isEmpty()) {
ackSequences_ = other.ackSequences_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureAckSequencesIsMutable();
ackSequences_.addAll(other.ackSequences_);
}
onChanged();
}
} else {
if (!other.ackSequences_.isEmpty()) {
if (ackSequencesBuilder_.isEmpty()) {
ackSequencesBuilder_.dispose();
ackSequencesBuilder_ = null;
ackSequences_ = other.ackSequences_;
bitField0_ = (bitField0_ & ~0x00000040);
ackSequencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAckSequencesFieldBuilder() : null;
} else {
ackSequencesBuilder_.addAllMessages(other.ackSequences_);
}
}
}
if (other.getNextChannelSequence() != 0L) {
setNextChannelSequence(other.getNextChannelSequence());
}
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 {
ibc.core.channel.v1.Genesis.GenesisState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (ibc.core.channel.v1.Genesis.GenesisState) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List channels_ =
java.util.Collections.emptyList();
private void ensureChannelsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
channels_ = new java.util.ArrayList(channels_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder> channelsBuilder_;
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public java.util.List getChannelsList() {
if (channelsBuilder_ == null) {
return java.util.Collections.unmodifiableList(channels_);
} else {
return channelsBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public int getChannelsCount() {
if (channelsBuilder_ == null) {
return channels_.size();
} else {
return channelsBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel getChannels(int index) {
if (channelsBuilder_ == null) {
return channels_.get(index);
} else {
return channelsBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder setChannels(
int index, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel value) {
if (channelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelsIsMutable();
channels_.set(index, value);
onChanged();
} else {
channelsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder setChannels(
int index, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder builderForValue) {
if (channelsBuilder_ == null) {
ensureChannelsIsMutable();
channels_.set(index, builderForValue.build());
onChanged();
} else {
channelsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder addChannels(ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel value) {
if (channelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelsIsMutable();
channels_.add(value);
onChanged();
} else {
channelsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder addChannels(
int index, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel value) {
if (channelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelsIsMutable();
channels_.add(index, value);
onChanged();
} else {
channelsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder addChannels(
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder builderForValue) {
if (channelsBuilder_ == null) {
ensureChannelsIsMutable();
channels_.add(builderForValue.build());
onChanged();
} else {
channelsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder addChannels(
int index, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder builderForValue) {
if (channelsBuilder_ == null) {
ensureChannelsIsMutable();
channels_.add(index, builderForValue.build());
onChanged();
} else {
channelsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder addAllChannels(
java.lang.Iterable extends ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel> values) {
if (channelsBuilder_ == null) {
ensureChannelsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, channels_);
onChanged();
} else {
channelsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder clearChannels() {
if (channelsBuilder_ == null) {
channels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
channelsBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public Builder removeChannels(int index) {
if (channelsBuilder_ == null) {
ensureChannelsIsMutable();
channels_.remove(index);
onChanged();
} else {
channelsBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder getChannelsBuilder(
int index) {
return getChannelsFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder getChannelsOrBuilder(
int index) {
if (channelsBuilder_ == null) {
return channels_.get(index); } else {
return channelsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder>
getChannelsOrBuilderList() {
if (channelsBuilder_ != null) {
return channelsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(channels_);
}
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder addChannelsBuilder() {
return getChannelsFieldBuilder().addBuilder(
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder addChannelsBuilder(
int index) {
return getChannelsFieldBuilder().addBuilder(
index, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.IdentifiedChannel channels = 1 [(.gogoproto.nullable) = false, (.gogoproto.casttype) = "IdentifiedChannel"];
*/
public java.util.List
getChannelsBuilderList() {
return getChannelsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder>
getChannelsFieldBuilder() {
if (channelsBuilder_ == null) {
channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannel.Builder, ibc.core.channel.v1.ChannelOuterClass.IdentifiedChannelOrBuilder>(
channels_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
channels_ = null;
}
return channelsBuilder_;
}
private java.util.List acknowledgements_ =
java.util.Collections.emptyList();
private void ensureAcknowledgementsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
acknowledgements_ = new java.util.ArrayList(acknowledgements_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder> acknowledgementsBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List getAcknowledgementsList() {
if (acknowledgementsBuilder_ == null) {
return java.util.Collections.unmodifiableList(acknowledgements_);
} else {
return acknowledgementsBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public int getAcknowledgementsCount() {
if (acknowledgementsBuilder_ == null) {
return acknowledgements_.size();
} else {
return acknowledgementsBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getAcknowledgements(int index) {
if (acknowledgementsBuilder_ == null) {
return acknowledgements_.get(index);
} else {
return acknowledgementsBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder setAcknowledgements(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (acknowledgementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAcknowledgementsIsMutable();
acknowledgements_.set(index, value);
onChanged();
} else {
acknowledgementsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder setAcknowledgements(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (acknowledgementsBuilder_ == null) {
ensureAcknowledgementsIsMutable();
acknowledgements_.set(index, builderForValue.build());
onChanged();
} else {
acknowledgementsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAcknowledgements(ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (acknowledgementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAcknowledgementsIsMutable();
acknowledgements_.add(value);
onChanged();
} else {
acknowledgementsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAcknowledgements(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (acknowledgementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAcknowledgementsIsMutable();
acknowledgements_.add(index, value);
onChanged();
} else {
acknowledgementsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAcknowledgements(
ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (acknowledgementsBuilder_ == null) {
ensureAcknowledgementsIsMutable();
acknowledgements_.add(builderForValue.build());
onChanged();
} else {
acknowledgementsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAcknowledgements(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (acknowledgementsBuilder_ == null) {
ensureAcknowledgementsIsMutable();
acknowledgements_.add(index, builderForValue.build());
onChanged();
} else {
acknowledgementsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAllAcknowledgements(
java.lang.Iterable extends ibc.core.channel.v1.ChannelOuterClass.PacketState> values) {
if (acknowledgementsBuilder_ == null) {
ensureAcknowledgementsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, acknowledgements_);
onChanged();
} else {
acknowledgementsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder clearAcknowledgements() {
if (acknowledgementsBuilder_ == null) {
acknowledgements_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
acknowledgementsBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public Builder removeAcknowledgements(int index) {
if (acknowledgementsBuilder_ == null) {
ensureAcknowledgementsIsMutable();
acknowledgements_.remove(index);
onChanged();
} else {
acknowledgementsBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder getAcknowledgementsBuilder(
int index) {
return getAcknowledgementsFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder(
int index) {
if (acknowledgementsBuilder_ == null) {
return acknowledgements_.get(index); } else {
return acknowledgementsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getAcknowledgementsOrBuilderList() {
if (acknowledgementsBuilder_ != null) {
return acknowledgementsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(acknowledgements_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addAcknowledgementsBuilder() {
return getAcknowledgementsFieldBuilder().addBuilder(
ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addAcknowledgementsBuilder(
int index) {
return getAcknowledgementsFieldBuilder().addBuilder(
index, ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState acknowledgements = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List
getAcknowledgementsBuilderList() {
return getAcknowledgementsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getAcknowledgementsFieldBuilder() {
if (acknowledgementsBuilder_ == null) {
acknowledgementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>(
acknowledgements_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
acknowledgements_ = null;
}
return acknowledgementsBuilder_;
}
private java.util.List commitments_ =
java.util.Collections.emptyList();
private void ensureCommitmentsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
commitments_ = new java.util.ArrayList(commitments_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder> commitmentsBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List getCommitmentsList() {
if (commitmentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(commitments_);
} else {
return commitmentsBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public int getCommitmentsCount() {
if (commitmentsBuilder_ == null) {
return commitments_.size();
} else {
return commitmentsBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getCommitments(int index) {
if (commitmentsBuilder_ == null) {
return commitments_.get(index);
} else {
return commitmentsBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder setCommitments(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (commitmentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitmentsIsMutable();
commitments_.set(index, value);
onChanged();
} else {
commitmentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder setCommitments(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (commitmentsBuilder_ == null) {
ensureCommitmentsIsMutable();
commitments_.set(index, builderForValue.build());
onChanged();
} else {
commitmentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder addCommitments(ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (commitmentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitmentsIsMutable();
commitments_.add(value);
onChanged();
} else {
commitmentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder addCommitments(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (commitmentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitmentsIsMutable();
commitments_.add(index, value);
onChanged();
} else {
commitmentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder addCommitments(
ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (commitmentsBuilder_ == null) {
ensureCommitmentsIsMutable();
commitments_.add(builderForValue.build());
onChanged();
} else {
commitmentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder addCommitments(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (commitmentsBuilder_ == null) {
ensureCommitmentsIsMutable();
commitments_.add(index, builderForValue.build());
onChanged();
} else {
commitmentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder addAllCommitments(
java.lang.Iterable extends ibc.core.channel.v1.ChannelOuterClass.PacketState> values) {
if (commitmentsBuilder_ == null) {
ensureCommitmentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, commitments_);
onChanged();
} else {
commitmentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder clearCommitments() {
if (commitmentsBuilder_ == null) {
commitments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
commitmentsBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public Builder removeCommitments(int index) {
if (commitmentsBuilder_ == null) {
ensureCommitmentsIsMutable();
commitments_.remove(index);
onChanged();
} else {
commitmentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder getCommitmentsBuilder(
int index) {
return getCommitmentsFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder(
int index) {
if (commitmentsBuilder_ == null) {
return commitments_.get(index); } else {
return commitmentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getCommitmentsOrBuilderList() {
if (commitmentsBuilder_ != null) {
return commitmentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(commitments_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addCommitmentsBuilder() {
return getCommitmentsFieldBuilder().addBuilder(
ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addCommitmentsBuilder(
int index) {
return getCommitmentsFieldBuilder().addBuilder(
index, ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState commitments = 3 [(.gogoproto.nullable) = false];
*/
public java.util.List
getCommitmentsBuilderList() {
return getCommitmentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getCommitmentsFieldBuilder() {
if (commitmentsBuilder_ == null) {
commitmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>(
commitments_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
commitments_ = null;
}
return commitmentsBuilder_;
}
private java.util.List receipts_ =
java.util.Collections.emptyList();
private void ensureReceiptsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
receipts_ = new java.util.ArrayList(receipts_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder> receiptsBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List getReceiptsList() {
if (receiptsBuilder_ == null) {
return java.util.Collections.unmodifiableList(receipts_);
} else {
return receiptsBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public int getReceiptsCount() {
if (receiptsBuilder_ == null) {
return receipts_.size();
} else {
return receiptsBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState getReceipts(int index) {
if (receiptsBuilder_ == null) {
return receipts_.get(index);
} else {
return receiptsBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder setReceipts(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (receiptsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReceiptsIsMutable();
receipts_.set(index, value);
onChanged();
} else {
receiptsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder setReceipts(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (receiptsBuilder_ == null) {
ensureReceiptsIsMutable();
receipts_.set(index, builderForValue.build());
onChanged();
} else {
receiptsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder addReceipts(ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (receiptsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReceiptsIsMutable();
receipts_.add(value);
onChanged();
} else {
receiptsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder addReceipts(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState value) {
if (receiptsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReceiptsIsMutable();
receipts_.add(index, value);
onChanged();
} else {
receiptsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder addReceipts(
ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (receiptsBuilder_ == null) {
ensureReceiptsIsMutable();
receipts_.add(builderForValue.build());
onChanged();
} else {
receiptsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder addReceipts(
int index, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder builderForValue) {
if (receiptsBuilder_ == null) {
ensureReceiptsIsMutable();
receipts_.add(index, builderForValue.build());
onChanged();
} else {
receiptsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder addAllReceipts(
java.lang.Iterable extends ibc.core.channel.v1.ChannelOuterClass.PacketState> values) {
if (receiptsBuilder_ == null) {
ensureReceiptsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, receipts_);
onChanged();
} else {
receiptsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder clearReceipts() {
if (receiptsBuilder_ == null) {
receipts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
receiptsBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public Builder removeReceipts(int index) {
if (receiptsBuilder_ == null) {
ensureReceiptsIsMutable();
receipts_.remove(index);
onChanged();
} else {
receiptsBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder getReceiptsBuilder(
int index) {
return getReceiptsFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder getReceiptsOrBuilder(
int index) {
if (receiptsBuilder_ == null) {
return receipts_.get(index); } else {
return receiptsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List extends ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getReceiptsOrBuilderList() {
if (receiptsBuilder_ != null) {
return receiptsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(receipts_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addReceiptsBuilder() {
return getReceiptsFieldBuilder().addBuilder(
ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder addReceiptsBuilder(
int index) {
return getReceiptsFieldBuilder().addBuilder(
index, ibc.core.channel.v1.ChannelOuterClass.PacketState.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketState receipts = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List
getReceiptsBuilderList() {
return getReceiptsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>
getReceiptsFieldBuilder() {
if (receiptsBuilder_ == null) {
receiptsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.ChannelOuterClass.PacketState, ibc.core.channel.v1.ChannelOuterClass.PacketState.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketStateOrBuilder>(
receipts_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
receipts_ = null;
}
return receiptsBuilder_;
}
private java.util.List sendSequences_ =
java.util.Collections.emptyList();
private void ensureSendSequencesIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
sendSequences_ = new java.util.ArrayList(sendSequences_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder> sendSequencesBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public java.util.List getSendSequencesList() {
if (sendSequencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sendSequences_);
} else {
return sendSequencesBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public int getSendSequencesCount() {
if (sendSequencesBuilder_ == null) {
return sendSequences_.size();
} else {
return sendSequencesBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getSendSequences(int index) {
if (sendSequencesBuilder_ == null) {
return sendSequences_.get(index);
} else {
return sendSequencesBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder setSendSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (sendSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSendSequencesIsMutable();
sendSequences_.set(index, value);
onChanged();
} else {
sendSequencesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder setSendSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (sendSequencesBuilder_ == null) {
ensureSendSequencesIsMutable();
sendSequences_.set(index, builderForValue.build());
onChanged();
} else {
sendSequencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder addSendSequences(ibc.core.channel.v1.Genesis.PacketSequence value) {
if (sendSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSendSequencesIsMutable();
sendSequences_.add(value);
onChanged();
} else {
sendSequencesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder addSendSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (sendSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSendSequencesIsMutable();
sendSequences_.add(index, value);
onChanged();
} else {
sendSequencesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder addSendSequences(
ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (sendSequencesBuilder_ == null) {
ensureSendSequencesIsMutable();
sendSequences_.add(builderForValue.build());
onChanged();
} else {
sendSequencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder addSendSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (sendSequencesBuilder_ == null) {
ensureSendSequencesIsMutable();
sendSequences_.add(index, builderForValue.build());
onChanged();
} else {
sendSequencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder addAllSendSequences(
java.lang.Iterable extends ibc.core.channel.v1.Genesis.PacketSequence> values) {
if (sendSequencesBuilder_ == null) {
ensureSendSequencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sendSequences_);
onChanged();
} else {
sendSequencesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder clearSendSequences() {
if (sendSequencesBuilder_ == null) {
sendSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
sendSequencesBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public Builder removeSendSequences(int index) {
if (sendSequencesBuilder_ == null) {
ensureSendSequencesIsMutable();
sendSequences_.remove(index);
onChanged();
} else {
sendSequencesBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder getSendSequencesBuilder(
int index) {
return getSendSequencesFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getSendSequencesOrBuilder(
int index) {
if (sendSequencesBuilder_ == null) {
return sendSequences_.get(index); } else {
return sendSequencesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getSendSequencesOrBuilderList() {
if (sendSequencesBuilder_ != null) {
return sendSequencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sendSequences_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addSendSequencesBuilder() {
return getSendSequencesFieldBuilder().addBuilder(
ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addSendSequencesBuilder(
int index) {
return getSendSequencesFieldBuilder().addBuilder(
index, ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence send_sequences = 5 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"send_sequences\""];
*/
public java.util.List
getSendSequencesBuilderList() {
return getSendSequencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getSendSequencesFieldBuilder() {
if (sendSequencesBuilder_ == null) {
sendSequencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>(
sendSequences_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
sendSequences_ = null;
}
return sendSequencesBuilder_;
}
private java.util.List recvSequences_ =
java.util.Collections.emptyList();
private void ensureRecvSequencesIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
recvSequences_ = new java.util.ArrayList(recvSequences_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder> recvSequencesBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public java.util.List getRecvSequencesList() {
if (recvSequencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(recvSequences_);
} else {
return recvSequencesBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public int getRecvSequencesCount() {
if (recvSequencesBuilder_ == null) {
return recvSequences_.size();
} else {
return recvSequencesBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getRecvSequences(int index) {
if (recvSequencesBuilder_ == null) {
return recvSequences_.get(index);
} else {
return recvSequencesBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder setRecvSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (recvSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecvSequencesIsMutable();
recvSequences_.set(index, value);
onChanged();
} else {
recvSequencesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder setRecvSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (recvSequencesBuilder_ == null) {
ensureRecvSequencesIsMutable();
recvSequences_.set(index, builderForValue.build());
onChanged();
} else {
recvSequencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder addRecvSequences(ibc.core.channel.v1.Genesis.PacketSequence value) {
if (recvSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecvSequencesIsMutable();
recvSequences_.add(value);
onChanged();
} else {
recvSequencesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder addRecvSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (recvSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRecvSequencesIsMutable();
recvSequences_.add(index, value);
onChanged();
} else {
recvSequencesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder addRecvSequences(
ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (recvSequencesBuilder_ == null) {
ensureRecvSequencesIsMutable();
recvSequences_.add(builderForValue.build());
onChanged();
} else {
recvSequencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder addRecvSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (recvSequencesBuilder_ == null) {
ensureRecvSequencesIsMutable();
recvSequences_.add(index, builderForValue.build());
onChanged();
} else {
recvSequencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder addAllRecvSequences(
java.lang.Iterable extends ibc.core.channel.v1.Genesis.PacketSequence> values) {
if (recvSequencesBuilder_ == null) {
ensureRecvSequencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, recvSequences_);
onChanged();
} else {
recvSequencesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder clearRecvSequences() {
if (recvSequencesBuilder_ == null) {
recvSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
recvSequencesBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public Builder removeRecvSequences(int index) {
if (recvSequencesBuilder_ == null) {
ensureRecvSequencesIsMutable();
recvSequences_.remove(index);
onChanged();
} else {
recvSequencesBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder getRecvSequencesBuilder(
int index) {
return getRecvSequencesFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getRecvSequencesOrBuilder(
int index) {
if (recvSequencesBuilder_ == null) {
return recvSequences_.get(index); } else {
return recvSequencesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getRecvSequencesOrBuilderList() {
if (recvSequencesBuilder_ != null) {
return recvSequencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(recvSequences_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addRecvSequencesBuilder() {
return getRecvSequencesFieldBuilder().addBuilder(
ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addRecvSequencesBuilder(
int index) {
return getRecvSequencesFieldBuilder().addBuilder(
index, ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence recv_sequences = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"recv_sequences\""];
*/
public java.util.List
getRecvSequencesBuilderList() {
return getRecvSequencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getRecvSequencesFieldBuilder() {
if (recvSequencesBuilder_ == null) {
recvSequencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>(
recvSequences_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
recvSequences_ = null;
}
return recvSequencesBuilder_;
}
private java.util.List ackSequences_ =
java.util.Collections.emptyList();
private void ensureAckSequencesIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
ackSequences_ = new java.util.ArrayList(ackSequences_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder> ackSequencesBuilder_;
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public java.util.List getAckSequencesList() {
if (ackSequencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(ackSequences_);
} else {
return ackSequencesBuilder_.getMessageList();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public int getAckSequencesCount() {
if (ackSequencesBuilder_ == null) {
return ackSequences_.size();
} else {
return ackSequencesBuilder_.getCount();
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence getAckSequences(int index) {
if (ackSequencesBuilder_ == null) {
return ackSequences_.get(index);
} else {
return ackSequencesBuilder_.getMessage(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder setAckSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (ackSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAckSequencesIsMutable();
ackSequences_.set(index, value);
onChanged();
} else {
ackSequencesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder setAckSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (ackSequencesBuilder_ == null) {
ensureAckSequencesIsMutable();
ackSequences_.set(index, builderForValue.build());
onChanged();
} else {
ackSequencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder addAckSequences(ibc.core.channel.v1.Genesis.PacketSequence value) {
if (ackSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAckSequencesIsMutable();
ackSequences_.add(value);
onChanged();
} else {
ackSequencesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder addAckSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence value) {
if (ackSequencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAckSequencesIsMutable();
ackSequences_.add(index, value);
onChanged();
} else {
ackSequencesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder addAckSequences(
ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (ackSequencesBuilder_ == null) {
ensureAckSequencesIsMutable();
ackSequences_.add(builderForValue.build());
onChanged();
} else {
ackSequencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder addAckSequences(
int index, ibc.core.channel.v1.Genesis.PacketSequence.Builder builderForValue) {
if (ackSequencesBuilder_ == null) {
ensureAckSequencesIsMutable();
ackSequences_.add(index, builderForValue.build());
onChanged();
} else {
ackSequencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder addAllAckSequences(
java.lang.Iterable extends ibc.core.channel.v1.Genesis.PacketSequence> values) {
if (ackSequencesBuilder_ == null) {
ensureAckSequencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ackSequences_);
onChanged();
} else {
ackSequencesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder clearAckSequences() {
if (ackSequencesBuilder_ == null) {
ackSequences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
ackSequencesBuilder_.clear();
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public Builder removeAckSequences(int index) {
if (ackSequencesBuilder_ == null) {
ensureAckSequencesIsMutable();
ackSequences_.remove(index);
onChanged();
} else {
ackSequencesBuilder_.remove(index);
}
return this;
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder getAckSequencesBuilder(
int index) {
return getAckSequencesFieldBuilder().getBuilder(index);
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder getAckSequencesOrBuilder(
int index) {
if (ackSequencesBuilder_ == null) {
return ackSequences_.get(index); } else {
return ackSequencesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public java.util.List extends ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getAckSequencesOrBuilderList() {
if (ackSequencesBuilder_ != null) {
return ackSequencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ackSequences_);
}
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addAckSequencesBuilder() {
return getAckSequencesFieldBuilder().addBuilder(
ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public ibc.core.channel.v1.Genesis.PacketSequence.Builder addAckSequencesBuilder(
int index) {
return getAckSequencesFieldBuilder().addBuilder(
index, ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance());
}
/**
* repeated .ibc.core.channel.v1.PacketSequence ack_sequences = 7 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"ack_sequences\""];
*/
public java.util.List
getAckSequencesBuilderList() {
return getAckSequencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>
getAckSequencesFieldBuilder() {
if (ackSequencesBuilder_ == null) {
ackSequencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ibc.core.channel.v1.Genesis.PacketSequence, ibc.core.channel.v1.Genesis.PacketSequence.Builder, ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder>(
ackSequences_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
ackSequences_ = null;
}
return ackSequencesBuilder_;
}
private long nextChannelSequence_ ;
/**
*
* the sequence for the next generated channel identifier
*
*
* uint64 next_channel_sequence = 8 [(.gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
*/
public long getNextChannelSequence() {
return nextChannelSequence_;
}
/**
*
* the sequence for the next generated channel identifier
*
*
* uint64 next_channel_sequence = 8 [(.gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
*/
public Builder setNextChannelSequence(long value) {
nextChannelSequence_ = value;
onChanged();
return this;
}
/**
*
* the sequence for the next generated channel identifier
*
*
* uint64 next_channel_sequence = 8 [(.gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
*/
public Builder clearNextChannelSequence() {
nextChannelSequence_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.GenesisState)
}
// @@protoc_insertion_point(class_scope:ibc.core.channel.v1.GenesisState)
private static final ibc.core.channel.v1.Genesis.GenesisState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ibc.core.channel.v1.Genesis.GenesisState();
}
public static ibc.core.channel.v1.Genesis.GenesisState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GenesisState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GenesisState(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 ibc.core.channel.v1.Genesis.GenesisState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PacketSequenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.PacketSequence)
com.google.protobuf.MessageOrBuilder {
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
java.lang.String getPortId();
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
com.google.protobuf.ByteString
getPortIdBytes();
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
java.lang.String getChannelId();
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
com.google.protobuf.ByteString
getChannelIdBytes();
/**
* uint64 sequence = 3;
*/
long getSequence();
}
/**
*
* PacketSequence defines the genesis type necessary to retrieve and store
* next send and receive sequences.
*
*
* Protobuf type {@code ibc.core.channel.v1.PacketSequence}
*/
public static final class PacketSequence extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ibc.core.channel.v1.PacketSequence)
PacketSequenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PacketSequence.newBuilder() to construct.
private PacketSequence(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PacketSequence() {
portId_ = "";
channelId_ = "";
sequence_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PacketSequence(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
portId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
channelId_ = s;
break;
}
case 24: {
sequence_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_PacketSequence_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_PacketSequence_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ibc.core.channel.v1.Genesis.PacketSequence.class, ibc.core.channel.v1.Genesis.PacketSequence.Builder.class);
}
public static final int PORT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object portId_;
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public java.lang.String getPortId() {
java.lang.Object ref = portId_;
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();
portId_ = s;
return s;
}
}
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public com.google.protobuf.ByteString
getPortIdBytes() {
java.lang.Object ref = portId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHANNEL_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object channelId_;
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
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();
channelId_ = s;
return s;
}
}
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEQUENCE_FIELD_NUMBER = 3;
private long sequence_;
/**
* uint64 sequence = 3;
*/
public long getSequence() {
return sequence_;
}
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 (!getPortIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_);
}
if (!getChannelIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelId_);
}
if (sequence_ != 0L) {
output.writeUInt64(3, sequence_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPortIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_);
}
if (!getChannelIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelId_);
}
if (sequence_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, sequence_);
}
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 ibc.core.channel.v1.Genesis.PacketSequence)) {
return super.equals(obj);
}
ibc.core.channel.v1.Genesis.PacketSequence other = (ibc.core.channel.v1.Genesis.PacketSequence) obj;
boolean result = true;
result = result && getPortId()
.equals(other.getPortId());
result = result && getChannelId()
.equals(other.getChannelId());
result = result && (getSequence()
== other.getSequence());
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) + PORT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPortId().hashCode();
hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getChannelId().hashCode();
hash = (37 * hash) + SEQUENCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSequence());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ibc.core.channel.v1.Genesis.PacketSequence parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.PacketSequence 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 ibc.core.channel.v1.Genesis.PacketSequence parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.PacketSequence 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 ibc.core.channel.v1.Genesis.PacketSequence parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ibc.core.channel.v1.Genesis.PacketSequence 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(ibc.core.channel.v1.Genesis.PacketSequence 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;
}
/**
*
* PacketSequence defines the genesis type necessary to retrieve and store
* next send and receive sequences.
*
*
* Protobuf type {@code ibc.core.channel.v1.PacketSequence}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.PacketSequence)
ibc.core.channel.v1.Genesis.PacketSequenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_PacketSequence_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_PacketSequence_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ibc.core.channel.v1.Genesis.PacketSequence.class, ibc.core.channel.v1.Genesis.PacketSequence.Builder.class);
}
// Construct using ibc.core.channel.v1.Genesis.PacketSequence.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();
portId_ = "";
channelId_ = "";
sequence_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ibc.core.channel.v1.Genesis.internal_static_ibc_core_channel_v1_PacketSequence_descriptor;
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.PacketSequence getDefaultInstanceForType() {
return ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance();
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.PacketSequence build() {
ibc.core.channel.v1.Genesis.PacketSequence result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ibc.core.channel.v1.Genesis.PacketSequence buildPartial() {
ibc.core.channel.v1.Genesis.PacketSequence result = new ibc.core.channel.v1.Genesis.PacketSequence(this);
result.portId_ = portId_;
result.channelId_ = channelId_;
result.sequence_ = sequence_;
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 ibc.core.channel.v1.Genesis.PacketSequence) {
return mergeFrom((ibc.core.channel.v1.Genesis.PacketSequence)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ibc.core.channel.v1.Genesis.PacketSequence other) {
if (other == ibc.core.channel.v1.Genesis.PacketSequence.getDefaultInstance()) return this;
if (!other.getPortId().isEmpty()) {
portId_ = other.portId_;
onChanged();
}
if (!other.getChannelId().isEmpty()) {
channelId_ = other.channelId_;
onChanged();
}
if (other.getSequence() != 0L) {
setSequence(other.getSequence());
}
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 {
ibc.core.channel.v1.Genesis.PacketSequence parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (ibc.core.channel.v1.Genesis.PacketSequence) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object portId_ = "";
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public java.lang.String getPortId() {
java.lang.Object ref = portId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
portId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public com.google.protobuf.ByteString
getPortIdBytes() {
java.lang.Object ref = portId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public Builder setPortId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
portId_ = value;
onChanged();
return this;
}
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public Builder clearPortId() {
portId_ = getDefaultInstance().getPortId();
onChanged();
return this;
}
/**
* string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
*/
public Builder setPortIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
portId_ = value;
onChanged();
return this;
}
private java.lang.Object channelId_ = "";
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
channelId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public Builder setChannelId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
channelId_ = value;
onChanged();
return this;
}
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public Builder clearChannelId() {
channelId_ = getDefaultInstance().getChannelId();
onChanged();
return this;
}
/**
* string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""];
*/
public Builder setChannelIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
channelId_ = value;
onChanged();
return this;
}
private long sequence_ ;
/**
* uint64 sequence = 3;
*/
public long getSequence() {
return sequence_;
}
/**
* uint64 sequence = 3;
*/
public Builder setSequence(long value) {
sequence_ = value;
onChanged();
return this;
}
/**
* uint64 sequence = 3;
*/
public Builder clearSequence() {
sequence_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.PacketSequence)
}
// @@protoc_insertion_point(class_scope:ibc.core.channel.v1.PacketSequence)
private static final ibc.core.channel.v1.Genesis.PacketSequence DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ibc.core.channel.v1.Genesis.PacketSequence();
}
public static ibc.core.channel.v1.Genesis.PacketSequence getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PacketSequence parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PacketSequence(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 ibc.core.channel.v1.Genesis.PacketSequence getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ibc_core_channel_v1_GenesisState_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ibc_core_channel_v1_GenesisState_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ibc_core_channel_v1_PacketSequence_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ibc_core_channel_v1_PacketSequence_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!ibc/core/channel/v1/genesis.proto\022\023ibc" +
".core.channel.v1\032\024gogoproto/gogo.proto\032!" +
"ibc/core/channel/v1/channel.proto\"\357\004\n\014Ge" +
"nesisState\022S\n\010channels\030\001 \003(\0132&.ibc.core." +
"channel.v1.IdentifiedChannelB\031\372\336\037\021Identi" +
"fiedChannel\310\336\037\000\022@\n\020acknowledgements\030\002 \003(" +
"\0132 .ibc.core.channel.v1.PacketStateB\004\310\336\037" +
"\000\022;\n\013commitments\030\003 \003(\0132 .ibc.core.channe" +
"l.v1.PacketStateB\004\310\336\037\000\0228\n\010receipts\030\004 \003(\013" +
"2 .ibc.core.channel.v1.PacketStateB\004\310\336\037\000" +
"\022Z\n\016send_sequences\030\005 \003(\0132#.ibc.core.chan" +
"nel.v1.PacketSequenceB\035\310\336\037\000\362\336\037\025yaml:\"sen" +
"d_sequences\"\022Z\n\016recv_sequences\030\006 \003(\0132#.i" +
"bc.core.channel.v1.PacketSequenceB\035\310\336\037\000\362" +
"\336\037\025yaml:\"recv_sequences\"\022X\n\rack_sequence" +
"s\030\007 \003(\0132#.ibc.core.channel.v1.PacketSequ" +
"enceB\034\310\336\037\000\362\336\037\024yaml:\"ack_sequences\"\022?\n\025ne" +
"xt_channel_sequence\030\010 \001(\004B \362\336\037\034yaml:\"nex" +
"t_channel_sequence\"\"r\n\016PacketSequence\022#\n" +
"\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:\"port_id\"\022)\n\nch" +
"annel_id\030\002 \001(\tB\025\362\336\037\021yaml:\"channel_id\"\022\020\n" +
"\010sequence\030\003 \001(\004B:Z8github.com/cosmos/cos" +
"mos-sdk/x/ibc/core/04-channel/typesb\006pro" +
"to3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.GoGoProtos.getDescriptor(),
ibc.core.channel.v1.ChannelOuterClass.getDescriptor(),
}, assigner);
internal_static_ibc_core_channel_v1_GenesisState_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ibc_core_channel_v1_GenesisState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ibc_core_channel_v1_GenesisState_descriptor,
new java.lang.String[] { "Channels", "Acknowledgements", "Commitments", "Receipts", "SendSequences", "RecvSequences", "AckSequences", "NextChannelSequence", });
internal_static_ibc_core_channel_v1_PacketSequence_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_ibc_core_channel_v1_PacketSequence_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ibc_core_channel_v1_PacketSequence_descriptor,
new java.lang.String[] { "PortId", "ChannelId", "Sequence", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.casttype);
registry.add(com.google.protobuf.GoGoProtos.moretags);
registry.add(com.google.protobuf.GoGoProtos.nullable);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.GoGoProtos.getDescriptor();
ibc.core.channel.v1.ChannelOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}