Package namespace.cloud.registry.v1beta
Interface Registry.UpdateImageLifetimeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Registry.UpdateImageLifetimeRequest,Registry.UpdateImageLifetimeRequest.Builder
- Enclosing class:
Registry
public static interface Registry.UpdateImageLifetimeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.The repository containing the image.com.google.protobuf.ByteStringThe repository containing the image.booleanThe minimum remaining duration this image should be alive for.booleanThe duration the lifetime of this image should be extended by.booleanThe new expiration timestamp (in UTC) at which the image expires.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRepository
String getRepository()The repository containing the image.
string repository = 1;- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()The repository containing the image.
string repository = 1;- Returns:
- The bytes for repository.
-
getDigest
String getDigest()The digest of the image of the form sha256:<hash>.
string digest = 2;- Returns:
- The digest.
-
getDigestBytes
com.google.protobuf.ByteString getDigestBytes()The digest of the image of the form sha256:<hash>.
string digest = 2;- Returns:
- The bytes for digest.
-
hasExtendBy
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;- Returns:
- Whether the extendBy field is set.
-
getExtendBy
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;- Returns:
- The extendBy.
-
getExtendByOrBuilder
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; -
hasEnsureMinimumRemaining
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;- Returns:
- Whether the ensureMinimumRemaining field is set.
-
getEnsureMinimumRemaining
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;- Returns:
- The ensureMinimumRemaining.
-
getEnsureMinimumRemainingOrBuilder
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; -
hasNewExpiry
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;- Returns:
- Whether the newExpiry field is set.
-
getNewExpiry
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;- Returns:
- The newExpiry.
-
getNewExpiryOrBuilder
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;
-