java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.OciConfig
All Implemented Interfaces:
OciConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OciConfig extends com.google.protobuf.GeneratedMessage implements OciConfigOrBuilder
 OCI repo configuration for a single cluster
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.OciConfig
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    OCI repo configuration for a single cluster

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static OciConfig
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.Parser<OciConfig>
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    int
     
    Required.
    com.google.protobuf.ByteString
    Required.
    long
    Optional.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(OciConfig prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static OciConfig
     
    static OciConfig
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static OciConfig
    parseFrom(byte[] data)
     
    static OciConfig
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static OciConfig
    parseFrom(com.google.protobuf.ByteString data)
     
    static OciConfig
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static OciConfig
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static OciConfig
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static OciConfig
     
    static OciConfig
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static OciConfig
     
    static OciConfig
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<OciConfig>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • SYNC_REPO_FIELD_NUMBER

      public static final int SYNC_REPO_FIELD_NUMBER
      See Also:
    • POLICY_DIR_FIELD_NUMBER

      public static final int POLICY_DIR_FIELD_NUMBER
      See Also:
    • SYNC_WAIT_SECS_FIELD_NUMBER

      public static final int SYNC_WAIT_SECS_FIELD_NUMBER
      See Also:
    • SECRET_TYPE_FIELD_NUMBER

      public static final int SECRET_TYPE_FIELD_NUMBER
      See Also:
    • GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER

      public static final int GCP_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSyncRepo

      public String getSyncRepo()
       Required. 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 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSyncRepo in interface OciConfigOrBuilder
      Returns:
      The syncRepo.
    • getSyncRepoBytes

      public com.google.protobuf.ByteString getSyncRepoBytes()
       Required. 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 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSyncRepoBytes in interface OciConfigOrBuilder
      Returns:
      The bytes for syncRepo.
    • getPolicyDir

      public String getPolicyDir()
       Optional. The absolute path of the directory that contains
       the local resources.  Default: the root directory of the image.
       
      string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPolicyDir in interface OciConfigOrBuilder
      Returns:
      The policyDir.
    • getPolicyDirBytes

      public com.google.protobuf.ByteString getPolicyDirBytes()
       Optional. The absolute path of the directory that contains
       the local resources.  Default: the root directory of the image.
       
      string policy_dir = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPolicyDirBytes in interface OciConfigOrBuilder
      Returns:
      The bytes for policyDir.
    • getSyncWaitSecs

      public long getSyncWaitSecs()
       Optional. Period in seconds between consecutive syncs. Default: 15.
       
      int64 sync_wait_secs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSyncWaitSecs in interface OciConfigOrBuilder
      Returns:
      The syncWaitSecs.
    • getSecretType

      public String getSecretType()
       Required. Type of secret configured for access to the OCI repo.
       Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or
       `none`.
       The validation of this is case-sensitive.
       
      string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecretType in interface OciConfigOrBuilder
      Returns:
      The secretType.
    • getSecretTypeBytes

      public com.google.protobuf.ByteString getSecretTypeBytes()
       Required. Type of secret configured for access to the OCI repo.
       Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or
       `none`.
       The validation of this is case-sensitive.
       
      string secret_type = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSecretTypeBytes in interface OciConfigOrBuilder
      Returns:
      The bytes for secretType.
    • getGcpServiceAccountEmail

      public String getGcpServiceAccountEmail()
       Optional. The Google Cloud Service Account Email used for auth when
       secret_type is `gcpserviceaccount`.
       
      string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpServiceAccountEmail in interface OciConfigOrBuilder
      Returns:
      The gcpServiceAccountEmail.
    • getGcpServiceAccountEmailBytes

      public com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()
       Optional. The Google Cloud Service Account Email used for auth when
       secret_type is `gcpserviceaccount`.
       
      string gcp_service_account_email = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpServiceAccountEmailBytes in interface OciConfigOrBuilder
      Returns:
      The bytes for gcpServiceAccountEmail.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OciConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OciConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OciConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OciConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OciConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OciConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OciConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OciConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OciConfig.Builder newBuilder()
    • newBuilder

      public static OciConfig.Builder newBuilder(OciConfig prototype)
    • toBuilder

      public OciConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OciConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OciConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OciConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<OciConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OciConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder