public static final class PostgresqlProfile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder> implements PostgresqlProfileOrBuilder
PostgreSQL database profile.Protobuf type
google.cloud.datastream.v1.PostgresqlProfile| Modifier and Type | Method and Description |
|---|---|
PostgresqlProfile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PostgresqlProfile |
build() |
PostgresqlProfile |
buildPartial() |
PostgresqlProfile.Builder |
clear() |
PostgresqlProfile.Builder |
clearDatabase()
Required.
|
PostgresqlProfile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PostgresqlProfile.Builder |
clearHostname()
Required.
|
PostgresqlProfile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PostgresqlProfile.Builder |
clearPassword()
Required.
|
PostgresqlProfile.Builder |
clearPort()
Port for the PostgreSQL connection, default value is 5432.
|
PostgresqlProfile.Builder |
clearUsername()
Required.
|
PostgresqlProfile.Builder |
clone() |
String |
getDatabase()
Required.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
Required.
|
PostgresqlProfile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostname()
Required.
|
com.google.protobuf.ByteString |
getHostnameBytes()
Required.
|
String |
getPassword()
Required.
|
com.google.protobuf.ByteString |
getPasswordBytes()
Required.
|
int |
getPort()
Port for the PostgreSQL connection, default value is 5432.
|
String |
getUsername()
Required.
|
com.google.protobuf.ByteString |
getUsernameBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PostgresqlProfile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PostgresqlProfile.Builder |
mergeFrom(com.google.protobuf.Message other) |
PostgresqlProfile.Builder |
mergeFrom(PostgresqlProfile other) |
PostgresqlProfile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PostgresqlProfile.Builder |
setDatabase(String value)
Required.
|
PostgresqlProfile.Builder |
setDatabaseBytes(com.google.protobuf.ByteString value)
Required.
|
PostgresqlProfile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PostgresqlProfile.Builder |
setHostname(String value)
Required.
|
PostgresqlProfile.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
Required.
|
PostgresqlProfile.Builder |
setPassword(String value)
Required.
|
PostgresqlProfile.Builder |
setPasswordBytes(com.google.protobuf.ByteString value)
Required.
|
PostgresqlProfile.Builder |
setPort(int value)
Port for the PostgreSQL connection, default value is 5432.
|
PostgresqlProfile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PostgresqlProfile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PostgresqlProfile.Builder |
setUsername(String value)
Required.
|
PostgresqlProfile.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PostgresqlProfile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PostgresqlProfile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PostgresqlProfile.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder mergeFrom(PostgresqlProfile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public PostgresqlProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PostgresqlProfile.Builder>IOExceptionpublic String getHostname()
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];getHostname in interface PostgresqlProfileOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];getHostnameBytes in interface PostgresqlProfileOrBuilderpublic PostgresqlProfile.Builder setHostname(String value)
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];value - The hostname to set.public PostgresqlProfile.Builder clearHostname()
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];public PostgresqlProfile.Builder setHostnameBytes(com.google.protobuf.ByteString value)
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for hostname to set.public int getPort()
Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;getPort in interface PostgresqlProfileOrBuilderpublic PostgresqlProfile.Builder setPort(int value)
Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;value - The port to set.public PostgresqlProfile.Builder clearPort()
Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;public String getUsername()
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsername in interface PostgresqlProfileOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsernameBytes in interface PostgresqlProfileOrBuilderpublic PostgresqlProfile.Builder setUsername(String value)
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];value - The username to set.public PostgresqlProfile.Builder clearUsername()
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];public PostgresqlProfile.Builder setUsernameBytes(com.google.protobuf.ByteString value)
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for username to set.public String getPassword()
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];getPassword in interface PostgresqlProfileOrBuilderpublic com.google.protobuf.ByteString getPasswordBytes()
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];getPasswordBytes in interface PostgresqlProfileOrBuilderpublic PostgresqlProfile.Builder setPassword(String value)
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];value - The password to set.public PostgresqlProfile.Builder clearPassword()
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];public PostgresqlProfile.Builder setPasswordBytes(com.google.protobuf.ByteString value)
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for password to set.public String getDatabase()
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];getDatabase in interface PostgresqlProfileOrBuilderpublic com.google.protobuf.ByteString getDatabaseBytes()
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];getDatabaseBytes in interface PostgresqlProfileOrBuilderpublic PostgresqlProfile.Builder setDatabase(String value)
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];value - The database to set.public PostgresqlProfile.Builder clearDatabase()
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];public PostgresqlProfile.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];value - The bytes for database to set.public final PostgresqlProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>public final PostgresqlProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PostgresqlProfile.Builder>Copyright © 2022 Google LLC. All rights reserved.