org.hyperledger.fabric.protos.orderer.KafkaMessageRegular Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-protos Show documentation
Show all versions of fabric-protos Show documentation
PROTO library for fabric-protos
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: orderer/kafka.proto
package org.hyperledger.fabric.protos.orderer;
/**
*
* KafkaMessageRegular wraps a marshalled envelope.
*
*
* Protobuf type {@code orderer.KafkaMessageRegular}
*/
public final class KafkaMessageRegular extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:orderer.KafkaMessageRegular)
KafkaMessageRegularOrBuilder {
private static final long serialVersionUID = 0L;
// Use KafkaMessageRegular.newBuilder() to construct.
private KafkaMessageRegular(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private KafkaMessageRegular() {
payload_ = com.google.protobuf.ByteString.EMPTY;
class__ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KafkaMessageRegular();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private KafkaMessageRegular(
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: {
payload_ = input.readBytes();
break;
}
case 16: {
configSeq_ = input.readUInt64();
break;
}
case 24: {
int rawValue = input.readEnum();
class__ = rawValue;
break;
}
case 32: {
originalOffset_ = input.readInt64();
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.orderer.KafkaProto.internal_static_orderer_KafkaMessageRegular_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.orderer.KafkaProto.internal_static_orderer_KafkaMessageRegular_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.class, org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Builder.class);
}
/**
* Protobuf enum {@code orderer.KafkaMessageRegular.Class}
*/
public enum Class
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* NORMAL = 1;
*/
NORMAL(1),
/**
* CONFIG = 2;
*/
CONFIG(2),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* NORMAL = 1;
*/
public static final int NORMAL_VALUE = 1;
/**
* CONFIG = 2;
*/
public static final int CONFIG_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 Class 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 Class forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return NORMAL;
case 2: return CONFIG;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Class> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Class findValueByNumber(int number) {
return Class.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.orderer.KafkaMessageRegular.getDescriptor().getEnumTypes().get(0);
}
private static final Class[] VALUES = values();
public static Class 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 Class(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:orderer.KafkaMessageRegular.Class)
}
public static final int PAYLOAD_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString payload_;
/**
* bytes payload = 1 [json_name = "payload"];
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
public static final int CONFIG_SEQ_FIELD_NUMBER = 2;
private long configSeq_;
/**
* uint64 config_seq = 2 [json_name = "configSeq"];
* @return The configSeq.
*/
@java.lang.Override
public long getConfigSeq() {
return configSeq_;
}
public static final int CLASS_FIELD_NUMBER = 3;
private int class__;
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @return The enum numeric value on the wire for class.
*/
@java.lang.Override public int getClass_Value() {
return class__;
}
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @return The class.
*/
@java.lang.Override public org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class getClass_() {
@SuppressWarnings("deprecation")
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class result = org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.valueOf(class__);
return result == null ? org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.UNRECOGNIZED : result;
}
public static final int ORIGINAL_OFFSET_FIELD_NUMBER = 4;
private long originalOffset_;
/**
* int64 original_offset = 4 [json_name = "originalOffset"];
* @return The originalOffset.
*/
@java.lang.Override
public long getOriginalOffset() {
return originalOffset_;
}
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 (!payload_.isEmpty()) {
output.writeBytes(1, payload_);
}
if (configSeq_ != 0L) {
output.writeUInt64(2, configSeq_);
}
if (class__ != org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.UNKNOWN.getNumber()) {
output.writeEnum(3, class__);
}
if (originalOffset_ != 0L) {
output.writeInt64(4, originalOffset_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!payload_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, payload_);
}
if (configSeq_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, configSeq_);
}
if (class__ != org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, class__);
}
if (originalOffset_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, originalOffset_);
}
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.orderer.KafkaMessageRegular)) {
return super.equals(obj);
}
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular other = (org.hyperledger.fabric.protos.orderer.KafkaMessageRegular) obj;
if (!getPayload()
.equals(other.getPayload())) return false;
if (getConfigSeq()
!= other.getConfigSeq()) return false;
if (class__ != other.class__) return false;
if (getOriginalOffset()
!= other.getOriginalOffset()) 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) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
hash = (37 * hash) + CONFIG_SEQ_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getConfigSeq());
hash = (37 * hash) + CLASS_FIELD_NUMBER;
hash = (53 * hash) + class__;
hash = (37 * hash) + ORIGINAL_OFFSET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOriginalOffset());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular 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.orderer.KafkaMessageRegular parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular 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.orderer.KafkaMessageRegular parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular 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.orderer.KafkaMessageRegular parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular 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.orderer.KafkaMessageRegular parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular 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.orderer.KafkaMessageRegular 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;
}
/**
*
* KafkaMessageRegular wraps a marshalled envelope.
*
*
* Protobuf type {@code orderer.KafkaMessageRegular}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:orderer.KafkaMessageRegular)
org.hyperledger.fabric.protos.orderer.KafkaMessageRegularOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.fabric.protos.orderer.KafkaProto.internal_static_orderer_KafkaMessageRegular_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.orderer.KafkaProto.internal_static_orderer_KafkaMessageRegular_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.class, org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Builder.class);
}
// Construct using org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.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();
payload_ = com.google.protobuf.ByteString.EMPTY;
configSeq_ = 0L;
class__ = 0;
originalOffset_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.fabric.protos.orderer.KafkaProto.internal_static_orderer_KafkaMessageRegular_descriptor;
}
@java.lang.Override
public org.hyperledger.fabric.protos.orderer.KafkaMessageRegular getDefaultInstanceForType() {
return org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.getDefaultInstance();
}
@java.lang.Override
public org.hyperledger.fabric.protos.orderer.KafkaMessageRegular build() {
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.hyperledger.fabric.protos.orderer.KafkaMessageRegular buildPartial() {
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular result = new org.hyperledger.fabric.protos.orderer.KafkaMessageRegular(this);
result.payload_ = payload_;
result.configSeq_ = configSeq_;
result.class__ = class__;
result.originalOffset_ = originalOffset_;
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.orderer.KafkaMessageRegular) {
return mergeFrom((org.hyperledger.fabric.protos.orderer.KafkaMessageRegular)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.fabric.protos.orderer.KafkaMessageRegular other) {
if (other == org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.getDefaultInstance()) return this;
if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
setPayload(other.getPayload());
}
if (other.getConfigSeq() != 0L) {
setConfigSeq(other.getConfigSeq());
}
if (other.class__ != 0) {
setClass_Value(other.getClass_Value());
}
if (other.getOriginalOffset() != 0L) {
setOriginalOffset(other.getOriginalOffset());
}
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.orderer.KafkaMessageRegular parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.fabric.protos.orderer.KafkaMessageRegular) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 1 [json_name = "payload"];
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* bytes payload = 1 [json_name = "payload"];
* @param value The payload to set.
* @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
payload_ = value;
onChanged();
return this;
}
/**
* bytes payload = 1 [json_name = "payload"];
* @return This builder for chaining.
*/
public Builder clearPayload() {
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
private long configSeq_ ;
/**
* uint64 config_seq = 2 [json_name = "configSeq"];
* @return The configSeq.
*/
@java.lang.Override
public long getConfigSeq() {
return configSeq_;
}
/**
* uint64 config_seq = 2 [json_name = "configSeq"];
* @param value The configSeq to set.
* @return This builder for chaining.
*/
public Builder setConfigSeq(long value) {
configSeq_ = value;
onChanged();
return this;
}
/**
* uint64 config_seq = 2 [json_name = "configSeq"];
* @return This builder for chaining.
*/
public Builder clearConfigSeq() {
configSeq_ = 0L;
onChanged();
return this;
}
private int class__ = 0;
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @return The enum numeric value on the wire for class.
*/
@java.lang.Override public int getClass_Value() {
return class__;
}
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @param value The enum numeric value on the wire for class to set.
* @return This builder for chaining.
*/
public Builder setClass_Value(int value) {
class__ = value;
onChanged();
return this;
}
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @return The class.
*/
@java.lang.Override
public org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class getClass_() {
@SuppressWarnings("deprecation")
org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class result = org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.valueOf(class__);
return result == null ? org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class.UNRECOGNIZED : result;
}
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @param value The class to set.
* @return This builder for chaining.
*/
public Builder setClass_(org.hyperledger.fabric.protos.orderer.KafkaMessageRegular.Class value) {
if (value == null) {
throw new NullPointerException();
}
class__ = value.getNumber();
onChanged();
return this;
}
/**
* .orderer.KafkaMessageRegular.Class class = 3 [json_name = "class"];
* @return This builder for chaining.
*/
public Builder clearClass_() {
class__ = 0;
onChanged();
return this;
}
private long originalOffset_ ;
/**
* int64 original_offset = 4 [json_name = "originalOffset"];
* @return The originalOffset.
*/
@java.lang.Override
public long getOriginalOffset() {
return originalOffset_;
}
/**
* int64 original_offset = 4 [json_name = "originalOffset"];
* @param value The originalOffset to set.
* @return This builder for chaining.
*/
public Builder setOriginalOffset(long value) {
originalOffset_ = value;
onChanged();
return this;
}
/**
* int64 original_offset = 4 [json_name = "originalOffset"];
* @return This builder for chaining.
*/
public Builder clearOriginalOffset() {
originalOffset_ = 0L;
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:orderer.KafkaMessageRegular)
}
// @@protoc_insertion_point(class_scope:orderer.KafkaMessageRegular)
private static final org.hyperledger.fabric.protos.orderer.KafkaMessageRegular DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.orderer.KafkaMessageRegular();
}
public static org.hyperledger.fabric.protos.orderer.KafkaMessageRegular getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KafkaMessageRegular parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KafkaMessageRegular(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.orderer.KafkaMessageRegular getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}