grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse}
*/
public final class _UpdateTtlResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._UpdateTtlResponse)
_UpdateTtlResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use _UpdateTtlResponse.newBuilder() to construct.
private _UpdateTtlResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _UpdateTtlResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _UpdateTtlResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse.class, grpc.cache_client._UpdateTtlResponse.Builder.class);
}
public interface _SetOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._UpdateTtlResponse._Set)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Indicates that the ttl was applied.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._Set}
*/
public static final class _Set extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._UpdateTtlResponse._Set)
_SetOrBuilder {
private static final long serialVersionUID = 0L;
// Use _Set.newBuilder() to construct.
private _Set(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _Set() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _Set();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Set_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Set_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._Set.class, grpc.cache_client._UpdateTtlResponse._Set.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._UpdateTtlResponse._Set)) {
return super.equals(obj);
}
grpc.cache_client._UpdateTtlResponse._Set other = (grpc.cache_client._UpdateTtlResponse._Set) 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._UpdateTtlResponse._Set parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._Set 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._UpdateTtlResponse._Set parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._Set 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._UpdateTtlResponse._Set parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._Set parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._UpdateTtlResponse._Set parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._Set 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._UpdateTtlResponse._Set parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._Set 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._UpdateTtlResponse._Set parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._Set 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._UpdateTtlResponse._Set 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;
}
/**
*
* Indicates that the ttl was applied.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._Set}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._UpdateTtlResponse._Set)
grpc.cache_client._UpdateTtlResponse._SetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Set_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Set_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._Set.class, grpc.cache_client._UpdateTtlResponse._Set.Builder.class);
}
// Construct using grpc.cache_client._UpdateTtlResponse._Set.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__UpdateTtlResponse__Set_descriptor;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set getDefaultInstanceForType() {
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set build() {
grpc.cache_client._UpdateTtlResponse._Set result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set buildPartial() {
grpc.cache_client._UpdateTtlResponse._Set result = new grpc.cache_client._UpdateTtlResponse._Set(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._UpdateTtlResponse._Set) {
return mergeFrom((grpc.cache_client._UpdateTtlResponse._Set)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._UpdateTtlResponse._Set other) {
if (other == grpc.cache_client._UpdateTtlResponse._Set.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._UpdateTtlResponse._Set)
}
// @@protoc_insertion_point(class_scope:cache_client._UpdateTtlResponse._Set)
private static final grpc.cache_client._UpdateTtlResponse._Set DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._UpdateTtlResponse._Set();
}
public static grpc.cache_client._UpdateTtlResponse._Set getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_Set>
PARSER = new com.google.protobuf.AbstractParser<_Set>() {
@java.lang.Override
public _Set 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<_Set> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_Set> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface _NotSetOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._UpdateTtlResponse._NotSet)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Indicates that the ttl was not applied due to a failed condition.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._NotSet}
*/
public static final class _NotSet extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._UpdateTtlResponse._NotSet)
_NotSetOrBuilder {
private static final long serialVersionUID = 0L;
// Use _NotSet.newBuilder() to construct.
private _NotSet(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private _NotSet() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new _NotSet();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__NotSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__NotSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._NotSet.class, grpc.cache_client._UpdateTtlResponse._NotSet.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._UpdateTtlResponse._NotSet)) {
return super.equals(obj);
}
grpc.cache_client._UpdateTtlResponse._NotSet other = (grpc.cache_client._UpdateTtlResponse._NotSet) 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._UpdateTtlResponse._NotSet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet 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._UpdateTtlResponse._NotSet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet 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._UpdateTtlResponse._NotSet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet 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._UpdateTtlResponse._NotSet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet 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._UpdateTtlResponse._NotSet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._NotSet 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._UpdateTtlResponse._NotSet 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;
}
/**
*
* Indicates that the ttl was not applied due to a failed condition.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._NotSet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._UpdateTtlResponse._NotSet)
grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__NotSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__NotSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._NotSet.class, grpc.cache_client._UpdateTtlResponse._NotSet.Builder.class);
}
// Construct using grpc.cache_client._UpdateTtlResponse._NotSet.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__UpdateTtlResponse__NotSet_descriptor;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet getDefaultInstanceForType() {
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet build() {
grpc.cache_client._UpdateTtlResponse._NotSet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet buildPartial() {
grpc.cache_client._UpdateTtlResponse._NotSet result = new grpc.cache_client._UpdateTtlResponse._NotSet(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._UpdateTtlResponse._NotSet) {
return mergeFrom((grpc.cache_client._UpdateTtlResponse._NotSet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._UpdateTtlResponse._NotSet other) {
if (other == grpc.cache_client._UpdateTtlResponse._NotSet.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._UpdateTtlResponse._NotSet)
}
// @@protoc_insertion_point(class_scope:cache_client._UpdateTtlResponse._NotSet)
private static final grpc.cache_client._UpdateTtlResponse._NotSet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._UpdateTtlResponse._NotSet();
}
public static grpc.cache_client._UpdateTtlResponse._NotSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_NotSet>
PARSER = new com.google.protobuf.AbstractParser<_NotSet>() {
@java.lang.Override
public _NotSet 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<_NotSet> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_NotSet> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface _MissingOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._UpdateTtlResponse._Missing)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Indicates that the key did not exist.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._Missing}
*/
public static final class _Missing extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cache_client._UpdateTtlResponse._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__UpdateTtlResponse__Missing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Missing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._Missing.class, grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing)) {
return super.equals(obj);
}
grpc.cache_client._UpdateTtlResponse._Missing other = (grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse._Missing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._UpdateTtlResponse._Missing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._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;
}
/**
*
* Indicates that the key did not exist.
*
*
* Protobuf type {@code cache_client._UpdateTtlResponse._Missing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._UpdateTtlResponse._Missing)
grpc.cache_client._UpdateTtlResponse._MissingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Missing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse__Missing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse._Missing.class, grpc.cache_client._UpdateTtlResponse._Missing.Builder.class);
}
// Construct using grpc.cache_client._UpdateTtlResponse._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__UpdateTtlResponse__Missing_descriptor;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Missing getDefaultInstanceForType() {
return grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Missing build() {
grpc.cache_client._UpdateTtlResponse._Missing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Missing buildPartial() {
grpc.cache_client._UpdateTtlResponse._Missing result = new grpc.cache_client._UpdateTtlResponse._Missing(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._UpdateTtlResponse._Missing) {
return mergeFrom((grpc.cache_client._UpdateTtlResponse._Missing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._UpdateTtlResponse._Missing other) {
if (other == grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing)
}
// @@protoc_insertion_point(class_scope:cache_client._UpdateTtlResponse._Missing)
private static final grpc.cache_client._UpdateTtlResponse._Missing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._UpdateTtlResponse._Missing();
}
public static grpc.cache_client._UpdateTtlResponse._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._UpdateTtlResponse._Missing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int resultCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object result_;
public enum ResultCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SET(1),
NOT_SET(2),
MISSING(3),
RESULT_NOT_SET(0);
private final int value;
private ResultCase(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 ResultCase valueOf(int value) {
return forNumber(value);
}
public static ResultCase forNumber(int value) {
switch (value) {
case 1: return SET;
case 2: return NOT_SET;
case 3: return MISSING;
case 0: return RESULT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ResultCase
getResultCase() {
return ResultCase.forNumber(
resultCase_);
}
public static final int SET_FIELD_NUMBER = 1;
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
* @return Whether the set field is set.
*/
@java.lang.Override
public boolean hasSet() {
return resultCase_ == 1;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
* @return The set.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set getSet() {
if (resultCase_ == 1) {
return (grpc.cache_client._UpdateTtlResponse._Set) result_;
}
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._SetOrBuilder getSetOrBuilder() {
if (resultCase_ == 1) {
return (grpc.cache_client._UpdateTtlResponse._Set) result_;
}
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
public static final int NOT_SET_FIELD_NUMBER = 2;
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
* @return Whether the notSet field is set.
*/
@java.lang.Override
public boolean hasNotSet() {
return resultCase_ == 2;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
* @return The notSet.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet getNotSet() {
if (resultCase_ == 2) {
return (grpc.cache_client._UpdateTtlResponse._NotSet) result_;
}
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder getNotSetOrBuilder() {
if (resultCase_ == 2) {
return (grpc.cache_client._UpdateTtlResponse._NotSet) result_;
}
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
public static final int MISSING_FIELD_NUMBER = 3;
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
* @return Whether the missing field is set.
*/
@java.lang.Override
public boolean hasMissing() {
return resultCase_ == 3;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
* @return The missing.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Missing getMissing() {
if (resultCase_ == 3) {
return (grpc.cache_client._UpdateTtlResponse._Missing) result_;
}
return grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._MissingOrBuilder getMissingOrBuilder() {
if (resultCase_ == 3) {
return (grpc.cache_client._UpdateTtlResponse._Missing) result_;
}
return grpc.cache_client._UpdateTtlResponse._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 (resultCase_ == 1) {
output.writeMessage(1, (grpc.cache_client._UpdateTtlResponse._Set) result_);
}
if (resultCase_ == 2) {
output.writeMessage(2, (grpc.cache_client._UpdateTtlResponse._NotSet) result_);
}
if (resultCase_ == 3) {
output.writeMessage(3, (grpc.cache_client._UpdateTtlResponse._Missing) result_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (resultCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (grpc.cache_client._UpdateTtlResponse._Set) result_);
}
if (resultCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (grpc.cache_client._UpdateTtlResponse._NotSet) result_);
}
if (resultCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (grpc.cache_client._UpdateTtlResponse._Missing) result_);
}
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._UpdateTtlResponse)) {
return super.equals(obj);
}
grpc.cache_client._UpdateTtlResponse other = (grpc.cache_client._UpdateTtlResponse) obj;
if (!getResultCase().equals(other.getResultCase())) return false;
switch (resultCase_) {
case 1:
if (!getSet()
.equals(other.getSet())) return false;
break;
case 2:
if (!getNotSet()
.equals(other.getNotSet())) return false;
break;
case 3:
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 (resultCase_) {
case 1:
hash = (37 * hash) + SET_FIELD_NUMBER;
hash = (53 * hash) + getSet().hashCode();
break;
case 2:
hash = (37 * hash) + NOT_SET_FIELD_NUMBER;
hash = (53 * hash) + getNotSet().hashCode();
break;
case 3:
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._UpdateTtlResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static grpc.cache_client._UpdateTtlResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static grpc.cache_client._UpdateTtlResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static grpc.cache_client._UpdateTtlResponse 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._UpdateTtlResponse 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._UpdateTtlResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cache_client._UpdateTtlResponse)
grpc.cache_client._UpdateTtlResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
grpc.cache_client._UpdateTtlResponse.class, grpc.cache_client._UpdateTtlResponse.Builder.class);
}
// Construct using grpc.cache_client._UpdateTtlResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (setBuilder_ != null) {
setBuilder_.clear();
}
if (notSetBuilder_ != null) {
notSetBuilder_.clear();
}
if (missingBuilder_ != null) {
missingBuilder_.clear();
}
resultCase_ = 0;
result_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return grpc.cache_client.Cacheclient.internal_static_cache_client__UpdateTtlResponse_descriptor;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse getDefaultInstanceForType() {
return grpc.cache_client._UpdateTtlResponse.getDefaultInstance();
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse build() {
grpc.cache_client._UpdateTtlResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse buildPartial() {
grpc.cache_client._UpdateTtlResponse result = new grpc.cache_client._UpdateTtlResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(grpc.cache_client._UpdateTtlResponse result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(grpc.cache_client._UpdateTtlResponse result) {
result.resultCase_ = resultCase_;
result.result_ = this.result_;
if (resultCase_ == 1 &&
setBuilder_ != null) {
result.result_ = setBuilder_.build();
}
if (resultCase_ == 2 &&
notSetBuilder_ != null) {
result.result_ = notSetBuilder_.build();
}
if (resultCase_ == 3 &&
missingBuilder_ != null) {
result.result_ = missingBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof grpc.cache_client._UpdateTtlResponse) {
return mergeFrom((grpc.cache_client._UpdateTtlResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(grpc.cache_client._UpdateTtlResponse other) {
if (other == grpc.cache_client._UpdateTtlResponse.getDefaultInstance()) return this;
switch (other.getResultCase()) {
case SET: {
mergeSet(other.getSet());
break;
}
case NOT_SET: {
mergeNotSet(other.getNotSet());
break;
}
case MISSING: {
mergeMissing(other.getMissing());
break;
}
case RESULT_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(
getSetFieldBuilder().getBuilder(),
extensionRegistry);
resultCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getNotSetFieldBuilder().getBuilder(),
extensionRegistry);
resultCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getMissingFieldBuilder().getBuilder(),
extensionRegistry);
resultCase_ = 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 resultCase_ = 0;
private java.lang.Object result_;
public ResultCase
getResultCase() {
return ResultCase.forNumber(
resultCase_);
}
public Builder clearResult() {
resultCase_ = 0;
result_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Set, grpc.cache_client._UpdateTtlResponse._Set.Builder, grpc.cache_client._UpdateTtlResponse._SetOrBuilder> setBuilder_;
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
* @return Whether the set field is set.
*/
@java.lang.Override
public boolean hasSet() {
return resultCase_ == 1;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
* @return The set.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Set getSet() {
if (setBuilder_ == null) {
if (resultCase_ == 1) {
return (grpc.cache_client._UpdateTtlResponse._Set) result_;
}
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
} else {
if (resultCase_ == 1) {
return setBuilder_.getMessage();
}
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
public Builder setSet(grpc.cache_client._UpdateTtlResponse._Set value) {
if (setBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
setBuilder_.setMessage(value);
}
resultCase_ = 1;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
public Builder setSet(
grpc.cache_client._UpdateTtlResponse._Set.Builder builderForValue) {
if (setBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
setBuilder_.setMessage(builderForValue.build());
}
resultCase_ = 1;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
public Builder mergeSet(grpc.cache_client._UpdateTtlResponse._Set value) {
if (setBuilder_ == null) {
if (resultCase_ == 1 &&
result_ != grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance()) {
result_ = grpc.cache_client._UpdateTtlResponse._Set.newBuilder((grpc.cache_client._UpdateTtlResponse._Set) result_)
.mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
if (resultCase_ == 1) {
setBuilder_.mergeFrom(value);
} else {
setBuilder_.setMessage(value);
}
}
resultCase_ = 1;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
public Builder clearSet() {
if (setBuilder_ == null) {
if (resultCase_ == 1) {
resultCase_ = 0;
result_ = null;
onChanged();
}
} else {
if (resultCase_ == 1) {
resultCase_ = 0;
result_ = null;
}
setBuilder_.clear();
}
return this;
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
public grpc.cache_client._UpdateTtlResponse._Set.Builder getSetBuilder() {
return getSetFieldBuilder().getBuilder();
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._SetOrBuilder getSetOrBuilder() {
if ((resultCase_ == 1) && (setBuilder_ != null)) {
return setBuilder_.getMessageOrBuilder();
} else {
if (resultCase_ == 1) {
return (grpc.cache_client._UpdateTtlResponse._Set) result_;
}
return grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._Set set = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Set, grpc.cache_client._UpdateTtlResponse._Set.Builder, grpc.cache_client._UpdateTtlResponse._SetOrBuilder>
getSetFieldBuilder() {
if (setBuilder_ == null) {
if (!(resultCase_ == 1)) {
result_ = grpc.cache_client._UpdateTtlResponse._Set.getDefaultInstance();
}
setBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Set, grpc.cache_client._UpdateTtlResponse._Set.Builder, grpc.cache_client._UpdateTtlResponse._SetOrBuilder>(
(grpc.cache_client._UpdateTtlResponse._Set) result_,
getParentForChildren(),
isClean());
result_ = null;
}
resultCase_ = 1;
onChanged();
return setBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._NotSet, grpc.cache_client._UpdateTtlResponse._NotSet.Builder, grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder> notSetBuilder_;
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
* @return Whether the notSet field is set.
*/
@java.lang.Override
public boolean hasNotSet() {
return resultCase_ == 2;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
* @return The notSet.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSet getNotSet() {
if (notSetBuilder_ == null) {
if (resultCase_ == 2) {
return (grpc.cache_client._UpdateTtlResponse._NotSet) result_;
}
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
} else {
if (resultCase_ == 2) {
return notSetBuilder_.getMessage();
}
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
public Builder setNotSet(grpc.cache_client._UpdateTtlResponse._NotSet value) {
if (notSetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
notSetBuilder_.setMessage(value);
}
resultCase_ = 2;
return this;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
public Builder setNotSet(
grpc.cache_client._UpdateTtlResponse._NotSet.Builder builderForValue) {
if (notSetBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
notSetBuilder_.setMessage(builderForValue.build());
}
resultCase_ = 2;
return this;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
public Builder mergeNotSet(grpc.cache_client._UpdateTtlResponse._NotSet value) {
if (notSetBuilder_ == null) {
if (resultCase_ == 2 &&
result_ != grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance()) {
result_ = grpc.cache_client._UpdateTtlResponse._NotSet.newBuilder((grpc.cache_client._UpdateTtlResponse._NotSet) result_)
.mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
if (resultCase_ == 2) {
notSetBuilder_.mergeFrom(value);
} else {
notSetBuilder_.setMessage(value);
}
}
resultCase_ = 2;
return this;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
public Builder clearNotSet() {
if (notSetBuilder_ == null) {
if (resultCase_ == 2) {
resultCase_ = 0;
result_ = null;
onChanged();
}
} else {
if (resultCase_ == 2) {
resultCase_ = 0;
result_ = null;
}
notSetBuilder_.clear();
}
return this;
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
public grpc.cache_client._UpdateTtlResponse._NotSet.Builder getNotSetBuilder() {
return getNotSetFieldBuilder().getBuilder();
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder getNotSetOrBuilder() {
if ((resultCase_ == 2) && (notSetBuilder_ != null)) {
return notSetBuilder_.getMessageOrBuilder();
} else {
if (resultCase_ == 2) {
return (grpc.cache_client._UpdateTtlResponse._NotSet) result_;
}
return grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._NotSet not_set = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._NotSet, grpc.cache_client._UpdateTtlResponse._NotSet.Builder, grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder>
getNotSetFieldBuilder() {
if (notSetBuilder_ == null) {
if (!(resultCase_ == 2)) {
result_ = grpc.cache_client._UpdateTtlResponse._NotSet.getDefaultInstance();
}
notSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._NotSet, grpc.cache_client._UpdateTtlResponse._NotSet.Builder, grpc.cache_client._UpdateTtlResponse._NotSetOrBuilder>(
(grpc.cache_client._UpdateTtlResponse._NotSet) result_,
getParentForChildren(),
isClean());
result_ = null;
}
resultCase_ = 2;
onChanged();
return notSetBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Missing, grpc.cache_client._UpdateTtlResponse._Missing.Builder, grpc.cache_client._UpdateTtlResponse._MissingOrBuilder> missingBuilder_;
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
* @return Whether the missing field is set.
*/
@java.lang.Override
public boolean hasMissing() {
return resultCase_ == 3;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
* @return The missing.
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._Missing getMissing() {
if (missingBuilder_ == null) {
if (resultCase_ == 3) {
return (grpc.cache_client._UpdateTtlResponse._Missing) result_;
}
return grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
} else {
if (resultCase_ == 3) {
return missingBuilder_.getMessage();
}
return grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
public Builder setMissing(grpc.cache_client._UpdateTtlResponse._Missing value) {
if (missingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
missingBuilder_.setMessage(value);
}
resultCase_ = 3;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
public Builder setMissing(
grpc.cache_client._UpdateTtlResponse._Missing.Builder builderForValue) {
if (missingBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
missingBuilder_.setMessage(builderForValue.build());
}
resultCase_ = 3;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
public Builder mergeMissing(grpc.cache_client._UpdateTtlResponse._Missing value) {
if (missingBuilder_ == null) {
if (resultCase_ == 3 &&
result_ != grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance()) {
result_ = grpc.cache_client._UpdateTtlResponse._Missing.newBuilder((grpc.cache_client._UpdateTtlResponse._Missing) result_)
.mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
if (resultCase_ == 3) {
missingBuilder_.mergeFrom(value);
} else {
missingBuilder_.setMessage(value);
}
}
resultCase_ = 3;
return this;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
public Builder clearMissing() {
if (missingBuilder_ == null) {
if (resultCase_ == 3) {
resultCase_ = 0;
result_ = null;
onChanged();
}
} else {
if (resultCase_ == 3) {
resultCase_ = 0;
result_ = null;
}
missingBuilder_.clear();
}
return this;
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
public grpc.cache_client._UpdateTtlResponse._Missing.Builder getMissingBuilder() {
return getMissingFieldBuilder().getBuilder();
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse._MissingOrBuilder getMissingOrBuilder() {
if ((resultCase_ == 3) && (missingBuilder_ != null)) {
return missingBuilder_.getMessageOrBuilder();
} else {
if (resultCase_ == 3) {
return (grpc.cache_client._UpdateTtlResponse._Missing) result_;
}
return grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
}
}
/**
* .cache_client._UpdateTtlResponse._Missing missing = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Missing, grpc.cache_client._UpdateTtlResponse._Missing.Builder, grpc.cache_client._UpdateTtlResponse._MissingOrBuilder>
getMissingFieldBuilder() {
if (missingBuilder_ == null) {
if (!(resultCase_ == 3)) {
result_ = grpc.cache_client._UpdateTtlResponse._Missing.getDefaultInstance();
}
missingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
grpc.cache_client._UpdateTtlResponse._Missing, grpc.cache_client._UpdateTtlResponse._Missing.Builder, grpc.cache_client._UpdateTtlResponse._MissingOrBuilder>(
(grpc.cache_client._UpdateTtlResponse._Missing) result_,
getParentForChildren(),
isClean());
result_ = null;
}
resultCase_ = 3;
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._UpdateTtlResponse)
}
// @@protoc_insertion_point(class_scope:cache_client._UpdateTtlResponse)
private static final grpc.cache_client._UpdateTtlResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new grpc.cache_client._UpdateTtlResponse();
}
public static grpc.cache_client._UpdateTtlResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<_UpdateTtlResponse>
PARSER = new com.google.protobuf.AbstractParser<_UpdateTtlResponse>() {
@java.lang.Override
public _UpdateTtlResponse 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<_UpdateTtlResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<_UpdateTtlResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public grpc.cache_client._UpdateTtlResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}