Interface Registry.GetDefaultPolicyResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The default expiration duration that is applied to newly created images.
    com.google.protobuf.DurationOrBuilder
    The default expiration duration that is applied to newly created images.
    Controls whether expiration is enforced.
    int
    Controls whether expiration is enforced.
    long
    The current revision.
    boolean
    The default expiration duration that is applied to 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()
       The current revision.
       
      int64 revision = 1;
      Returns:
      The revision.
    • hasDefaultExpiration

      boolean hasDefaultExpiration()
       The default expiration duration that is applied to newly created images.
       After this duration the image becomes inaccessible and the underlying blobs are deleted.
       Not set means no default policy is configured.
      
       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 default expiration duration that is applied to newly created images.
       After this duration the image becomes inaccessible and the underlying blobs are deleted.
       Not set means no default policy is configured.
      
       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 default expiration duration that is applied to newly created images.
       After this duration the image becomes inaccessible and the underlying blobs are deleted.
       Not set means no default policy is configured.
      
       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.