public final class GitConfig extends com.google.protobuf.GeneratedMessageV3 implements GitConfigOrBuilder
Git repo configuration for a single cluster.Protobuf type
google.cloud.gkehub.configmanagement.v1alpha.GitConfig| Modifier and Type | Class and Description |
|---|---|
static class |
GitConfig.Builder
Git repo configuration for a single cluster.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER |
static int |
HTTPS_PROXY_FIELD_NUMBER |
static int |
POLICY_DIR_FIELD_NUMBER |
static int |
SECRET_TYPE_FIELD_NUMBER |
static int |
SYNC_BRANCH_FIELD_NUMBER |
static int |
SYNC_REPO_FIELD_NUMBER |
static int |
SYNC_REV_FIELD_NUMBER |
static int |
SYNC_WAIT_SECS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GitConfig |
getDefaultInstance() |
GitConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<GitConfig> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GitConfig.Builder |
newBuilder() |
static GitConfig.Builder |
newBuilder(GitConfig prototype) |
GitConfig.Builder |
newBuilderForType() |
protected GitConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GitConfig |
parseDelimitedFrom(InputStream input) |
static GitConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GitConfig |
parseFrom(byte[] data) |
static GitConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GitConfig |
parseFrom(ByteBuffer data) |
static GitConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GitConfig |
parseFrom(com.google.protobuf.ByteString data) |
static GitConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GitConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GitConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GitConfig |
parseFrom(InputStream input) |
static GitConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GitConfig> |
parser() |
GitConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SYNC_REPO_FIELD_NUMBER
public static final int SYNC_BRANCH_FIELD_NUMBER
public static final int POLICY_DIR_FIELD_NUMBER
public static final int SYNC_WAIT_SECS_FIELD_NUMBER
public static final int SYNC_REV_FIELD_NUMBER
public static final int SECRET_TYPE_FIELD_NUMBER
public static final int HTTPS_PROXY_FIELD_NUMBER
public static final int GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 long getSyncWaitSecs()
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4;getSyncWaitSecs in interface GitConfigOrBuilderpublic 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GitConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GitConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static GitConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GitConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GitConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GitConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GitConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GitConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GitConfig.Builder newBuilder()
public static GitConfig.Builder newBuilder(GitConfig prototype)
public GitConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GitConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GitConfig getDefaultInstance()
public static com.google.protobuf.Parser<GitConfig> parser()
public com.google.protobuf.Parser<GitConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GitConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.