in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: suuchi.proto
package in.ashwanthkumar.suuchi.rpc.generated;
public final class SuuchiRPC {
private SuuchiRPC() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:PingRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code PingRequest}
*/
public static final class PingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PingRequest)
PingRequestOrBuilder {
// Use PingRequest.newBuilder() to construct.
private PingRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PingRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private PingRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest) obj;
boolean result = true;
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 PingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PingRequest)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingRequest_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest(this);
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest.getDefaultInstance()) return this;
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:PingRequest)
}
// @@protoc_insertion_point(class_scope:PingRequest)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PingRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:PingResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool status = 1;
*/
boolean getStatus();
}
/**
* Protobuf type {@code PingResponse}
*/
public static final class PingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PingResponse)
PingResponseOrBuilder {
// Use PingResponse.newBuilder() to construct.
private PingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PingResponse() {
status_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private PingResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
status_ = input.readBool();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private boolean status_;
/**
* optional bool status = 1;
*/
public boolean getStatus() {
return status_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != false) {
output.writeBool(1, status_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, status_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse) obj;
boolean result = true;
result = result && (getStatus()
== other.getStatus());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStatus());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 PingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PingResponse)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
status_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PingResponse_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse(this);
result.status_ = status_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse.getDefaultInstance()) return this;
if (other.getStatus() != false) {
setStatus(other.getStatus());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean status_ ;
/**
* optional bool status = 1;
*/
public boolean getStatus() {
return status_;
}
/**
* optional bool status = 1;
*/
public Builder setStatus(boolean value) {
status_ = value;
onChanged();
return this;
}
/**
* optional bool status = 1;
*/
public Builder clearStatus() {
status_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:PingResponse)
}
// @@protoc_insertion_point(class_scope:PingResponse)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PingResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes key = 1;
*/
com.google.protobuf.ByteString getKey();
}
/**
* Protobuf type {@code GetRequest}
*/
public static final class GetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetRequest)
GetRequestOrBuilder {
// Use GetRequest.newBuilder() to construct.
private GetRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetRequest() {
key_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private GetRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
key_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString key_;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!key_.isEmpty()) {
output.writeBytes(1, key_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!key_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, key_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest) obj;
boolean result = true;
result = result && getKey()
.equals(other.getKey());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 GetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetRequest)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetRequest_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest(this);
result.key_ = key_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest.getDefaultInstance()) return this;
if (other.getKey() != com.google.protobuf.ByteString.EMPTY) {
setKey(other.getKey());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
/**
* optional bytes key = 1;
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* optional bytes key = 1;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:GetRequest)
}
// @@protoc_insertion_point(class_scope:GetRequest)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes key = 1;
*/
com.google.protobuf.ByteString getKey();
/**
* optional bytes value = 2;
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code GetResponse}
*/
public static final class GetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetResponse)
GetResponseOrBuilder {
// Use GetResponse.newBuilder() to construct.
private GetResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetResponse() {
key_ = com.google.protobuf.ByteString.EMPTY;
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private GetResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
key_ = input.readBytes();
break;
}
case 18: {
value_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString key_;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!key_.isEmpty()) {
output.writeBytes(1, key_);
}
if (!value_.isEmpty()) {
output.writeBytes(2, value_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!key_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, key_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse) obj;
boolean result = true;
result = result && getKey()
.equals(other.getKey());
result = result && getValue()
.equals(other.getValue());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 GetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetResponse)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = com.google.protobuf.ByteString.EMPTY;
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_GetResponse_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse(this);
result.key_ = key_;
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse.getDefaultInstance()) return this;
if (other.getKey() != com.google.protobuf.ByteString.EMPTY) {
setKey(other.getKey());
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
/**
* optional bytes key = 1;
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* optional bytes key = 1;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* optional bytes value = 2;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:GetResponse)
}
// @@protoc_insertion_point(class_scope:GetResponse)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.GetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PutRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:PutRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes key = 1;
*/
com.google.protobuf.ByteString getKey();
/**
* optional bytes value = 2;
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code PutRequest}
*/
public static final class PutRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PutRequest)
PutRequestOrBuilder {
// Use PutRequest.newBuilder() to construct.
private PutRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PutRequest() {
key_ = com.google.protobuf.ByteString.EMPTY;
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private PutRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
key_ = input.readBytes();
break;
}
case 18: {
value_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString key_;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!key_.isEmpty()) {
output.writeBytes(1, key_);
}
if (!value_.isEmpty()) {
output.writeBytes(2, value_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!key_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, key_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest) obj;
boolean result = true;
result = result && getKey()
.equals(other.getKey());
result = result && getValue()
.equals(other.getValue());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 PutRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PutRequest)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = com.google.protobuf.ByteString.EMPTY;
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutRequest_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest(this);
result.key_ = key_;
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest.getDefaultInstance()) return this;
if (other.getKey() != com.google.protobuf.ByteString.EMPTY) {
setKey(other.getKey());
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes key = 1;
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
/**
* optional bytes key = 1;
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* optional bytes key = 1;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* optional bytes value = 2;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:PutRequest)
}
// @@protoc_insertion_point(class_scope:PutRequest)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PutRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PutRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PutResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:PutResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool status = 1;
*/
boolean getStatus();
}
/**
* Protobuf type {@code PutResponse}
*/
public static final class PutResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PutResponse)
PutResponseOrBuilder {
// Use PutResponse.newBuilder() to construct.
private PutResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PutResponse() {
status_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private PutResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
status_ = input.readBool();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private boolean status_;
/**
* optional bool status = 1;
*/
public boolean getStatus() {
return status_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != false) {
output.writeBool(1, status_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, status_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse)) {
return super.equals(obj);
}
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse other = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse) obj;
boolean result = true;
result = result && (getStatus()
== other.getStatus());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStatus());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse 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 in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 PutResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PutResponse)
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.class, in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.Builder.class);
}
// Construct using in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
status_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.internal_static_PutResponse_descriptor;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse getDefaultInstanceForType() {
return in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.getDefaultInstance();
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse build() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse buildPartial() {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse result = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse(this);
result.status_ = status_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse) {
return mergeFrom((in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse other) {
if (other == in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse.getDefaultInstance()) return this;
if (other.getStatus() != false) {
setStatus(other.getStatus());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean status_ ;
/**
* optional bool status = 1;
*/
public boolean getStatus() {
return status_;
}
/**
* optional bool status = 1;
*/
public Builder setStatus(boolean value) {
status_ = value;
onChanged();
return this;
}
/**
* optional bool status = 1;
*/
public Builder clearStatus() {
status_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:PutResponse)
}
// @@protoc_insertion_point(class_scope:PutResponse)
private static final in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse();
}
public static in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PutResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PutResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public in.ashwanthkumar.suuchi.rpc.generated.SuuchiRPC.PutResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PingRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PingRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PutRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PutRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PutResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PutResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\014suuchi.proto\"\r\n\013PingRequest\"\036\n\014PingRes" +
"ponse\022\016\n\006status\030\001 \001(\010\"\031\n\nGetRequest\022\013\n\003k" +
"ey\030\001 \001(\014\")\n\013GetResponse\022\013\n\003key\030\001 \001(\014\022\r\n\005" +
"value\030\002 \001(\014\"(\n\nPutRequest\022\013\n\003key\030\001 \001(\014\022\r" +
"\n\005value\030\002 \001(\014\"\035\n\013PutResponse\022\016\n\006status\030\001" +
" \001(\01022\n\013PingService\022#\n\004Ping\022\014.PingReques" +
"t\032\r.PingResponse2.\n\nSuuchiRead\022 \n\003Get\022\013." +
"GetRequest\032\014.GetResponse2-\n\tSuuchiPut\022 \n" +
"\003Put\022\013.PutRequest\032\014.PutResponseB2\n%in.as" +
"hwanthkumar.suuchi.rpc.generatedB\tSuuchi",
"RPCb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_PingRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_PingRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PingRequest_descriptor,
new java.lang.String[] { });
internal_static_PingResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_PingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PingResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_GetRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_GetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetRequest_descriptor,
new java.lang.String[] { "Key", });
internal_static_GetResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_GetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetResponse_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_PutRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_PutRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PutRequest_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_PutResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_PutResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PutResponse_descriptor,
new java.lang.String[] { "Status", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy