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

com.hedera.hashgraph.sdk.proto.SignatureList Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: basic_types.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained 
 * here only for historical reasons.
 *
 * Please use the SignaturePair and SignatureMap messages.
 * 
* * Protobuf type {@code proto.SignatureList} */ @java.lang.Deprecated public final class SignatureList extends com.google.protobuf.GeneratedMessageLite< SignatureList, SignatureList.Builder> implements // @@protoc_insertion_point(message_implements:proto.SignatureList) SignatureListOrBuilder { private SignatureList() { sigs_ = emptyProtobufList(); } public static final int SIGS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.ProtobufList sigs_; /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public java.util.List getSigsList() { return sigs_; } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ public java.util.List getSigsOrBuilderList() { return sigs_; } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public int getSigsCount() { return sigs_.size(); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Signature getSigs(int index) { return sigs_.get(index); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ public com.hedera.hashgraph.sdk.proto.SignatureOrBuilder getSigsOrBuilder( int index) { return sigs_.get(index); } private void ensureSigsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = sigs_; if (!tmp.isModifiable()) { sigs_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void setSigs( int index, com.hedera.hashgraph.sdk.proto.Signature value) { value.getClass(); ensureSigsIsMutable(); sigs_.set(index, value); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void addSigs(com.hedera.hashgraph.sdk.proto.Signature value) { value.getClass(); ensureSigsIsMutable(); sigs_.add(value); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void addSigs( int index, com.hedera.hashgraph.sdk.proto.Signature value) { value.getClass(); ensureSigsIsMutable(); sigs_.add(index, value); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void addAllSigs( java.lang.Iterable values) { ensureSigsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, sigs_); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void clearSigs() { sigs_ = emptyProtobufList(); } /** *
   **
   * each signature corresponds to a Key in the KeyList
   * 
* * repeated .proto.Signature sigs = 2; */ private void removeSigs(int index) { ensureSigsIsMutable(); sigs_.remove(index); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.SignatureList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.SignatureList prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained 
   * here only for historical reasons.
   *
   * Please use the SignaturePair and SignatureMap messages.
   * 
* * Protobuf type {@code proto.SignatureList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.SignatureList, Builder> implements // @@protoc_insertion_point(builder_implements:proto.SignatureList) com.hedera.hashgraph.sdk.proto.SignatureListOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.SignatureList.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public java.util.List getSigsList() { return java.util.Collections.unmodifiableList( instance.getSigsList()); } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public int getSigsCount() { return instance.getSigsCount(); }/** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Signature getSigs(int index) { return instance.getSigs(index); } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder setSigs( int index, com.hedera.hashgraph.sdk.proto.Signature value) { copyOnWrite(); instance.setSigs(index, value); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder setSigs( int index, com.hedera.hashgraph.sdk.proto.Signature.Builder builderForValue) { copyOnWrite(); instance.setSigs(index, builderForValue.build()); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder addSigs(com.hedera.hashgraph.sdk.proto.Signature value) { copyOnWrite(); instance.addSigs(value); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder addSigs( int index, com.hedera.hashgraph.sdk.proto.Signature value) { copyOnWrite(); instance.addSigs(index, value); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder addSigs( com.hedera.hashgraph.sdk.proto.Signature.Builder builderForValue) { copyOnWrite(); instance.addSigs(builderForValue.build()); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder addSigs( int index, com.hedera.hashgraph.sdk.proto.Signature.Builder builderForValue) { copyOnWrite(); instance.addSigs(index, builderForValue.build()); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder addAllSigs( java.lang.Iterable values) { copyOnWrite(); instance.addAllSigs(values); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder clearSigs() { copyOnWrite(); instance.clearSigs(); return this; } /** *
     **
     * each signature corresponds to a Key in the KeyList
     * 
* * repeated .proto.Signature sigs = 2; */ public Builder removeSigs(int index) { copyOnWrite(); instance.removeSigs(index); return this; } // @@protoc_insertion_point(builder_scope:proto.SignatureList) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.SignatureList(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sigs_", com.hedera.hashgraph.sdk.proto.Signature.class, }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0002\u0002\u0001\u0000\u0001\u0000\u0002\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.SignatureList.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.SignatureList) private static final com.hedera.hashgraph.sdk.proto.SignatureList DEFAULT_INSTANCE; static { SignatureList defaultInstance = new SignatureList(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SignatureList.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.SignatureList getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy