Interface Registry.GetRepositoryPolicyResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The expiration duration that is applied to newly created images in this repository.
    Controls whether expiration is enforced for this repository.
    int
    Controls whether expiration is enforced for this repository.
    com.google.protobuf.DurationOrBuilder
    The expiration duration that is applied to newly created images in this repository.
    long
    The current revision.
    boolean
    The expiration duration that is applied to newly created images in this repository.

    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.
    • hasExpiration

      boolean hasExpiration()
       The expiration duration that is applied to newly created images in this repository.
       Not set means the default policy is used.
      
       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 expiration = 2;
      Returns:
      Whether the expiration field is set.
    • getExpiration

      com.google.protobuf.Duration getExpiration()
       The expiration duration that is applied to newly created images in this repository.
       Not set means the default policy is used.
      
       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 expiration = 2;
      Returns:
      The expiration.
    • getExpirationOrBuilder

      com.google.protobuf.DurationOrBuilder getExpirationOrBuilder()
       The expiration duration that is applied to newly created images in this repository.
       Not set means the default policy is used.
      
       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 expiration = 2;
    • getExpirationEnforcementValue

      int getExpirationEnforcementValue()
       Controls whether expiration is enforced for this repository.
       
      .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 for this repository.
       
      .namespace.cloud.registry.v1beta.ExpirationEnforcement expiration_enforcement = 3;
      Returns:
      The expirationEnforcement.