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 TypeMethodDescriptionThe Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.com.google.protobuf.ByteStringThe Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.The absolute path of the directory that contains the local resources.com.google.protobuf.ByteStringThe absolute path of the directory that contains the local resources.Type of secret configured for access to the Git repo.com.google.protobuf.ByteStringType of secret configured for access to the Git repo.The OCI image repository URL for the package to sync from.com.google.protobuf.ByteStringThe OCI image repository URL for the package to sync from.longPeriod in seconds between consecutive syncs.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSyncRepo
String getSyncRepo()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;- Returns:
- The syncRepo.
-
getSyncRepoBytes
com.google.protobuf.ByteString getSyncRepoBytes()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;- Returns:
- The bytes for syncRepo.
-
getPolicyDir
String getPolicyDir()The absolute path of the directory that contains the local resources. Default: the root directory of the image.
string policy_dir = 2;- Returns:
- The policyDir.
-
getPolicyDirBytes
com.google.protobuf.ByteString getPolicyDirBytes()The absolute path of the directory that contains the local resources. Default: the root directory of the image.
string policy_dir = 2;- Returns:
- The bytes for policyDir.
-
getSyncWaitSecs
long getSyncWaitSecs()Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 3;- Returns:
- The syncWaitSecs.
-
getSecretType
String getSecretType()Type of secret configured for access to the Git repo.
string secret_type = 4;- Returns:
- The secretType.
-
getSecretTypeBytes
com.google.protobuf.ByteString getSecretTypeBytes()Type of secret configured for access to the Git repo.
string secret_type = 4;- Returns:
- The bytes for secretType.
-
getGcpServiceAccountEmail
String getGcpServiceAccountEmail()The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 5;- Returns:
- The gcpServiceAccountEmail.
-
getGcpServiceAccountEmailBytes
com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 5;- Returns:
- The bytes for gcpServiceAccountEmail.
-