Send feedback
  
   
 
  
    
      Class OracleProfile (1.15.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 1.15.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  OracleProfile   extends   GeneratedMessageV3   implements   OracleProfileOrBuilder  
   
   Oracle database profile.
 Protobuf type google.cloud.datastream.v1.OracleProfile
 
  
  
  
  Static Fields
   
  CONNECTION_ATTRIBUTES_FIELD_NUMBER 
  
    
public   static   final   int   CONNECTION_ATTRIBUTES_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  DATABASE_SERVICE_FIELD_NUMBER 
  
    
public   static   final   int   DATABASE_SERVICE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  HOSTNAME_FIELD_NUMBER 
  
    
public   static   final   int   HOSTNAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  PASSWORD_FIELD_NUMBER 
  
    
public   static   final   int   PASSWORD_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  PORT_FIELD_NUMBER 
  
    
public   static   final   int   PORT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  USERNAME_FIELD_NUMBER 
  
    
public   static   final   int   USERNAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   OracleProfile   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   OracleProfile . Builder   newBuilder ()  
   
  
   
  newBuilder(OracleProfile prototype) 
  
    
public   static   OracleProfile . Builder   newBuilder ( OracleProfile   prototype )  
   
  
  
   
  
  
    
public   static   OracleProfile   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   OracleProfile   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   OracleProfile   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   OracleProfile   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   OracleProfile   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   OracleProfile   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   OracleProfile   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   OracleProfile   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   OracleProfile   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   OracleProfile   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   OracleProfile   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   OracleProfile   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<OracleProfile>   parser ()  
   
  
  Methods
   
   
  containsConnectionAttributes(String key) 
  
    
public   boolean   containsConnectionAttributes ( String   key )  
   
   Connection string attributes
 map<string, string> connection_attributes = 6;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
     
  
  
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getConnectionAttributes() 
  
    
public   Map<String , String >  getConnectionAttributes ()  
   
  
  
   
  getConnectionAttributesCount() 
  
    
public   int   getConnectionAttributesCount ()  
   
   Connection string attributes
 map<string, string> connection_attributes = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  getConnectionAttributesMap() 
  
    
public   Map<String , String >  getConnectionAttributesMap ()  
   
   Connection string attributes
 map<string, string> connection_attributes = 6;
 
  
   
  getConnectionAttributesOrDefault(String key, String defaultValue) 
  
    
public   String   getConnectionAttributesOrDefault ( String   key ,   String   defaultValue )  
   
   Connection string attributes
 map<string, string> connection_attributes = 6;
 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getConnectionAttributesOrThrow(String key) 
  
    
public   String   getConnectionAttributesOrThrow ( String   key )  
   
   Connection string attributes
 map<string, string> connection_attributes = 6;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getDatabaseService() 
  
    
public   String   getDatabaseService ()  
   
   Required. Database for the Oracle connection.
 string database_service = 5 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The databaseService.
 
       
     
  
   
  getDatabaseServiceBytes() 
  
    
public   ByteString   getDatabaseServiceBytes ()  
   
   Required. Database for the Oracle connection.
 string database_service = 5 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for databaseService.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   OracleProfile   getDefaultInstanceForType ()  
   
  
   
  getHostname() 
  
    
public   String   getHostname ()  
   
   Required. Hostname for the Oracle connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The hostname.
 
       
     
  
   
  getHostnameBytes() 
  
    
public   ByteString   getHostnameBytes ()  
   
   Required. Hostname for the Oracle connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for hostname.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<OracleProfile>   getParserForType ()  
   
  
  Overrides 
  
   
  getPassword() 
  
    
public   String   getPassword ()  
   
   Required. Password for the Oracle connection.
 string password = 4 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The password.
 
       
     
  
   
  getPasswordBytes() 
  
    
public   ByteString   getPasswordBytes ()  
   
   Required. Password for the Oracle connection.
 string password = 4 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for password.
 
       
     
  
   
  getPort() 
  
   Port for the Oracle connection, default value is 1521.
 int32 port = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The port.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  
  Overrides 
  
   
  getUsername() 
  
    
public   String   getUsername ()  
   
   Required. Username for the Oracle connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The username.
 
       
     
  
   
  getUsernameBytes() 
  
    
public   ByteString   getUsernameBytes ()  
   
   Required. Username for the Oracle connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for username.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        number 
        int  
       
     
  
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   OracleProfile . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   OracleProfile . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   OracleProfile . 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-30 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-30 UTC."],[],[]]