Send feedback
Class OciConfig (1.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.46.0 keyboard_arrow_down
public final class OciConfig extends GeneratedMessageV3 implements OciConfigOrBuilder
OCI repo configuration for a single cluster
Protobuf type google.cloud.gkehub.configmanagement.v1.OciConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
public static final int GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
Field Value
Type
Description
int
POLICY_DIR_FIELD_NUMBER
public static final int POLICY_DIR_FIELD_NUMBER
Field Value
Type
Description
int
SECRET_TYPE_FIELD_NUMBER
public static final int SECRET_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
SYNC_REPO_FIELD_NUMBER
public static final int SYNC_REPO_FIELD_NUMBER
Field Value
Type
Description
int
SYNC_WAIT_SECS_FIELD_NUMBER
public static final int SYNC_WAIT_SECS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static OciConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static OciConfig . Builder newBuilder ()
newBuilder(OciConfig prototype)
public static OciConfig . Builder newBuilder ( OciConfig prototype )
Parameter
Name
Description
prototype
OciConfig
public static OciConfig parseDelimitedFrom ( InputStream input )
public static OciConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static OciConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OciConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static OciConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OciConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OciConfig parseFrom ( CodedInputStream input )
public static OciConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OciConfig parseFrom ( InputStream input )
public static OciConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static OciConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OciConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<OciConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public OciConfig getDefaultInstanceForType ()
getGcpServiceAccountEmail()
public String getGcpServiceAccountEmail ()
The Google Cloud Service Account Email used for auth when secret_type is
gcpServiceAccount.
string gcp_service_account_email = 5;
Returns
Type
Description
String
The gcpServiceAccountEmail.
getGcpServiceAccountEmailBytes()
public ByteString getGcpServiceAccountEmailBytes ()
The Google Cloud Service Account Email used for auth when secret_type is
gcpServiceAccount.
string gcp_service_account_email = 5;
Returns
Type
Description
ByteString
The bytes for gcpServiceAccountEmail.
getParserForType()
public Parser<OciConfig> getParserForType ()
Overrides
getPolicyDir()
public 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
Type
Description
String
The policyDir.
getPolicyDirBytes()
public 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
Type
Description
ByteString
The bytes for policyDir.
getSecretType()
public String getSecretType ()
Type of secret configured for access to the Git repo.
string secret_type = 4;
Returns
Type
Description
String
The secretType.
getSecretTypeBytes()
public ByteString getSecretTypeBytes ()
Type of secret configured for access to the Git repo.
string secret_type = 4;
Returns
Type
Description
ByteString
The bytes for secretType.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSyncRepo()
public 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
Type
Description
String
The syncRepo.
getSyncRepoBytes()
public 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
Type
Description
ByteString
The bytes for syncRepo.
getSyncWaitSecs()
public long getSyncWaitSecs ()
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 3;
Returns
Type
Description
long
The syncWaitSecs.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public OciConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OciConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public OciConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]