Class OciConfig (1.47.0)

public final class OciConfig extends GeneratedMessageV3 implements OciConfigOrBuilder

OCI repo configuration for a single cluster

Protobuf type google.cloud.gkehub.configmanagement.v1.OciConfig

Implements

OciConfigOrBuilder

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()
Returns
Type Description
OciConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OciConfig.Builder newBuilder()
Returns
Type Description
OciConfig.Builder

newBuilder(OciConfig prototype)

public static OciConfig.Builder newBuilder(OciConfig prototype)
Parameter
Name Description
prototype OciConfig
Returns
Type Description
OciConfig.Builder

parseDelimitedFrom(InputStream input)

public static OciConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OciConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OciConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OciConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OciConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OciConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OciConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OciConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OciConfig> parser()
Returns
Type Description
Parser<OciConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public OciConfig getDefaultInstanceForType()
Returns
Type Description
OciConfig

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()
Returns
Type Description
Parser<OciConfig>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OciConfig.Builder newBuilderForType()
Returns
Type Description
OciConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OciConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OciConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OciConfig.Builder toBuilder()
Returns
Type Description
OciConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException