All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cosmos.tx.v1beta1.ServiceOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cosmos/tx/v1beta1/service.proto

package cosmos.tx.v1beta1;

public final class ServiceOuterClass {
  private ServiceOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * OrderBy defines the sorting order
   * 
* * Protobuf enum {@code cosmos.tx.v1beta1.OrderBy} */ public enum OrderBy implements com.google.protobuf.ProtocolMessageEnum { /** *
     * ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
     * 
* * ORDER_BY_UNSPECIFIED = 0; */ ORDER_BY_UNSPECIFIED(0), /** *
     * ORDER_BY_ASC defines ascending order
     * 
* * ORDER_BY_ASC = 1; */ ORDER_BY_ASC(1), /** *
     * ORDER_BY_DESC defines descending order
     * 
* * ORDER_BY_DESC = 2; */ ORDER_BY_DESC(2), UNRECOGNIZED(-1), ; /** *
     * ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
     * 
* * ORDER_BY_UNSPECIFIED = 0; */ public static final int ORDER_BY_UNSPECIFIED_VALUE = 0; /** *
     * ORDER_BY_ASC defines ascending order
     * 
* * ORDER_BY_ASC = 1; */ public static final int ORDER_BY_ASC_VALUE = 1; /** *
     * ORDER_BY_DESC defines descending order
     * 
* * ORDER_BY_DESC = 2; */ public static final int ORDER_BY_DESC_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OrderBy valueOf(int value) { return forNumber(value); } public static OrderBy forNumber(int value) { switch (value) { case 0: return ORDER_BY_UNSPECIFIED; case 1: return ORDER_BY_ASC; case 2: return ORDER_BY_DESC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< OrderBy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OrderBy findValueByNumber(int number) { return OrderBy.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.getDescriptor().getEnumTypes().get(0); } private static final OrderBy[] VALUES = values(); public static OrderBy valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private OrderBy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cosmos.tx.v1beta1.OrderBy) } /** *
   * BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
   * 
* * Protobuf enum {@code cosmos.tx.v1beta1.BroadcastMode} */ public enum BroadcastMode implements com.google.protobuf.ProtocolMessageEnum { /** *
     * zero-value for mode ordering
     * 
* * BROADCAST_MODE_UNSPECIFIED = 0; */ BROADCAST_MODE_UNSPECIFIED(0), /** *
     * BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
     * the tx to be committed in a block.
     * 
* * BROADCAST_MODE_BLOCK = 1; */ BROADCAST_MODE_BLOCK(1), /** *
     * BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
     * a CheckTx execution response only.
     * 
* * BROADCAST_MODE_SYNC = 2; */ BROADCAST_MODE_SYNC(2), /** *
     * BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
     * immediately.
     * 
* * BROADCAST_MODE_ASYNC = 3; */ BROADCAST_MODE_ASYNC(3), UNRECOGNIZED(-1), ; /** *
     * zero-value for mode ordering
     * 
* * BROADCAST_MODE_UNSPECIFIED = 0; */ public static final int BROADCAST_MODE_UNSPECIFIED_VALUE = 0; /** *
     * BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
     * the tx to be committed in a block.
     * 
* * BROADCAST_MODE_BLOCK = 1; */ public static final int BROADCAST_MODE_BLOCK_VALUE = 1; /** *
     * BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
     * a CheckTx execution response only.
     * 
* * BROADCAST_MODE_SYNC = 2; */ public static final int BROADCAST_MODE_SYNC_VALUE = 2; /** *
     * BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
     * immediately.
     * 
* * BROADCAST_MODE_ASYNC = 3; */ public static final int BROADCAST_MODE_ASYNC_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static BroadcastMode valueOf(int value) { return forNumber(value); } public static BroadcastMode forNumber(int value) { switch (value) { case 0: return BROADCAST_MODE_UNSPECIFIED; case 1: return BROADCAST_MODE_BLOCK; case 2: return BROADCAST_MODE_SYNC; case 3: return BROADCAST_MODE_ASYNC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< BroadcastMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public BroadcastMode findValueByNumber(int number) { return BroadcastMode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.getDescriptor().getEnumTypes().get(1); } private static final BroadcastMode[] VALUES = values(); public static BroadcastMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private BroadcastMode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cosmos.tx.v1beta1.BroadcastMode) } public interface GetTxsEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.GetTxsEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ java.util.List getEventsList(); /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ int getEventsCount(); /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ java.lang.String getEvents(int index); /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ com.google.protobuf.ByteString getEventsBytes(int index); /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ boolean hasPagination(); /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageRequest getPagination(); /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder(); /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ int getOrderByValue(); /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ cosmos.tx.v1beta1.ServiceOuterClass.OrderBy getOrderBy(); } /** *
   * GetTxsEventRequest is the request type for the Service.TxsByEvents
   * RPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxsEventRequest} */ public static final class GetTxsEventRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.GetTxsEventRequest) GetTxsEventRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetTxsEventRequest.newBuilder() to construct. private GetTxsEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTxsEventRequest() { events_ = com.google.protobuf.LazyStringArrayList.EMPTY; orderBy_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTxsEventRequest( 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(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { events_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } events_.add(s); break; } case 18: { cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } break; } case 24: { int rawValue = input.readEnum(); orderBy_ = rawValue; 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)) { events_ = events_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.Builder.class); } private int bitField0_; public static final int EVENTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList events_; /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ public com.google.protobuf.ProtocolStringList getEventsList() { return events_; } /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ public int getEventsCount() { return events_.size(); } /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ public java.lang.String getEvents(int index) { return events_.get(index); } /** *
     * events is the list of transaction event type.
     * 
* * repeated string events = 1; */ public com.google.protobuf.ByteString getEventsBytes(int index) { return events_.getByteString(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } /** *
     * pagination defines an pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { return getPagination(); } public static final int ORDER_BY_FIELD_NUMBER = 3; private int orderBy_; /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public int getOrderByValue() { return orderBy_; } /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public cosmos.tx.v1beta1.ServiceOuterClass.OrderBy getOrderBy() { @SuppressWarnings("deprecation") cosmos.tx.v1beta1.ServiceOuterClass.OrderBy result = cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.valueOf(orderBy_); return result == null ? cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < events_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, events_.getRaw(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } if (orderBy_ != cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.ORDER_BY_UNSPECIFIED.getNumber()) { output.writeEnum(3, orderBy_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < events_.size(); i++) { dataSize += computeStringSizeNoTag(events_.getRaw(i)); } size += dataSize; size += 1 * getEventsList().size(); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } if (orderBy_ != cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.ORDER_BY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, orderBy_); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest other = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest) obj; boolean result = true; result = result && getEventsList() .equals(other.getEventsList()); result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } result = result && orderBy_ == other.orderBy_; 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 (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + orderBy_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest 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(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest 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; } /** *
     * GetTxsEventRequest is the request type for the Service.TxsByEvents
     * RPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxsEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.GetTxsEventRequest) cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.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(); events_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } orderBy_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest build() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest result = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { events_ = events_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.events_ = events_; if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } result.orderBy_ = orderBy_; 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest.getDefaultInstance()) return this; if (!other.events_.isEmpty()) { if (events_.isEmpty()) { events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEventsIsMutable(); events_.addAll(other.events_); } onChanged(); } if (other.hasPagination()) { mergePagination(other.getPagination()); } if (other.orderBy_ != 0) { setOrderByValue(other.getOrderByValue()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList events_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { events_ = new com.google.protobuf.LazyStringArrayList(events_); bitField0_ |= 0x00000001; } } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public com.google.protobuf.ProtocolStringList getEventsList() { return events_.getUnmodifiableView(); } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public int getEventsCount() { return events_.size(); } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public java.lang.String getEvents(int index) { return events_.get(index); } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public com.google.protobuf.ByteString getEventsBytes(int index) { return events_.getByteString(index); } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public Builder setEvents( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.set(index, value); onChanged(); return this; } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public Builder addEvents( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); return this; } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public Builder addAllEvents( java.lang.Iterable values) { ensureEventsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, events_); onChanged(); return this; } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public Builder clearEvents() { events_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * events is the list of transaction event type.
       * 
* * repeated string events = 1; */ public Builder addEventsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEventsIsMutable(); events_.add(value); onChanged(); return this; } private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_; /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } } /** *
       * pagination defines an pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } private int orderBy_ = 0; /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public int getOrderByValue() { return orderBy_; } /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public Builder setOrderByValue(int value) { orderBy_ = value; onChanged(); return this; } /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public cosmos.tx.v1beta1.ServiceOuterClass.OrderBy getOrderBy() { @SuppressWarnings("deprecation") cosmos.tx.v1beta1.ServiceOuterClass.OrderBy result = cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.valueOf(orderBy_); return result == null ? cosmos.tx.v1beta1.ServiceOuterClass.OrderBy.UNRECOGNIZED : result; } /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public Builder setOrderBy(cosmos.tx.v1beta1.ServiceOuterClass.OrderBy value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value.getNumber(); onChanged(); return this; } /** * .cosmos.tx.v1beta1.OrderBy order_by = 3; */ public Builder clearOrderBy() { orderBy_ = 0; 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:cosmos.tx.v1beta1.GetTxsEventRequest) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.GetTxsEventRequest) private static final cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest(); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTxsEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTxsEventRequest(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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTxsEventResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.GetTxsEventResponse) com.google.protobuf.MessageOrBuilder { /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ java.util.List getTxsList(); /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ cosmos.tx.v1beta1.TxOuterClass.Tx getTxs(int index); /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ int getTxsCount(); /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ java.util.List getTxsOrBuilderList(); /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxsOrBuilder( int index); /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ java.util.List getTxResponsesList(); /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponses(int index); /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ int getTxResponsesCount(); /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ java.util.List getTxResponsesOrBuilderList(); /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponsesOrBuilder( int index); /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ boolean hasPagination(); /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ cosmos.base.query.v1beta1.Pagination.PageResponse getPagination(); /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder(); } /** *
   * GetTxsEventResponse is the response type for the Service.TxsByEvents
   * RPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxsEventResponse} */ public static final class GetTxsEventResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.GetTxsEventResponse) GetTxsEventResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTxsEventResponse.newBuilder() to construct. private GetTxsEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTxsEventResponse() { txs_ = java.util.Collections.emptyList(); txResponses_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTxsEventResponse( 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)) { txs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } txs_.add( input.readMessage(cosmos.tx.v1beta1.TxOuterClass.Tx.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { txResponses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } txResponses_.add( input.readMessage(cosmos.base.abci.v1beta1.Abci.TxResponse.parser(), extensionRegistry)); break; } case 26: { cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } 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)) { txs_ = java.util.Collections.unmodifiableList(txs_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { txResponses_ = java.util.Collections.unmodifiableList(txResponses_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.Builder.class); } private int bitField0_; public static final int TXS_FIELD_NUMBER = 1; private java.util.List txs_; /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public java.util.List getTxsList() { return txs_; } /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public java.util.List getTxsOrBuilderList() { return txs_; } /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public int getTxsCount() { return txs_.size(); } /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTxs(int index) { return txs_.get(index); } /** *
     * txs is the list of queried transactions.
     * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxsOrBuilder( int index) { return txs_.get(index); } public static final int TX_RESPONSES_FIELD_NUMBER = 2; private java.util.List txResponses_; /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public java.util.List getTxResponsesList() { return txResponses_; } /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public java.util.List getTxResponsesOrBuilderList() { return txResponses_; } /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public int getTxResponsesCount() { return txResponses_.size(); } /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponses(int index) { return txResponses_.get(index); } /** *
     * tx_responses is the list of queried TxResponses.
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponsesOrBuilder( int index) { return txResponses_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 3; private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } /** *
     * pagination defines an pagination for the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 < txs_.size(); i++) { output.writeMessage(1, txs_.get(i)); } for (int i = 0; i < txResponses_.size(); i++) { output.writeMessage(2, txResponses_.get(i)); } if (pagination_ != null) { output.writeMessage(3, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < txs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, txs_.get(i)); } for (int i = 0; i < txResponses_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, txResponses_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPagination()); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse other = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse) obj; boolean result = true; result = result && getTxsList() .equals(other.getTxsList()); result = result && getTxResponsesList() .equals(other.getTxResponsesList()); result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } 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 (getTxsCount() > 0) { hash = (37 * hash) + TXS_FIELD_NUMBER; hash = (53 * hash) + getTxsList().hashCode(); } if (getTxResponsesCount() > 0) { hash = (37 * hash) + TX_RESPONSES_FIELD_NUMBER; hash = (53 * hash) + getTxResponsesList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse 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(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse 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; } /** *
     * GetTxsEventResponse is the response type for the Service.TxsByEvents
     * RPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxsEventResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.GetTxsEventResponse) cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTxsFieldBuilder(); getTxResponsesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (txsBuilder_ == null) { txs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { txsBuilder_.clear(); } if (txResponsesBuilder_ == null) { txResponses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { txResponsesBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse build() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse result = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (txsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { txs_ = java.util.Collections.unmodifiableList(txs_); bitField0_ = (bitField0_ & ~0x00000001); } result.txs_ = txs_; } else { result.txs_ = txsBuilder_.build(); } if (txResponsesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { txResponses_ = java.util.Collections.unmodifiableList(txResponses_); bitField0_ = (bitField0_ & ~0x00000002); } result.txResponses_ = txResponses_; } else { result.txResponses_ = txResponsesBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse.getDefaultInstance()) return this; if (txsBuilder_ == null) { if (!other.txs_.isEmpty()) { if (txs_.isEmpty()) { txs_ = other.txs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTxsIsMutable(); txs_.addAll(other.txs_); } onChanged(); } } else { if (!other.txs_.isEmpty()) { if (txsBuilder_.isEmpty()) { txsBuilder_.dispose(); txsBuilder_ = null; txs_ = other.txs_; bitField0_ = (bitField0_ & ~0x00000001); txsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTxsFieldBuilder() : null; } else { txsBuilder_.addAllMessages(other.txs_); } } } if (txResponsesBuilder_ == null) { if (!other.txResponses_.isEmpty()) { if (txResponses_.isEmpty()) { txResponses_ = other.txResponses_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTxResponsesIsMutable(); txResponses_.addAll(other.txResponses_); } onChanged(); } } else { if (!other.txResponses_.isEmpty()) { if (txResponsesBuilder_.isEmpty()) { txResponsesBuilder_.dispose(); txResponsesBuilder_ = null; txResponses_ = other.txResponses_; bitField0_ = (bitField0_ & ~0x00000002); txResponsesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTxResponsesFieldBuilder() : null; } else { txResponsesBuilder_.addAllMessages(other.txResponses_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List txs_ = java.util.Collections.emptyList(); private void ensureTxsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { txs_ = new java.util.ArrayList(txs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> txsBuilder_; /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public java.util.List getTxsList() { if (txsBuilder_ == null) { return java.util.Collections.unmodifiableList(txs_); } else { return txsBuilder_.getMessageList(); } } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public int getTxsCount() { if (txsBuilder_ == null) { return txs_.size(); } else { return txsBuilder_.getCount(); } } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTxs(int index) { if (txsBuilder_ == null) { return txs_.get(index); } else { return txsBuilder_.getMessage(index); } } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder setTxs( int index, cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.set(index, value); onChanged(); } else { txsBuilder_.setMessage(index, value); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder setTxs( int index, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.set(index, builderForValue.build()); onChanged(); } else { txsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder addTxs(cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.add(value); onChanged(); } else { txsBuilder_.addMessage(value); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder addTxs( int index, cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.add(index, value); onChanged(); } else { txsBuilder_.addMessage(index, value); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder addTxs( cosmos.tx.v1beta1.TxOuterClass.Tx.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.add(builderForValue.build()); onChanged(); } else { txsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder addTxs( int index, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.add(index, builderForValue.build()); onChanged(); } else { txsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder addAllTxs( java.lang.Iterable values) { if (txsBuilder_ == null) { ensureTxsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, txs_); onChanged(); } else { txsBuilder_.addAllMessages(values); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder clearTxs() { if (txsBuilder_ == null) { txs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { txsBuilder_.clear(); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public Builder removeTxs(int index) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.remove(index); onChanged(); } else { txsBuilder_.remove(index); } return this; } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx.Builder getTxsBuilder( int index) { return getTxsFieldBuilder().getBuilder(index); } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxsOrBuilder( int index) { if (txsBuilder_ == null) { return txs_.get(index); } else { return txsBuilder_.getMessageOrBuilder(index); } } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public java.util.List getTxsOrBuilderList() { if (txsBuilder_ != null) { return txsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(txs_); } } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx.Builder addTxsBuilder() { return getTxsFieldBuilder().addBuilder( cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance()); } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx.Builder addTxsBuilder( int index) { return getTxsFieldBuilder().addBuilder( index, cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance()); } /** *
       * txs is the list of queried transactions.
       * 
* * repeated .cosmos.tx.v1beta1.Tx txs = 1; */ public java.util.List getTxsBuilderList() { return getTxsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> getTxsFieldBuilder() { if (txsBuilder_ == null) { txsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder>( txs_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); txs_ = null; } return txsBuilder_; } private java.util.List txResponses_ = java.util.Collections.emptyList(); private void ensureTxResponsesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { txResponses_ = new java.util.ArrayList(txResponses_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> txResponsesBuilder_; /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public java.util.List getTxResponsesList() { if (txResponsesBuilder_ == null) { return java.util.Collections.unmodifiableList(txResponses_); } else { return txResponsesBuilder_.getMessageList(); } } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public int getTxResponsesCount() { if (txResponsesBuilder_ == null) { return txResponses_.size(); } else { return txResponsesBuilder_.getCount(); } } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponses(int index) { if (txResponsesBuilder_ == null) { return txResponses_.get(index); } else { return txResponsesBuilder_.getMessage(index); } } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder setTxResponses( int index, cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxResponsesIsMutable(); txResponses_.set(index, value); onChanged(); } else { txResponsesBuilder_.setMessage(index, value); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder setTxResponses( int index, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txResponsesBuilder_ == null) { ensureTxResponsesIsMutable(); txResponses_.set(index, builderForValue.build()); onChanged(); } else { txResponsesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder addTxResponses(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxResponsesIsMutable(); txResponses_.add(value); onChanged(); } else { txResponsesBuilder_.addMessage(value); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder addTxResponses( int index, cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxResponsesIsMutable(); txResponses_.add(index, value); onChanged(); } else { txResponsesBuilder_.addMessage(index, value); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder addTxResponses( cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txResponsesBuilder_ == null) { ensureTxResponsesIsMutable(); txResponses_.add(builderForValue.build()); onChanged(); } else { txResponsesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder addTxResponses( int index, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txResponsesBuilder_ == null) { ensureTxResponsesIsMutable(); txResponses_.add(index, builderForValue.build()); onChanged(); } else { txResponsesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder addAllTxResponses( java.lang.Iterable values) { if (txResponsesBuilder_ == null) { ensureTxResponsesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, txResponses_); onChanged(); } else { txResponsesBuilder_.addAllMessages(values); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder clearTxResponses() { if (txResponsesBuilder_ == null) { txResponses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { txResponsesBuilder_.clear(); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public Builder removeTxResponses(int index) { if (txResponsesBuilder_ == null) { ensureTxResponsesIsMutable(); txResponses_.remove(index); onChanged(); } else { txResponsesBuilder_.remove(index); } return this; } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder getTxResponsesBuilder( int index) { return getTxResponsesFieldBuilder().getBuilder(index); } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponsesOrBuilder( int index) { if (txResponsesBuilder_ == null) { return txResponses_.get(index); } else { return txResponsesBuilder_.getMessageOrBuilder(index); } } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public java.util.List getTxResponsesOrBuilderList() { if (txResponsesBuilder_ != null) { return txResponsesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(txResponses_); } } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder addTxResponsesBuilder() { return getTxResponsesFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance()); } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder addTxResponsesBuilder( int index) { return getTxResponsesFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance()); } /** *
       * tx_responses is the list of queried TxResponses.
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; */ public java.util.List getTxResponsesBuilderList() { return getTxResponsesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> getTxResponsesFieldBuilder() { if (txResponsesBuilder_ == null) { txResponsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder>( txResponses_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); txResponses_ = null; } return txResponsesBuilder_; } private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_; /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } } /** *
       * pagination defines an pagination for the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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:cosmos.tx.v1beta1.GetTxsEventResponse) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.GetTxsEventResponse) private static final cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse(); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTxsEventResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTxsEventResponse(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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BroadcastTxRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.BroadcastTxRequest) com.google.protobuf.MessageOrBuilder { /** *
     * tx_bytes is the raw transaction.
     * 
* * bytes tx_bytes = 1; */ com.google.protobuf.ByteString getTxBytes(); /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ int getModeValue(); /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode getMode(); } /** *
   * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest
   * RPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.BroadcastTxRequest} */ public static final class BroadcastTxRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.BroadcastTxRequest) BroadcastTxRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BroadcastTxRequest.newBuilder() to construct. private BroadcastTxRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BroadcastTxRequest() { txBytes_ = com.google.protobuf.ByteString.EMPTY; mode_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BroadcastTxRequest( 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: { txBytes_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); mode_ = rawValue; 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.Builder.class); } public static final int TX_BYTES_FIELD_NUMBER = 1; private com.google.protobuf.ByteString txBytes_; /** *
     * tx_bytes is the raw transaction.
     * 
* * bytes tx_bytes = 1; */ public com.google.protobuf.ByteString getTxBytes() { return txBytes_; } public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public int getModeValue() { return mode_; } /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode getMode() { @SuppressWarnings("deprecation") cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode result = cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.valueOf(mode_); return result == null ? cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!txBytes_.isEmpty()) { output.writeBytes(1, txBytes_); } if (mode_ != cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.BROADCAST_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!txBytes_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, txBytes_); } if (mode_ != cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.BROADCAST_MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mode_); } 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest other = (cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest) obj; boolean result = true; result = result && getTxBytes() .equals(other.getTxBytes()); result = result && mode_ == other.mode_; 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) + TX_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTxBytes().hashCode(); hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest 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(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest 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; } /** *
     * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest
     * RPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.BroadcastTxRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.BroadcastTxRequest) cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.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(); txBytes_ = com.google.protobuf.ByteString.EMPTY; mode_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest build() { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest result = new cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest(this); result.txBytes_ = txBytes_; result.mode_ = mode_; 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest.getDefaultInstance()) return this; if (other.getTxBytes() != com.google.protobuf.ByteString.EMPTY) { setTxBytes(other.getTxBytes()); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString txBytes_ = com.google.protobuf.ByteString.EMPTY; /** *
       * tx_bytes is the raw transaction.
       * 
* * bytes tx_bytes = 1; */ public com.google.protobuf.ByteString getTxBytes() { return txBytes_; } /** *
       * tx_bytes is the raw transaction.
       * 
* * bytes tx_bytes = 1; */ public Builder setTxBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } txBytes_ = value; onChanged(); return this; } /** *
       * tx_bytes is the raw transaction.
       * 
* * bytes tx_bytes = 1; */ public Builder clearTxBytes() { txBytes_ = getDefaultInstance().getTxBytes(); onChanged(); return this; } private int mode_ = 0; /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public int getModeValue() { return mode_; } /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public Builder setModeValue(int value) { mode_ = value; onChanged(); return this; } /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode getMode() { @SuppressWarnings("deprecation") cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode result = cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.valueOf(mode_); return result == null ? cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode.UNRECOGNIZED : result; } /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public Builder setMode(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastMode value) { if (value == null) { throw new NullPointerException(); } mode_ = value.getNumber(); onChanged(); return this; } /** * .cosmos.tx.v1beta1.BroadcastMode mode = 2; */ public Builder clearMode() { mode_ = 0; 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:cosmos.tx.v1beta1.BroadcastTxRequest) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.BroadcastTxRequest) private static final cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest(); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BroadcastTxRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BroadcastTxRequest(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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BroadcastTxResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.BroadcastTxResponse) com.google.protobuf.MessageOrBuilder { /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ boolean hasTxResponse(); /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse(); /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder(); } /** *
   * BroadcastTxResponse is the response type for the
   * Service.BroadcastTx method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.BroadcastTxResponse} */ public static final class BroadcastTxResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.BroadcastTxResponse) BroadcastTxResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BroadcastTxResponse.newBuilder() to construct. private BroadcastTxResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BroadcastTxResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BroadcastTxResponse( 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: { cosmos.base.abci.v1beta1.Abci.TxResponse.Builder subBuilder = null; if (txResponse_ != null) { subBuilder = txResponse_.toBuilder(); } txResponse_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.TxResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txResponse_); txResponse_ = subBuilder.buildPartial(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.Builder.class); } public static final int TX_RESPONSE_FIELD_NUMBER = 1; private cosmos.base.abci.v1beta1.Abci.TxResponse txResponse_; /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public boolean hasTxResponse() { return txResponse_ != null; } /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse() { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder() { return getTxResponse(); } 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 (txResponse_ != null) { output.writeMessage(1, getTxResponse()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (txResponse_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTxResponse()); } 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse other = (cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse) obj; boolean result = true; result = result && (hasTxResponse() == other.hasTxResponse()); if (hasTxResponse()) { result = result && getTxResponse() .equals(other.getTxResponse()); } 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 (hasTxResponse()) { hash = (37 * hash) + TX_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getTxResponse().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse 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(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse 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; } /** *
     * BroadcastTxResponse is the response type for the
     * Service.BroadcastTx method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.BroadcastTxResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.BroadcastTxResponse) cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (txResponseBuilder_ == null) { txResponse_ = null; } else { txResponse_ = null; txResponseBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse build() { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse result = new cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse(this); if (txResponseBuilder_ == null) { result.txResponse_ = txResponse_; } else { result.txResponse_ = txResponseBuilder_.build(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse.getDefaultInstance()) return this; if (other.hasTxResponse()) { mergeTxResponse(other.getTxResponse()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.abci.v1beta1.Abci.TxResponse txResponse_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> txResponseBuilder_; /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public boolean hasTxResponse() { return txResponseBuilder_ != null || txResponse_ != null; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse() { if (txResponseBuilder_ == null) { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } else { return txResponseBuilder_.getMessage(); } } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public Builder setTxResponse(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txResponse_ = value; onChanged(); } else { txResponseBuilder_.setMessage(value); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public Builder setTxResponse( cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txResponseBuilder_ == null) { txResponse_ = builderForValue.build(); onChanged(); } else { txResponseBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public Builder mergeTxResponse(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponseBuilder_ == null) { if (txResponse_ != null) { txResponse_ = cosmos.base.abci.v1beta1.Abci.TxResponse.newBuilder(txResponse_).mergeFrom(value).buildPartial(); } else { txResponse_ = value; } onChanged(); } else { txResponseBuilder_.mergeFrom(value); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public Builder clearTxResponse() { if (txResponseBuilder_ == null) { txResponse_ = null; onChanged(); } else { txResponse_ = null; txResponseBuilder_ = null; } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder getTxResponseBuilder() { onChanged(); return getTxResponseFieldBuilder().getBuilder(); } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder() { if (txResponseBuilder_ != null) { return txResponseBuilder_.getMessageOrBuilder(); } else { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> getTxResponseFieldBuilder() { if (txResponseBuilder_ == null) { txResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder>( getTxResponse(), getParentForChildren(), isClean()); txResponse_ = null; } return txResponseBuilder_; } @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:cosmos.tx.v1beta1.BroadcastTxResponse) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.BroadcastTxResponse) private static final cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse(); } public static cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BroadcastTxResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BroadcastTxResponse(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 cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SimulateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.SimulateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ boolean hasTx(); /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ cosmos.tx.v1beta1.TxOuterClass.Tx getTx(); /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder(); } /** *
   * SimulateRequest is the request type for the Service.Simulate
   * RPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.SimulateRequest} */ public static final class SimulateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.SimulateRequest) SimulateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SimulateRequest.newBuilder() to construct. private SimulateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SimulateRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SimulateRequest( 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: { cosmos.tx.v1beta1.TxOuterClass.Tx.Builder subBuilder = null; if (tx_ != null) { subBuilder = tx_.toBuilder(); } tx_ = input.readMessage(cosmos.tx.v1beta1.TxOuterClass.Tx.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.Builder.class); } public static final int TX_FIELD_NUMBER = 1; private cosmos.tx.v1beta1.TxOuterClass.Tx tx_; /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public boolean hasTx() { return tx_ != null; } /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTx() { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } /** *
     * tx is the transaction to simulate.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder() { return getTx(); } 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 (tx_ != null) { output.writeMessage(1, getTx()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tx_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTx()); } 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest other = (cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest) obj; boolean result = true; result = result && (hasTx() == other.hasTx()); if (hasTx()) { result = result && getTx() .equals(other.getTx()); } 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 (hasTx()) { hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest 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(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest 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; } /** *
     * SimulateRequest is the request type for the Service.Simulate
     * RPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.SimulateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.SimulateRequest) cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (txBuilder_ == null) { tx_ = null; } else { tx_ = null; txBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest build() { cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest result = new cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest(this); if (txBuilder_ == null) { result.tx_ = tx_; } else { result.tx_ = txBuilder_.build(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest.getDefaultInstance()) return this; if (other.hasTx()) { mergeTx(other.getTx()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.tx.v1beta1.TxOuterClass.Tx tx_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> txBuilder_; /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public boolean hasTx() { return txBuilder_ != null || tx_ != null; } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTx() { if (txBuilder_ == null) { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } else { return txBuilder_.getMessage(); } } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder setTx(cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); } else { txBuilder_.setMessage(value); } return this; } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder setTx( cosmos.tx.v1beta1.TxOuterClass.Tx.Builder builderForValue) { if (txBuilder_ == null) { tx_ = builderForValue.build(); onChanged(); } else { txBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder mergeTx(cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = cosmos.tx.v1beta1.TxOuterClass.Tx.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder clearTx() { if (txBuilder_ == null) { tx_ = null; onChanged(); } else { tx_ = null; txBuilder_ = null; } return this; } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx.Builder getTxBuilder() { onChanged(); return getTxFieldBuilder().getBuilder(); } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder() { if (txBuilder_ != null) { return txBuilder_.getMessageOrBuilder(); } else { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } } /** *
       * tx is the transaction to simulate.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; } @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:cosmos.tx.v1beta1.SimulateRequest) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.SimulateRequest) private static final cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest(); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SimulateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SimulateRequest(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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SimulateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.SimulateResponse) com.google.protobuf.MessageOrBuilder { /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ boolean hasGasInfo(); /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo(); /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder(); /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ boolean hasResult(); /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ cosmos.base.abci.v1beta1.Abci.Result getResult(); /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ cosmos.base.abci.v1beta1.Abci.ResultOrBuilder getResultOrBuilder(); } /** *
   * SimulateResponse is the response type for the
   * Service.SimulateRPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.SimulateResponse} */ public static final class SimulateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.SimulateResponse) SimulateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SimulateResponse.newBuilder() to construct. private SimulateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SimulateResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SimulateResponse( 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: { cosmos.base.abci.v1beta1.Abci.GasInfo.Builder subBuilder = null; if (gasInfo_ != null) { subBuilder = gasInfo_.toBuilder(); } gasInfo_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.GasInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gasInfo_); gasInfo_ = subBuilder.buildPartial(); } break; } case 18: { cosmos.base.abci.v1beta1.Abci.Result.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.Result.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.Builder.class); } public static final int GAS_INFO_FIELD_NUMBER = 1; private cosmos.base.abci.v1beta1.Abci.GasInfo gasInfo_; /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public boolean hasGasInfo() { return gasInfo_ != null; } /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo() { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } /** *
     * gas_info is the information about gas used in the simulation.
     * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder() { return getGasInfo(); } public static final int RESULT_FIELD_NUMBER = 2; private cosmos.base.abci.v1beta1.Abci.Result result_; /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public boolean hasResult() { return result_ != null; } /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result getResult() { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } /** *
     * result is the result of the simulation.
     * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.ResultOrBuilder getResultOrBuilder() { return getResult(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (gasInfo_ != null) { output.writeMessage(1, getGasInfo()); } if (result_ != null) { output.writeMessage(2, getResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (gasInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getGasInfo()); } if (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse other = (cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse) obj; boolean result = true; result = result && (hasGasInfo() == other.hasGasInfo()); if (hasGasInfo()) { result = result && getGasInfo() .equals(other.getGasInfo()); } result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } 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 (hasGasInfo()) { hash = (37 * hash) + GAS_INFO_FIELD_NUMBER; hash = (53 * hash) + getGasInfo().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse 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(cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse 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; } /** *
     * SimulateResponse is the response type for the
     * Service.SimulateRPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.SimulateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.SimulateResponse) cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (gasInfoBuilder_ == null) { gasInfo_ = null; } else { gasInfo_ = null; gasInfoBuilder_ = null; } if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse build() { cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse result = new cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse(this); if (gasInfoBuilder_ == null) { result.gasInfo_ = gasInfo_; } else { result.gasInfo_ = gasInfoBuilder_.build(); } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse.getDefaultInstance()) return this; if (other.hasGasInfo()) { mergeGasInfo(other.getGasInfo()); } if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.abci.v1beta1.Abci.GasInfo gasInfo_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder> gasInfoBuilder_; /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public boolean hasGasInfo() { return gasInfoBuilder_ != null || gasInfo_ != null; } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo() { if (gasInfoBuilder_ == null) { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } else { return gasInfoBuilder_.getMessage(); } } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public Builder setGasInfo(cosmos.base.abci.v1beta1.Abci.GasInfo value) { if (gasInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gasInfo_ = value; onChanged(); } else { gasInfoBuilder_.setMessage(value); } return this; } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public Builder setGasInfo( cosmos.base.abci.v1beta1.Abci.GasInfo.Builder builderForValue) { if (gasInfoBuilder_ == null) { gasInfo_ = builderForValue.build(); onChanged(); } else { gasInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public Builder mergeGasInfo(cosmos.base.abci.v1beta1.Abci.GasInfo value) { if (gasInfoBuilder_ == null) { if (gasInfo_ != null) { gasInfo_ = cosmos.base.abci.v1beta1.Abci.GasInfo.newBuilder(gasInfo_).mergeFrom(value).buildPartial(); } else { gasInfo_ = value; } onChanged(); } else { gasInfoBuilder_.mergeFrom(value); } return this; } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public Builder clearGasInfo() { if (gasInfoBuilder_ == null) { gasInfo_ = null; onChanged(); } else { gasInfo_ = null; gasInfoBuilder_ = null; } return this; } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public cosmos.base.abci.v1beta1.Abci.GasInfo.Builder getGasInfoBuilder() { onChanged(); return getGasInfoFieldBuilder().getBuilder(); } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ public cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder() { if (gasInfoBuilder_ != null) { return gasInfoBuilder_.getMessageOrBuilder(); } else { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } } /** *
       * gas_info is the information about gas used in the simulation.
       * 
* * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder> getGasInfoFieldBuilder() { if (gasInfoBuilder_ == null) { gasInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder>( getGasInfo(), getParentForChildren(), isClean()); gasInfo_ = null; } return gasInfoBuilder_; } private cosmos.base.abci.v1beta1.Abci.Result result_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder> resultBuilder_; /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result getResult() { if (resultBuilder_ == null) { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder setResult(cosmos.base.abci.v1beta1.Abci.Result value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder setResult( cosmos.base.abci.v1beta1.Abci.Result.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder mergeResult(cosmos.base.abci.v1beta1.Abci.Result value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = cosmos.base.abci.v1beta1.Abci.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.ResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } } /** *
       * result is the result of the simulation.
       * 
* * .cosmos.base.abci.v1beta1.Result result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } @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:cosmos.tx.v1beta1.SimulateResponse) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.SimulateResponse) private static final cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse(); } public static cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SimulateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SimulateResponse(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 cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTxRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.GetTxRequest) com.google.protobuf.MessageOrBuilder { /** *
     * hash is the tx hash to query, encoded as a hex string.
     * 
* * string hash = 1; */ java.lang.String getHash(); /** *
     * hash is the tx hash to query, encoded as a hex string.
     * 
* * string hash = 1; */ com.google.protobuf.ByteString getHashBytes(); } /** *
   * GetTxRequest is the request type for the Service.GetTx
   * RPC method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxRequest} */ public static final class GetTxRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.GetTxRequest) GetTxRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetTxRequest.newBuilder() to construct. private GetTxRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTxRequest() { hash_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTxRequest( 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(); hash_ = s; 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.Builder.class); } public static final int HASH_FIELD_NUMBER = 1; private volatile java.lang.Object hash_; /** *
     * hash is the tx hash to query, encoded as a hex string.
     * 
* * string hash = 1; */ public java.lang.String getHash() { java.lang.Object ref = hash_; 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(); hash_ = s; return s; } } /** *
     * hash is the tx hash to query, encoded as a hex string.
     * 
* * string hash = 1; */ public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getHashBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getHashBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hash_); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest other = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest) obj; boolean result = true; result = result && getHash() .equals(other.getHash()); 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) + HASH_FIELD_NUMBER; hash = (53 * hash) + getHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest 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(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest 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; } /** *
     * GetTxRequest is the request type for the Service.GetTx
     * RPC method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.GetTxRequest) cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.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(); hash_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest build() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest result = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest(this); result.hash_ = hash_; 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest.getDefaultInstance()) return this; if (!other.getHash().isEmpty()) { hash_ = other.hash_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object hash_ = ""; /** *
       * hash is the tx hash to query, encoded as a hex string.
       * 
* * string hash = 1; */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * hash is the tx hash to query, encoded as a hex string.
       * 
* * string hash = 1; */ public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * hash is the tx hash to query, encoded as a hex string.
       * 
* * string hash = 1; */ public Builder setHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } hash_ = value; onChanged(); return this; } /** *
       * hash is the tx hash to query, encoded as a hex string.
       * 
* * string hash = 1; */ public Builder clearHash() { hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** *
       * hash is the tx hash to query, encoded as a hex string.
       * 
* * string hash = 1; */ public Builder setHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hash_ = value; 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:cosmos.tx.v1beta1.GetTxRequest) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.GetTxRequest) private static final cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest(); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTxRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTxRequest(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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTxResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.tx.v1beta1.GetTxResponse) com.google.protobuf.MessageOrBuilder { /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ boolean hasTx(); /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ cosmos.tx.v1beta1.TxOuterClass.Tx getTx(); /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder(); /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ boolean hasTxResponse(); /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse(); /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder(); } /** *
   * GetTxResponse is the response type for the Service.GetTx method.
   * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxResponse} */ public static final class GetTxResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.tx.v1beta1.GetTxResponse) GetTxResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTxResponse.newBuilder() to construct. private GetTxResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTxResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTxResponse( 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: { cosmos.tx.v1beta1.TxOuterClass.Tx.Builder subBuilder = null; if (tx_ != null) { subBuilder = tx_.toBuilder(); } tx_ = input.readMessage(cosmos.tx.v1beta1.TxOuterClass.Tx.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial(); } break; } case 18: { cosmos.base.abci.v1beta1.Abci.TxResponse.Builder subBuilder = null; if (txResponse_ != null) { subBuilder = txResponse_.toBuilder(); } txResponse_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.TxResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txResponse_); txResponse_ = subBuilder.buildPartial(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.Builder.class); } public static final int TX_FIELD_NUMBER = 1; private cosmos.tx.v1beta1.TxOuterClass.Tx tx_; /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public boolean hasTx() { return tx_ != null; } /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTx() { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } /** *
     * tx is the queried transaction.
     * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder() { return getTx(); } public static final int TX_RESPONSE_FIELD_NUMBER = 2; private cosmos.base.abci.v1beta1.Abci.TxResponse txResponse_; /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public boolean hasTxResponse() { return txResponse_ != null; } /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse() { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } /** *
     * tx_response is the queried TxResponses.
     * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder() { return getTxResponse(); } 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 (tx_ != null) { output.writeMessage(1, getTx()); } if (txResponse_ != null) { output.writeMessage(2, getTxResponse()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tx_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTx()); } if (txResponse_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxResponse()); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse)) { return super.equals(obj); } cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse other = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse) obj; boolean result = true; result = result && (hasTx() == other.hasTx()); if (hasTx()) { result = result && getTx() .equals(other.getTx()); } result = result && (hasTxResponse() == other.hasTxResponse()); if (hasTxResponse()) { result = result && getTxResponse() .equals(other.getTxResponse()); } 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 (hasTx()) { hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); } if (hasTxResponse()) { hash = (37 * hash) + TX_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getTxResponse().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse 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(cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse 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; } /** *
     * GetTxResponse is the response type for the Service.GetTx method.
     * 
* * Protobuf type {@code cosmos.tx.v1beta1.GetTxResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.tx.v1beta1.GetTxResponse) cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.class, cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.Builder.class); } // Construct using cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (txBuilder_ == null) { tx_ = null; } else { tx_ = null; txBuilder_ = null; } if (txResponseBuilder_ == null) { txResponse_ = null; } else { txResponse_ = null; txResponseBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.tx.v1beta1.ServiceOuterClass.internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse getDefaultInstanceForType() { return cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.getDefaultInstance(); } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse build() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse buildPartial() { cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse result = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse(this); if (txBuilder_ == null) { result.tx_ = tx_; } else { result.tx_ = txBuilder_.build(); } if (txResponseBuilder_ == null) { result.txResponse_ = txResponse_; } else { result.txResponse_ = txResponseBuilder_.build(); } 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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse) { return mergeFrom((cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse other) { if (other == cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse.getDefaultInstance()) return this; if (other.hasTx()) { mergeTx(other.getTx()); } if (other.hasTxResponse()) { mergeTxResponse(other.getTxResponse()); } 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 { cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.tx.v1beta1.TxOuterClass.Tx tx_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> txBuilder_; /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public boolean hasTx() { return txBuilder_ != null || tx_ != null; } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx getTx() { if (txBuilder_ == null) { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } else { return txBuilder_.getMessage(); } } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder setTx(cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); } else { txBuilder_.setMessage(value); } return this; } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder setTx( cosmos.tx.v1beta1.TxOuterClass.Tx.Builder builderForValue) { if (txBuilder_ == null) { tx_ = builderForValue.build(); onChanged(); } else { txBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder mergeTx(cosmos.tx.v1beta1.TxOuterClass.Tx value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = cosmos.tx.v1beta1.TxOuterClass.Tx.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public Builder clearTx() { if (txBuilder_ == null) { tx_ = null; onChanged(); } else { tx_ = null; txBuilder_ = null; } return this; } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.Tx.Builder getTxBuilder() { onChanged(); return getTxFieldBuilder().getBuilder(); } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ public cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder getTxOrBuilder() { if (txBuilder_ != null) { return txBuilder_.getMessageOrBuilder(); } else { return tx_ == null ? cosmos.tx.v1beta1.TxOuterClass.Tx.getDefaultInstance() : tx_; } } /** *
       * tx is the queried transaction.
       * 
* * .cosmos.tx.v1beta1.Tx tx = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.tx.v1beta1.TxOuterClass.Tx, cosmos.tx.v1beta1.TxOuterClass.Tx.Builder, cosmos.tx.v1beta1.TxOuterClass.TxOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; } private cosmos.base.abci.v1beta1.Abci.TxResponse txResponse_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> txResponseBuilder_; /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public boolean hasTxResponse() { return txResponseBuilder_ != null || txResponse_ != null; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxResponse() { if (txResponseBuilder_ == null) { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } else { return txResponseBuilder_.getMessage(); } } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public Builder setTxResponse(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txResponse_ = value; onChanged(); } else { txResponseBuilder_.setMessage(value); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public Builder setTxResponse( cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txResponseBuilder_ == null) { txResponse_ = builderForValue.build(); onChanged(); } else { txResponseBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public Builder mergeTxResponse(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txResponseBuilder_ == null) { if (txResponse_ != null) { txResponse_ = cosmos.base.abci.v1beta1.Abci.TxResponse.newBuilder(txResponse_).mergeFrom(value).buildPartial(); } else { txResponse_ = value; } onChanged(); } else { txResponseBuilder_.mergeFrom(value); } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public Builder clearTxResponse() { if (txResponseBuilder_ == null) { txResponse_ = null; onChanged(); } else { txResponse_ = null; txResponseBuilder_ = null; } return this; } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder getTxResponseBuilder() { onChanged(); return getTxResponseFieldBuilder().getBuilder(); } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxResponseOrBuilder() { if (txResponseBuilder_ != null) { return txResponseBuilder_.getMessageOrBuilder(); } else { return txResponse_ == null ? cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance() : txResponse_; } } /** *
       * tx_response is the queried TxResponses.
       * 
* * .cosmos.base.abci.v1beta1.TxResponse tx_response = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> getTxResponseFieldBuilder() { if (txResponseBuilder_ == null) { txResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder>( getTxResponse(), getParentForChildren(), isClean()); txResponse_ = null; } return txResponseBuilder_; } @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:cosmos.tx.v1beta1.GetTxResponse) } // @@protoc_insertion_point(class_scope:cosmos.tx.v1beta1.GetTxResponse) private static final cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse(); } public static cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTxResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTxResponse(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 cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_SimulateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_SimulateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_GetTxRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_tx_v1beta1_GetTxResponse_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\037cosmos/tx/v1beta1/service.proto\022\021cosmo" + "s.tx.v1beta1\032\034google/api/annotations.pro" + "to\032#cosmos/base/abci/v1beta1/abci.proto\032" + "\032cosmos/tx/v1beta1/tx.proto\032\024gogoproto/g" + "ogo.proto\032*cosmos/base/query/v1beta1/pag" + "ination.proto\"\216\001\n\022GetTxsEventRequest\022\016\n\006" + "events\030\001 \003(\t\022:\n\npagination\030\002 \001(\0132&.cosmo" + "s.base.query.v1beta1.PageRequest\022,\n\010orde" + "r_by\030\003 \001(\0162\032.cosmos.tx.v1beta1.OrderBy\"\262" + "\001\n\023GetTxsEventResponse\022\"\n\003txs\030\001 \003(\0132\025.co" + "smos.tx.v1beta1.Tx\022:\n\014tx_responses\030\002 \003(\013" + "2$.cosmos.base.abci.v1beta1.TxResponse\022;" + "\n\npagination\030\003 \001(\0132\'.cosmos.base.query.v" + "1beta1.PageResponse\"V\n\022BroadcastTxReques" + "t\022\020\n\010tx_bytes\030\001 \001(\014\022.\n\004mode\030\002 \001(\0162 .cosm" + "os.tx.v1beta1.BroadcastMode\"P\n\023Broadcast" + "TxResponse\0229\n\013tx_response\030\001 \001(\0132$.cosmos" + ".base.abci.v1beta1.TxResponse\"4\n\017Simulat" + "eRequest\022!\n\002tx\030\001 \001(\0132\025.cosmos.tx.v1beta1" + ".Tx\"y\n\020SimulateResponse\0223\n\010gas_info\030\001 \001(" + "\0132!.cosmos.base.abci.v1beta1.GasInfo\0220\n\006" + "result\030\002 \001(\0132 .cosmos.base.abci.v1beta1." + "Result\"\034\n\014GetTxRequest\022\014\n\004hash\030\001 \001(\t\"m\n\r" + "GetTxResponse\022!\n\002tx\030\001 \001(\0132\025.cosmos.tx.v1" + "beta1.Tx\0229\n\013tx_response\030\002 \001(\0132$.cosmos.b" + "ase.abci.v1beta1.TxResponse*H\n\007OrderBy\022\030" + "\n\024ORDER_BY_UNSPECIFIED\020\000\022\020\n\014ORDER_BY_ASC" + "\020\001\022\021\n\rORDER_BY_DESC\020\002*|\n\rBroadcastMode\022\036" + "\n\032BROADCAST_MODE_UNSPECIFIED\020\000\022\030\n\024BROADC" + "AST_MODE_BLOCK\020\001\022\027\n\023BROADCAST_MODE_SYNC\020" + "\002\022\030\n\024BROADCAST_MODE_ASYNC\020\0032\370\003\n\007Service\022" + "{\n\010Simulate\022\".cosmos.tx.v1beta1.Simulate" + "Request\032#.cosmos.tx.v1beta1.SimulateResp" + "onse\"&\202\323\344\223\002 \"\033/cosmos/tx/v1beta1/simulat" + "e:\001*\022q\n\005GetTx\022\037.cosmos.tx.v1beta1.GetTxR" + "equest\032 .cosmos.tx.v1beta1.GetTxResponse" + "\"%\202\323\344\223\002\037\022\035/cosmos/tx/v1beta1/txs/{hash}\022" + "\177\n\013BroadcastTx\022%.cosmos.tx.v1beta1.Broad" + "castTxRequest\032&.cosmos.tx.v1beta1.Broadc" + "astTxResponse\"!\202\323\344\223\002\033\"\026/cosmos/tx/v1beta" + "1/txs:\001*\022|\n\013GetTxsEvent\022%.cosmos.tx.v1be" + "ta1.GetTxsEventRequest\032&.cosmos.tx.v1bet" + "a1.GetTxsEventResponse\"\036\202\323\344\223\002\030\022\026/cosmos/" + "tx/v1beta1/txsB+Z%github.com/cosmos/cosm" + "os-sdk/types/tx\300\343\036\001b\006proto3" }; 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.api.AnnotationsProto.getDescriptor(), cosmos.base.abci.v1beta1.Abci.getDescriptor(), cosmos.tx.v1beta1.TxOuterClass.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), cosmos.base.query.v1beta1.Pagination.getDescriptor(), }, assigner); internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_GetTxsEventRequest_descriptor, new java.lang.String[] { "Events", "Pagination", "OrderBy", }); internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_GetTxsEventResponse_descriptor, new java.lang.String[] { "Txs", "TxResponses", "Pagination", }); internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_BroadcastTxRequest_descriptor, new java.lang.String[] { "TxBytes", "Mode", }); internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_BroadcastTxResponse_descriptor, new java.lang.String[] { "TxResponse", }); internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cosmos_tx_v1beta1_SimulateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_SimulateRequest_descriptor, new java.lang.String[] { "Tx", }); internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cosmos_tx_v1beta1_SimulateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_SimulateResponse_descriptor, new java.lang.String[] { "GasInfo", "Result", }); internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cosmos_tx_v1beta1_GetTxRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_GetTxRequest_descriptor, new java.lang.String[] { "Hash", }); internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cosmos_tx_v1beta1_GetTxResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_tx_v1beta1_GetTxResponse_descriptor, new java.lang.String[] { "Tx", "TxResponse", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.goprotoRegistration); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); cosmos.base.abci.v1beta1.Abci.getDescriptor(); cosmos.tx.v1beta1.TxOuterClass.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); cosmos.base.query.v1beta1.Pagination.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy