Send feedback
  
   
 
  
    
      Class ConnectGcpConfig (0.34.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ConnectGcpConfig   extends   GeneratedMessageV3   implements   ConnectGcpConfigOrBuilder  
   Configuration properties for a Kafka Connect cluster deployed to Google Cloud
 Platform.
 Protobuf type google.cloud.managedkafka.v1.ConnectGcpConfig
    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
   
  ACCESS_CONFIG_FIELD_NUMBER 
  
    
public   static   final   int   ACCESS_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SECRET_PATHS_FIELD_NUMBER 
  
    
public   static   final   int   SECRET_PATHS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ConnectGcpConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ConnectGcpConfig . Builder   newBuilder ()  
  
  newBuilder(ConnectGcpConfig prototype) 
  
    
public   static   ConnectGcpConfig . Builder   newBuilder ( ConnectGcpConfig   prototype )  
  
  
  
    
public   static   ConnectGcpConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConnectGcpConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ConnectGcpConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConnectGcpConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ConnectGcpConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConnectGcpConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConnectGcpConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ConnectGcpConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConnectGcpConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConnectGcpConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ConnectGcpConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConnectGcpConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ConnectGcpConfig>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getAccessConfig() 
  
    
public   ConnectAccessConfig   getAccessConfig ()  
   Required. Access configuration for the Kafka Connect cluster.
 
 .google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];
 
getAccessConfigOrBuilder() 
  
    
public   ConnectAccessConfigOrBuilder   getAccessConfigOrBuilder ()  
   Required. Access configuration for the Kafka Connect cluster.
 
 .google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];
 
getDefaultInstanceForType() 
  
    
public   ConnectGcpConfig   getDefaultInstanceForType ()  
  
  getParserForType() 
  
    
public   Parser<ConnectGcpConfig>   getParserForType ()  
  
  Overrides 
  
  getSecretPaths(int index) 
  
    
public   String   getSecretPaths ( int   index )  
   Optional. Secrets to load into workers. Exact SecretVersions from Secret
 Manager must be provided -- aliases are not supported. Up to 32 secrets may
 be loaded into one cluster. Format:
 projects/<project-id>/secrets/<secret-name>/versions/<version-id>
 
 repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The secretPaths at the given index.
 
     
  
  getSecretPathsBytes(int index) 
  
    
public   ByteString   getSecretPathsBytes ( int   index )  
   Optional. Secrets to load into workers. Exact SecretVersions from Secret
 Manager must be provided -- aliases are not supported. Up to 32 secrets may
 be loaded into one cluster. Format:
 projects/<project-id>/secrets/<secret-name>/versions/<version-id>
 
 repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the secretPaths at the given index.
 
     
  
  getSecretPathsCount() 
  
    
public   int   getSecretPathsCount ()  
   Optional. Secrets to load into workers. Exact SecretVersions from Secret
 Manager must be provided -- aliases are not supported. Up to 32 secrets may
 be loaded into one cluster. Format:
 projects/<project-id>/secrets/<secret-name>/versions/<version-id>
 
 repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        int The count of secretPaths.
 
     
  
  getSecretPathsList() 
  
    
public   ProtocolStringList   getSecretPathsList ()  
   Optional. Secrets to load into workers. Exact SecretVersions from Secret
 Manager must be provided -- aliases are not supported. Up to 32 secrets may
 be loaded into one cluster. Format:
 projects/<project-id>/secrets/<secret-name>/versions/<version-id>
 
 repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasAccessConfig() 
  
    
public   boolean   hasAccessConfig ()  
   Required. Access configuration for the Kafka Connect cluster.
 
 .google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the accessConfig field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ConnectGcpConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ConnectGcpConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ConnectGcpConfig . 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-10-29 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-10-29 UTC."],[],[]]