All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.hyperledger.fabric.protos.gossip.MembershipRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: gossip/message.proto
package org.hyperledger.fabric.protos.gossip;
/**
*
* MembershipRequest is used to ask membership information
* from a remote peer
*
*
* Protobuf type {@code gossip.MembershipRequest}
*/
public final class MembershipRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gossip.MembershipRequest)
MembershipRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use MembershipRequest.newBuilder() to construct.
private MembershipRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private MembershipRequest() {
known_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MembershipRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MembershipRequest(
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: {
org.hyperledger.fabric.protos.gossip.Envelope.Builder subBuilder = null;
if (selfInformation_ != null) {
subBuilder = selfInformation_.toBuilder();
}
selfInformation_ = input.readMessage(org.hyperledger.fabric.protos.gossip.Envelope.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(selfInformation_);
selfInformation_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
known_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
known_.add(input.readBytes());
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)) {
known_ = java.util.Collections.unmodifiableList(known_); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.fabric.protos.gossip.MessageProto.internal_static_gossip_MembershipRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.gossip.MessageProto.internal_static_gossip_MembershipRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.gossip.MembershipRequest.class, org.hyperledger.fabric.protos.gossip.MembershipRequest.Builder.class);
}
public static final int SELF_INFORMATION_FIELD_NUMBER = 1;
private org.hyperledger.fabric.protos.gossip.Envelope selfInformation_;
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
* @return Whether the selfInformation field is set.
*/
@java.lang.Override
public boolean hasSelfInformation() {
return selfInformation_ != null;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
* @return The selfInformation.
*/
@java.lang.Override
public org.hyperledger.fabric.protos.gossip.Envelope getSelfInformation() {
return selfInformation_ == null ? org.hyperledger.fabric.protos.gossip.Envelope.getDefaultInstance() : selfInformation_;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
@java.lang.Override
public org.hyperledger.fabric.protos.gossip.EnvelopeOrBuilder getSelfInformationOrBuilder() {
return getSelfInformation();
}
public static final int KNOWN_FIELD_NUMBER = 2;
private java.util.List known_;
/**
* repeated bytes known = 2 [json_name = "known"];
* @return A list containing the known.
*/
@java.lang.Override
public java.util.List
getKnownList() {
return known_;
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @return The count of known.
*/
public int getKnownCount() {
return known_.size();
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @param index The index of the element to return.
* @return The known at the given index.
*/
public com.google.protobuf.ByteString getKnown(int index) {
return known_.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 (selfInformation_ != null) {
output.writeMessage(1, getSelfInformation());
}
for (int i = 0; i < known_.size(); i++) {
output.writeBytes(2, known_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (selfInformation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSelfInformation());
}
{
int dataSize = 0;
for (int i = 0; i < known_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(known_.get(i));
}
size += dataSize;
size += 1 * getKnownList().size();
}
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.gossip.MembershipRequest)) {
return super.equals(obj);
}
org.hyperledger.fabric.protos.gossip.MembershipRequest other = (org.hyperledger.fabric.protos.gossip.MembershipRequest) obj;
if (hasSelfInformation() != other.hasSelfInformation()) return false;
if (hasSelfInformation()) {
if (!getSelfInformation()
.equals(other.getSelfInformation())) return false;
}
if (!getKnownList()
.equals(other.getKnownList())) 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 (hasSelfInformation()) {
hash = (37 * hash) + SELF_INFORMATION_FIELD_NUMBER;
hash = (53 * hash) + getSelfInformation().hashCode();
}
if (getKnownCount() > 0) {
hash = (37 * hash) + KNOWN_FIELD_NUMBER;
hash = (53 * hash) + getKnownList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest 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.gossip.MembershipRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest 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.gossip.MembershipRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest 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.gossip.MembershipRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest 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.gossip.MembershipRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest 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.gossip.MembershipRequest 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;
}
/**
*
* MembershipRequest is used to ask membership information
* from a remote peer
*
*
* Protobuf type {@code gossip.MembershipRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gossip.MembershipRequest)
org.hyperledger.fabric.protos.gossip.MembershipRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.fabric.protos.gossip.MessageProto.internal_static_gossip_MembershipRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.gossip.MessageProto.internal_static_gossip_MembershipRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.gossip.MembershipRequest.class, org.hyperledger.fabric.protos.gossip.MembershipRequest.Builder.class);
}
// Construct using org.hyperledger.fabric.protos.gossip.MembershipRequest.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 (selfInformationBuilder_ == null) {
selfInformation_ = null;
} else {
selfInformation_ = null;
selfInformationBuilder_ = null;
}
known_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.fabric.protos.gossip.MessageProto.internal_static_gossip_MembershipRequest_descriptor;
}
@java.lang.Override
public org.hyperledger.fabric.protos.gossip.MembershipRequest getDefaultInstanceForType() {
return org.hyperledger.fabric.protos.gossip.MembershipRequest.getDefaultInstance();
}
@java.lang.Override
public org.hyperledger.fabric.protos.gossip.MembershipRequest build() {
org.hyperledger.fabric.protos.gossip.MembershipRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.hyperledger.fabric.protos.gossip.MembershipRequest buildPartial() {
org.hyperledger.fabric.protos.gossip.MembershipRequest result = new org.hyperledger.fabric.protos.gossip.MembershipRequest(this);
int from_bitField0_ = bitField0_;
if (selfInformationBuilder_ == null) {
result.selfInformation_ = selfInformation_;
} else {
result.selfInformation_ = selfInformationBuilder_.build();
}
if (((bitField0_ & 0x00000001) != 0)) {
known_ = java.util.Collections.unmodifiableList(known_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.known_ = known_;
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.gossip.MembershipRequest) {
return mergeFrom((org.hyperledger.fabric.protos.gossip.MembershipRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.fabric.protos.gossip.MembershipRequest other) {
if (other == org.hyperledger.fabric.protos.gossip.MembershipRequest.getDefaultInstance()) return this;
if (other.hasSelfInformation()) {
mergeSelfInformation(other.getSelfInformation());
}
if (!other.known_.isEmpty()) {
if (known_.isEmpty()) {
known_ = other.known_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKnownIsMutable();
known_.addAll(other.known_);
}
onChanged();
}
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.gossip.MembershipRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.fabric.protos.gossip.MembershipRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.hyperledger.fabric.protos.gossip.Envelope selfInformation_;
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.fabric.protos.gossip.Envelope, org.hyperledger.fabric.protos.gossip.Envelope.Builder, org.hyperledger.fabric.protos.gossip.EnvelopeOrBuilder> selfInformationBuilder_;
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
* @return Whether the selfInformation field is set.
*/
public boolean hasSelfInformation() {
return selfInformationBuilder_ != null || selfInformation_ != null;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
* @return The selfInformation.
*/
public org.hyperledger.fabric.protos.gossip.Envelope getSelfInformation() {
if (selfInformationBuilder_ == null) {
return selfInformation_ == null ? org.hyperledger.fabric.protos.gossip.Envelope.getDefaultInstance() : selfInformation_;
} else {
return selfInformationBuilder_.getMessage();
}
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public Builder setSelfInformation(org.hyperledger.fabric.protos.gossip.Envelope value) {
if (selfInformationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
selfInformation_ = value;
onChanged();
} else {
selfInformationBuilder_.setMessage(value);
}
return this;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public Builder setSelfInformation(
org.hyperledger.fabric.protos.gossip.Envelope.Builder builderForValue) {
if (selfInformationBuilder_ == null) {
selfInformation_ = builderForValue.build();
onChanged();
} else {
selfInformationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public Builder mergeSelfInformation(org.hyperledger.fabric.protos.gossip.Envelope value) {
if (selfInformationBuilder_ == null) {
if (selfInformation_ != null) {
selfInformation_ =
org.hyperledger.fabric.protos.gossip.Envelope.newBuilder(selfInformation_).mergeFrom(value).buildPartial();
} else {
selfInformation_ = value;
}
onChanged();
} else {
selfInformationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public Builder clearSelfInformation() {
if (selfInformationBuilder_ == null) {
selfInformation_ = null;
onChanged();
} else {
selfInformation_ = null;
selfInformationBuilder_ = null;
}
return this;
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public org.hyperledger.fabric.protos.gossip.Envelope.Builder getSelfInformationBuilder() {
onChanged();
return getSelfInformationFieldBuilder().getBuilder();
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
public org.hyperledger.fabric.protos.gossip.EnvelopeOrBuilder getSelfInformationOrBuilder() {
if (selfInformationBuilder_ != null) {
return selfInformationBuilder_.getMessageOrBuilder();
} else {
return selfInformation_ == null ?
org.hyperledger.fabric.protos.gossip.Envelope.getDefaultInstance() : selfInformation_;
}
}
/**
* .gossip.Envelope self_information = 1 [json_name = "selfInformation"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.fabric.protos.gossip.Envelope, org.hyperledger.fabric.protos.gossip.Envelope.Builder, org.hyperledger.fabric.protos.gossip.EnvelopeOrBuilder>
getSelfInformationFieldBuilder() {
if (selfInformationBuilder_ == null) {
selfInformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.fabric.protos.gossip.Envelope, org.hyperledger.fabric.protos.gossip.Envelope.Builder, org.hyperledger.fabric.protos.gossip.EnvelopeOrBuilder>(
getSelfInformation(),
getParentForChildren(),
isClean());
selfInformation_ = null;
}
return selfInformationBuilder_;
}
private java.util.List known_ = java.util.Collections.emptyList();
private void ensureKnownIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
known_ = new java.util.ArrayList(known_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @return A list containing the known.
*/
public java.util.List
getKnownList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(known_) : known_;
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @return The count of known.
*/
public int getKnownCount() {
return known_.size();
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @param index The index of the element to return.
* @return The known at the given index.
*/
public com.google.protobuf.ByteString getKnown(int index) {
return known_.get(index);
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @param index The index to set the value at.
* @param value The known to set.
* @return This builder for chaining.
*/
public Builder setKnown(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureKnownIsMutable();
known_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @param value The known to add.
* @return This builder for chaining.
*/
public Builder addKnown(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureKnownIsMutable();
known_.add(value);
onChanged();
return this;
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @param values The known to add.
* @return This builder for chaining.
*/
public Builder addAllKnown(
java.lang.Iterable values) {
ensureKnownIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, known_);
onChanged();
return this;
}
/**
* repeated bytes known = 2 [json_name = "known"];
* @return This builder for chaining.
*/
public Builder clearKnown() {
known_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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:gossip.MembershipRequest)
}
// @@protoc_insertion_point(class_scope:gossip.MembershipRequest)
private static final org.hyperledger.fabric.protos.gossip.MembershipRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.gossip.MembershipRequest();
}
public static org.hyperledger.fabric.protos.gossip.MembershipRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MembershipRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MembershipRequest(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.gossip.MembershipRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}