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

org.hyperledger.fabric.protos.peer.ConfigTree Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/resources.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.peer;

/**
 * 
 * ConfigTree encapsulates channel and resources configuration of a channel.
 * Both configurations are represented as common.Config
 * 
* * Protobuf type {@code protos.ConfigTree} */ public final class ConfigTree extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:protos.ConfigTree) ConfigTreeOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 2, /* suffix= */ "", ConfigTree.class.getName()); } // Use ConfigTree.newBuilder() to construct. private ConfigTree(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ConfigTree() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.ResourcesProto.internal_static_protos_ConfigTree_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.ResourcesProto.internal_static_protos_ConfigTree_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.ConfigTree.class, org.hyperledger.fabric.protos.peer.ConfigTree.Builder.class); } private int bitField0_; public static final int CHANNEL_CONFIG_FIELD_NUMBER = 1; private org.hyperledger.fabric.protos.common.Config channelConfig_; /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; * @return Whether the channelConfig field is set. */ @java.lang.Override public boolean hasChannelConfig() { return ((bitField0_ & 0x00000001) != 0); } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; * @return The channelConfig. */ @java.lang.Override public org.hyperledger.fabric.protos.common.Config getChannelConfig() { return channelConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : channelConfig_; } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ @java.lang.Override public org.hyperledger.fabric.protos.common.ConfigOrBuilder getChannelConfigOrBuilder() { return channelConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : channelConfig_; } public static final int RESOURCES_CONFIG_FIELD_NUMBER = 2; private org.hyperledger.fabric.protos.common.Config resourcesConfig_; /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; * @return Whether the resourcesConfig field is set. */ @java.lang.Override public boolean hasResourcesConfig() { return ((bitField0_ & 0x00000002) != 0); } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; * @return The resourcesConfig. */ @java.lang.Override public org.hyperledger.fabric.protos.common.Config getResourcesConfig() { return resourcesConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : resourcesConfig_; } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ @java.lang.Override public org.hyperledger.fabric.protos.common.ConfigOrBuilder getResourcesConfigOrBuilder() { return resourcesConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : resourcesConfig_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getChannelConfig()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getResourcesConfig()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getChannelConfig()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getResourcesConfig()); } size += getUnknownFields().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.peer.ConfigTree)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.ConfigTree other = (org.hyperledger.fabric.protos.peer.ConfigTree) obj; if (hasChannelConfig() != other.hasChannelConfig()) return false; if (hasChannelConfig()) { if (!getChannelConfig() .equals(other.getChannelConfig())) return false; } if (hasResourcesConfig() != other.hasResourcesConfig()) return false; if (hasResourcesConfig()) { if (!getResourcesConfig() .equals(other.getResourcesConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasChannelConfig()) { hash = (37 * hash) + CHANNEL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getChannelConfig().hashCode(); } if (hasResourcesConfig()) { hash = (37 * hash) + RESOURCES_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getResourcesConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.ConfigTree 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.peer.ConfigTree parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.ConfigTree 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.peer.ConfigTree parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.ConfigTree parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .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.peer.ConfigTree 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.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * ConfigTree encapsulates channel and resources configuration of a channel.
   * Both configurations are represented as common.Config
   * 
* * Protobuf type {@code protos.ConfigTree} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:protos.ConfigTree) org.hyperledger.fabric.protos.peer.ConfigTreeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.ResourcesProto.internal_static_protos_ConfigTree_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.ResourcesProto.internal_static_protos_ConfigTree_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.ConfigTree.class, org.hyperledger.fabric.protos.peer.ConfigTree.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.ConfigTree.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getChannelConfigFieldBuilder(); getResourcesConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; channelConfig_ = null; if (channelConfigBuilder_ != null) { channelConfigBuilder_.dispose(); channelConfigBuilder_ = null; } resourcesConfig_ = null; if (resourcesConfigBuilder_ != null) { resourcesConfigBuilder_.dispose(); resourcesConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.ResourcesProto.internal_static_protos_ConfigTree_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.ConfigTree getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.ConfigTree.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.ConfigTree build() { org.hyperledger.fabric.protos.peer.ConfigTree result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.ConfigTree buildPartial() { org.hyperledger.fabric.protos.peer.ConfigTree result = new org.hyperledger.fabric.protos.peer.ConfigTree(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.hyperledger.fabric.protos.peer.ConfigTree result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.channelConfig_ = channelConfigBuilder_ == null ? channelConfig_ : channelConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.resourcesConfig_ = resourcesConfigBuilder_ == null ? resourcesConfig_ : resourcesConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.ConfigTree) { return mergeFrom((org.hyperledger.fabric.protos.peer.ConfigTree)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.ConfigTree other) { if (other == org.hyperledger.fabric.protos.peer.ConfigTree.getDefaultInstance()) return this; if (other.hasChannelConfig()) { mergeChannelConfig(other.getChannelConfig()); } if (other.hasResourcesConfig()) { mergeResourcesConfig(other.getResourcesConfig()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getChannelConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getResourcesConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.hyperledger.fabric.protos.common.Config channelConfig_; private com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder> channelConfigBuilder_; /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; * @return Whether the channelConfig field is set. */ public boolean hasChannelConfig() { return ((bitField0_ & 0x00000001) != 0); } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; * @return The channelConfig. */ public org.hyperledger.fabric.protos.common.Config getChannelConfig() { if (channelConfigBuilder_ == null) { return channelConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : channelConfig_; } else { return channelConfigBuilder_.getMessage(); } } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public Builder setChannelConfig(org.hyperledger.fabric.protos.common.Config value) { if (channelConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } channelConfig_ = value; } else { channelConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public Builder setChannelConfig( org.hyperledger.fabric.protos.common.Config.Builder builderForValue) { if (channelConfigBuilder_ == null) { channelConfig_ = builderForValue.build(); } else { channelConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public Builder mergeChannelConfig(org.hyperledger.fabric.protos.common.Config value) { if (channelConfigBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && channelConfig_ != null && channelConfig_ != org.hyperledger.fabric.protos.common.Config.getDefaultInstance()) { getChannelConfigBuilder().mergeFrom(value); } else { channelConfig_ = value; } } else { channelConfigBuilder_.mergeFrom(value); } if (channelConfig_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public Builder clearChannelConfig() { bitField0_ = (bitField0_ & ~0x00000001); channelConfig_ = null; if (channelConfigBuilder_ != null) { channelConfigBuilder_.dispose(); channelConfigBuilder_ = null; } onChanged(); return this; } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public org.hyperledger.fabric.protos.common.Config.Builder getChannelConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChannelConfigFieldBuilder().getBuilder(); } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ public org.hyperledger.fabric.protos.common.ConfigOrBuilder getChannelConfigOrBuilder() { if (channelConfigBuilder_ != null) { return channelConfigBuilder_.getMessageOrBuilder(); } else { return channelConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : channelConfig_; } } /** * .common.Config channel_config = 1 [json_name = "channelConfig"]; */ private com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder> getChannelConfigFieldBuilder() { if (channelConfigBuilder_ == null) { channelConfigBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder>( getChannelConfig(), getParentForChildren(), isClean()); channelConfig_ = null; } return channelConfigBuilder_; } private org.hyperledger.fabric.protos.common.Config resourcesConfig_; private com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder> resourcesConfigBuilder_; /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; * @return Whether the resourcesConfig field is set. */ public boolean hasResourcesConfig() { return ((bitField0_ & 0x00000002) != 0); } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; * @return The resourcesConfig. */ public org.hyperledger.fabric.protos.common.Config getResourcesConfig() { if (resourcesConfigBuilder_ == null) { return resourcesConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : resourcesConfig_; } else { return resourcesConfigBuilder_.getMessage(); } } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public Builder setResourcesConfig(org.hyperledger.fabric.protos.common.Config value) { if (resourcesConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resourcesConfig_ = value; } else { resourcesConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public Builder setResourcesConfig( org.hyperledger.fabric.protos.common.Config.Builder builderForValue) { if (resourcesConfigBuilder_ == null) { resourcesConfig_ = builderForValue.build(); } else { resourcesConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public Builder mergeResourcesConfig(org.hyperledger.fabric.protos.common.Config value) { if (resourcesConfigBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && resourcesConfig_ != null && resourcesConfig_ != org.hyperledger.fabric.protos.common.Config.getDefaultInstance()) { getResourcesConfigBuilder().mergeFrom(value); } else { resourcesConfig_ = value; } } else { resourcesConfigBuilder_.mergeFrom(value); } if (resourcesConfig_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public Builder clearResourcesConfig() { bitField0_ = (bitField0_ & ~0x00000002); resourcesConfig_ = null; if (resourcesConfigBuilder_ != null) { resourcesConfigBuilder_.dispose(); resourcesConfigBuilder_ = null; } onChanged(); return this; } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public org.hyperledger.fabric.protos.common.Config.Builder getResourcesConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResourcesConfigFieldBuilder().getBuilder(); } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ public org.hyperledger.fabric.protos.common.ConfigOrBuilder getResourcesConfigOrBuilder() { if (resourcesConfigBuilder_ != null) { return resourcesConfigBuilder_.getMessageOrBuilder(); } else { return resourcesConfig_ == null ? org.hyperledger.fabric.protos.common.Config.getDefaultInstance() : resourcesConfig_; } } /** * .common.Config resources_config = 2 [json_name = "resourcesConfig"]; */ private com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder> getResourcesConfigFieldBuilder() { if (resourcesConfigBuilder_ == null) { resourcesConfigBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.hyperledger.fabric.protos.common.Config, org.hyperledger.fabric.protos.common.Config.Builder, org.hyperledger.fabric.protos.common.ConfigOrBuilder>( getResourcesConfig(), getParentForChildren(), isClean()); resourcesConfig_ = null; } return resourcesConfigBuilder_; } // @@protoc_insertion_point(builder_scope:protos.ConfigTree) } // @@protoc_insertion_point(class_scope:protos.ConfigTree) private static final org.hyperledger.fabric.protos.peer.ConfigTree DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.ConfigTree(); } public static org.hyperledger.fabric.protos.peer.ConfigTree getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConfigTree parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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.peer.ConfigTree getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy