Package namespace.cloud.registry.v1beta
Class Registry.UpdateImageLifetimeRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.registry.v1beta.Registry.UpdateImageLifetimeRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Registry.UpdateImageLifetimeRequestOrBuilder
- Enclosing class:
Registry
public static final class Registry.UpdateImageLifetimeRequest
extends com.google.protobuf.GeneratedMessage
implements Registry.UpdateImageLifetimeRequestOrBuilder
Protobuf type
namespace.cloud.registry.v1beta.UpdateImageLifetimeRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typenamespace.cloud.registry.v1beta.UpdateImageLifetimeRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorThe digest of the image of the form sha256:<hash>.com.google.protobuf.ByteStringThe digest of the image of the form sha256:<hash>.com.google.protobuf.DurationThe minimum remaining duration this image should be alive for.com.google.protobuf.DurationOrBuilderThe minimum remaining duration this image should be alive for.com.google.protobuf.DurationThe duration the lifetime of this image should be extended by.com.google.protobuf.DurationOrBuilderThe duration the lifetime of this image should be extended by.com.google.protobuf.TimestampThe new expiration timestamp (in UTC) at which the image expires.com.google.protobuf.TimestampOrBuilderThe new expiration timestamp (in UTC) at which the image expires.com.google.protobuf.Parser<Registry.UpdateImageLifetimeRequest> The repository containing the image.com.google.protobuf.ByteStringThe repository containing the image.intbooleanThe minimum remaining duration this image should be alive for.booleanThe duration the lifetime of this image should be extended by.inthashCode()booleanThe new expiration timestamp (in UTC) at which the image expires.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Registry.UpdateImageLifetimeRequest prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Registry.UpdateImageLifetimeRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REPOSITORY_FIELD_NUMBER
public static final int REPOSITORY_FIELD_NUMBER- See Also:
-
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER- See Also:
-
EXTEND_BY_FIELD_NUMBER
public static final int EXTEND_BY_FIELD_NUMBER- See Also:
-
ENSURE_MINIMUM_REMAINING_FIELD_NUMBER
public static final int ENSURE_MINIMUM_REMAINING_FIELD_NUMBER- See Also:
-
NEW_EXPIRY_FIELD_NUMBER
public static final int NEW_EXPIRY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRepository
The repository containing the image.
string repository = 1;- Specified by:
getRepositoryin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The repository.
-
getRepositoryBytes
public com.google.protobuf.ByteString getRepositoryBytes()The repository containing the image.
string repository = 1;- Specified by:
getRepositoryBytesin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The bytes for repository.
-
getDigest
The digest of the image of the form sha256:<hash>.
string digest = 2;- Specified by:
getDigestin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()The digest of the image of the form sha256:<hash>.
string digest = 2;- Specified by:
getDigestBytesin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The bytes for digest.
-
hasExtendBy
public boolean hasExtendBy()The duration the lifetime of this image should be extended by. If the image currently has no expiration then providing extend_by is not supported. Can not be used in combination with new_expiry. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 3;- Specified by:
hasExtendByin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- Whether the extendBy field is set.
-
getExtendBy
public com.google.protobuf.Duration getExtendBy()The duration the lifetime of this image should be extended by. If the image currently has no expiration then providing extend_by is not supported. Can not be used in combination with new_expiry. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 3;- Specified by:
getExtendByin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The extendBy.
-
getExtendByOrBuilder
public com.google.protobuf.DurationOrBuilder getExtendByOrBuilder()The duration the lifetime of this image should be extended by. If the image currently has no expiration then providing extend_by is not supported. Can not be used in combination with new_expiry. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 3;- Specified by:
getExtendByOrBuilderin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder
-
hasEnsureMinimumRemaining
public boolean hasEnsureMinimumRemaining()The minimum remaining duration this image should be alive for. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum_remaining = 4;- Specified by:
hasEnsureMinimumRemainingin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- Whether the ensureMinimumRemaining field is set.
-
getEnsureMinimumRemaining
public com.google.protobuf.Duration getEnsureMinimumRemaining()The minimum remaining duration this image should be alive for. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum_remaining = 4;- Specified by:
getEnsureMinimumRemainingin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The ensureMinimumRemaining.
-
getEnsureMinimumRemainingOrBuilder
public com.google.protobuf.DurationOrBuilder getEnsureMinimumRemainingOrBuilder()The minimum remaining duration this image should be alive for. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum_remaining = 4;- Specified by:
getEnsureMinimumRemainingOrBuilderin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder
-
hasNewExpiry
public boolean hasNewExpiry()The new expiration timestamp (in UTC) at which the image expires. Can not be used in combination with extend_by. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_expiry = 5;- Specified by:
hasNewExpiryin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- Whether the newExpiry field is set.
-
getNewExpiry
public com.google.protobuf.Timestamp getNewExpiry()The new expiration timestamp (in UTC) at which the image expires. Can not be used in combination with extend_by. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_expiry = 5;- Specified by:
getNewExpiryin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder- Returns:
- The newExpiry.
-
getNewExpiryOrBuilder
public com.google.protobuf.TimestampOrBuilder getNewExpiryOrBuilder()The new expiration timestamp (in UTC) at which the image expires. Can not be used in combination with extend_by. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_expiry = 5;- Specified by:
getNewExpiryOrBuilderin interfaceRegistry.UpdateImageLifetimeRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Registry.UpdateImageLifetimeRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Registry.UpdateImageLifetimeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Registry.UpdateImageLifetimeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Registry.UpdateImageLifetimeRequest.Builder newBuilder(Registry.UpdateImageLifetimeRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Registry.UpdateImageLifetimeRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-