com.alibaba.nacos.consistency.entity.ReadRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: consistency.proto
package com.alibaba.nacos.consistency.entity;
/**
* Protobuf type {@code ReadRequest}
*/
public final class ReadRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ReadRequest)
ReadRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReadRequest.newBuilder() to construct.
private ReadRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReadRequest() {
group_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ReadRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetExtendInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.consistency.entity.ReadRequest.class, com.alibaba.nacos.consistency.entity.ReadRequest.Builder.class);
}
public static final int GROUP_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object group_ = "";
/**
* string group = 1;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
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();
group_ = s;
return s;
}
}
/**
* string group = 1;
* @return The bytes for group.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes data = 2;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
public static final int EXTENDINFO_FIELD_NUMBER = 3;
private static final class ExtendInfoDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_ExtendInfoEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> extendInfo_;
private com.google.protobuf.MapField
internalGetExtendInfo() {
if (extendInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ExtendInfoDefaultEntryHolder.defaultEntry);
}
return extendInfo_;
}
public int getExtendInfoCount() {
return internalGetExtendInfo().getMap().size();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public boolean containsExtendInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetExtendInfo().getMap().containsKey(key);
}
/**
* Use {@link #getExtendInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getExtendInfo() {
return getExtendInfoMap();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public java.util.Map getExtendInfoMap() {
return internalGetExtendInfo().getMap();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public /* nullable */
java.lang.String getExtendInfoOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetExtendInfo().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public java.lang.String getExtendInfoOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetExtendInfo().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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(group_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
if (!data_.isEmpty()) {
output.writeBytes(2, data_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetExtendInfo(),
ExtendInfoDefaultEntryHolder.defaultEntry,
3);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
if (!data_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, data_);
}
for (java.util.Map.Entry entry
: internalGetExtendInfo().getMap().entrySet()) {
com.google.protobuf.MapEntry
extendInfo__ = ExtendInfoDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, extendInfo__);
}
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 com.alibaba.nacos.consistency.entity.ReadRequest)) {
return super.equals(obj);
}
com.alibaba.nacos.consistency.entity.ReadRequest other = (com.alibaba.nacos.consistency.entity.ReadRequest) obj;
if (!getGroup()
.equals(other.getGroup())) return false;
if (!getData()
.equals(other.getData())) return false;
if (!internalGetExtendInfo().equals(
other.internalGetExtendInfo())) 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();
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
if (!internalGetExtendInfo().getMap().isEmpty()) {
hash = (37 * hash) + EXTENDINFO_FIELD_NUMBER;
hash = (53 * hash) + internalGetExtendInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest 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 com.alibaba.nacos.consistency.entity.ReadRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest 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 com.alibaba.nacos.consistency.entity.ReadRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.nacos.consistency.entity.ReadRequest 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(com.alibaba.nacos.consistency.entity.ReadRequest 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;
}
/**
* Protobuf type {@code ReadRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ReadRequest)
com.alibaba.nacos.consistency.entity.ReadRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetExtendInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 3:
return internalGetMutableExtendInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.consistency.entity.ReadRequest.class, com.alibaba.nacos.consistency.entity.ReadRequest.Builder.class);
}
// Construct using com.alibaba.nacos.consistency.entity.ReadRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
group_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
internalGetMutableExtendInfo().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.nacos.consistency.entity.Consistency.internal_static_ReadRequest_descriptor;
}
@java.lang.Override
public com.alibaba.nacos.consistency.entity.ReadRequest getDefaultInstanceForType() {
return com.alibaba.nacos.consistency.entity.ReadRequest.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.nacos.consistency.entity.ReadRequest build() {
com.alibaba.nacos.consistency.entity.ReadRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.nacos.consistency.entity.ReadRequest buildPartial() {
com.alibaba.nacos.consistency.entity.ReadRequest result = new com.alibaba.nacos.consistency.entity.ReadRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.alibaba.nacos.consistency.entity.ReadRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.group_ = group_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.data_ = data_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.extendInfo_ = internalGetExtendInfo();
result.extendInfo_.makeImmutable();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.nacos.consistency.entity.ReadRequest) {
return mergeFrom((com.alibaba.nacos.consistency.entity.ReadRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.nacos.consistency.entity.ReadRequest other) {
if (other == com.alibaba.nacos.consistency.entity.ReadRequest.getDefaultInstance()) return this;
if (!other.getGroup().isEmpty()) {
group_ = other.group_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
setData(other.getData());
}
internalGetMutableExtendInfo().mergeFrom(
other.internalGetExtendInfo());
bitField0_ |= 0x00000004;
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: {
group_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
data_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
com.google.protobuf.MapEntry
extendInfo__ = input.readMessage(
ExtendInfoDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableExtendInfo().getMutableMap().put(
extendInfo__.getKey(), extendInfo__.getValue());
bitField0_ |= 0x00000004;
break;
} // case 26
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 java.lang.Object group_ = "";
/**
* string group = 1;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
group_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string group = 1;
* @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string group = 1;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
group_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string group = 1;
* @return This builder for chaining.
*/
public Builder clearGroup() {
group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string group = 1;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
group_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes data = 2;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 2;
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
data_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* bytes data = 2;
* @return This builder for chaining.
*/
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000002);
data_ = getDefaultInstance().getData();
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> extendInfo_;
private com.google.protobuf.MapField
internalGetExtendInfo() {
if (extendInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ExtendInfoDefaultEntryHolder.defaultEntry);
}
return extendInfo_;
}
private com.google.protobuf.MapField
internalGetMutableExtendInfo() {
if (extendInfo_ == null) {
extendInfo_ = com.google.protobuf.MapField.newMapField(
ExtendInfoDefaultEntryHolder.defaultEntry);
}
if (!extendInfo_.isMutable()) {
extendInfo_ = extendInfo_.copy();
}
bitField0_ |= 0x00000004;
onChanged();
return extendInfo_;
}
public int getExtendInfoCount() {
return internalGetExtendInfo().getMap().size();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public boolean containsExtendInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetExtendInfo().getMap().containsKey(key);
}
/**
* Use {@link #getExtendInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getExtendInfo() {
return getExtendInfoMap();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public java.util.Map getExtendInfoMap() {
return internalGetExtendInfo().getMap();
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public /* nullable */
java.lang.String getExtendInfoOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetExtendInfo().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> extendInfo = 3;
*/
@java.lang.Override
public java.lang.String getExtendInfoOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetExtendInfo().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearExtendInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableExtendInfo().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> extendInfo = 3;
*/
public Builder removeExtendInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableExtendInfo().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableExtendInfo() {
bitField0_ |= 0x00000004;
return internalGetMutableExtendInfo().getMutableMap();
}
/**
* map<string, string> extendInfo = 3;
*/
public Builder putExtendInfo(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableExtendInfo().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000004;
return this;
}
/**
* map<string, string> extendInfo = 3;
*/
public Builder putAllExtendInfo(
java.util.Map values) {
internalGetMutableExtendInfo().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000004;
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:ReadRequest)
}
// @@protoc_insertion_point(class_scope:ReadRequest)
private static final com.alibaba.nacos.consistency.entity.ReadRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.nacos.consistency.entity.ReadRequest();
}
public static com.alibaba.nacos.consistency.entity.ReadRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ReadRequest 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 com.alibaba.nacos.consistency.entity.ReadRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy