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

org.hyperledger.fabric.protos.common.ImplicitMetaPolicy Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: common/policies.proto

package org.hyperledger.fabric.protos.common;

/**
 * 
 * ImplicitMetaPolicy is a policy type which depends on the hierarchical nature of the configuration
 * It is implicit because the rule is generate implicitly based on the number of sub policies
 * It is meta because it depends only on the result of other policies
 * When evaluated, this policy iterates over all immediate child sub-groups, retrieves the policy
 * of name sub_policy, evaluates the collection and applies the rule.
 * For example, with 4 sub-groups, and a policy name of "foo", ImplicitMetaPolicy retrieves
 * each sub-group, retrieves policy "foo" for each subgroup, evaluates it, and, in the case of ANY
 * 1 satisfied is sufficient, ALL would require 4 signatures, and MAJORITY would require 3 signatures.
 * 
* * Protobuf type {@code common.ImplicitMetaPolicy} */ public final class ImplicitMetaPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:common.ImplicitMetaPolicy) ImplicitMetaPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use ImplicitMetaPolicy.newBuilder() to construct. private ImplicitMetaPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ImplicitMetaPolicy() { subPolicy_ = ""; rule_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ImplicitMetaPolicy(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ImplicitMetaPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); subPolicy_ = s; break; } case 16: { int rawValue = input.readEnum(); rule_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.common.PoliciesProto.internal_static_common_ImplicitMetaPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.common.PoliciesProto.internal_static_common_ImplicitMetaPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.class, org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Builder.class); } /** * Protobuf enum {@code common.ImplicitMetaPolicy.Rule} */ public enum Rule implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
     * 
* * ANY = 0; */ ANY(0), /** *
     * Requires all of the sub-policies be satisfied
     * 
* * ALL = 1; */ ALL(1), /** *
     * Requires a strict majority (greater than half) of the sub-policies be satisfied
     * 
* * MAJORITY = 2; */ MAJORITY(2), UNRECOGNIZED(-1), ; /** *
     * Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
     * 
* * ANY = 0; */ public static final int ANY_VALUE = 0; /** *
     * Requires all of the sub-policies be satisfied
     * 
* * ALL = 1; */ public static final int ALL_VALUE = 1; /** *
     * Requires a strict majority (greater than half) of the sub-policies be satisfied
     * 
* * MAJORITY = 2; */ public static final int MAJORITY_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Rule valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Rule forNumber(int value) { switch (value) { case 0: return ANY; case 1: return ALL; case 2: return MAJORITY; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Rule> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Rule findValueByNumber(int number) { return Rule.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.getDescriptor().getEnumTypes().get(0); } private static final Rule[] VALUES = values(); public static Rule valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Rule(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:common.ImplicitMetaPolicy.Rule) } public static final int SUB_POLICY_FIELD_NUMBER = 1; private volatile java.lang.Object subPolicy_; /** * string sub_policy = 1 [json_name = "subPolicy"]; * @return The subPolicy. */ @java.lang.Override public java.lang.String getSubPolicy() { java.lang.Object ref = subPolicy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subPolicy_ = s; return s; } } /** * string sub_policy = 1 [json_name = "subPolicy"]; * @return The bytes for subPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getSubPolicyBytes() { java.lang.Object ref = subPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RULE_FIELD_NUMBER = 2; private int rule_; /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @return The enum numeric value on the wire for rule. */ @java.lang.Override public int getRuleValue() { return rule_; } /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @return The rule. */ @java.lang.Override public org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule getRule() { @SuppressWarnings("deprecation") org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule result = org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.valueOf(rule_); return result == null ? org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subPolicy_); } if (rule_ != org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.ANY.getNumber()) { output.writeEnum(2, rule_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subPolicy_); } if (rule_ != org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.ANY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, rule_); } 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 org.hyperledger.fabric.protos.common.ImplicitMetaPolicy)) { return super.equals(obj); } org.hyperledger.fabric.protos.common.ImplicitMetaPolicy other = (org.hyperledger.fabric.protos.common.ImplicitMetaPolicy) obj; if (!getSubPolicy() .equals(other.getSubPolicy())) return false; if (rule_ != other.rule_) 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(); hash = (37 * hash) + SUB_POLICY_FIELD_NUMBER; hash = (53 * hash) + getSubPolicy().hashCode(); hash = (37 * hash) + RULE_FIELD_NUMBER; hash = (53 * hash) + rule_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy 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 org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy 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 org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy 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(org.hyperledger.fabric.protos.common.ImplicitMetaPolicy 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; } /** *
   * ImplicitMetaPolicy is a policy type which depends on the hierarchical nature of the configuration
   * It is implicit because the rule is generate implicitly based on the number of sub policies
   * It is meta because it depends only on the result of other policies
   * When evaluated, this policy iterates over all immediate child sub-groups, retrieves the policy
   * of name sub_policy, evaluates the collection and applies the rule.
   * For example, with 4 sub-groups, and a policy name of "foo", ImplicitMetaPolicy retrieves
   * each sub-group, retrieves policy "foo" for each subgroup, evaluates it, and, in the case of ANY
   * 1 satisfied is sufficient, ALL would require 4 signatures, and MAJORITY would require 3 signatures.
   * 
* * Protobuf type {@code common.ImplicitMetaPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:common.ImplicitMetaPolicy) org.hyperledger.fabric.protos.common.ImplicitMetaPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.common.PoliciesProto.internal_static_common_ImplicitMetaPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.common.PoliciesProto.internal_static_common_ImplicitMetaPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.class, org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Builder.class); } // Construct using org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.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(); subPolicy_ = ""; rule_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.common.PoliciesProto.internal_static_common_ImplicitMetaPolicy_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.common.ImplicitMetaPolicy getDefaultInstanceForType() { return org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.common.ImplicitMetaPolicy build() { org.hyperledger.fabric.protos.common.ImplicitMetaPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.common.ImplicitMetaPolicy buildPartial() { org.hyperledger.fabric.protos.common.ImplicitMetaPolicy result = new org.hyperledger.fabric.protos.common.ImplicitMetaPolicy(this); result.subPolicy_ = subPolicy_; result.rule_ = rule_; 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 org.hyperledger.fabric.protos.common.ImplicitMetaPolicy) { return mergeFrom((org.hyperledger.fabric.protos.common.ImplicitMetaPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.common.ImplicitMetaPolicy other) { if (other == org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.getDefaultInstance()) return this; if (!other.getSubPolicy().isEmpty()) { subPolicy_ = other.subPolicy_; onChanged(); } if (other.rule_ != 0) { setRuleValue(other.getRuleValue()); } 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 { org.hyperledger.fabric.protos.common.ImplicitMetaPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.common.ImplicitMetaPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object subPolicy_ = ""; /** * string sub_policy = 1 [json_name = "subPolicy"]; * @return The subPolicy. */ public java.lang.String getSubPolicy() { java.lang.Object ref = subPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sub_policy = 1 [json_name = "subPolicy"]; * @return The bytes for subPolicy. */ public com.google.protobuf.ByteString getSubPolicyBytes() { java.lang.Object ref = subPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sub_policy = 1 [json_name = "subPolicy"]; * @param value The subPolicy to set. * @return This builder for chaining. */ public Builder setSubPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } subPolicy_ = value; onChanged(); return this; } /** * string sub_policy = 1 [json_name = "subPolicy"]; * @return This builder for chaining. */ public Builder clearSubPolicy() { subPolicy_ = getDefaultInstance().getSubPolicy(); onChanged(); return this; } /** * string sub_policy = 1 [json_name = "subPolicy"]; * @param value The bytes for subPolicy to set. * @return This builder for chaining. */ public Builder setSubPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subPolicy_ = value; onChanged(); return this; } private int rule_ = 0; /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @return The enum numeric value on the wire for rule. */ @java.lang.Override public int getRuleValue() { return rule_; } /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @param value The enum numeric value on the wire for rule to set. * @return This builder for chaining. */ public Builder setRuleValue(int value) { rule_ = value; onChanged(); return this; } /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @return The rule. */ @java.lang.Override public org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule getRule() { @SuppressWarnings("deprecation") org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule result = org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.valueOf(rule_); return result == null ? org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule.UNRECOGNIZED : result; } /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @param value The rule to set. * @return This builder for chaining. */ public Builder setRule(org.hyperledger.fabric.protos.common.ImplicitMetaPolicy.Rule value) { if (value == null) { throw new NullPointerException(); } rule_ = value.getNumber(); onChanged(); return this; } /** * .common.ImplicitMetaPolicy.Rule rule = 2 [json_name = "rule"]; * @return This builder for chaining. */ public Builder clearRule() { rule_ = 0; onChanged(); return this; } @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:common.ImplicitMetaPolicy) } // @@protoc_insertion_point(class_scope:common.ImplicitMetaPolicy) private static final org.hyperledger.fabric.protos.common.ImplicitMetaPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.common.ImplicitMetaPolicy(); } public static org.hyperledger.fabric.protos.common.ImplicitMetaPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ImplicitMetaPolicy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ImplicitMetaPolicy(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 org.hyperledger.fabric.protos.common.ImplicitMetaPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy