grpc.cache_client._UpdateTtlRequestOrBuilder 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;
public interface _UpdateTtlRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client._UpdateTtlRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes cache_key = 1;
* @return The cacheKey.
*/
com.google.protobuf.ByteString getCacheKey();
/**
*
* Sets the ttl to this value only if it is an increase compared to the existing ttl
*
*
* uint64 increase_to_milliseconds = 2;
* @return Whether the increaseToMilliseconds field is set.
*/
boolean hasIncreaseToMilliseconds();
/**
*
* Sets the ttl to this value only if it is an increase compared to the existing ttl
*
*
* uint64 increase_to_milliseconds = 2;
* @return The increaseToMilliseconds.
*/
long getIncreaseToMilliseconds();
/**
*
* Sets the ttl to this value only if it is a decrease compared to the existing ttl
*
*
* uint64 decrease_to_milliseconds = 3;
* @return Whether the decreaseToMilliseconds field is set.
*/
boolean hasDecreaseToMilliseconds();
/**
*
* Sets the ttl to this value only if it is a decrease compared to the existing ttl
*
*
* uint64 decrease_to_milliseconds = 3;
* @return The decreaseToMilliseconds.
*/
long getDecreaseToMilliseconds();
/**
*
* Sets the ttl to this value unconditionally
*
*
* uint64 overwrite_to_milliseconds = 4;
* @return Whether the overwriteToMilliseconds field is set.
*/
boolean hasOverwriteToMilliseconds();
/**
*
* Sets the ttl to this value unconditionally
*
*
* uint64 overwrite_to_milliseconds = 4;
* @return The overwriteToMilliseconds.
*/
long getOverwriteToMilliseconds();
grpc.cache_client._UpdateTtlRequest.UpdateTtlCase getUpdateTtlCase();
}