Class PrivateServiceConnectConfig (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PrivateServiceConnectConfig   extends   GeneratedMessageV3   implements   PrivateServiceConnectConfigOrBuilder  
   Represents configuration for private service connect.
 Protobuf type google.cloud.aiplatform.v1.PrivateServiceConnectConfig
    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
   
  
  
    
public   static   final   int   ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PROJECT_ALLOWLIST_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PSC_AUTOMATION_CONFIGS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SERVICE_ATTACHMENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   PrivateServiceConnectConfig   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   PrivateServiceConnectConfig . Builder   newBuilder ()  
  
  
    
public   static   PrivateServiceConnectConfig . Builder   newBuilder ( PrivateServiceConnectConfig   prototype )  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   PrivateServiceConnectConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<PrivateServiceConnectConfig>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   PrivateServiceConnectConfig   getDefaultInstanceForType ()  
  
  
    
public   boolean   getEnablePrivateServiceConnect ()  
   Required. If true, expose the IndexEndpoint via private service connect.
 bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        boolean The enablePrivateServiceConnect.
 
     
  
  
    
public   Parser<PrivateServiceConnectConfig>   getParserForType ()  
  
  Overrides 
  
  
    
public   String   getProjectAllowlist ( int   index )  
   A list of Projects from which the forwarding rule will target the service
 attachment.
 repeated string project_allowlist = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The projectAllowlist at the given index.
 
     
  
  
    
public   ByteString   getProjectAllowlistBytes ( int   index )  
   A list of Projects from which the forwarding rule will target the service
 attachment.
 repeated string project_allowlist = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the projectAllowlist at the given index.
 
     
  
  
    
public   int   getProjectAllowlistCount ()  
   A list of Projects from which the forwarding rule will target the service
 attachment.
 repeated string project_allowlist = 2;
    
      
        Returns  
      
        Type Description  
      
        int The count of projectAllowlist.
 
     
  
  
    
public   ProtocolStringList   getProjectAllowlistList ()  
   A list of Projects from which the forwarding rule will target the service
 attachment.
 repeated string project_allowlist = 2;
    
public   PSCAutomationConfig   getPscAutomationConfigs ( int   index )  
   Optional. List of projects and networks where the PSC endpoints will be
 created. This field is used by Online Inference(Prediction) only.
 
 repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   int   getPscAutomationConfigsCount ()  
   Optional. List of projects and networks where the PSC endpoints will be
 created. This field is used by Online Inference(Prediction) only.
 
 repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<PSCAutomationConfig>   getPscAutomationConfigsList ()  
   Optional. List of projects and networks where the PSC endpoints will be
 created. This field is used by Online Inference(Prediction) only.
 
 repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
public   PSCAutomationConfigOrBuilder   getPscAutomationConfigsOrBuilder ( int   index )  
   Optional. List of projects and networks where the PSC endpoints will be
 created. This field is used by Online Inference(Prediction) only.
 
 repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   PSCAutomationConfigOrBuilder >  getPscAutomationConfigsOrBuilderList ()  
   Optional. List of projects and networks where the PSC endpoints will be
 created. This field is used by Online Inference(Prediction) only.
 
 repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.aiplatform.v1.PSCAutomationConfigOrBuilder > 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   String   getServiceAttachment ()  
   Output only. The name of the generated service attachment resource.
 This is only populated if the endpoint is deployed with
 PrivateServiceConnect.
 string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The serviceAttachment.
 
     
  
  
    
public   ByteString   getServiceAttachmentBytes ()  
   Output only. The name of the generated service attachment resource.
 This is only populated if the endpoint is deployed with
 PrivateServiceConnect.
 string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for serviceAttachment.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   PrivateServiceConnectConfig . Builder   newBuilderForType ()  
  
  
    
protected   PrivateServiceConnectConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   PrivateServiceConnectConfig . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]