public static final class PostgresqlProfile.Builder extends GeneratedMessageV3.Builder<PostgresqlProfile.Builder> implements PostgresqlProfileOrBuilderPostgreSQL database profile.
Protobuf type google.events.cloud.datastream.v1.PostgresqlProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PostgresqlProfile.BuilderImplements
PostgresqlProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
build()
public PostgresqlProfile build()| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile |
|
buildPartial()
public PostgresqlProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile |
|
clear()
public PostgresqlProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
clearDatabase()
public PostgresqlProfile.Builder clearDatabase()Required. Database for the PostgreSQL connection.
string database = 5;
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PostgresqlProfile.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
clearHostname()
public PostgresqlProfile.Builder clearHostname()Required. Hostname for the PostgreSQL connection.
string hostname = 1;
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PostgresqlProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
clearPort()
public PostgresqlProfile.Builder clearPort()Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
clearUsername()
public PostgresqlProfile.Builder clearUsername()Required. Username for the PostgreSQL connection.
string username = 3;
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
clone()
public PostgresqlProfile.Builder clone()| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
getDatabase()
public String getDatabase()Required. Database for the PostgreSQL connection.
string database = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Required. Database for the PostgreSQL connection.
string database = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public PostgresqlProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostname()
public String getHostname()Required. Hostname for the PostgreSQL connection.
string hostname = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()Required. Hostname for the PostgreSQL connection.
string hostname = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hostname. |
getPort()
public int getPort()Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
getUsername()
public String getUsername()Required. Username for the PostgreSQL connection.
string username = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Required. Username for the PostgreSQL connection.
string username = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PostgresqlProfile other)
public PostgresqlProfile.Builder mergeFrom(PostgresqlProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
PostgresqlProfile |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PostgresqlProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
setDatabase(String value)
public PostgresqlProfile.Builder setDatabase(String value)Required. Database for the PostgreSQL connection.
string database = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public PostgresqlProfile.Builder setDatabaseBytes(ByteString value)Required. Database for the PostgreSQL connection.
string database = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
setHostname(String value)
public PostgresqlProfile.Builder setHostname(String value)Required. Hostname for the PostgreSQL connection.
string hostname = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public PostgresqlProfile.Builder setHostnameBytes(ByteString value)Required. Hostname for the PostgreSQL connection.
string hostname = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setPort(int value)
public PostgresqlProfile.Builder setPort(int value)Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostgresqlProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
|
setUsername(String value)
public PostgresqlProfile.Builder setUsername(String value)Required. Username for the PostgreSQL connection.
string username = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public PostgresqlProfile.Builder setUsernameBytes(ByteString value)Required. Username for the PostgreSQL connection.
string username = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlProfile.Builder |
This builder for chaining. |