grpc.cache_client._DictionaryGetResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos Show documentation
Show all versions of client-protos Show documentation
Java protobuf protocols that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cacheclient.proto
package grpc.cache_client;
/**
* Protobuf type {@code cache_client._DictionaryGetResponse}
*/
public final class _DictionaryGetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryGetResponse)
_DictionaryGetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use _DictionaryGetResponse.newBuilder() to construct.
private _DictionaryGetResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _DictionaryGetResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _DictionaryGetResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse.class, grpc.cache_client._DictionaryGetResponse.Builder.class);
}
public interface _DictionaryGetResponsePartOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._DictionaryGetResponse._DictionaryGetResponsePart)
com.google.protobuf.MessageOrBuilder {
/**
* .cache_client.ECacheResult result = 1;
* @return The enum numeric value on the wire for result.
*/
int getResultValue();
/**
* .cache_client.ECacheResult result = 1;
* @return The result.
*/
grpc.cache_client.ECacheResult getResult();
/**
* bytes cache_body = 2;
* @return The cacheBody.
*/
com.google.protobuf.ByteString getCacheBody();
}
/**
* Protobuf type {@code cache_client._DictionaryGetResponse._DictionaryGetResponsePart}
*/
public static final class _DictionaryGetResponsePart extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryGetResponse._DictionaryGetResponsePart)
_DictionaryGetResponsePartOrBuilder {
private static final long serialVersionUID = 0L;
// Use _DictionaryGetResponsePart.newBuilder() to construct.
private _DictionaryGetResponsePart(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _DictionaryGetResponsePart() {
result_ = 0;
cacheBody_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _DictionaryGetResponsePart();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__DictionaryGetResponsePart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__DictionaryGetResponsePart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.class, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private int result_ = 0;
/**
* .cache_client.ECacheResult result = 1;
* @return The enum numeric value on the wire for result.
*/
@java.lang.Override public int getResultValue() {
return result_;
}
/**
* .cache_client.ECacheResult result = 1;
* @return The result.
*/
@java.lang.Override public grpc.cache_client.ECacheResult getResult() {
grpc.cache_client.ECacheResult result = grpc.cache_client.ECacheResult.forNumber(result_);
return result == null ? grpc.cache_client.ECacheResult.UNRECOGNIZED : result;
}
public static final int CACHE_BODY_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString cacheBody_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes cache_body = 2;
* @return The cacheBody.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCacheBody() {
return cacheBody_;
}
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 (result_ != grpc.cache_client.ECacheResult.Invalid.getNumber()) {
output.writeEnum(1, result_);
}
if (!cacheBody_.isEmpty()) {
output.writeBytes(2, cacheBody_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != grpc.cache_client.ECacheResult.Invalid.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, result_);
}
if (!cacheBody_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, cacheBody_);
}
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 grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart other = (grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart) obj;
if (result_ != other.result_) return false;
if (!getCacheBody()
.equals(other.getCacheBody())) 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) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + result_;
hash = (37 * hash) + CACHE_BODY_FIELD_NUMBER;
hash = (53 * hash) + getCacheBody().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart 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 grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart 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 grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart 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(grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart 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 cache_client._DictionaryGetResponse._DictionaryGetResponsePart}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryGetResponse._DictionaryGetResponsePart)
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__DictionaryGetResponsePart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__DictionaryGetResponsePart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.class, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder.class);
}
// Construct using grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
result_ = 0;
cacheBody_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__DictionaryGetResponsePart_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getDefaultInstanceForType() {
return grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart build() {
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart buildPartial() {
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart result = new grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.result_ = result_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cacheBody_ = cacheBody_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart) {
return mergeFrom((grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart other) {
if (other == grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.getDefaultInstance()) return this;
if (other.result_ != 0) {
setResultValue(other.getResultValue());
}
if (other.getCacheBody() != com.google.protobuf.ByteString.EMPTY) {
setCacheBody(other.getCacheBody());
}
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 8: {
result_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
cacheBody_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int result_ = 0;
/**
* .cache_client.ECacheResult result = 1;
* @return The enum numeric value on the wire for result.
*/
@java.lang.Override public int getResultValue() {
return result_;
}
/**
* .cache_client.ECacheResult result = 1;
* @param value The enum numeric value on the wire for result to set.
* @return This builder for chaining.
*/
public Builder setResultValue(int value) {
result_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .cache_client.ECacheResult result = 1;
* @return The result.
*/
@java.lang.Override
public grpc.cache_client.ECacheResult getResult() {
grpc.cache_client.ECacheResult result = grpc.cache_client.ECacheResult.forNumber(result_);
return result == null ? grpc.cache_client.ECacheResult.UNRECOGNIZED : result;
}
/**
* .cache_client.ECacheResult result = 1;
* @param value The result to set.
* @return This builder for chaining.
*/
public Builder setResult(grpc.cache_client.ECacheResult value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
result_ = value.getNumber();
onChanged();
return this;
}
/**
* .cache_client.ECacheResult result = 1;
* @return This builder for chaining.
*/
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000001);
result_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString cacheBody_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes cache_body = 2;
* @return The cacheBody.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCacheBody() {
return cacheBody_;
}
/**
* bytes cache_body = 2;
* @param value The cacheBody to set.
* @return This builder for chaining.
*/
public Builder setCacheBody(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cacheBody_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* bytes cache_body = 2;
* @return This builder for chaining.
*/
public Builder clearCacheBody() {
bitField0_ = (bitField0_ & ~0x00000002);
cacheBody_ = getDefaultInstance().getCacheBody();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cache_client._DictionaryGetResponse._DictionaryGetResponsePart)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryGetResponse._DictionaryGetResponsePart)
private static final grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart();
}
public static grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_DictionaryGetResponsePart>
PARSER = new com.google.protobuf.AbstractParser<_DictionaryGetResponsePart>() {
@java.lang.Override
public _DictionaryGetResponsePart 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<_DictionaryGetResponsePart> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_DictionaryGetResponsePart> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface _FoundOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._DictionaryGetResponse._Found)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
java.util.List
getItemsList();
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getItems(int index);
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
int getItemsCount();
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
java.util.List extends grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder>
getItemsOrBuilderList();
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder getItemsOrBuilder(
int index);
}
/**
* Protobuf type {@code cache_client._DictionaryGetResponse._Found}
*/
public static final class _Found extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryGetResponse._Found)
_FoundOrBuilder {
private static final long serialVersionUID = 0L;
// Use _Found.newBuilder() to construct.
private _Found(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _Found() {
items_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _Found();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Found_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Found_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._Found.class, grpc.cache_client._DictionaryGetResponse._Found.Builder.class);
}
public static final int ITEMS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List items_;
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
@java.lang.Override
public java.util.List getItemsList() {
return items_;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
@java.lang.Override
public java.util.List extends grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
@java.lang.Override
public int getItemsCount() {
return items_.size();
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getItems(int index) {
return items_.get(index);
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(1, items_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, items_.get(i));
}
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 grpc.cache_client._DictionaryGetResponse._Found)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryGetResponse._Found other = (grpc.cache_client._DictionaryGetResponse._Found) obj;
if (!getItemsList()
.equals(other.getItemsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Found parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Found 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 grpc.cache_client._DictionaryGetResponse._Found parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Found 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 grpc.cache_client._DictionaryGetResponse._Found parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Found 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(grpc.cache_client._DictionaryGetResponse._Found 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 cache_client._DictionaryGetResponse._Found}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryGetResponse._Found)
grpc.cache_client._DictionaryGetResponse._FoundOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Found_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Found_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._Found.class, grpc.cache_client._DictionaryGetResponse._Found.Builder.class);
}
// Construct using grpc.cache_client._DictionaryGetResponse._Found.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
} else {
items_ = null;
itemsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Found_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found getDefaultInstanceForType() {
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found build() {
grpc.cache_client._DictionaryGetResponse._Found result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found buildPartial() {
grpc.cache_client._DictionaryGetResponse._Found result = new grpc.cache_client._DictionaryGetResponse._Found(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(grpc.cache_client._DictionaryGetResponse._Found result) {
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
}
private void buildPartial0(grpc.cache_client._DictionaryGetResponse._Found result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryGetResponse._Found) {
return mergeFrom((grpc.cache_client._DictionaryGetResponse._Found)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryGetResponse._Found other) {
if (other == grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance()) return this;
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
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: {
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart m =
input.readMessage(
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.parser(),
extensionRegistry);
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(m);
} else {
itemsBuilder_.addMessage(m);
}
break;
} // case 10
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.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder> itemsBuilder_;
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public java.util.List getItemsList() {
if (itemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(items_);
} else {
return itemsBuilder_.getMessageList();
}
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder setItems(
int index, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
} else {
itemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder setItems(
int index, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder addItems(grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder addItems(
int index, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
} else {
itemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder addItems(
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder addItems(
int index, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder addAllItems(
java.lang.Iterable extends grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public Builder removeItems(int index) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.remove(index);
onChanged();
} else {
itemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public java.util.List extends grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.getDefaultInstance());
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.getDefaultInstance());
}
/**
* repeated .cache_client._DictionaryGetResponse._DictionaryGetResponsePart items = 1;
*/
public java.util.List
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePart.Builder, grpc.cache_client._DictionaryGetResponse._DictionaryGetResponsePartOrBuilder>(
items_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
@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:cache_client._DictionaryGetResponse._Found)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryGetResponse._Found)
private static final grpc.cache_client._DictionaryGetResponse._Found DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryGetResponse._Found();
}
public static grpc.cache_client._DictionaryGetResponse._Found getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_Found>
PARSER = new com.google.protobuf.AbstractParser<_Found>() {
@java.lang.Override
public _Found 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<_Found> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_Found> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface _MissingOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._DictionaryGetResponse._Missing)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cache_client._DictionaryGetResponse._Missing}
*/
public static final class _Missing extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryGetResponse._Missing)
_MissingOrBuilder {
private static final long serialVersionUID = 0L;
// Use _Missing.newBuilder() to construct.
private _Missing(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _Missing() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _Missing();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Missing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Missing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._Missing.class, grpc.cache_client._DictionaryGetResponse._Missing.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 grpc.cache_client._DictionaryGetResponse._Missing)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryGetResponse._Missing other = (grpc.cache_client._DictionaryGetResponse._Missing) obj;
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 = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse._Missing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Missing 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 grpc.cache_client._DictionaryGetResponse._Missing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Missing 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 grpc.cache_client._DictionaryGetResponse._Missing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse._Missing 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(grpc.cache_client._DictionaryGetResponse._Missing 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 cache_client._DictionaryGetResponse._Missing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryGetResponse._Missing)
grpc.cache_client._DictionaryGetResponse._MissingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Missing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Missing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse._Missing.class, grpc.cache_client._DictionaryGetResponse._Missing.Builder.class);
}
// Construct using grpc.cache_client._DictionaryGetResponse._Missing.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse__Missing_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing getDefaultInstanceForType() {
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing build() {
grpc.cache_client._DictionaryGetResponse._Missing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing buildPartial() {
grpc.cache_client._DictionaryGetResponse._Missing result = new grpc.cache_client._DictionaryGetResponse._Missing(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryGetResponse._Missing) {
return mergeFrom((grpc.cache_client._DictionaryGetResponse._Missing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryGetResponse._Missing other) {
if (other == grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance()) return this;
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;
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;
}
@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:cache_client._DictionaryGetResponse._Missing)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryGetResponse._Missing)
private static final grpc.cache_client._DictionaryGetResponse._Missing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryGetResponse._Missing();
}
public static grpc.cache_client._DictionaryGetResponse._Missing getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_Missing>
PARSER = new com.google.protobuf.AbstractParser<_Missing>() {
@java.lang.Override
public _Missing 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<_Missing> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_Missing> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int dictionaryCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object dictionary_;
public enum DictionaryCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
FOUND(1),
MISSING(2),
DICTIONARY_NOT_SET(0);
private final int value;
private DictionaryCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DictionaryCase valueOf(int value) {
return forNumber(value);
}
public static DictionaryCase forNumber(int value) {
switch (value) {
case 1: return FOUND;
case 2: return MISSING;
case 0: return DICTIONARY_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DictionaryCase
getDictionaryCase() {
return DictionaryCase.forNumber(
dictionaryCase_);
}
public static final int FOUND_FIELD_NUMBER = 1;
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
* @return Whether the found field is set.
*/
@java.lang.Override
public boolean hasFound() {
return dictionaryCase_ == 1;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
* @return The found.
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found getFound() {
if (dictionaryCase_ == 1) {
return (grpc.cache_client._DictionaryGetResponse._Found) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._FoundOrBuilder getFoundOrBuilder() {
if (dictionaryCase_ == 1) {
return (grpc.cache_client._DictionaryGetResponse._Found) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
public static final int MISSING_FIELD_NUMBER = 2;
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
* @return Whether the missing field is set.
*/
@java.lang.Override
public boolean hasMissing() {
return dictionaryCase_ == 2;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
* @return The missing.
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing getMissing() {
if (dictionaryCase_ == 2) {
return (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._MissingOrBuilder getMissingOrBuilder() {
if (dictionaryCase_ == 2) {
return (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
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 (dictionaryCase_ == 1) {
output.writeMessage(1, (grpc.cache_client._DictionaryGetResponse._Found) dictionary_);
}
if (dictionaryCase_ == 2) {
output.writeMessage(2, (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dictionaryCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (grpc.cache_client._DictionaryGetResponse._Found) dictionary_);
}
if (dictionaryCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_);
}
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 grpc.cache_client._DictionaryGetResponse)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryGetResponse other = (grpc.cache_client._DictionaryGetResponse) obj;
if (!getDictionaryCase().equals(other.getDictionaryCase())) return false;
switch (dictionaryCase_) {
case 1:
if (!getFound()
.equals(other.getFound())) return false;
break;
case 2:
if (!getMissing()
.equals(other.getMissing())) return false;
break;
case 0:
default:
}
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();
switch (dictionaryCase_) {
case 1:
hash = (37 * hash) + FOUND_FIELD_NUMBER;
hash = (53 * hash) + getFound().hashCode();
break;
case 2:
hash = (37 * hash) + MISSING_FIELD_NUMBER;
hash = (53 * hash) + getMissing().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryGetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse 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 grpc.cache_client._DictionaryGetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse 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 grpc.cache_client._DictionaryGetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryGetResponse 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(grpc.cache_client._DictionaryGetResponse 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 cache_client._DictionaryGetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryGetResponse)
grpc.cache_client._DictionaryGetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryGetResponse.class, grpc.cache_client._DictionaryGetResponse.Builder.class);
}
// Construct using grpc.cache_client._DictionaryGetResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (foundBuilder_ != null) {
foundBuilder_.clear();
}
if (missingBuilder_ != null) {
missingBuilder_.clear();
}
dictionaryCase_ = 0;
dictionary_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryGetResponse_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse getDefaultInstanceForType() {
return grpc.cache_client._DictionaryGetResponse.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse build() {
grpc.cache_client._DictionaryGetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse buildPartial() {
grpc.cache_client._DictionaryGetResponse result = new grpc.cache_client._DictionaryGetResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(grpc.cache_client._DictionaryGetResponse result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(grpc.cache_client._DictionaryGetResponse result) {
result.dictionaryCase_ = dictionaryCase_;
result.dictionary_ = this.dictionary_;
if (dictionaryCase_ == 1 &&
foundBuilder_ != null) {
result.dictionary_ = foundBuilder_.build();
}
if (dictionaryCase_ == 2 &&
missingBuilder_ != null) {
result.dictionary_ = missingBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryGetResponse) {
return mergeFrom((grpc.cache_client._DictionaryGetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryGetResponse other) {
if (other == grpc.cache_client._DictionaryGetResponse.getDefaultInstance()) return this;
switch (other.getDictionaryCase()) {
case FOUND: {
mergeFound(other.getFound());
break;
}
case MISSING: {
mergeMissing(other.getMissing());
break;
}
case DICTIONARY_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getFoundFieldBuilder().getBuilder(),
extensionRegistry);
dictionaryCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getMissingFieldBuilder().getBuilder(),
extensionRegistry);
dictionaryCase_ = 2;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int dictionaryCase_ = 0;
private java.lang.Object dictionary_;
public DictionaryCase
getDictionaryCase() {
return DictionaryCase.forNumber(
dictionaryCase_);
}
public Builder clearDictionary() {
dictionaryCase_ = 0;
dictionary_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Found, grpc.cache_client._DictionaryGetResponse._Found.Builder, grpc.cache_client._DictionaryGetResponse._FoundOrBuilder> foundBuilder_;
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
* @return Whether the found field is set.
*/
@java.lang.Override
public boolean hasFound() {
return dictionaryCase_ == 1;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
* @return The found.
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Found getFound() {
if (foundBuilder_ == null) {
if (dictionaryCase_ == 1) {
return (grpc.cache_client._DictionaryGetResponse._Found) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
} else {
if (dictionaryCase_ == 1) {
return foundBuilder_.getMessage();
}
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
public Builder setFound(grpc.cache_client._DictionaryGetResponse._Found value) {
if (foundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dictionary_ = value;
onChanged();
} else {
foundBuilder_.setMessage(value);
}
dictionaryCase_ = 1;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
public Builder setFound(
grpc.cache_client._DictionaryGetResponse._Found.Builder builderForValue) {
if (foundBuilder_ == null) {
dictionary_ = builderForValue.build();
onChanged();
} else {
foundBuilder_.setMessage(builderForValue.build());
}
dictionaryCase_ = 1;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
public Builder mergeFound(grpc.cache_client._DictionaryGetResponse._Found value) {
if (foundBuilder_ == null) {
if (dictionaryCase_ == 1 &&
dictionary_ != grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance()) {
dictionary_ = grpc.cache_client._DictionaryGetResponse._Found.newBuilder((grpc.cache_client._DictionaryGetResponse._Found) dictionary_)
.mergeFrom(value).buildPartial();
} else {
dictionary_ = value;
}
onChanged();
} else {
if (dictionaryCase_ == 1) {
foundBuilder_.mergeFrom(value);
} else {
foundBuilder_.setMessage(value);
}
}
dictionaryCase_ = 1;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
public Builder clearFound() {
if (foundBuilder_ == null) {
if (dictionaryCase_ == 1) {
dictionaryCase_ = 0;
dictionary_ = null;
onChanged();
}
} else {
if (dictionaryCase_ == 1) {
dictionaryCase_ = 0;
dictionary_ = null;
}
foundBuilder_.clear();
}
return this;
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
public grpc.cache_client._DictionaryGetResponse._Found.Builder getFoundBuilder() {
return getFoundFieldBuilder().getBuilder();
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._FoundOrBuilder getFoundOrBuilder() {
if ((dictionaryCase_ == 1) && (foundBuilder_ != null)) {
return foundBuilder_.getMessageOrBuilder();
} else {
if (dictionaryCase_ == 1) {
return (grpc.cache_client._DictionaryGetResponse._Found) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryGetResponse._Found found = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Found, grpc.cache_client._DictionaryGetResponse._Found.Builder, grpc.cache_client._DictionaryGetResponse._FoundOrBuilder>
getFoundFieldBuilder() {
if (foundBuilder_ == null) {
if (!(dictionaryCase_ == 1)) {
dictionary_ = grpc.cache_client._DictionaryGetResponse._Found.getDefaultInstance();
}
foundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Found, grpc.cache_client._DictionaryGetResponse._Found.Builder, grpc.cache_client._DictionaryGetResponse._FoundOrBuilder>(
(grpc.cache_client._DictionaryGetResponse._Found) dictionary_,
getParentForChildren(),
isClean());
dictionary_ = null;
}
dictionaryCase_ = 1;
onChanged();
return foundBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Missing, grpc.cache_client._DictionaryGetResponse._Missing.Builder, grpc.cache_client._DictionaryGetResponse._MissingOrBuilder> missingBuilder_;
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
* @return Whether the missing field is set.
*/
@java.lang.Override
public boolean hasMissing() {
return dictionaryCase_ == 2;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
* @return The missing.
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._Missing getMissing() {
if (missingBuilder_ == null) {
if (dictionaryCase_ == 2) {
return (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
} else {
if (dictionaryCase_ == 2) {
return missingBuilder_.getMessage();
}
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
public Builder setMissing(grpc.cache_client._DictionaryGetResponse._Missing value) {
if (missingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dictionary_ = value;
onChanged();
} else {
missingBuilder_.setMessage(value);
}
dictionaryCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
public Builder setMissing(
grpc.cache_client._DictionaryGetResponse._Missing.Builder builderForValue) {
if (missingBuilder_ == null) {
dictionary_ = builderForValue.build();
onChanged();
} else {
missingBuilder_.setMessage(builderForValue.build());
}
dictionaryCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
public Builder mergeMissing(grpc.cache_client._DictionaryGetResponse._Missing value) {
if (missingBuilder_ == null) {
if (dictionaryCase_ == 2 &&
dictionary_ != grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance()) {
dictionary_ = grpc.cache_client._DictionaryGetResponse._Missing.newBuilder((grpc.cache_client._DictionaryGetResponse._Missing) dictionary_)
.mergeFrom(value).buildPartial();
} else {
dictionary_ = value;
}
onChanged();
} else {
if (dictionaryCase_ == 2) {
missingBuilder_.mergeFrom(value);
} else {
missingBuilder_.setMessage(value);
}
}
dictionaryCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
public Builder clearMissing() {
if (missingBuilder_ == null) {
if (dictionaryCase_ == 2) {
dictionaryCase_ = 0;
dictionary_ = null;
onChanged();
}
} else {
if (dictionaryCase_ == 2) {
dictionaryCase_ = 0;
dictionary_ = null;
}
missingBuilder_.clear();
}
return this;
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
public grpc.cache_client._DictionaryGetResponse._Missing.Builder getMissingBuilder() {
return getMissingFieldBuilder().getBuilder();
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse._MissingOrBuilder getMissingOrBuilder() {
if ((dictionaryCase_ == 2) && (missingBuilder_ != null)) {
return missingBuilder_.getMessageOrBuilder();
} else {
if (dictionaryCase_ == 2) {
return (grpc.cache_client._DictionaryGetResponse._Missing) dictionary_;
}
return grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryGetResponse._Missing missing = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Missing, grpc.cache_client._DictionaryGetResponse._Missing.Builder, grpc.cache_client._DictionaryGetResponse._MissingOrBuilder>
getMissingFieldBuilder() {
if (missingBuilder_ == null) {
if (!(dictionaryCase_ == 2)) {
dictionary_ = grpc.cache_client._DictionaryGetResponse._Missing.getDefaultInstance();
}
missingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryGetResponse._Missing, grpc.cache_client._DictionaryGetResponse._Missing.Builder, grpc.cache_client._DictionaryGetResponse._MissingOrBuilder>(
(grpc.cache_client._DictionaryGetResponse._Missing) dictionary_,
getParentForChildren(),
isClean());
dictionary_ = null;
}
dictionaryCase_ = 2;
onChanged();
return missingBuilder_;
}
@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:cache_client._DictionaryGetResponse)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryGetResponse)
private static final grpc.cache_client._DictionaryGetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryGetResponse();
}
public static grpc.cache_client._DictionaryGetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_DictionaryGetResponse>
PARSER = new com.google.protobuf.AbstractParser<_DictionaryGetResponse>() {
@java.lang.Override
public _DictionaryGetResponse 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<_DictionaryGetResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_DictionaryGetResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryGetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}