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

cosmos.authz.v1beta1.Genesis Maven / Gradle / Ivy

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

package cosmos.authz.v1beta1;

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

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

    /**
     * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false];
     */
    java.util.List 
        getAuthorizationList();
    /**
     * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false];
     */
    cosmos.authz.v1beta1.Authz.GrantAuthorization getAuthorization(int index);
    /**
     * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false];
     */
    int getAuthorizationCount();
    /**
     * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false];
     */
    java.util.List 
        getAuthorizationOrBuilderList();
    /**
     * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false];
     */
    cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder getAuthorizationOrBuilder(
        int index);
  }
  /**
   * 
   * GenesisState defines the authz module's genesis state.
   * 
* * Protobuf type {@code cosmos.authz.v1beta1.GenesisState} */ public static final class GenesisState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.authz.v1beta1.GenesisState) GenesisStateOrBuilder { private static final long serialVersionUID = 0L; // Use GenesisState.newBuilder() to construct. private GenesisState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GenesisState() { authorization_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GenesisState(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GenesisState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { authorization_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } authorization_.add( input.readMessage(cosmos.authz.v1beta1.Authz.GrantAuthorization.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { authorization_ = java.util.Collections.unmodifiableList(authorization_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.authz.v1beta1.Genesis.internal_static_cosmos_authz_v1beta1_GenesisState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.authz.v1beta1.Genesis.internal_static_cosmos_authz_v1beta1_GenesisState_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.authz.v1beta1.Genesis.GenesisState.class, cosmos.authz.v1beta1.Genesis.GenesisState.Builder.class); } public static final int AUTHORIZATION_FIELD_NUMBER = 1; private java.util.List authorization_; /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public java.util.List getAuthorizationList() { return authorization_; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public java.util.List getAuthorizationOrBuilderList() { return authorization_; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public int getAuthorizationCount() { return authorization_.size(); } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public cosmos.authz.v1beta1.Authz.GrantAuthorization getAuthorization(int index) { return authorization_.get(index); } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder getAuthorizationOrBuilder( int index) { return authorization_.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 { for (int i = 0; i < authorization_.size(); i++) { output.writeMessage(1, authorization_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < authorization_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, authorization_.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.authz.v1beta1.Genesis.GenesisState)) { return super.equals(obj); } cosmos.authz.v1beta1.Genesis.GenesisState other = (cosmos.authz.v1beta1.Genesis.GenesisState) obj; if (!getAuthorizationList() .equals(other.getAuthorizationList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getAuthorizationCount() > 0) { hash = (37 * hash) + AUTHORIZATION_FIELD_NUMBER; hash = (53 * hash) + getAuthorizationList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.authz.v1beta1.Genesis.GenesisState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cosmos.authz.v1beta1.Genesis.GenesisState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * GenesisState defines the authz module's genesis state.
     * 
* * Protobuf type {@code cosmos.authz.v1beta1.GenesisState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.authz.v1beta1.GenesisState) cosmos.authz.v1beta1.Genesis.GenesisStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.authz.v1beta1.Genesis.internal_static_cosmos_authz_v1beta1_GenesisState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.authz.v1beta1.Genesis.internal_static_cosmos_authz_v1beta1_GenesisState_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.authz.v1beta1.Genesis.GenesisState.class, cosmos.authz.v1beta1.Genesis.GenesisState.Builder.class); } // Construct using cosmos.authz.v1beta1.Genesis.GenesisState.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAuthorizationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (authorizationBuilder_ == null) { authorization_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { authorizationBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.authz.v1beta1.Genesis.internal_static_cosmos_authz_v1beta1_GenesisState_descriptor; } @java.lang.Override public cosmos.authz.v1beta1.Genesis.GenesisState getDefaultInstanceForType() { return cosmos.authz.v1beta1.Genesis.GenesisState.getDefaultInstance(); } @java.lang.Override public cosmos.authz.v1beta1.Genesis.GenesisState build() { cosmos.authz.v1beta1.Genesis.GenesisState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.authz.v1beta1.Genesis.GenesisState buildPartial() { cosmos.authz.v1beta1.Genesis.GenesisState result = new cosmos.authz.v1beta1.Genesis.GenesisState(this); int from_bitField0_ = bitField0_; if (authorizationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { authorization_ = java.util.Collections.unmodifiableList(authorization_); bitField0_ = (bitField0_ & ~0x00000001); } result.authorization_ = authorization_; } else { result.authorization_ = authorizationBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cosmos.authz.v1beta1.Genesis.GenesisState) { return mergeFrom((cosmos.authz.v1beta1.Genesis.GenesisState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.authz.v1beta1.Genesis.GenesisState other) { if (other == cosmos.authz.v1beta1.Genesis.GenesisState.getDefaultInstance()) return this; if (authorizationBuilder_ == null) { if (!other.authorization_.isEmpty()) { if (authorization_.isEmpty()) { authorization_ = other.authorization_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAuthorizationIsMutable(); authorization_.addAll(other.authorization_); } onChanged(); } } else { if (!other.authorization_.isEmpty()) { if (authorizationBuilder_.isEmpty()) { authorizationBuilder_.dispose(); authorizationBuilder_ = null; authorization_ = other.authorization_; bitField0_ = (bitField0_ & ~0x00000001); authorizationBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAuthorizationFieldBuilder() : null; } else { authorizationBuilder_.addAllMessages(other.authorization_); } } } 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.authz.v1beta1.Genesis.GenesisState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.authz.v1beta1.Genesis.GenesisState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List authorization_ = java.util.Collections.emptyList(); private void ensureAuthorizationIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { authorization_ = new java.util.ArrayList(authorization_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.authz.v1beta1.Authz.GrantAuthorization, cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder, cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder> authorizationBuilder_; /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getAuthorizationList() { if (authorizationBuilder_ == null) { return java.util.Collections.unmodifiableList(authorization_); } else { return authorizationBuilder_.getMessageList(); } } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public int getAuthorizationCount() { if (authorizationBuilder_ == null) { return authorization_.size(); } else { return authorizationBuilder_.getCount(); } } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public cosmos.authz.v1beta1.Authz.GrantAuthorization getAuthorization(int index) { if (authorizationBuilder_ == null) { return authorization_.get(index); } else { return authorizationBuilder_.getMessage(index); } } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder setAuthorization( int index, cosmos.authz.v1beta1.Authz.GrantAuthorization value) { if (authorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationIsMutable(); authorization_.set(index, value); onChanged(); } else { authorizationBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder setAuthorization( int index, cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder builderForValue) { if (authorizationBuilder_ == null) { ensureAuthorizationIsMutable(); authorization_.set(index, builderForValue.build()); onChanged(); } else { authorizationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder addAuthorization(cosmos.authz.v1beta1.Authz.GrantAuthorization value) { if (authorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationIsMutable(); authorization_.add(value); onChanged(); } else { authorizationBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder addAuthorization( int index, cosmos.authz.v1beta1.Authz.GrantAuthorization value) { if (authorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationIsMutable(); authorization_.add(index, value); onChanged(); } else { authorizationBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder addAuthorization( cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder builderForValue) { if (authorizationBuilder_ == null) { ensureAuthorizationIsMutable(); authorization_.add(builderForValue.build()); onChanged(); } else { authorizationBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder addAuthorization( int index, cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder builderForValue) { if (authorizationBuilder_ == null) { ensureAuthorizationIsMutable(); authorization_.add(index, builderForValue.build()); onChanged(); } else { authorizationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder addAllAuthorization( java.lang.Iterable values) { if (authorizationBuilder_ == null) { ensureAuthorizationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, authorization_); onChanged(); } else { authorizationBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder clearAuthorization() { if (authorizationBuilder_ == null) { authorization_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { authorizationBuilder_.clear(); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public Builder removeAuthorization(int index) { if (authorizationBuilder_ == null) { ensureAuthorizationIsMutable(); authorization_.remove(index); onChanged(); } else { authorizationBuilder_.remove(index); } return this; } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder getAuthorizationBuilder( int index) { return getAuthorizationFieldBuilder().getBuilder(index); } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder getAuthorizationOrBuilder( int index) { if (authorizationBuilder_ == null) { return authorization_.get(index); } else { return authorizationBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getAuthorizationOrBuilderList() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(authorization_); } } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder addAuthorizationBuilder() { return getAuthorizationFieldBuilder().addBuilder( cosmos.authz.v1beta1.Authz.GrantAuthorization.getDefaultInstance()); } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder addAuthorizationBuilder( int index) { return getAuthorizationFieldBuilder().addBuilder( index, cosmos.authz.v1beta1.Authz.GrantAuthorization.getDefaultInstance()); } /** * repeated .cosmos.authz.v1beta1.GrantAuthorization authorization = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getAuthorizationBuilderList() { return getAuthorizationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.authz.v1beta1.Authz.GrantAuthorization, cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder, cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { authorizationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.authz.v1beta1.Authz.GrantAuthorization, cosmos.authz.v1beta1.Authz.GrantAuthorization.Builder, cosmos.authz.v1beta1.Authz.GrantAuthorizationOrBuilder>( authorization_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); authorization_ = null; } return authorizationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.authz.v1beta1.GenesisState) } // @@protoc_insertion_point(class_scope:cosmos.authz.v1beta1.GenesisState) private static final cosmos.authz.v1beta1.Genesis.GenesisState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.authz.v1beta1.Genesis.GenesisState(); } public static cosmos.authz.v1beta1.Genesis.GenesisState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GenesisState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GenesisState(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cosmos.authz.v1beta1.Genesis.GenesisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_authz_v1beta1_GenesisState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_authz_v1beta1_GenesisState_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/authz/v1beta1/genesis.proto\022\024co" + "smos.authz.v1beta1\032\024gogoproto/gogo.proto" + "\032 cosmos/authz/v1beta1/authz.proto\"U\n\014Ge" + "nesisState\022E\n\rauthorization\030\001 \003(\0132(.cosm" + "os.authz.v1beta1.GrantAuthorizationB\004\310\336\037" + "\000B&Z$github.com/cosmos/cosmos-sdk/x/auth" + "zb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.GoGoProtos.getDescriptor(), cosmos.authz.v1beta1.Authz.getDescriptor(), }); internal_static_cosmos_authz_v1beta1_GenesisState_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_authz_v1beta1_GenesisState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_authz_v1beta1_GenesisState_descriptor, new java.lang.String[] { "Authorization", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.nullable); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); cosmos.authz.v1beta1.Authz.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy