Interface Registry.UpdateDefaultPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Registry.UpdateDefaultPolicyRequest, Registry.UpdateDefaultPolicyRequest.Builder
Enclosing class:
Registry

public static interface Registry.UpdateDefaultPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The new default expiration duration for newly created images.
    com.google.protobuf.DurationOrBuilder
    The new default expiration duration for newly created images.
    Controls whether expiration is enforced.
    int
    Controls whether expiration is enforced.
    long
    Only update if revision matches.
    boolean
    The new default expiration duration for newly created images.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRevision

      long getRevision()
       Only update if revision matches.
       
      int64 revision = 1;
      Returns:
      The revision.
    • hasDefaultExpiration

      boolean hasDefaultExpiration()
       The new default expiration duration for newly created images.
       A duration of at least 4h (=14400s) is required.
       In order to apply the expiration retroactively to existing images reach out to `support@namespace.so`.
      
       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 default_expiration = 2;
      Returns:
      Whether the defaultExpiration field is set.
    • getDefaultExpiration

      com.google.protobuf.Duration getDefaultExpiration()
       The new default expiration duration for newly created images.
       A duration of at least 4h (=14400s) is required.
       In order to apply the expiration retroactively to existing images reach out to `support@namespace.so`.
      
       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 default_expiration = 2;
      Returns:
      The defaultExpiration.
    • getDefaultExpirationOrBuilder

      com.google.protobuf.DurationOrBuilder getDefaultExpirationOrBuilder()
       The new default expiration duration for newly created images.
       A duration of at least 4h (=14400s) is required.
       In order to apply the expiration retroactively to existing images reach out to `support@namespace.so`.
      
       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 default_expiration = 2;
    • getExpirationEnforcementValue

      int getExpirationEnforcementValue()
       Controls whether expiration is enforced.
       
      .namespace.cloud.registry.v1beta.ExpirationEnforcement expiration_enforcement = 3;
      Returns:
      The enum numeric value on the wire for expirationEnforcement.
    • getExpirationEnforcement

      Registry.ExpirationEnforcement getExpirationEnforcement()
       Controls whether expiration is enforced.
       
      .namespace.cloud.registry.v1beta.ExpirationEnforcement expiration_enforcement = 3;
      Returns:
      The expirationEnforcement.