Interface OciConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OciConfig, OciConfig.Builder

@Generated public interface OciConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    long
    Optional.

    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

    • getSyncRepo

      String getSyncRepo()
       Required. The OCI image repository URL for the package to sync from.
       e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
       
      string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The syncRepo.
    • getSyncRepoBytes

      com.google.protobuf.ByteString getSyncRepoBytes()
       Required. The OCI image repository URL for the package to sync from.
       e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
       
      string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for syncRepo.
    • getPolicyDir

      String getPolicyDir()
       Optional. The absolute path of the directory that contains
       the local resources.  Default: the root directory of the image.
       
      string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The policyDir.
    • getPolicyDirBytes

      com.google.protobuf.ByteString getPolicyDirBytes()
       Optional. The absolute path of the directory that contains
       the local resources.  Default: the root directory of the image.
       
      string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for policyDir.
    • getSyncWaitSecs

      long getSyncWaitSecs()
       Optional. Period in seconds between consecutive syncs. Default: 15.
       
      int64 sync_wait_secs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The syncWaitSecs.
    • getSecretType

      String getSecretType()
       Required. Type of secret configured for access to the OCI repo.
       Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or
       `none`.
       The validation of this is case-sensitive.
       
      string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The secretType.
    • getSecretTypeBytes

      com.google.protobuf.ByteString getSecretTypeBytes()
       Required. Type of secret configured for access to the OCI repo.
       Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or
       `none`.
       The validation of this is case-sensitive.
       
      string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for secretType.
    • getGcpServiceAccountEmail

      String getGcpServiceAccountEmail()
       Optional. The Google Cloud Service Account Email used for auth when
       secret_type is `gcpserviceaccount`.
       
      string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The gcpServiceAccountEmail.
    • getGcpServiceAccountEmailBytes

      com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()
       Optional. The Google Cloud Service Account Email used for auth when
       secret_type is `gcpserviceaccount`.
       
      string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for gcpServiceAccountEmail.