Class DatabaseConnectionStringProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
com.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Builder
- All Implemented Interfaces:
DatabaseConnectionStringProfileOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatabaseConnectionStringProfile
public static final class DatabaseConnectionStringProfile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
implements DatabaseConnectionStringProfileOrBuilder
The connection string profile to allow clients to group. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfileProtobuf type
google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.booleanOutput only.Output only.intOutput only.Output only.intOutput only.Output only.intOutput only.Output only.intOutput only.getValue()Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setConsumerGroupValue(int value) Output only.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setHostFormatValue(int value) Output only.setIsRegional(boolean value) Output only.Output only.setProtocolValue(int value) Output only.Output only.setSessionModeValue(int value) Output only.Output only.setSyntaxFormatValue(int value) Output only.Output only.setTlsAuthenticationValue(int value) Output only.Output only.setValueBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseConnectionStringProfile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder>
-
mergeFrom
public DatabaseConnectionStringProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseConnectionStringProfile.Builder>- Throws:
IOException
-
getConsumerGroupValue
public int getConsumerGroupValue()Output only. The current consumer group being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConsumerGroupValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for consumerGroup.
-
setConsumerGroupValue
Output only. The current consumer group being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for consumerGroup to set.- Returns:
- This builder for chaining.
-
getConsumerGroup
Output only. The current consumer group being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConsumerGroupin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The consumerGroup.
-
setConsumerGroup
public DatabaseConnectionStringProfile.Builder setConsumerGroup(DatabaseConnectionStringProfile.ConsumerGroup value) Output only. The current consumer group being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The consumerGroup to set.- Returns:
- This builder for chaining.
-
clearConsumerGroup
Output only. The current consumer group being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDisplayName
Output only. The display name for the database connection.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name for the database connection.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The display name for the database connection.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The display name for the database connection.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DatabaseConnectionStringProfile.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) Output only. The display name for the database connection.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getHostFormatValue
public int getHostFormatValue()Output only. The host name format being currently used in connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHostFormatValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for hostFormat.
-
setHostFormatValue
Output only. The host name format being currently used in connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for hostFormat to set.- Returns:
- This builder for chaining.
-
getHostFormat
Output only. The host name format being currently used in connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHostFormatin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The hostFormat.
-
setHostFormat
public DatabaseConnectionStringProfile.Builder setHostFormat(DatabaseConnectionStringProfile.HostFormat value) Output only. The host name format being currently used in connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The hostFormat to set.- Returns:
- This builder for chaining.
-
clearHostFormat
Output only. The host name format being currently used in connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getIsRegional
public boolean getIsRegional()Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.
bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsRegionalin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The isRegional.
-
setIsRegional
Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.
bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The isRegional to set.- Returns:
- This builder for chaining.
-
clearIsRegional
Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.
bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getProtocolValue
public int getProtocolValue()Output only. The protocol being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProtocolValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
setProtocolValue
Output only. The protocol being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for protocol to set.- Returns:
- This builder for chaining.
-
getProtocol
Output only. The protocol being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProtocolin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The protocol.
-
setProtocol
public DatabaseConnectionStringProfile.Builder setProtocol(DatabaseConnectionStringProfile.Protocol value) Output only. The protocol being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
Output only. The protocol being used by the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSessionModeValue
public int getSessionModeValue()Output only. The current session mode of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSessionModeValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for sessionMode.
-
setSessionModeValue
Output only. The current session mode of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for sessionMode to set.- Returns:
- This builder for chaining.
-
getSessionMode
Output only. The current session mode of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSessionModein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The sessionMode.
-
setSessionMode
public DatabaseConnectionStringProfile.Builder setSessionMode(DatabaseConnectionStringProfile.SessionMode value) Output only. The current session mode of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sessionMode to set.- Returns:
- This builder for chaining.
-
clearSessionMode
Output only. The current session mode of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSyntaxFormatValue
public int getSyntaxFormatValue()Output only. The syntax of the connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSyntaxFormatValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for syntaxFormat.
-
setSyntaxFormatValue
Output only. The syntax of the connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for syntaxFormat to set.- Returns:
- This builder for chaining.
-
getSyntaxFormat
Output only. The syntax of the connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSyntaxFormatin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The syntaxFormat.
-
setSyntaxFormat
public DatabaseConnectionStringProfile.Builder setSyntaxFormat(DatabaseConnectionStringProfile.SyntaxFormat value) Output only. The syntax of the connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The syntaxFormat to set.- Returns:
- This builder for chaining.
-
clearSyntaxFormat
Output only. The syntax of the connection string.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTlsAuthenticationValue
public int getTlsAuthenticationValue()Output only. This field indicates the TLS authentication type of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTlsAuthenticationValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The enum numeric value on the wire for tlsAuthentication.
-
setTlsAuthenticationValue
Output only. This field indicates the TLS authentication type of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for tlsAuthentication to set.- Returns:
- This builder for chaining.
-
getTlsAuthentication
Output only. This field indicates the TLS authentication type of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTlsAuthenticationin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The tlsAuthentication.
-
setTlsAuthentication
public DatabaseConnectionStringProfile.Builder setTlsAuthentication(DatabaseConnectionStringProfile.TLSAuthentication value) Output only. This field indicates the TLS authentication type of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The tlsAuthentication to set.- Returns:
- This builder for chaining.
-
clearTlsAuthentication
Output only. This field indicates the TLS authentication type of the connection.
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getValue
Output only. The value of the connection string.
string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValuein interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()Output only. The value of the connection string.
string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValueBytesin interfaceDatabaseConnectionStringProfileOrBuilder- Returns:
- The bytes for value.
-
setValue
Output only. The value of the connection string.
string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
Output only. The value of the connection string.
string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setValueBytes
Output only. The value of the connection string.
string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-