Package namespace.cloud.registry.v1beta
Class Registry.UpdateImageLifetimeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
namespace.cloud.registry.v1beta.Registry.UpdateImageLifetimeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Registry.UpdateImageLifetimeRequestOrBuilder
- Enclosing class:
Registry.UpdateImageLifetimeRequest
public static final class Registry.UpdateImageLifetimeRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
implements Registry.UpdateImageLifetimeRequestOrBuilder
Protobuf type
namespace.cloud.registry.v1beta.UpdateImageLifetimeRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The digest of the image of the form sha256:<hash>.The minimum remaining duration this image should be alive for.The duration the lifetime of this image should be extended by.The new expiration timestamp (in UTC) at which the image expires.The repository containing the image.static final com.google.protobuf.Descriptors.Descriptorcom.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.Duration.BuilderThe 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.Duration.BuilderThe 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.Timestamp.BuilderThe 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEnsureMinimumRemaining(com.google.protobuf.Duration value) The minimum remaining duration this image should be alive for.mergeExtendBy(com.google.protobuf.Duration value) The duration the lifetime of this image should be extended by.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNewExpiry(com.google.protobuf.Timestamp value) The new expiration timestamp (in UTC) at which the image expires.The digest of the image of the form sha256:<hash>.setDigestBytes(com.google.protobuf.ByteString value) The digest of the image of the form sha256:<hash>.setEnsureMinimumRemaining(com.google.protobuf.Duration value) The minimum remaining duration this image should be alive for.setEnsureMinimumRemaining(com.google.protobuf.Duration.Builder builderForValue) The minimum remaining duration this image should be alive for.setExtendBy(com.google.protobuf.Duration value) The duration the lifetime of this image should be extended by.setExtendBy(com.google.protobuf.Duration.Builder builderForValue) The duration the lifetime of this image should be extended by.setNewExpiry(com.google.protobuf.Timestamp value) The new expiration timestamp (in UTC) at which the image expires.setNewExpiry(com.google.protobuf.Timestamp.Builder builderForValue) The new expiration timestamp (in UTC) at which the image expires.setRepository(String value) The repository containing the image.setRepositoryBytes(com.google.protobuf.ByteString value) The repository containing the image.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Registry.UpdateImageLifetimeRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
-
mergeFrom
public Registry.UpdateImageLifetimeRequest.Builder mergeFrom(Registry.UpdateImageLifetimeRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>
-
mergeFrom
public Registry.UpdateImageLifetimeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Registry.UpdateImageLifetimeRequest.Builder>- Throws:
IOException
-
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.
-
setRepository
The repository containing the image.
string repository = 1;- Parameters:
value- The repository to set.- Returns:
- This builder for chaining.
-
clearRepository
The repository containing the image.
string repository = 1;- Returns:
- This builder for chaining.
-
setRepositoryBytes
public Registry.UpdateImageLifetimeRequest.Builder setRepositoryBytes(com.google.protobuf.ByteString value) The repository containing the image.
string repository = 1;- Parameters:
value- The bytes for repository to set.- Returns:
- This builder for chaining.
-
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.
-
setDigest
The digest of the image of the form sha256:<hash>.
string digest = 2;- Parameters:
value- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
The digest of the image of the form sha256:<hash>.
string digest = 2;- Returns:
- This builder for chaining.
-
setDigestBytes
public Registry.UpdateImageLifetimeRequest.Builder setDigestBytes(com.google.protobuf.ByteString value) The digest of the image of the form sha256:<hash>.
string digest = 2;- Parameters:
value- The bytes for digest to set.- Returns:
- This builder for chaining.
-
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.
-
setExtendBy
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; -
setExtendBy
public Registry.UpdateImageLifetimeRequest.Builder setExtendBy(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeExtendBy
public Registry.UpdateImageLifetimeRequest.Builder mergeExtendBy(com.google.protobuf.Duration value) 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; -
clearExtendBy
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; -
getExtendByBuilder
public com.google.protobuf.Duration.Builder getExtendByBuilder()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; -
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.
-
setEnsureMinimumRemaining
public Registry.UpdateImageLifetimeRequest.Builder setEnsureMinimumRemaining(com.google.protobuf.Duration value) 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; -
setEnsureMinimumRemaining
public Registry.UpdateImageLifetimeRequest.Builder setEnsureMinimumRemaining(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeEnsureMinimumRemaining
public Registry.UpdateImageLifetimeRequest.Builder mergeEnsureMinimumRemaining(com.google.protobuf.Duration value) 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; -
clearEnsureMinimumRemaining
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; -
getEnsureMinimumRemainingBuilder
public com.google.protobuf.Duration.Builder getEnsureMinimumRemainingBuilder()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; -
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.
-
setNewExpiry
public Registry.UpdateImageLifetimeRequest.Builder setNewExpiry(com.google.protobuf.Timestamp value) 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; -
setNewExpiry
public Registry.UpdateImageLifetimeRequest.Builder setNewExpiry(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeNewExpiry
public Registry.UpdateImageLifetimeRequest.Builder mergeNewExpiry(com.google.protobuf.Timestamp value) 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; -
clearNewExpiry
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; -
getNewExpiryBuilder
public com.google.protobuf.Timestamp.Builder getNewExpiryBuilder()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; -
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
-