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

cosmos.vesting.v1beta1.Vesting Maven / Gradle / Ivy

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

package cosmos.vesting.v1beta1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface BaseVestingAccountOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cosmos.vesting.v1beta1.BaseVestingAccount)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true];
     */
    boolean hasBaseAccount();
    /**
     * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true];
     */
    cosmos.auth.v1beta1.Auth.BaseAccount getBaseAccount();
    /**
     * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true];
     */
    cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder getBaseAccountOrBuilder();

    /**
     * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getOriginalVestingList();
    /**
     * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.Coin getOriginalVesting(int index);
    /**
     * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    int getOriginalVestingCount();
    /**
     * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getOriginalVestingOrBuilderList();
    /**
     * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getOriginalVestingOrBuilder(
        int index);

    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getDelegatedFreeList();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedFree(int index);
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    int getDelegatedFreeCount();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getDelegatedFreeOrBuilderList();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedFreeOrBuilder(
        int index);

    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getDelegatedVestingList();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedVesting(int index);
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    int getDelegatedVestingCount();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    java.util.List 
        getDelegatedVestingOrBuilderList();
    /**
     * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
     */
    cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedVestingOrBuilder(
        int index);

    /**
     * int64 end_time = 5 [(.gogoproto.moretags) = "yaml:\"end_time\""];
     */
    long getEndTime();
  }
  /**
   * 
   * BaseVestingAccount implements the VestingAccount interface. It contains all
   * the necessary fields needed for any vesting account implementation.
   * 
* * Protobuf type {@code cosmos.vesting.v1beta1.BaseVestingAccount} */ public static final class BaseVestingAccount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.vesting.v1beta1.BaseVestingAccount) BaseVestingAccountOrBuilder { private static final long serialVersionUID = 0L; // Use BaseVestingAccount.newBuilder() to construct. private BaseVestingAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BaseVestingAccount() { originalVesting_ = java.util.Collections.emptyList(); delegatedFree_ = java.util.Collections.emptyList(); delegatedVesting_ = java.util.Collections.emptyList(); endTime_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BaseVestingAccount( 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.auth.v1beta1.Auth.BaseAccount.Builder subBuilder = null; if (baseAccount_ != null) { subBuilder = baseAccount_.toBuilder(); } baseAccount_ = input.readMessage(cosmos.auth.v1beta1.Auth.BaseAccount.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseAccount_); baseAccount_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { originalVesting_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } originalVesting_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { delegatedFree_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } delegatedFree_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { delegatedVesting_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } delegatedVesting_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry)); break; } case 40: { endTime_ = input.readInt64(); 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_ & 0x00000002) == 0x00000002)) { originalVesting_ = java.util.Collections.unmodifiableList(originalVesting_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { delegatedFree_ = java.util.Collections.unmodifiableList(delegatedFree_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { delegatedVesting_ = java.util.Collections.unmodifiableList(delegatedVesting_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.class, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder.class); } private int bitField0_; public static final int BASE_ACCOUNT_FIELD_NUMBER = 1; private cosmos.auth.v1beta1.Auth.BaseAccount baseAccount_; /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseAccount() { return baseAccount_ != null; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.auth.v1beta1.Auth.BaseAccount getBaseAccount() { return baseAccount_ == null ? cosmos.auth.v1beta1.Auth.BaseAccount.getDefaultInstance() : baseAccount_; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder getBaseAccountOrBuilder() { return getBaseAccount(); } public static final int ORIGINAL_VESTING_FIELD_NUMBER = 2; private java.util.List originalVesting_; /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getOriginalVestingList() { return originalVesting_; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getOriginalVestingOrBuilderList() { return originalVesting_; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getOriginalVestingCount() { return originalVesting_.size(); } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getOriginalVesting(int index) { return originalVesting_.get(index); } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getOriginalVestingOrBuilder( int index) { return originalVesting_.get(index); } public static final int DELEGATED_FREE_FIELD_NUMBER = 3; private java.util.List delegatedFree_; /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedFreeList() { return delegatedFree_; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedFreeOrBuilderList() { return delegatedFree_; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getDelegatedFreeCount() { return delegatedFree_.size(); } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedFree(int index) { return delegatedFree_.get(index); } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedFreeOrBuilder( int index) { return delegatedFree_.get(index); } public static final int DELEGATED_VESTING_FIELD_NUMBER = 4; private java.util.List delegatedVesting_; /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedVestingList() { return delegatedVesting_; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedVestingOrBuilderList() { return delegatedVesting_; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getDelegatedVestingCount() { return delegatedVesting_.size(); } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedVesting(int index) { return delegatedVesting_.get(index); } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedVestingOrBuilder( int index) { return delegatedVesting_.get(index); } public static final int END_TIME_FIELD_NUMBER = 5; private long endTime_; /** * int64 end_time = 5 [(.gogoproto.moretags) = "yaml:\"end_time\""]; */ public long getEndTime() { return endTime_; } 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 (baseAccount_ != null) { output.writeMessage(1, getBaseAccount()); } for (int i = 0; i < originalVesting_.size(); i++) { output.writeMessage(2, originalVesting_.get(i)); } for (int i = 0; i < delegatedFree_.size(); i++) { output.writeMessage(3, delegatedFree_.get(i)); } for (int i = 0; i < delegatedVesting_.size(); i++) { output.writeMessage(4, delegatedVesting_.get(i)); } if (endTime_ != 0L) { output.writeInt64(5, endTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (baseAccount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseAccount()); } for (int i = 0; i < originalVesting_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, originalVesting_.get(i)); } for (int i = 0; i < delegatedFree_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, delegatedFree_.get(i)); } for (int i = 0; i < delegatedVesting_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, delegatedVesting_.get(i)); } if (endTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, endTime_); } 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.vesting.v1beta1.Vesting.BaseVestingAccount)) { return super.equals(obj); } cosmos.vesting.v1beta1.Vesting.BaseVestingAccount other = (cosmos.vesting.v1beta1.Vesting.BaseVestingAccount) obj; boolean result = true; result = result && (hasBaseAccount() == other.hasBaseAccount()); if (hasBaseAccount()) { result = result && getBaseAccount() .equals(other.getBaseAccount()); } result = result && getOriginalVestingList() .equals(other.getOriginalVestingList()); result = result && getDelegatedFreeList() .equals(other.getDelegatedFreeList()); result = result && getDelegatedVestingList() .equals(other.getDelegatedVestingList()); result = result && (getEndTime() == other.getEndTime()); 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 (hasBaseAccount()) { hash = (37 * hash) + BASE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getBaseAccount().hashCode(); } if (getOriginalVestingCount() > 0) { hash = (37 * hash) + ORIGINAL_VESTING_FIELD_NUMBER; hash = (53 * hash) + getOriginalVestingList().hashCode(); } if (getDelegatedFreeCount() > 0) { hash = (37 * hash) + DELEGATED_FREE_FIELD_NUMBER; hash = (53 * hash) + getDelegatedFreeList().hashCode(); } if (getDelegatedVestingCount() > 0) { hash = (37 * hash) + DELEGATED_VESTING_FIELD_NUMBER; hash = (53 * hash) + getDelegatedVestingList().hashCode(); } hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount 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.vesting.v1beta1.Vesting.BaseVestingAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount 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.vesting.v1beta1.Vesting.BaseVestingAccount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount 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.vesting.v1beta1.Vesting.BaseVestingAccount 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; } /** *
     * BaseVestingAccount implements the VestingAccount interface. It contains all
     * the necessary fields needed for any vesting account implementation.
     * 
* * Protobuf type {@code cosmos.vesting.v1beta1.BaseVestingAccount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.vesting.v1beta1.BaseVestingAccount) cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.class, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder.class); } // Construct using cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOriginalVestingFieldBuilder(); getDelegatedFreeFieldBuilder(); getDelegatedVestingFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseAccountBuilder_ == null) { baseAccount_ = null; } else { baseAccount_ = null; baseAccountBuilder_ = null; } if (originalVestingBuilder_ == null) { originalVesting_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { originalVestingBuilder_.clear(); } if (delegatedFreeBuilder_ == null) { delegatedFree_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { delegatedFreeBuilder_.clear(); } if (delegatedVestingBuilder_ == null) { delegatedVesting_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { delegatedVestingBuilder_.clear(); } endTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getDefaultInstanceForType() { return cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance(); } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount build() { cosmos.vesting.v1beta1.Vesting.BaseVestingAccount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount buildPartial() { cosmos.vesting.v1beta1.Vesting.BaseVestingAccount result = new cosmos.vesting.v1beta1.Vesting.BaseVestingAccount(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (baseAccountBuilder_ == null) { result.baseAccount_ = baseAccount_; } else { result.baseAccount_ = baseAccountBuilder_.build(); } if (originalVestingBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { originalVesting_ = java.util.Collections.unmodifiableList(originalVesting_); bitField0_ = (bitField0_ & ~0x00000002); } result.originalVesting_ = originalVesting_; } else { result.originalVesting_ = originalVestingBuilder_.build(); } if (delegatedFreeBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { delegatedFree_ = java.util.Collections.unmodifiableList(delegatedFree_); bitField0_ = (bitField0_ & ~0x00000004); } result.delegatedFree_ = delegatedFree_; } else { result.delegatedFree_ = delegatedFreeBuilder_.build(); } if (delegatedVestingBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { delegatedVesting_ = java.util.Collections.unmodifiableList(delegatedVesting_); bitField0_ = (bitField0_ & ~0x00000008); } result.delegatedVesting_ = delegatedVesting_; } else { result.delegatedVesting_ = delegatedVestingBuilder_.build(); } result.endTime_ = endTime_; 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.vesting.v1beta1.Vesting.BaseVestingAccount) { return mergeFrom((cosmos.vesting.v1beta1.Vesting.BaseVestingAccount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount other) { if (other == cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance()) return this; if (other.hasBaseAccount()) { mergeBaseAccount(other.getBaseAccount()); } if (originalVestingBuilder_ == null) { if (!other.originalVesting_.isEmpty()) { if (originalVesting_.isEmpty()) { originalVesting_ = other.originalVesting_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOriginalVestingIsMutable(); originalVesting_.addAll(other.originalVesting_); } onChanged(); } } else { if (!other.originalVesting_.isEmpty()) { if (originalVestingBuilder_.isEmpty()) { originalVestingBuilder_.dispose(); originalVestingBuilder_ = null; originalVesting_ = other.originalVesting_; bitField0_ = (bitField0_ & ~0x00000002); originalVestingBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOriginalVestingFieldBuilder() : null; } else { originalVestingBuilder_.addAllMessages(other.originalVesting_); } } } if (delegatedFreeBuilder_ == null) { if (!other.delegatedFree_.isEmpty()) { if (delegatedFree_.isEmpty()) { delegatedFree_ = other.delegatedFree_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDelegatedFreeIsMutable(); delegatedFree_.addAll(other.delegatedFree_); } onChanged(); } } else { if (!other.delegatedFree_.isEmpty()) { if (delegatedFreeBuilder_.isEmpty()) { delegatedFreeBuilder_.dispose(); delegatedFreeBuilder_ = null; delegatedFree_ = other.delegatedFree_; bitField0_ = (bitField0_ & ~0x00000004); delegatedFreeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDelegatedFreeFieldBuilder() : null; } else { delegatedFreeBuilder_.addAllMessages(other.delegatedFree_); } } } if (delegatedVestingBuilder_ == null) { if (!other.delegatedVesting_.isEmpty()) { if (delegatedVesting_.isEmpty()) { delegatedVesting_ = other.delegatedVesting_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureDelegatedVestingIsMutable(); delegatedVesting_.addAll(other.delegatedVesting_); } onChanged(); } } else { if (!other.delegatedVesting_.isEmpty()) { if (delegatedVestingBuilder_.isEmpty()) { delegatedVestingBuilder_.dispose(); delegatedVestingBuilder_ = null; delegatedVesting_ = other.delegatedVesting_; bitField0_ = (bitField0_ & ~0x00000008); delegatedVestingBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDelegatedVestingFieldBuilder() : null; } else { delegatedVestingBuilder_.addAllMessages(other.delegatedVesting_); } } } if (other.getEndTime() != 0L) { setEndTime(other.getEndTime()); } 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.vesting.v1beta1.Vesting.BaseVestingAccount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.vesting.v1beta1.Vesting.BaseVestingAccount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cosmos.auth.v1beta1.Auth.BaseAccount baseAccount_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.auth.v1beta1.Auth.BaseAccount, cosmos.auth.v1beta1.Auth.BaseAccount.Builder, cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder> baseAccountBuilder_; /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseAccount() { return baseAccountBuilder_ != null || baseAccount_ != null; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.auth.v1beta1.Auth.BaseAccount getBaseAccount() { if (baseAccountBuilder_ == null) { return baseAccount_ == null ? cosmos.auth.v1beta1.Auth.BaseAccount.getDefaultInstance() : baseAccount_; } else { return baseAccountBuilder_.getMessage(); } } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseAccount(cosmos.auth.v1beta1.Auth.BaseAccount value) { if (baseAccountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseAccount_ = value; onChanged(); } else { baseAccountBuilder_.setMessage(value); } return this; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseAccount( cosmos.auth.v1beta1.Auth.BaseAccount.Builder builderForValue) { if (baseAccountBuilder_ == null) { baseAccount_ = builderForValue.build(); onChanged(); } else { baseAccountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public Builder mergeBaseAccount(cosmos.auth.v1beta1.Auth.BaseAccount value) { if (baseAccountBuilder_ == null) { if (baseAccount_ != null) { baseAccount_ = cosmos.auth.v1beta1.Auth.BaseAccount.newBuilder(baseAccount_).mergeFrom(value).buildPartial(); } else { baseAccount_ = value; } onChanged(); } else { baseAccountBuilder_.mergeFrom(value); } return this; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public Builder clearBaseAccount() { if (baseAccountBuilder_ == null) { baseAccount_ = null; onChanged(); } else { baseAccount_ = null; baseAccountBuilder_ = null; } return this; } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.auth.v1beta1.Auth.BaseAccount.Builder getBaseAccountBuilder() { onChanged(); return getBaseAccountFieldBuilder().getBuilder(); } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder getBaseAccountOrBuilder() { if (baseAccountBuilder_ != null) { return baseAccountBuilder_.getMessageOrBuilder(); } else { return baseAccount_ == null ? cosmos.auth.v1beta1.Auth.BaseAccount.getDefaultInstance() : baseAccount_; } } /** * .cosmos.auth.v1beta1.BaseAccount base_account = 1 [(.gogoproto.embed) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.auth.v1beta1.Auth.BaseAccount, cosmos.auth.v1beta1.Auth.BaseAccount.Builder, cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder> getBaseAccountFieldBuilder() { if (baseAccountBuilder_ == null) { baseAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.auth.v1beta1.Auth.BaseAccount, cosmos.auth.v1beta1.Auth.BaseAccount.Builder, cosmos.auth.v1beta1.Auth.BaseAccountOrBuilder>( getBaseAccount(), getParentForChildren(), isClean()); baseAccount_ = null; } return baseAccountBuilder_; } private java.util.List originalVesting_ = java.util.Collections.emptyList(); private void ensureOriginalVestingIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { originalVesting_ = new java.util.ArrayList(originalVesting_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> originalVestingBuilder_; /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getOriginalVestingList() { if (originalVestingBuilder_ == null) { return java.util.Collections.unmodifiableList(originalVesting_); } else { return originalVestingBuilder_.getMessageList(); } } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getOriginalVestingCount() { if (originalVestingBuilder_ == null) { return originalVesting_.size(); } else { return originalVestingBuilder_.getCount(); } } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getOriginalVesting(int index) { if (originalVestingBuilder_ == null) { return originalVesting_.get(index); } else { return originalVestingBuilder_.getMessage(index); } } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setOriginalVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (originalVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOriginalVestingIsMutable(); originalVesting_.set(index, value); onChanged(); } else { originalVestingBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setOriginalVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (originalVestingBuilder_ == null) { ensureOriginalVestingIsMutable(); originalVesting_.set(index, builderForValue.build()); onChanged(); } else { originalVestingBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addOriginalVesting(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (originalVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOriginalVestingIsMutable(); originalVesting_.add(value); onChanged(); } else { originalVestingBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addOriginalVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (originalVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOriginalVestingIsMutable(); originalVesting_.add(index, value); onChanged(); } else { originalVestingBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addOriginalVesting( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (originalVestingBuilder_ == null) { ensureOriginalVestingIsMutable(); originalVesting_.add(builderForValue.build()); onChanged(); } else { originalVestingBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addOriginalVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (originalVestingBuilder_ == null) { ensureOriginalVestingIsMutable(); originalVesting_.add(index, builderForValue.build()); onChanged(); } else { originalVestingBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllOriginalVesting( java.lang.Iterable values) { if (originalVestingBuilder_ == null) { ensureOriginalVestingIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, originalVesting_); onChanged(); } else { originalVestingBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearOriginalVesting() { if (originalVestingBuilder_ == null) { originalVesting_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { originalVestingBuilder_.clear(); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeOriginalVesting(int index) { if (originalVestingBuilder_ == null) { ensureOriginalVestingIsMutable(); originalVesting_.remove(index); onChanged(); } else { originalVestingBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getOriginalVestingBuilder( int index) { return getOriginalVestingFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getOriginalVestingOrBuilder( int index) { if (originalVestingBuilder_ == null) { return originalVesting_.get(index); } else { return originalVestingBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getOriginalVestingOrBuilderList() { if (originalVestingBuilder_ != null) { return originalVestingBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(originalVesting_); } } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addOriginalVestingBuilder() { return getOriginalVestingFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addOriginalVestingBuilder( int index) { return getOriginalVestingFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin original_vesting = 2 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"original_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getOriginalVestingBuilderList() { return getOriginalVestingFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getOriginalVestingFieldBuilder() { if (originalVestingBuilder_ == null) { originalVestingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( originalVesting_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); originalVesting_ = null; } return originalVestingBuilder_; } private java.util.List delegatedFree_ = java.util.Collections.emptyList(); private void ensureDelegatedFreeIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { delegatedFree_ = new java.util.ArrayList(delegatedFree_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> delegatedFreeBuilder_; /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedFreeList() { if (delegatedFreeBuilder_ == null) { return java.util.Collections.unmodifiableList(delegatedFree_); } else { return delegatedFreeBuilder_.getMessageList(); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getDelegatedFreeCount() { if (delegatedFreeBuilder_ == null) { return delegatedFree_.size(); } else { return delegatedFreeBuilder_.getCount(); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedFree(int index) { if (delegatedFreeBuilder_ == null) { return delegatedFree_.get(index); } else { return delegatedFreeBuilder_.getMessage(index); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setDelegatedFree( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedFreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedFreeIsMutable(); delegatedFree_.set(index, value); onChanged(); } else { delegatedFreeBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setDelegatedFree( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedFreeBuilder_ == null) { ensureDelegatedFreeIsMutable(); delegatedFree_.set(index, builderForValue.build()); onChanged(); } else { delegatedFreeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedFree(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedFreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedFreeIsMutable(); delegatedFree_.add(value); onChanged(); } else { delegatedFreeBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedFree( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedFreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedFreeIsMutable(); delegatedFree_.add(index, value); onChanged(); } else { delegatedFreeBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedFree( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedFreeBuilder_ == null) { ensureDelegatedFreeIsMutable(); delegatedFree_.add(builderForValue.build()); onChanged(); } else { delegatedFreeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedFree( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedFreeBuilder_ == null) { ensureDelegatedFreeIsMutable(); delegatedFree_.add(index, builderForValue.build()); onChanged(); } else { delegatedFreeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllDelegatedFree( java.lang.Iterable values) { if (delegatedFreeBuilder_ == null) { ensureDelegatedFreeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, delegatedFree_); onChanged(); } else { delegatedFreeBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearDelegatedFree() { if (delegatedFreeBuilder_ == null) { delegatedFree_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { delegatedFreeBuilder_.clear(); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeDelegatedFree(int index) { if (delegatedFreeBuilder_ == null) { ensureDelegatedFreeIsMutable(); delegatedFree_.remove(index); onChanged(); } else { delegatedFreeBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getDelegatedFreeBuilder( int index) { return getDelegatedFreeFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedFreeOrBuilder( int index) { if (delegatedFreeBuilder_ == null) { return delegatedFree_.get(index); } else { return delegatedFreeBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedFreeOrBuilderList() { if (delegatedFreeBuilder_ != null) { return delegatedFreeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(delegatedFree_); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDelegatedFreeBuilder() { return getDelegatedFreeFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDelegatedFreeBuilder( int index) { return getDelegatedFreeFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin delegated_free = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_free\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedFreeBuilderList() { return getDelegatedFreeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getDelegatedFreeFieldBuilder() { if (delegatedFreeBuilder_ == null) { delegatedFreeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( delegatedFree_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); delegatedFree_ = null; } return delegatedFreeBuilder_; } private java.util.List delegatedVesting_ = java.util.Collections.emptyList(); private void ensureDelegatedVestingIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { delegatedVesting_ = new java.util.ArrayList(delegatedVesting_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> delegatedVestingBuilder_; /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedVestingList() { if (delegatedVestingBuilder_ == null) { return java.util.Collections.unmodifiableList(delegatedVesting_); } else { return delegatedVestingBuilder_.getMessageList(); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getDelegatedVestingCount() { if (delegatedVestingBuilder_ == null) { return delegatedVesting_.size(); } else { return delegatedVestingBuilder_.getCount(); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getDelegatedVesting(int index) { if (delegatedVestingBuilder_ == null) { return delegatedVesting_.get(index); } else { return delegatedVestingBuilder_.getMessage(index); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setDelegatedVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedVestingIsMutable(); delegatedVesting_.set(index, value); onChanged(); } else { delegatedVestingBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setDelegatedVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedVestingBuilder_ == null) { ensureDelegatedVestingIsMutable(); delegatedVesting_.set(index, builderForValue.build()); onChanged(); } else { delegatedVestingBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedVesting(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedVestingIsMutable(); delegatedVesting_.add(value); onChanged(); } else { delegatedVestingBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (delegatedVestingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDelegatedVestingIsMutable(); delegatedVesting_.add(index, value); onChanged(); } else { delegatedVestingBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedVesting( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedVestingBuilder_ == null) { ensureDelegatedVestingIsMutable(); delegatedVesting_.add(builderForValue.build()); onChanged(); } else { delegatedVestingBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addDelegatedVesting( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (delegatedVestingBuilder_ == null) { ensureDelegatedVestingIsMutable(); delegatedVesting_.add(index, builderForValue.build()); onChanged(); } else { delegatedVestingBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllDelegatedVesting( java.lang.Iterable values) { if (delegatedVestingBuilder_ == null) { ensureDelegatedVestingIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, delegatedVesting_); onChanged(); } else { delegatedVestingBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearDelegatedVesting() { if (delegatedVestingBuilder_ == null) { delegatedVesting_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { delegatedVestingBuilder_.clear(); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeDelegatedVesting(int index) { if (delegatedVestingBuilder_ == null) { ensureDelegatedVestingIsMutable(); delegatedVesting_.remove(index); onChanged(); } else { delegatedVestingBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getDelegatedVestingBuilder( int index) { return getDelegatedVestingFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getDelegatedVestingOrBuilder( int index) { if (delegatedVestingBuilder_ == null) { return delegatedVesting_.get(index); } else { return delegatedVestingBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedVestingOrBuilderList() { if (delegatedVestingBuilder_ != null) { return delegatedVestingBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(delegatedVesting_); } } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDelegatedVestingBuilder() { return getDelegatedVestingFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addDelegatedVestingBuilder( int index) { return getDelegatedVestingFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin delegated_vesting = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"delegated_vesting\"", (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getDelegatedVestingBuilderList() { return getDelegatedVestingFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getDelegatedVestingFieldBuilder() { if (delegatedVestingBuilder_ == null) { delegatedVestingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( delegatedVesting_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); delegatedVesting_ = null; } return delegatedVestingBuilder_; } private long endTime_ ; /** * int64 end_time = 5 [(.gogoproto.moretags) = "yaml:\"end_time\""]; */ public long getEndTime() { return endTime_; } /** * int64 end_time = 5 [(.gogoproto.moretags) = "yaml:\"end_time\""]; */ public Builder setEndTime(long value) { endTime_ = value; onChanged(); return this; } /** * int64 end_time = 5 [(.gogoproto.moretags) = "yaml:\"end_time\""]; */ public Builder clearEndTime() { endTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.vesting.v1beta1.BaseVestingAccount) } // @@protoc_insertion_point(class_scope:cosmos.vesting.v1beta1.BaseVestingAccount) private static final cosmos.vesting.v1beta1.Vesting.BaseVestingAccount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.vesting.v1beta1.Vesting.BaseVestingAccount(); } public static cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BaseVestingAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BaseVestingAccount(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.vesting.v1beta1.Vesting.BaseVestingAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContinuousVestingAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.vesting.v1beta1.ContinuousVestingAccount) com.google.protobuf.MessageOrBuilder { /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ boolean hasBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder(); /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ long getStartTime(); } /** *
   * ContinuousVestingAccount implements the VestingAccount interface. It
   * continuously vests by unlocking coins linearly with respect to time.
   * 
* * Protobuf type {@code cosmos.vesting.v1beta1.ContinuousVestingAccount} */ public static final class ContinuousVestingAccount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.vesting.v1beta1.ContinuousVestingAccount) ContinuousVestingAccountOrBuilder { private static final long serialVersionUID = 0L; // Use ContinuousVestingAccount.newBuilder() to construct. private ContinuousVestingAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContinuousVestingAccount() { startTime_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContinuousVestingAccount( 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.vesting.v1beta1.Vesting.BaseVestingAccount.Builder subBuilder = null; if (baseVestingAccount_ != null) { subBuilder = baseVestingAccount_.toBuilder(); } baseVestingAccount_ = input.readMessage(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseVestingAccount_); baseVestingAccount_ = subBuilder.buildPartial(); } break; } case 16: { startTime_ = input.readInt64(); 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.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.class, cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.Builder.class); } public static final int BASE_VESTING_ACCOUNT_FIELD_NUMBER = 1; private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { return getBaseVestingAccount(); } public static final int START_TIME_FIELD_NUMBER = 2; private long startTime_; /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public long getStartTime() { return startTime_; } 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 (baseVestingAccount_ != null) { output.writeMessage(1, getBaseVestingAccount()); } if (startTime_ != 0L) { output.writeInt64(2, startTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (baseVestingAccount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseVestingAccount()); } if (startTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, startTime_); } 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.vesting.v1beta1.Vesting.ContinuousVestingAccount)) { return super.equals(obj); } cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount other = (cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount) obj; boolean result = true; result = result && (hasBaseVestingAccount() == other.hasBaseVestingAccount()); if (hasBaseVestingAccount()) { result = result && getBaseVestingAccount() .equals(other.getBaseVestingAccount()); } result = result && (getStartTime() == other.getStartTime()); 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 (hasBaseVestingAccount()) { hash = (37 * hash) + BASE_VESTING_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getBaseVestingAccount().hashCode(); } hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount 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.vesting.v1beta1.Vesting.ContinuousVestingAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount 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.vesting.v1beta1.Vesting.ContinuousVestingAccount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount 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.vesting.v1beta1.Vesting.ContinuousVestingAccount 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; } /** *
     * ContinuousVestingAccount implements the VestingAccount interface. It
     * continuously vests by unlocking coins linearly with respect to time.
     * 
* * Protobuf type {@code cosmos.vesting.v1beta1.ContinuousVestingAccount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.vesting.v1beta1.ContinuousVestingAccount) cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.class, cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.Builder.class); } // Construct using cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.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 (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } startTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount getDefaultInstanceForType() { return cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.getDefaultInstance(); } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount build() { cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount buildPartial() { cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount result = new cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount(this); if (baseVestingAccountBuilder_ == null) { result.baseVestingAccount_ = baseVestingAccount_; } else { result.baseVestingAccount_ = baseVestingAccountBuilder_.build(); } result.startTime_ = startTime_; 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.vesting.v1beta1.Vesting.ContinuousVestingAccount) { return mergeFrom((cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount other) { if (other == cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount.getDefaultInstance()) return this; if (other.hasBaseVestingAccount()) { mergeBaseVestingAccount(other.getBaseVestingAccount()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } 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.vesting.v1beta1.Vesting.ContinuousVestingAccount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> baseVestingAccountBuilder_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccountBuilder_ != null || baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } else { return baseVestingAccountBuilder_.getMessage(); } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseVestingAccount_ = value; onChanged(); } else { baseVestingAccountBuilder_.setMessage(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount( cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder builderForValue) { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = builderForValue.build(); onChanged(); } else { baseVestingAccountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder mergeBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (baseVestingAccount_ != null) { baseVestingAccount_ = cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.newBuilder(baseVestingAccount_).mergeFrom(value).buildPartial(); } else { baseVestingAccount_ = value; } onChanged(); } else { baseVestingAccountBuilder_.mergeFrom(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder clearBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; onChanged(); } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder getBaseVestingAccountBuilder() { onChanged(); return getBaseVestingAccountFieldBuilder().getBuilder(); } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { if (baseVestingAccountBuilder_ != null) { return baseVestingAccountBuilder_.getMessageOrBuilder(); } else { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> getBaseVestingAccountFieldBuilder() { if (baseVestingAccountBuilder_ == null) { baseVestingAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder>( getBaseVestingAccount(), getParentForChildren(), isClean()); baseVestingAccount_ = null; } return baseVestingAccountBuilder_; } private long startTime_ ; /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public long getStartTime() { return startTime_; } /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.vesting.v1beta1.ContinuousVestingAccount) } // @@protoc_insertion_point(class_scope:cosmos.vesting.v1beta1.ContinuousVestingAccount) private static final cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount(); } public static cosmos.vesting.v1beta1.Vesting.ContinuousVestingAccount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContinuousVestingAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContinuousVestingAccount(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.vesting.v1beta1.Vesting.ContinuousVestingAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelayedVestingAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.vesting.v1beta1.DelayedVestingAccount) com.google.protobuf.MessageOrBuilder { /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ boolean hasBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder(); } /** *
   * DelayedVestingAccount implements the VestingAccount interface. It vests all
   * coins after a specific time, but non prior. In other words, it keeps them
   * locked until a specified time.
   * 
* * Protobuf type {@code cosmos.vesting.v1beta1.DelayedVestingAccount} */ public static final class DelayedVestingAccount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.vesting.v1beta1.DelayedVestingAccount) DelayedVestingAccountOrBuilder { private static final long serialVersionUID = 0L; // Use DelayedVestingAccount.newBuilder() to construct. private DelayedVestingAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelayedVestingAccount() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelayedVestingAccount( 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.vesting.v1beta1.Vesting.BaseVestingAccount.Builder subBuilder = null; if (baseVestingAccount_ != null) { subBuilder = baseVestingAccount_.toBuilder(); } baseVestingAccount_ = input.readMessage(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseVestingAccount_); baseVestingAccount_ = 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.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.class, cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.Builder.class); } public static final int BASE_VESTING_ACCOUNT_FIELD_NUMBER = 1; private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { return getBaseVestingAccount(); } 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 (baseVestingAccount_ != null) { output.writeMessage(1, getBaseVestingAccount()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (baseVestingAccount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseVestingAccount()); } 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.vesting.v1beta1.Vesting.DelayedVestingAccount)) { return super.equals(obj); } cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount other = (cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount) obj; boolean result = true; result = result && (hasBaseVestingAccount() == other.hasBaseVestingAccount()); if (hasBaseVestingAccount()) { result = result && getBaseVestingAccount() .equals(other.getBaseVestingAccount()); } 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 (hasBaseVestingAccount()) { hash = (37 * hash) + BASE_VESTING_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getBaseVestingAccount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount 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.vesting.v1beta1.Vesting.DelayedVestingAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount 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.vesting.v1beta1.Vesting.DelayedVestingAccount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount 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.vesting.v1beta1.Vesting.DelayedVestingAccount 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; } /** *
     * DelayedVestingAccount implements the VestingAccount interface. It vests all
     * coins after a specific time, but non prior. In other words, it keeps them
     * locked until a specified time.
     * 
* * Protobuf type {@code cosmos.vesting.v1beta1.DelayedVestingAccount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.vesting.v1beta1.DelayedVestingAccount) cosmos.vesting.v1beta1.Vesting.DelayedVestingAccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.class, cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.Builder.class); } // Construct using cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.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 (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount getDefaultInstanceForType() { return cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.getDefaultInstance(); } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount build() { cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount buildPartial() { cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount result = new cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount(this); if (baseVestingAccountBuilder_ == null) { result.baseVestingAccount_ = baseVestingAccount_; } else { result.baseVestingAccount_ = baseVestingAccountBuilder_.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.vesting.v1beta1.Vesting.DelayedVestingAccount) { return mergeFrom((cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount other) { if (other == cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount.getDefaultInstance()) return this; if (other.hasBaseVestingAccount()) { mergeBaseVestingAccount(other.getBaseVestingAccount()); } 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.vesting.v1beta1.Vesting.DelayedVestingAccount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> baseVestingAccountBuilder_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccountBuilder_ != null || baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } else { return baseVestingAccountBuilder_.getMessage(); } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseVestingAccount_ = value; onChanged(); } else { baseVestingAccountBuilder_.setMessage(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount( cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder builderForValue) { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = builderForValue.build(); onChanged(); } else { baseVestingAccountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder mergeBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (baseVestingAccount_ != null) { baseVestingAccount_ = cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.newBuilder(baseVestingAccount_).mergeFrom(value).buildPartial(); } else { baseVestingAccount_ = value; } onChanged(); } else { baseVestingAccountBuilder_.mergeFrom(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder clearBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; onChanged(); } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder getBaseVestingAccountBuilder() { onChanged(); return getBaseVestingAccountFieldBuilder().getBuilder(); } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { if (baseVestingAccountBuilder_ != null) { return baseVestingAccountBuilder_.getMessageOrBuilder(); } else { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> getBaseVestingAccountFieldBuilder() { if (baseVestingAccountBuilder_ == null) { baseVestingAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder>( getBaseVestingAccount(), getParentForChildren(), isClean()); baseVestingAccount_ = null; } return baseVestingAccountBuilder_; } @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.vesting.v1beta1.DelayedVestingAccount) } // @@protoc_insertion_point(class_scope:cosmos.vesting.v1beta1.DelayedVestingAccount) private static final cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount(); } public static cosmos.vesting.v1beta1.Vesting.DelayedVestingAccount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelayedVestingAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelayedVestingAccount(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.vesting.v1beta1.Vesting.DelayedVestingAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PeriodOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.vesting.v1beta1.Period) com.google.protobuf.MessageOrBuilder { /** * int64 length = 1; */ long getLength(); /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getAmountList(); /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.Coin getAmount(int index); /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ int getAmountCount(); /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getAmountOrBuilderList(); /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder( int index); } /** *
   * Period defines a length of time and amount of coins that will vest.
   * 
* * Protobuf type {@code cosmos.vesting.v1beta1.Period} */ public static final class Period extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.vesting.v1beta1.Period) PeriodOrBuilder { private static final long serialVersionUID = 0L; // Use Period.newBuilder() to construct. private Period(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Period() { length_ = 0L; amount_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Period( 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 8: { length_ = input.readInt64(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { amount_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } amount_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry)); 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_ & 0x00000002) == 0x00000002)) { amount_ = java.util.Collections.unmodifiableList(amount_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.Period.class, cosmos.vesting.v1beta1.Vesting.Period.Builder.class); } private int bitField0_; public static final int LENGTH_FIELD_NUMBER = 1; private long length_; /** * int64 length = 1; */ public long getLength() { return length_; } public static final int AMOUNT_FIELD_NUMBER = 2; private java.util.List amount_; /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getAmountList() { return amount_; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getAmountOrBuilderList() { return amount_; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getAmountCount() { return amount_.size(); } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getAmount(int index) { return amount_.get(index); } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder( int index) { return amount_.get(index); } 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 (length_ != 0L) { output.writeInt64(1, length_); } for (int i = 0; i < amount_.size(); i++) { output.writeMessage(2, amount_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (length_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, length_); } for (int i = 0; i < amount_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, amount_.get(i)); } 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.vesting.v1beta1.Vesting.Period)) { return super.equals(obj); } cosmos.vesting.v1beta1.Vesting.Period other = (cosmos.vesting.v1beta1.Vesting.Period) obj; boolean result = true; result = result && (getLength() == other.getLength()); result = result && getAmountList() .equals(other.getAmountList()); 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) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLength()); if (getAmountCount() > 0) { hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getAmountList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.Period parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.Period 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.vesting.v1beta1.Vesting.Period parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.Period 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.vesting.v1beta1.Vesting.Period parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.Period 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.vesting.v1beta1.Vesting.Period 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; } /** *
     * Period defines a length of time and amount of coins that will vest.
     * 
* * Protobuf type {@code cosmos.vesting.v1beta1.Period} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.vesting.v1beta1.Period) cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.Period.class, cosmos.vesting.v1beta1.Vesting.Period.Builder.class); } // Construct using cosmos.vesting.v1beta1.Vesting.Period.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAmountFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); length_ = 0L; if (amountBuilder_ == null) { amount_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { amountBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_Period_descriptor; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.Period getDefaultInstanceForType() { return cosmos.vesting.v1beta1.Vesting.Period.getDefaultInstance(); } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.Period build() { cosmos.vesting.v1beta1.Vesting.Period result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.Period buildPartial() { cosmos.vesting.v1beta1.Vesting.Period result = new cosmos.vesting.v1beta1.Vesting.Period(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.length_ = length_; if (amountBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { amount_ = java.util.Collections.unmodifiableList(amount_); bitField0_ = (bitField0_ & ~0x00000002); } result.amount_ = amount_; } else { result.amount_ = amountBuilder_.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.vesting.v1beta1.Vesting.Period) { return mergeFrom((cosmos.vesting.v1beta1.Vesting.Period)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.vesting.v1beta1.Vesting.Period other) { if (other == cosmos.vesting.v1beta1.Vesting.Period.getDefaultInstance()) return this; if (other.getLength() != 0L) { setLength(other.getLength()); } if (amountBuilder_ == null) { if (!other.amount_.isEmpty()) { if (amount_.isEmpty()) { amount_ = other.amount_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAmountIsMutable(); amount_.addAll(other.amount_); } onChanged(); } } else { if (!other.amount_.isEmpty()) { if (amountBuilder_.isEmpty()) { amountBuilder_.dispose(); amountBuilder_ = null; amount_ = other.amount_; bitField0_ = (bitField0_ & ~0x00000002); amountBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAmountFieldBuilder() : null; } else { amountBuilder_.addAllMessages(other.amount_); } } } 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.vesting.v1beta1.Vesting.Period parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.vesting.v1beta1.Vesting.Period) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long length_ ; /** * int64 length = 1; */ public long getLength() { return length_; } /** * int64 length = 1; */ public Builder setLength(long value) { length_ = value; onChanged(); return this; } /** * int64 length = 1; */ public Builder clearLength() { length_ = 0L; onChanged(); return this; } private java.util.List amount_ = java.util.Collections.emptyList(); private void ensureAmountIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { amount_ = new java.util.ArrayList(amount_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> amountBuilder_; /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getAmountList() { if (amountBuilder_ == null) { return java.util.Collections.unmodifiableList(amount_); } else { return amountBuilder_.getMessageList(); } } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getAmountCount() { if (amountBuilder_ == null) { return amount_.size(); } else { return amountBuilder_.getCount(); } } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getAmount(int index) { if (amountBuilder_ == null) { return amount_.get(index); } else { return amountBuilder_.getMessage(index); } } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setAmount( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (amountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAmountIsMutable(); amount_.set(index, value); onChanged(); } else { amountBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setAmount( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (amountBuilder_ == null) { ensureAmountIsMutable(); amount_.set(index, builderForValue.build()); onChanged(); } else { amountBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAmount(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (amountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAmountIsMutable(); amount_.add(value); onChanged(); } else { amountBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAmount( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (amountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAmountIsMutable(); amount_.add(index, value); onChanged(); } else { amountBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAmount( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (amountBuilder_ == null) { ensureAmountIsMutable(); amount_.add(builderForValue.build()); onChanged(); } else { amountBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAmount( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (amountBuilder_ == null) { ensureAmountIsMutable(); amount_.add(index, builderForValue.build()); onChanged(); } else { amountBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllAmount( java.lang.Iterable values) { if (amountBuilder_ == null) { ensureAmountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, amount_); onChanged(); } else { amountBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearAmount() { if (amountBuilder_ == null) { amount_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { amountBuilder_.clear(); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeAmount(int index) { if (amountBuilder_ == null) { ensureAmountIsMutable(); amount_.remove(index); onChanged(); } else { amountBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getAmountBuilder( int index) { return getAmountFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder( int index) { if (amountBuilder_ == null) { return amount_.get(index); } else { return amountBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getAmountOrBuilderList() { if (amountBuilder_ != null) { return amountBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(amount_); } } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addAmountBuilder() { return getAmountFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addAmountBuilder( int index) { return getAmountFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** * repeated .cosmos.base.v1beta1.Coin amount = 2 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getAmountBuilderList() { return getAmountFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { amountBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( amount_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); amount_ = null; } return amountBuilder_; } @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.vesting.v1beta1.Period) } // @@protoc_insertion_point(class_scope:cosmos.vesting.v1beta1.Period) private static final cosmos.vesting.v1beta1.Vesting.Period DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.vesting.v1beta1.Vesting.Period(); } public static cosmos.vesting.v1beta1.Vesting.Period getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Period parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Period(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.vesting.v1beta1.Vesting.Period getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PeriodicVestingAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.vesting.v1beta1.PeriodicVestingAccount) com.google.protobuf.MessageOrBuilder { /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ boolean hasBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount(); /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder(); /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ long getStartTime(); /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ java.util.List getVestingPeriodsList(); /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ cosmos.vesting.v1beta1.Vesting.Period getVestingPeriods(int index); /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ int getVestingPeriodsCount(); /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ java.util.List getVestingPeriodsOrBuilderList(); /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder getVestingPeriodsOrBuilder( int index); } /** *
   * PeriodicVestingAccount implements the VestingAccount interface. It
   * periodically vests by unlocking coins during each specified period.
   * 
* * Protobuf type {@code cosmos.vesting.v1beta1.PeriodicVestingAccount} */ public static final class PeriodicVestingAccount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.vesting.v1beta1.PeriodicVestingAccount) PeriodicVestingAccountOrBuilder { private static final long serialVersionUID = 0L; // Use PeriodicVestingAccount.newBuilder() to construct. private PeriodicVestingAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PeriodicVestingAccount() { startTime_ = 0L; vestingPeriods_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PeriodicVestingAccount( 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.vesting.v1beta1.Vesting.BaseVestingAccount.Builder subBuilder = null; if (baseVestingAccount_ != null) { subBuilder = baseVestingAccount_.toBuilder(); } baseVestingAccount_ = input.readMessage(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseVestingAccount_); baseVestingAccount_ = subBuilder.buildPartial(); } break; } case 16: { startTime_ = input.readInt64(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { vestingPeriods_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } vestingPeriods_.add( input.readMessage(cosmos.vesting.v1beta1.Vesting.Period.parser(), extensionRegistry)); 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_ & 0x00000004) == 0x00000004)) { vestingPeriods_ = java.util.Collections.unmodifiableList(vestingPeriods_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.class, cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.Builder.class); } private int bitField0_; public static final int BASE_VESTING_ACCOUNT_FIELD_NUMBER = 1; private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { return getBaseVestingAccount(); } public static final int START_TIME_FIELD_NUMBER = 2; private long startTime_; /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public long getStartTime() { return startTime_; } public static final int VESTING_PERIODS_FIELD_NUMBER = 3; private java.util.List vestingPeriods_; /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public java.util.List getVestingPeriodsList() { return vestingPeriods_; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public java.util.List getVestingPeriodsOrBuilderList() { return vestingPeriods_; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public int getVestingPeriodsCount() { return vestingPeriods_.size(); } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.Period getVestingPeriods(int index) { return vestingPeriods_.get(index); } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder getVestingPeriodsOrBuilder( int index) { return vestingPeriods_.get(index); } 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 (baseVestingAccount_ != null) { output.writeMessage(1, getBaseVestingAccount()); } if (startTime_ != 0L) { output.writeInt64(2, startTime_); } for (int i = 0; i < vestingPeriods_.size(); i++) { output.writeMessage(3, vestingPeriods_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (baseVestingAccount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseVestingAccount()); } if (startTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, startTime_); } for (int i = 0; i < vestingPeriods_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, vestingPeriods_.get(i)); } 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.vesting.v1beta1.Vesting.PeriodicVestingAccount)) { return super.equals(obj); } cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount other = (cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount) obj; boolean result = true; result = result && (hasBaseVestingAccount() == other.hasBaseVestingAccount()); if (hasBaseVestingAccount()) { result = result && getBaseVestingAccount() .equals(other.getBaseVestingAccount()); } result = result && (getStartTime() == other.getStartTime()); result = result && getVestingPeriodsList() .equals(other.getVestingPeriodsList()); 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 (hasBaseVestingAccount()) { hash = (37 * hash) + BASE_VESTING_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getBaseVestingAccount().hashCode(); } hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); if (getVestingPeriodsCount() > 0) { hash = (37 * hash) + VESTING_PERIODS_FIELD_NUMBER; hash = (53 * hash) + getVestingPeriodsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount 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.vesting.v1beta1.Vesting.PeriodicVestingAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount 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.vesting.v1beta1.Vesting.PeriodicVestingAccount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount 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.vesting.v1beta1.Vesting.PeriodicVestingAccount 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; } /** *
     * PeriodicVestingAccount implements the VestingAccount interface. It
     * periodically vests by unlocking coins during each specified period.
     * 
* * Protobuf type {@code cosmos.vesting.v1beta1.PeriodicVestingAccount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.vesting.v1beta1.PeriodicVestingAccount) cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.class, cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.Builder.class); } // Construct using cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getVestingPeriodsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } startTime_ = 0L; if (vestingPeriodsBuilder_ == null) { vestingPeriods_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { vestingPeriodsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.vesting.v1beta1.Vesting.internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount getDefaultInstanceForType() { return cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.getDefaultInstance(); } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount build() { cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount buildPartial() { cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount result = new cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (baseVestingAccountBuilder_ == null) { result.baseVestingAccount_ = baseVestingAccount_; } else { result.baseVestingAccount_ = baseVestingAccountBuilder_.build(); } result.startTime_ = startTime_; if (vestingPeriodsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { vestingPeriods_ = java.util.Collections.unmodifiableList(vestingPeriods_); bitField0_ = (bitField0_ & ~0x00000004); } result.vestingPeriods_ = vestingPeriods_; } else { result.vestingPeriods_ = vestingPeriodsBuilder_.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.vesting.v1beta1.Vesting.PeriodicVestingAccount) { return mergeFrom((cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount other) { if (other == cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount.getDefaultInstance()) return this; if (other.hasBaseVestingAccount()) { mergeBaseVestingAccount(other.getBaseVestingAccount()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } if (vestingPeriodsBuilder_ == null) { if (!other.vestingPeriods_.isEmpty()) { if (vestingPeriods_.isEmpty()) { vestingPeriods_ = other.vestingPeriods_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureVestingPeriodsIsMutable(); vestingPeriods_.addAll(other.vestingPeriods_); } onChanged(); } } else { if (!other.vestingPeriods_.isEmpty()) { if (vestingPeriodsBuilder_.isEmpty()) { vestingPeriodsBuilder_.dispose(); vestingPeriodsBuilder_ = null; vestingPeriods_ = other.vestingPeriods_; bitField0_ = (bitField0_ & ~0x00000004); vestingPeriodsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVestingPeriodsFieldBuilder() : null; } else { vestingPeriodsBuilder_.addAllMessages(other.vestingPeriods_); } } } 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.vesting.v1beta1.Vesting.PeriodicVestingAccount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cosmos.vesting.v1beta1.Vesting.BaseVestingAccount baseVestingAccount_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> baseVestingAccountBuilder_; /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public boolean hasBaseVestingAccount() { return baseVestingAccountBuilder_ != null || baseVestingAccount_ != null; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount getBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } else { return baseVestingAccountBuilder_.getMessage(); } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseVestingAccount_ = value; onChanged(); } else { baseVestingAccountBuilder_.setMessage(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder setBaseVestingAccount( cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder builderForValue) { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = builderForValue.build(); onChanged(); } else { baseVestingAccountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder mergeBaseVestingAccount(cosmos.vesting.v1beta1.Vesting.BaseVestingAccount value) { if (baseVestingAccountBuilder_ == null) { if (baseVestingAccount_ != null) { baseVestingAccount_ = cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.newBuilder(baseVestingAccount_).mergeFrom(value).buildPartial(); } else { baseVestingAccount_ = value; } onChanged(); } else { baseVestingAccountBuilder_.mergeFrom(value); } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public Builder clearBaseVestingAccount() { if (baseVestingAccountBuilder_ == null) { baseVestingAccount_ = null; onChanged(); } else { baseVestingAccount_ = null; baseVestingAccountBuilder_ = null; } return this; } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder getBaseVestingAccountBuilder() { onChanged(); return getBaseVestingAccountFieldBuilder().getBuilder(); } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ public cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder getBaseVestingAccountOrBuilder() { if (baseVestingAccountBuilder_ != null) { return baseVestingAccountBuilder_.getMessageOrBuilder(); } else { return baseVestingAccount_ == null ? cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.getDefaultInstance() : baseVestingAccount_; } } /** * .cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [(.gogoproto.embed) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder> getBaseVestingAccountFieldBuilder() { if (baseVestingAccountBuilder_ == null) { baseVestingAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.BaseVestingAccount, cosmos.vesting.v1beta1.Vesting.BaseVestingAccount.Builder, cosmos.vesting.v1beta1.Vesting.BaseVestingAccountOrBuilder>( getBaseVestingAccount(), getParentForChildren(), isClean()); baseVestingAccount_ = null; } return baseVestingAccountBuilder_; } private long startTime_ ; /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public long getStartTime() { return startTime_; } /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * int64 start_time = 2 [(.gogoproto.moretags) = "yaml:\"start_time\""]; */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } private java.util.List vestingPeriods_ = java.util.Collections.emptyList(); private void ensureVestingPeriodsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { vestingPeriods_ = new java.util.ArrayList(vestingPeriods_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.Period, cosmos.vesting.v1beta1.Vesting.Period.Builder, cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder> vestingPeriodsBuilder_; /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public java.util.List getVestingPeriodsList() { if (vestingPeriodsBuilder_ == null) { return java.util.Collections.unmodifiableList(vestingPeriods_); } else { return vestingPeriodsBuilder_.getMessageList(); } } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public int getVestingPeriodsCount() { if (vestingPeriodsBuilder_ == null) { return vestingPeriods_.size(); } else { return vestingPeriodsBuilder_.getCount(); } } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.Period getVestingPeriods(int index) { if (vestingPeriodsBuilder_ == null) { return vestingPeriods_.get(index); } else { return vestingPeriodsBuilder_.getMessage(index); } } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder setVestingPeriods( int index, cosmos.vesting.v1beta1.Vesting.Period value) { if (vestingPeriodsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVestingPeriodsIsMutable(); vestingPeriods_.set(index, value); onChanged(); } else { vestingPeriodsBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder setVestingPeriods( int index, cosmos.vesting.v1beta1.Vesting.Period.Builder builderForValue) { if (vestingPeriodsBuilder_ == null) { ensureVestingPeriodsIsMutable(); vestingPeriods_.set(index, builderForValue.build()); onChanged(); } else { vestingPeriodsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder addVestingPeriods(cosmos.vesting.v1beta1.Vesting.Period value) { if (vestingPeriodsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVestingPeriodsIsMutable(); vestingPeriods_.add(value); onChanged(); } else { vestingPeriodsBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder addVestingPeriods( int index, cosmos.vesting.v1beta1.Vesting.Period value) { if (vestingPeriodsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVestingPeriodsIsMutable(); vestingPeriods_.add(index, value); onChanged(); } else { vestingPeriodsBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder addVestingPeriods( cosmos.vesting.v1beta1.Vesting.Period.Builder builderForValue) { if (vestingPeriodsBuilder_ == null) { ensureVestingPeriodsIsMutable(); vestingPeriods_.add(builderForValue.build()); onChanged(); } else { vestingPeriodsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder addVestingPeriods( int index, cosmos.vesting.v1beta1.Vesting.Period.Builder builderForValue) { if (vestingPeriodsBuilder_ == null) { ensureVestingPeriodsIsMutable(); vestingPeriods_.add(index, builderForValue.build()); onChanged(); } else { vestingPeriodsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder addAllVestingPeriods( java.lang.Iterable values) { if (vestingPeriodsBuilder_ == null) { ensureVestingPeriodsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, vestingPeriods_); onChanged(); } else { vestingPeriodsBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder clearVestingPeriods() { if (vestingPeriodsBuilder_ == null) { vestingPeriods_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { vestingPeriodsBuilder_.clear(); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public Builder removeVestingPeriods(int index) { if (vestingPeriodsBuilder_ == null) { ensureVestingPeriodsIsMutable(); vestingPeriods_.remove(index); onChanged(); } else { vestingPeriodsBuilder_.remove(index); } return this; } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.Period.Builder getVestingPeriodsBuilder( int index) { return getVestingPeriodsFieldBuilder().getBuilder(index); } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder getVestingPeriodsOrBuilder( int index) { if (vestingPeriodsBuilder_ == null) { return vestingPeriods_.get(index); } else { return vestingPeriodsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public java.util.List getVestingPeriodsOrBuilderList() { if (vestingPeriodsBuilder_ != null) { return vestingPeriodsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(vestingPeriods_); } } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.Period.Builder addVestingPeriodsBuilder() { return getVestingPeriodsFieldBuilder().addBuilder( cosmos.vesting.v1beta1.Vesting.Period.getDefaultInstance()); } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public cosmos.vesting.v1beta1.Vesting.Period.Builder addVestingPeriodsBuilder( int index) { return getVestingPeriodsFieldBuilder().addBuilder( index, cosmos.vesting.v1beta1.Vesting.Period.getDefaultInstance()); } /** * repeated .cosmos.vesting.v1beta1.Period vesting_periods = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"vesting_periods\""]; */ public java.util.List getVestingPeriodsBuilderList() { return getVestingPeriodsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.Period, cosmos.vesting.v1beta1.Vesting.Period.Builder, cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder> getVestingPeriodsFieldBuilder() { if (vestingPeriodsBuilder_ == null) { vestingPeriodsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.vesting.v1beta1.Vesting.Period, cosmos.vesting.v1beta1.Vesting.Period.Builder, cosmos.vesting.v1beta1.Vesting.PeriodOrBuilder>( vestingPeriods_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); vestingPeriods_ = null; } return vestingPeriodsBuilder_; } @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.vesting.v1beta1.PeriodicVestingAccount) } // @@protoc_insertion_point(class_scope:cosmos.vesting.v1beta1.PeriodicVestingAccount) private static final cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount(); } public static cosmos.vesting.v1beta1.Vesting.PeriodicVestingAccount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PeriodicVestingAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PeriodicVestingAccount(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.vesting.v1beta1.Vesting.PeriodicVestingAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_vesting_v1beta1_Period_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_vesting_v1beta1_Period_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_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$cosmos/vesting/v1beta1/vesting.proto\022\026" + "cosmos.vesting.v1beta1\032\024gogoproto/gogo.p" + "roto\032\036cosmos/base/v1beta1/coin.proto\032\036co" + "smos/auth/v1beta1/auth.proto\"\211\004\n\022BaseVes" + "tingAccount\022<\n\014base_account\030\001 \001(\0132 .cosm" + "os.auth.v1beta1.BaseAccountB\004\320\336\037\001\022\200\001\n\020or" + "iginal_vesting\030\002 \003(\0132\031.cosmos.base.v1bet" + "a1.CoinBK\310\336\037\000\252\337\037(github.com/cosmos/cosmo" + "s-sdk/types.Coins\362\336\037\027yaml:\"original_vest" + "ing\"\022|\n\016delegated_free\030\003 \003(\0132\031.cosmos.ba" + "se.v1beta1.CoinBI\310\336\037\000\252\337\037(github.com/cosm" + "os/cosmos-sdk/types.Coins\362\336\037\025yaml:\"deleg" + "ated_free\"\022\202\001\n\021delegated_vesting\030\004 \003(\0132\031" + ".cosmos.base.v1beta1.CoinBL\310\336\037\000\252\337\037(githu" + "b.com/cosmos/cosmos-sdk/types.Coins\362\336\037\030y" + "aml:\"delegated_vesting\"\022%\n\010end_time\030\005 \001(" + "\003B\023\362\336\037\017yaml:\"end_time\":\010\210\240\037\000\230\240\037\000\"\237\001\n\030Con" + "tinuousVestingAccount\022N\n\024base_vesting_ac" + "count\030\001 \001(\0132*.cosmos.vesting.v1beta1.Bas" + "eVestingAccountB\004\320\336\037\001\022)\n\nstart_time\030\002 \001(" + "\003B\025\362\336\037\021yaml:\"start_time\":\010\210\240\037\000\230\240\037\000\"q\n\025De" + "layedVestingAccount\022N\n\024base_vesting_acco" + "unt\030\001 \001(\0132*.cosmos.vesting.v1beta1.BaseV" + "estingAccountB\004\320\336\037\001:\010\210\240\037\000\230\240\037\000\"{\n\006Period\022" + "\016\n\006length\030\001 \001(\003\022[\n\006amount\030\002 \003(\0132\031.cosmos" + ".base.v1beta1.CoinB0\310\336\037\000\252\337\037(github.com/c" + "osmos/cosmos-sdk/types.Coins:\004\230\240\037\000\"\366\001\n\026P" + "eriodicVestingAccount\022N\n\024base_vesting_ac" + "count\030\001 \001(\0132*.cosmos.vesting.v1beta1.Bas" + "eVestingAccountB\004\320\336\037\001\022)\n\nstart_time\030\002 \001(" + "\003B\025\362\336\037\021yaml:\"start_time\"\022W\n\017vesting_peri" + "ods\030\003 \003(\0132\036.cosmos.vesting.v1beta1.Perio" + "dB\036\362\336\037\026yaml:\"vesting_periods\"\310\336\037\000:\010\210\240\037\000\230" + "\240\037\000B3Z1github.com/cosmos/cosmos-sdk/x/au" + "th/vesting/typesb\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.protobuf.GoGoProtos.getDescriptor(), cosmos.base.v1beta1.CoinOuterClass.getDescriptor(), cosmos.auth.v1beta1.Auth.getDescriptor(), }, assigner); internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_vesting_v1beta1_BaseVestingAccount_descriptor, new java.lang.String[] { "BaseAccount", "OriginalVesting", "DelegatedFree", "DelegatedVesting", "EndTime", }); internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_vesting_v1beta1_ContinuousVestingAccount_descriptor, new java.lang.String[] { "BaseVestingAccount", "StartTime", }); internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_vesting_v1beta1_DelayedVestingAccount_descriptor, new java.lang.String[] { "BaseVestingAccount", }); internal_static_cosmos_vesting_v1beta1_Period_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cosmos_vesting_v1beta1_Period_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_vesting_v1beta1_Period_descriptor, new java.lang.String[] { "Length", "Amount", }); internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_vesting_v1beta1_PeriodicVestingAccount_descriptor, new java.lang.String[] { "BaseVestingAccount", "StartTime", "VestingPeriods", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.castrepeated); registry.add(com.google.protobuf.GoGoProtos.embed); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.goprotoStringer); registry.add(com.google.protobuf.GoGoProtos.moretags); registry.add(com.google.protobuf.GoGoProtos.nullable); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); cosmos.base.v1beta1.CoinOuterClass.getDescriptor(); cosmos.auth.v1beta1.Auth.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy