public static final class _UpdateTtlRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder> implements _UpdateTtlRequestOrBuilder
cache_client._UpdateTtlRequest| Modifier and Type | Method and Description |
|---|---|
_UpdateTtlRequest |
build() |
_UpdateTtlRequest |
buildPartial() |
_UpdateTtlRequest.Builder |
clear() |
_UpdateTtlRequest.Builder |
clearCacheKey()
bytes cache_key = 1; |
_UpdateTtlRequest.Builder |
clearDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
|
_UpdateTtlRequest.Builder |
clearIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
|
_UpdateTtlRequest.Builder |
clearOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
|
_UpdateTtlRequest.Builder |
clearUpdateTtl() |
com.google.protobuf.ByteString |
getCacheKey()
bytes cache_key = 1; |
long |
getDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
|
_UpdateTtlRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
|
long |
getOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
|
_UpdateTtlRequest.UpdateTtlCase |
getUpdateTtlCase() |
boolean |
hasDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
|
boolean |
hasIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
|
boolean |
hasOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
_UpdateTtlRequest.Builder |
mergeFrom(_UpdateTtlRequest other) |
_UpdateTtlRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
_UpdateTtlRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
_UpdateTtlRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
_UpdateTtlRequest.Builder |
setCacheKey(com.google.protobuf.ByteString value)
bytes cache_key = 1; |
_UpdateTtlRequest.Builder |
setDecreaseToMilliseconds(long value)
Sets the ttl to this value only if it is a decrease compared to the existing ttl
|
_UpdateTtlRequest.Builder |
setIncreaseToMilliseconds(long value)
Sets the ttl to this value only if it is an increase compared to the existing ttl
|
_UpdateTtlRequest.Builder |
setOverwriteToMilliseconds(long value)
Sets the ttl to this value unconditionally
|
_UpdateTtlRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>public _UpdateTtlRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>public _UpdateTtlRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic _UpdateTtlRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic _UpdateTtlRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic _UpdateTtlRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<_UpdateTtlRequest.Builder>public _UpdateTtlRequest.Builder mergeFrom(_UpdateTtlRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>public _UpdateTtlRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<_UpdateTtlRequest.Builder>java.io.IOExceptionpublic _UpdateTtlRequest.UpdateTtlCase getUpdateTtlCase()
getUpdateTtlCase in interface _UpdateTtlRequestOrBuilderpublic _UpdateTtlRequest.Builder clearUpdateTtl()
public com.google.protobuf.ByteString getCacheKey()
bytes cache_key = 1;getCacheKey in interface _UpdateTtlRequestOrBuilderpublic _UpdateTtlRequest.Builder setCacheKey(com.google.protobuf.ByteString value)
bytes cache_key = 1;value - The cacheKey to set.public _UpdateTtlRequest.Builder clearCacheKey()
bytes cache_key = 1;public boolean hasIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
uint64 increase_to_milliseconds = 2;hasIncreaseToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic long getIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
uint64 increase_to_milliseconds = 2;getIncreaseToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic _UpdateTtlRequest.Builder setIncreaseToMilliseconds(long value)
Sets the ttl to this value only if it is an increase compared to the existing ttl
uint64 increase_to_milliseconds = 2;value - The increaseToMilliseconds to set.public _UpdateTtlRequest.Builder clearIncreaseToMilliseconds()
Sets the ttl to this value only if it is an increase compared to the existing ttl
uint64 increase_to_milliseconds = 2;public boolean hasDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
uint64 decrease_to_milliseconds = 3;hasDecreaseToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic long getDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
uint64 decrease_to_milliseconds = 3;getDecreaseToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic _UpdateTtlRequest.Builder setDecreaseToMilliseconds(long value)
Sets the ttl to this value only if it is a decrease compared to the existing ttl
uint64 decrease_to_milliseconds = 3;value - The decreaseToMilliseconds to set.public _UpdateTtlRequest.Builder clearDecreaseToMilliseconds()
Sets the ttl to this value only if it is a decrease compared to the existing ttl
uint64 decrease_to_milliseconds = 3;public boolean hasOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
uint64 overwrite_to_milliseconds = 4;hasOverwriteToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic long getOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
uint64 overwrite_to_milliseconds = 4;getOverwriteToMilliseconds in interface _UpdateTtlRequestOrBuilderpublic _UpdateTtlRequest.Builder setOverwriteToMilliseconds(long value)
Sets the ttl to this value unconditionally
uint64 overwrite_to_milliseconds = 4;value - The overwriteToMilliseconds to set.public _UpdateTtlRequest.Builder clearOverwriteToMilliseconds()
Sets the ttl to this value unconditionally
uint64 overwrite_to_milliseconds = 4;public final _UpdateTtlRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>public final _UpdateTtlRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<_UpdateTtlRequest.Builder>