grpc.cache_client._DictionaryDeleteRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos-jvm Show documentation
Show all versions of client-protos-jvm Show documentation
Kotlin protobuf protocols for the JVM 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._DictionaryDeleteRequest}
*/
public final class _DictionaryDeleteRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryDeleteRequest)
_DictionaryDeleteRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use _DictionaryDeleteRequest.newBuilder() to construct.
private _DictionaryDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _DictionaryDeleteRequest() {
dictionaryName_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _DictionaryDeleteRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.class, grpc.cache_client._DictionaryDeleteRequest.Builder.class);
}
public interface SomeOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._DictionaryDeleteRequest.Some)
com.google.protobuf.MessageOrBuilder {
/**
* repeated bytes fields = 1;
* @return A list containing the fields.
*/
java.util.List getFieldsList();
/**
* repeated bytes fields = 1;
* @return The count of fields.
*/
int getFieldsCount();
/**
* repeated bytes fields = 1;
* @param index The index of the element to return.
* @return The fields at the given index.
*/
com.google.protobuf.ByteString getFields(int index);
}
/**
* Protobuf type {@code cache_client._DictionaryDeleteRequest.Some}
*/
public static final class Some extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryDeleteRequest.Some)
SomeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Some.newBuilder() to construct.
private Some(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Some() {
fields_ = emptyList(com.google.protobuf.ByteString.class);
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Some();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_Some_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_Some_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.Some.class, grpc.cache_client._DictionaryDeleteRequest.Some.Builder.class);
}
public static final int FIELDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.ProtobufList fields_ =
emptyList(com.google.protobuf.ByteString.class);
/**
* repeated bytes fields = 1;
* @return A list containing the fields.
*/
@java.lang.Override
public java.util.List
getFieldsList() {
return fields_;
}
/**
* repeated bytes fields = 1;
* @return The count of fields.
*/
public int getFieldsCount() {
return fields_.size();
}
/**
* repeated bytes fields = 1;
* @param index The index of the element to return.
* @return The fields at the given index.
*/
public com.google.protobuf.ByteString getFields(int index) {
return fields_.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 < fields_.size(); i++) {
output.writeBytes(1, fields_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < fields_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(fields_.get(i));
}
size += dataSize;
size += 1 * getFieldsList().size();
}
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._DictionaryDeleteRequest.Some)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryDeleteRequest.Some other = (grpc.cache_client._DictionaryDeleteRequest.Some) obj;
if (!getFieldsList()
.equals(other.getFieldsList())) 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 (getFieldsCount() > 0) {
hash = (37 * hash) + FIELDS_FIELD_NUMBER;
hash = (53 * hash) + getFieldsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryDeleteRequest.Some parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some 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._DictionaryDeleteRequest.Some}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryDeleteRequest.Some)
grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_Some_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_Some_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.Some.class, grpc.cache_client._DictionaryDeleteRequest.Some.Builder.class);
}
// Construct using grpc.cache_client._DictionaryDeleteRequest.Some.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
fields_ = emptyList(com.google.protobuf.ByteString.class);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_Some_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some getDefaultInstanceForType() {
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some build() {
grpc.cache_client._DictionaryDeleteRequest.Some result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some buildPartial() {
grpc.cache_client._DictionaryDeleteRequest.Some result = new grpc.cache_client._DictionaryDeleteRequest.Some(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(grpc.cache_client._DictionaryDeleteRequest.Some result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
fields_.makeImmutable();
result.fields_ = fields_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryDeleteRequest.Some) {
return mergeFrom((grpc.cache_client._DictionaryDeleteRequest.Some)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryDeleteRequest.Some other) {
if (other == grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance()) return this;
if (!other.fields_.isEmpty()) {
if (fields_.isEmpty()) {
fields_ = other.fields_;
fields_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureFieldsIsMutable();
fields_.addAll(other.fields_);
}
onChanged();
}
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: {
com.google.protobuf.ByteString v = input.readBytes();
ensureFieldsIsMutable();
fields_.add(v);
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 com.google.protobuf.Internal.ProtobufList fields_ = emptyList(com.google.protobuf.ByteString.class);
private void ensureFieldsIsMutable() {
if (!fields_.isModifiable()) {
fields_ = makeMutableCopy(fields_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated bytes fields = 1;
* @return A list containing the fields.
*/
public java.util.List
getFieldsList() {
fields_.makeImmutable();
return fields_;
}
/**
* repeated bytes fields = 1;
* @return The count of fields.
*/
public int getFieldsCount() {
return fields_.size();
}
/**
* repeated bytes fields = 1;
* @param index The index of the element to return.
* @return The fields at the given index.
*/
public com.google.protobuf.ByteString getFields(int index) {
return fields_.get(index);
}
/**
* repeated bytes fields = 1;
* @param index The index to set the value at.
* @param value The fields to set.
* @return This builder for chaining.
*/
public Builder setFields(
int index, com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureFieldsIsMutable();
fields_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated bytes fields = 1;
* @param value The fields to add.
* @return This builder for chaining.
*/
public Builder addFields(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureFieldsIsMutable();
fields_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated bytes fields = 1;
* @param values The fields to add.
* @return This builder for chaining.
*/
public Builder addAllFields(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureFieldsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fields_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated bytes fields = 1;
* @return This builder for chaining.
*/
public Builder clearFields() {
fields_ = emptyList(com.google.protobuf.ByteString.class);
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cache_client._DictionaryDeleteRequest.Some)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryDeleteRequest.Some)
private static final grpc.cache_client._DictionaryDeleteRequest.Some DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryDeleteRequest.Some();
}
public static grpc.cache_client._DictionaryDeleteRequest.Some getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Some parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AllOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._DictionaryDeleteRequest.All)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cache_client._DictionaryDeleteRequest.All}
*/
public static final class All extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._DictionaryDeleteRequest.All)
AllOrBuilder {
private static final long serialVersionUID = 0L;
// Use All.newBuilder() to construct.
private All(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private All() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new All();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_All_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_All_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.All.class, grpc.cache_client._DictionaryDeleteRequest.All.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._DictionaryDeleteRequest.All)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryDeleteRequest.All other = (grpc.cache_client._DictionaryDeleteRequest.All) 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._DictionaryDeleteRequest.All parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest.All parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryDeleteRequest.All parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All 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._DictionaryDeleteRequest.All}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryDeleteRequest.All)
grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_All_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_All_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.All.class, grpc.cache_client._DictionaryDeleteRequest.All.Builder.class);
}
// Construct using grpc.cache_client._DictionaryDeleteRequest.All.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__DictionaryDeleteRequest_All_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All getDefaultInstanceForType() {
return grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All build() {
grpc.cache_client._DictionaryDeleteRequest.All result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All buildPartial() {
grpc.cache_client._DictionaryDeleteRequest.All result = new grpc.cache_client._DictionaryDeleteRequest.All(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryDeleteRequest.All) {
return mergeFrom((grpc.cache_client._DictionaryDeleteRequest.All)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryDeleteRequest.All other) {
if (other == grpc.cache_client._DictionaryDeleteRequest.All.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._DictionaryDeleteRequest.All)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryDeleteRequest.All)
private static final grpc.cache_client._DictionaryDeleteRequest.All DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryDeleteRequest.All();
}
public static grpc.cache_client._DictionaryDeleteRequest.All getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public All parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int deleteCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object delete_;
public enum DeleteCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SOME(2),
ALL(3),
DELETE_NOT_SET(0);
private final int value;
private DeleteCase(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 DeleteCase valueOf(int value) {
return forNumber(value);
}
public static DeleteCase forNumber(int value) {
switch (value) {
case 2: return SOME;
case 3: return ALL;
case 0: return DELETE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DeleteCase
getDeleteCase() {
return DeleteCase.forNumber(
deleteCase_);
}
public static final int DICTIONARY_NAME_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString dictionaryName_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes dictionary_name = 1;
* @return The dictionaryName.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDictionaryName() {
return dictionaryName_;
}
public static final int SOME_FIELD_NUMBER = 2;
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
* @return Whether the some field is set.
*/
@java.lang.Override
public boolean hasSome() {
return deleteCase_ == 2;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
* @return The some.
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some getSome() {
if (deleteCase_ == 2) {
return (grpc.cache_client._DictionaryDeleteRequest.Some) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder getSomeOrBuilder() {
if (deleteCase_ == 2) {
return (grpc.cache_client._DictionaryDeleteRequest.Some) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
public static final int ALL_FIELD_NUMBER = 3;
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
* @return Whether the all field is set.
*/
@java.lang.Override
public boolean hasAll() {
return deleteCase_ == 3;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
* @return The all.
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All getAll() {
if (deleteCase_ == 3) {
return (grpc.cache_client._DictionaryDeleteRequest.All) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder getAllOrBuilder() {
if (deleteCase_ == 3) {
return (grpc.cache_client._DictionaryDeleteRequest.All) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.All.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 (!dictionaryName_.isEmpty()) {
output.writeBytes(1, dictionaryName_);
}
if (deleteCase_ == 2) {
output.writeMessage(2, (grpc.cache_client._DictionaryDeleteRequest.Some) delete_);
}
if (deleteCase_ == 3) {
output.writeMessage(3, (grpc.cache_client._DictionaryDeleteRequest.All) delete_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!dictionaryName_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, dictionaryName_);
}
if (deleteCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (grpc.cache_client._DictionaryDeleteRequest.Some) delete_);
}
if (deleteCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (grpc.cache_client._DictionaryDeleteRequest.All) delete_);
}
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._DictionaryDeleteRequest)) {
return super.equals(obj);
}
grpc.cache_client._DictionaryDeleteRequest other = (grpc.cache_client._DictionaryDeleteRequest) obj;
if (!getDictionaryName()
.equals(other.getDictionaryName())) return false;
if (!getDeleteCase().equals(other.getDeleteCase())) return false;
switch (deleteCase_) {
case 2:
if (!getSome()
.equals(other.getSome())) return false;
break;
case 3:
if (!getAll()
.equals(other.getAll())) 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();
hash = (37 * hash) + DICTIONARY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDictionaryName().hashCode();
switch (deleteCase_) {
case 2:
hash = (37 * hash) + SOME_FIELD_NUMBER;
hash = (53 * hash) + getSome().hashCode();
break;
case 3:
hash = (37 * hash) + ALL_FIELD_NUMBER;
hash = (53 * hash) + getAll().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static grpc.cache_client._DictionaryDeleteRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest 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._DictionaryDeleteRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest 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._DictionaryDeleteRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._DictionaryDeleteRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._DictionaryDeleteRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest 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._DictionaryDeleteRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest 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._DictionaryDeleteRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._DictionaryDeleteRequest 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._DictionaryDeleteRequest 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._DictionaryDeleteRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._DictionaryDeleteRequest)
grpc.cache_client._DictionaryDeleteRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._DictionaryDeleteRequest.class, grpc.cache_client._DictionaryDeleteRequest.Builder.class);
}
// Construct using grpc.cache_client._DictionaryDeleteRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
dictionaryName_ = com.google.protobuf.ByteString.EMPTY;
if (someBuilder_ != null) {
someBuilder_.clear();
}
if (allBuilder_ != null) {
allBuilder_.clear();
}
deleteCase_ = 0;
delete_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__DictionaryDeleteRequest_descriptor;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest getDefaultInstanceForType() {
return grpc.cache_client._DictionaryDeleteRequest.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest build() {
grpc.cache_client._DictionaryDeleteRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest buildPartial() {
grpc.cache_client._DictionaryDeleteRequest result = new grpc.cache_client._DictionaryDeleteRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(grpc.cache_client._DictionaryDeleteRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.dictionaryName_ = dictionaryName_;
}
}
private void buildPartialOneofs(grpc.cache_client._DictionaryDeleteRequest result) {
result.deleteCase_ = deleteCase_;
result.delete_ = this.delete_;
if (deleteCase_ == 2 &&
someBuilder_ != null) {
result.delete_ = someBuilder_.build();
}
if (deleteCase_ == 3 &&
allBuilder_ != null) {
result.delete_ = allBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._DictionaryDeleteRequest) {
return mergeFrom((grpc.cache_client._DictionaryDeleteRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._DictionaryDeleteRequest other) {
if (other == grpc.cache_client._DictionaryDeleteRequest.getDefaultInstance()) return this;
if (other.getDictionaryName() != com.google.protobuf.ByteString.EMPTY) {
setDictionaryName(other.getDictionaryName());
}
switch (other.getDeleteCase()) {
case SOME: {
mergeSome(other.getSome());
break;
}
case ALL: {
mergeAll(other.getAll());
break;
}
case DELETE_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: {
dictionaryName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getSomeFieldBuilder().getBuilder(),
extensionRegistry);
deleteCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getAllFieldBuilder().getBuilder(),
extensionRegistry);
deleteCase_ = 3;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int deleteCase_ = 0;
private java.lang.Object delete_;
public DeleteCase
getDeleteCase() {
return DeleteCase.forNumber(
deleteCase_);
}
public Builder clearDelete() {
deleteCase_ = 0;
delete_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString dictionaryName_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes dictionary_name = 1;
* @return The dictionaryName.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDictionaryName() {
return dictionaryName_;
}
/**
* bytes dictionary_name = 1;
* @param value The dictionaryName to set.
* @return This builder for chaining.
*/
public Builder setDictionaryName(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
dictionaryName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* bytes dictionary_name = 1;
* @return This builder for chaining.
*/
public Builder clearDictionaryName() {
bitField0_ = (bitField0_ & ~0x00000001);
dictionaryName_ = getDefaultInstance().getDictionaryName();
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.Some, grpc.cache_client._DictionaryDeleteRequest.Some.Builder, grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder> someBuilder_;
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
* @return Whether the some field is set.
*/
@java.lang.Override
public boolean hasSome() {
return deleteCase_ == 2;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
* @return The some.
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.Some getSome() {
if (someBuilder_ == null) {
if (deleteCase_ == 2) {
return (grpc.cache_client._DictionaryDeleteRequest.Some) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
} else {
if (deleteCase_ == 2) {
return someBuilder_.getMessage();
}
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
public Builder setSome(grpc.cache_client._DictionaryDeleteRequest.Some value) {
if (someBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
delete_ = value;
onChanged();
} else {
someBuilder_.setMessage(value);
}
deleteCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
public Builder setSome(
grpc.cache_client._DictionaryDeleteRequest.Some.Builder builderForValue) {
if (someBuilder_ == null) {
delete_ = builderForValue.build();
onChanged();
} else {
someBuilder_.setMessage(builderForValue.build());
}
deleteCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
public Builder mergeSome(grpc.cache_client._DictionaryDeleteRequest.Some value) {
if (someBuilder_ == null) {
if (deleteCase_ == 2 &&
delete_ != grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance()) {
delete_ = grpc.cache_client._DictionaryDeleteRequest.Some.newBuilder((grpc.cache_client._DictionaryDeleteRequest.Some) delete_)
.mergeFrom(value).buildPartial();
} else {
delete_ = value;
}
onChanged();
} else {
if (deleteCase_ == 2) {
someBuilder_.mergeFrom(value);
} else {
someBuilder_.setMessage(value);
}
}
deleteCase_ = 2;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
public Builder clearSome() {
if (someBuilder_ == null) {
if (deleteCase_ == 2) {
deleteCase_ = 0;
delete_ = null;
onChanged();
}
} else {
if (deleteCase_ == 2) {
deleteCase_ = 0;
delete_ = null;
}
someBuilder_.clear();
}
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
public grpc.cache_client._DictionaryDeleteRequest.Some.Builder getSomeBuilder() {
return getSomeFieldBuilder().getBuilder();
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder getSomeOrBuilder() {
if ((deleteCase_ == 2) && (someBuilder_ != null)) {
return someBuilder_.getMessageOrBuilder();
} else {
if (deleteCase_ == 2) {
return (grpc.cache_client._DictionaryDeleteRequest.Some) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryDeleteRequest.Some some = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.Some, grpc.cache_client._DictionaryDeleteRequest.Some.Builder, grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder>
getSomeFieldBuilder() {
if (someBuilder_ == null) {
if (!(deleteCase_ == 2)) {
delete_ = grpc.cache_client._DictionaryDeleteRequest.Some.getDefaultInstance();
}
someBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.Some, grpc.cache_client._DictionaryDeleteRequest.Some.Builder, grpc.cache_client._DictionaryDeleteRequest.SomeOrBuilder>(
(grpc.cache_client._DictionaryDeleteRequest.Some) delete_,
getParentForChildren(),
isClean());
delete_ = null;
}
deleteCase_ = 2;
onChanged();
return someBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.All, grpc.cache_client._DictionaryDeleteRequest.All.Builder, grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder> allBuilder_;
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
* @return Whether the all field is set.
*/
@java.lang.Override
public boolean hasAll() {
return deleteCase_ == 3;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
* @return The all.
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.All getAll() {
if (allBuilder_ == null) {
if (deleteCase_ == 3) {
return (grpc.cache_client._DictionaryDeleteRequest.All) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
} else {
if (deleteCase_ == 3) {
return allBuilder_.getMessage();
}
return grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
public Builder setAll(grpc.cache_client._DictionaryDeleteRequest.All value) {
if (allBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
delete_ = value;
onChanged();
} else {
allBuilder_.setMessage(value);
}
deleteCase_ = 3;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
public Builder setAll(
grpc.cache_client._DictionaryDeleteRequest.All.Builder builderForValue) {
if (allBuilder_ == null) {
delete_ = builderForValue.build();
onChanged();
} else {
allBuilder_.setMessage(builderForValue.build());
}
deleteCase_ = 3;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
public Builder mergeAll(grpc.cache_client._DictionaryDeleteRequest.All value) {
if (allBuilder_ == null) {
if (deleteCase_ == 3 &&
delete_ != grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance()) {
delete_ = grpc.cache_client._DictionaryDeleteRequest.All.newBuilder((grpc.cache_client._DictionaryDeleteRequest.All) delete_)
.mergeFrom(value).buildPartial();
} else {
delete_ = value;
}
onChanged();
} else {
if (deleteCase_ == 3) {
allBuilder_.mergeFrom(value);
} else {
allBuilder_.setMessage(value);
}
}
deleteCase_ = 3;
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
public Builder clearAll() {
if (allBuilder_ == null) {
if (deleteCase_ == 3) {
deleteCase_ = 0;
delete_ = null;
onChanged();
}
} else {
if (deleteCase_ == 3) {
deleteCase_ = 0;
delete_ = null;
}
allBuilder_.clear();
}
return this;
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
public grpc.cache_client._DictionaryDeleteRequest.All.Builder getAllBuilder() {
return getAllFieldBuilder().getBuilder();
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder getAllOrBuilder() {
if ((deleteCase_ == 3) && (allBuilder_ != null)) {
return allBuilder_.getMessageOrBuilder();
} else {
if (deleteCase_ == 3) {
return (grpc.cache_client._DictionaryDeleteRequest.All) delete_;
}
return grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
}
}
/**
* .cache_client._DictionaryDeleteRequest.All all = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.All, grpc.cache_client._DictionaryDeleteRequest.All.Builder, grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder>
getAllFieldBuilder() {
if (allBuilder_ == null) {
if (!(deleteCase_ == 3)) {
delete_ = grpc.cache_client._DictionaryDeleteRequest.All.getDefaultInstance();
}
allBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._DictionaryDeleteRequest.All, grpc.cache_client._DictionaryDeleteRequest.All.Builder, grpc.cache_client._DictionaryDeleteRequest.AllOrBuilder>(
(grpc.cache_client._DictionaryDeleteRequest.All) delete_,
getParentForChildren(),
isClean());
delete_ = null;
}
deleteCase_ = 3;
onChanged();
return allBuilder_;
}
@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._DictionaryDeleteRequest)
}
// @@protoc_insertion_point(class_scope:cache_client._DictionaryDeleteRequest)
private static final grpc.cache_client._DictionaryDeleteRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._DictionaryDeleteRequest();
}
public static grpc.cache_client._DictionaryDeleteRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_DictionaryDeleteRequest>
PARSER = new com.google.protobuf.AbstractParser<_DictionaryDeleteRequest>() {
@java.lang.Override
public _DictionaryDeleteRequest 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<_DictionaryDeleteRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_DictionaryDeleteRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._DictionaryDeleteRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy