com.oracle.coherence.grpc.RemoveRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence-grpc Show documentation
Show all versions of coherence-grpc Show documentation
Coherence gRPC Common Functionality
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: messages.proto
package com.oracle.coherence.grpc;
/**
*
* A request to remove the mapping for a key from a cache
* if it is present.
*
*
* Protobuf type {@code coherence.RemoveRequest}
*/
public final class RemoveRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:coherence.RemoveRequest)
RemoveRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveRequest.newBuilder() to construct.
private RemoveRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RemoveRequest() {
scope_ = "";
cache_ = "";
format_ = "";
key_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.oracle.coherence.grpc.Messages.internal_static_coherence_RemoveRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.oracle.coherence.grpc.Messages.internal_static_coherence_RemoveRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.oracle.coherence.grpc.RemoveRequest.class, com.oracle.coherence.grpc.RemoveRequest.Builder.class);
}
public static final int SCOPE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object scope_ = "";
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @return The scope.
*/
@java.lang.Override
public java.lang.String getScope() {
java.lang.Object ref = scope_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scope_ = s;
return s;
}
}
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @return The bytes for scope.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScopeBytes() {
java.lang.Object ref = scope_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scope_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CACHE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object cache_ = "";
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @return The cache.
*/
@java.lang.Override
public java.lang.String getCache() {
java.lang.Object ref = cache_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cache_ = s;
return s;
}
}
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @return The bytes for cache.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCacheBytes() {
java.lang.Object ref = cache_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cache_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMAT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object format_ = "";
/**
*
* The serialization format.
*
*
* string format = 3;
* @return The format.
*/
@java.lang.Override
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
}
}
/**
*
* The serialization format.
*
*
* string format = 3;
* @return The bytes for format.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The key of the entry to be removed.
*
*
* bytes key = 4;
* @return The key.
*/
@java.lang.Override
public com.google.protobuf.ByteString getKey() {
return key_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cache_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cache_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, format_);
}
if (!key_.isEmpty()) {
output.writeBytes(4, key_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scope_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cache_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cache_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, format_);
}
if (!key_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, key_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.oracle.coherence.grpc.RemoveRequest)) {
return super.equals(obj);
}
com.oracle.coherence.grpc.RemoveRequest other = (com.oracle.coherence.grpc.RemoveRequest) obj;
if (!getScope()
.equals(other.getScope())) return false;
if (!getCache()
.equals(other.getCache())) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (!getKey()
.equals(other.getKey())) 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) + SCOPE_FIELD_NUMBER;
hash = (53 * hash) + getScope().hashCode();
hash = (37 * hash) + CACHE_FIELD_NUMBER;
hash = (53 * hash) + getCache().hashCode();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.oracle.coherence.grpc.RemoveRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.oracle.coherence.grpc.RemoveRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.oracle.coherence.grpc.RemoveRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.oracle.coherence.grpc.RemoveRequest 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;
}
/**
*
* A request to remove the mapping for a key from a cache
* if it is present.
*
*
* Protobuf type {@code coherence.RemoveRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:coherence.RemoveRequest)
com.oracle.coherence.grpc.RemoveRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.oracle.coherence.grpc.Messages.internal_static_coherence_RemoveRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.oracle.coherence.grpc.Messages.internal_static_coherence_RemoveRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.oracle.coherence.grpc.RemoveRequest.class, com.oracle.coherence.grpc.RemoveRequest.Builder.class);
}
// Construct using com.oracle.coherence.grpc.RemoveRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
scope_ = "";
cache_ = "";
format_ = "";
key_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.oracle.coherence.grpc.Messages.internal_static_coherence_RemoveRequest_descriptor;
}
@java.lang.Override
public com.oracle.coherence.grpc.RemoveRequest getDefaultInstanceForType() {
return com.oracle.coherence.grpc.RemoveRequest.getDefaultInstance();
}
@java.lang.Override
public com.oracle.coherence.grpc.RemoveRequest build() {
com.oracle.coherence.grpc.RemoveRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.oracle.coherence.grpc.RemoveRequest buildPartial() {
com.oracle.coherence.grpc.RemoveRequest result = new com.oracle.coherence.grpc.RemoveRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.oracle.coherence.grpc.RemoveRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.scope_ = scope_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cache_ = cache_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.format_ = format_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.key_ = key_;
}
}
@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 com.oracle.coherence.grpc.RemoveRequest) {
return mergeFrom((com.oracle.coherence.grpc.RemoveRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.oracle.coherence.grpc.RemoveRequest other) {
if (other == com.oracle.coherence.grpc.RemoveRequest.getDefaultInstance()) return this;
if (!other.getScope().isEmpty()) {
scope_ = other.scope_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getCache().isEmpty()) {
cache_ = other.cache_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getFormat().isEmpty()) {
format_ = other.format_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.getKey() != com.google.protobuf.ByteString.EMPTY) {
setKey(other.getKey());
}
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: {
scope_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
cache_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
format_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
key_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object scope_ = "";
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @return The scope.
*/
public java.lang.String getScope() {
java.lang.Object ref = scope_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scope_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @return The bytes for scope.
*/
public com.google.protobuf.ByteString
getScopeBytes() {
java.lang.Object ref = scope_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scope_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @param value The scope to set.
* @return This builder for chaining.
*/
public Builder setScope(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
scope_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @return This builder for chaining.
*/
public Builder clearScope() {
scope_ = getDefaultInstance().getScope();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The scope name to use to obtain the cache.
*
*
* string scope = 1;
* @param value The bytes for scope to set.
* @return This builder for chaining.
*/
public Builder setScopeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
scope_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object cache_ = "";
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @return The cache.
*/
public java.lang.String getCache() {
java.lang.Object ref = cache_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cache_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @return The bytes for cache.
*/
public com.google.protobuf.ByteString
getCacheBytes() {
java.lang.Object ref = cache_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cache_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @param value The cache to set.
* @return This builder for chaining.
*/
public Builder setCache(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cache_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @return This builder for chaining.
*/
public Builder clearCache() {
cache_ = getDefaultInstance().getCache();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* The name of the cache.
*
*
* string cache = 2;
* @param value The bytes for cache to set.
* @return This builder for chaining.
*/
public Builder setCacheBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
cache_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
*
* The serialization format.
*
*
* string format = 3;
* @return The format.
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The serialization format.
*
*
* string format = 3;
* @return The bytes for format.
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The serialization format.
*
*
* string format = 3;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
format_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The serialization format.
*
*
* string format = 3;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* The serialization format.
*
*
* string format = 3;
* @param value The bytes for format to set.
* @return This builder for chaining.
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
format_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The key of the entry to be removed.
*
*
* bytes key = 4;
* @return The key.
*/
@java.lang.Override
public com.google.protobuf.ByteString getKey() {
return key_;
}
/**
*
* The key of the entry to be removed.
*
*
* bytes key = 4;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* The key of the entry to be removed.
*
*
* bytes key = 4;
* @return This builder for chaining.
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000008);
key_ = getDefaultInstance().getKey();
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:coherence.RemoveRequest)
}
// @@protoc_insertion_point(class_scope:coherence.RemoveRequest)
private static final com.oracle.coherence.grpc.RemoveRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.oracle.coherence.grpc.RemoveRequest();
}
public static com.oracle.coherence.grpc.RemoveRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RemoveRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.oracle.coherence.grpc.RemoveRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy