public static final class GitConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder> implements GitConfigOrBuilder
Git repo configuration for a single cluster.Protobuf type
google.cloud.gkehub.configmanagement.v1alpha.GitConfig| Modifier and Type | Method and Description |
|---|---|
GitConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GitConfig |
build() |
GitConfig |
buildPartial() |
GitConfig.Builder |
clear() |
GitConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GitConfig.Builder |
clearGcpServiceAccountEmail()
The GCP Service Account Email used for auth when secret_type is
gcpServiceAccount.
|
GitConfig.Builder |
clearHttpsProxy()
URL for the HTTPS proxy to be used when communicating with the Git repo.
|
GitConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GitConfig.Builder |
clearPolicyDir()
The path within the Git repository that represents the top level of the
repo to sync.
|
GitConfig.Builder |
clearSecretType()
Type of secret configured for access to the Git repo.
|
GitConfig.Builder |
clearSyncBranch()
The branch of the repository to sync from.
|
GitConfig.Builder |
clearSyncRepo()
The URL of the Git repository to use as the source of truth.
|
GitConfig.Builder |
clearSyncRev()
Git revision (tag or hash) to check out.
|
GitConfig.Builder |
clearSyncWaitSecs()
Period in seconds between consecutive syncs.
|
GitConfig.Builder |
clone() |
GitConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGcpServiceAccountEmail()
The GCP Service Account Email used for auth when secret_type is
gcpServiceAccount.
|
com.google.protobuf.ByteString |
getGcpServiceAccountEmailBytes()
The GCP Service Account Email used for auth when secret_type is
gcpServiceAccount.
|
String |
getHttpsProxy()
URL for the HTTPS proxy to be used when communicating with the Git repo.
|
com.google.protobuf.ByteString |
getHttpsProxyBytes()
URL for the HTTPS proxy to be used when communicating with the Git repo.
|
String |
getPolicyDir()
The path within the Git repository that represents the top level of the
repo to sync.
|
com.google.protobuf.ByteString |
getPolicyDirBytes()
The path within the Git repository that represents the top level of the
repo to sync.
|
String |
getSecretType()
Type of secret configured for access to the Git repo.
|
com.google.protobuf.ByteString |
getSecretTypeBytes()
Type of secret configured for access to the Git repo.
|
String |
getSyncBranch()
The branch of the repository to sync from.
|
com.google.protobuf.ByteString |
getSyncBranchBytes()
The branch of the repository to sync from.
|
String |
getSyncRepo()
The URL of the Git repository to use as the source of truth.
|
com.google.protobuf.ByteString |
getSyncRepoBytes()
The URL of the Git repository to use as the source of truth.
|
String |
getSyncRev()
Git revision (tag or hash) to check out.
|
com.google.protobuf.ByteString |
getSyncRevBytes()
Git revision (tag or hash) to check out.
|
long |
getSyncWaitSecs()
Period in seconds between consecutive syncs.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GitConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GitConfig.Builder |
mergeFrom(GitConfig other) |
GitConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
GitConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GitConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GitConfig.Builder |
setGcpServiceAccountEmail(String value)
The GCP Service Account Email used for auth when secret_type is
gcpServiceAccount.
|
GitConfig.Builder |
setGcpServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The GCP Service Account Email used for auth when secret_type is
gcpServiceAccount.
|
GitConfig.Builder |
setHttpsProxy(String value)
URL for the HTTPS proxy to be used when communicating with the Git repo.
|
GitConfig.Builder |
setHttpsProxyBytes(com.google.protobuf.ByteString value)
URL for the HTTPS proxy to be used when communicating with the Git repo.
|
GitConfig.Builder |
setPolicyDir(String value)
The path within the Git repository that represents the top level of the
repo to sync.
|
GitConfig.Builder |
setPolicyDirBytes(com.google.protobuf.ByteString value)
The path within the Git repository that represents the top level of the
repo to sync.
|
GitConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GitConfig.Builder |
setSecretType(String value)
Type of secret configured for access to the Git repo.
|
GitConfig.Builder |
setSecretTypeBytes(com.google.protobuf.ByteString value)
Type of secret configured for access to the Git repo.
|
GitConfig.Builder |
setSyncBranch(String value)
The branch of the repository to sync from.
|
GitConfig.Builder |
setSyncBranchBytes(com.google.protobuf.ByteString value)
The branch of the repository to sync from.
|
GitConfig.Builder |
setSyncRepo(String value)
The URL of the Git repository to use as the source of truth.
|
GitConfig.Builder |
setSyncRepoBytes(com.google.protobuf.ByteString value)
The URL of the Git repository to use as the source of truth.
|
GitConfig.Builder |
setSyncRev(String value)
Git revision (tag or hash) to check out.
|
GitConfig.Builder |
setSyncRevBytes(com.google.protobuf.ByteString value)
Git revision (tag or hash) to check out.
|
GitConfig.Builder |
setSyncWaitSecs(long value)
Period in seconds between consecutive syncs.
|
GitConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GitConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GitConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GitConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GitConfig.Builder>public GitConfig.Builder mergeFrom(GitConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public GitConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GitConfig.Builder>IOExceptionpublic String getSyncRepo()
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;getSyncRepo in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getSyncRepoBytes()
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;getSyncRepoBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setSyncRepo(String value)
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;value - The syncRepo to set.public GitConfig.Builder clearSyncRepo()
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;public GitConfig.Builder setSyncRepoBytes(com.google.protobuf.ByteString value)
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;value - The bytes for syncRepo to set.public String getSyncBranch()
The branch of the repository to sync from. Default: master.
string sync_branch = 2;getSyncBranch in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getSyncBranchBytes()
The branch of the repository to sync from. Default: master.
string sync_branch = 2;getSyncBranchBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setSyncBranch(String value)
The branch of the repository to sync from. Default: master.
string sync_branch = 2;value - The syncBranch to set.public GitConfig.Builder clearSyncBranch()
The branch of the repository to sync from. Default: master.
string sync_branch = 2;public GitConfig.Builder setSyncBranchBytes(com.google.protobuf.ByteString value)
The branch of the repository to sync from. Default: master.
string sync_branch = 2;value - The bytes for syncBranch to set.public String getPolicyDir()
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
string policy_dir = 3;getPolicyDir in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getPolicyDirBytes()
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
string policy_dir = 3;getPolicyDirBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setPolicyDir(String value)
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
string policy_dir = 3;value - The policyDir to set.public GitConfig.Builder clearPolicyDir()
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
string policy_dir = 3;public GitConfig.Builder setPolicyDirBytes(com.google.protobuf.ByteString value)
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
string policy_dir = 3;value - The bytes for policyDir to set.public long getSyncWaitSecs()
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4;getSyncWaitSecs in interface GitConfigOrBuilderpublic GitConfig.Builder setSyncWaitSecs(long value)
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4;value - The syncWaitSecs to set.public GitConfig.Builder clearSyncWaitSecs()
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4;public String getSyncRev()
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;getSyncRev in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getSyncRevBytes()
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;getSyncRevBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setSyncRev(String value)
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;value - The syncRev to set.public GitConfig.Builder clearSyncRev()
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;public GitConfig.Builder setSyncRevBytes(com.google.protobuf.ByteString value)
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;value - The bytes for syncRev to set.public String getSecretType()
Type of secret configured for access to the Git repo.
string secret_type = 6;getSecretType in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getSecretTypeBytes()
Type of secret configured for access to the Git repo.
string secret_type = 6;getSecretTypeBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setSecretType(String value)
Type of secret configured for access to the Git repo.
string secret_type = 6;value - The secretType to set.public GitConfig.Builder clearSecretType()
Type of secret configured for access to the Git repo.
string secret_type = 6;public GitConfig.Builder setSecretTypeBytes(com.google.protobuf.ByteString value)
Type of secret configured for access to the Git repo.
string secret_type = 6;value - The bytes for secretType to set.public String getHttpsProxy()
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;getHttpsProxy in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getHttpsProxyBytes()
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;getHttpsProxyBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setHttpsProxy(String value)
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;value - The httpsProxy to set.public GitConfig.Builder clearHttpsProxy()
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;public GitConfig.Builder setHttpsProxyBytes(com.google.protobuf.ByteString value)
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;value - The bytes for httpsProxy to set.public String getGcpServiceAccountEmail()
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;getGcpServiceAccountEmail in interface GitConfigOrBuilderpublic com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;getGcpServiceAccountEmailBytes in interface GitConfigOrBuilderpublic GitConfig.Builder setGcpServiceAccountEmail(String value)
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;value - The gcpServiceAccountEmail to set.public GitConfig.Builder clearGcpServiceAccountEmail()
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;public GitConfig.Builder setGcpServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;value - The bytes for gcpServiceAccountEmail to set.public final GitConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>public final GitConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GitConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.