public static final class KafkaBootstrapServer.Builder extends GeneratedMessage.Builder<KafkaBootstrapServer.Builder> implements KafkaBootstrapServerOrBuilderRepresents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip.
Protobuf type google.cloud.oracledatabase.v1.KafkaBootstrapServer
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > KafkaBootstrapServer.BuilderImplements
KafkaBootstrapServerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public KafkaBootstrapServer build()| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer |
|
buildPartial()
public KafkaBootstrapServer buildPartial()| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer |
|
clear()
public KafkaBootstrapServer.Builder clear()| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
|
clearHost()
public KafkaBootstrapServer.Builder clearHost()Required. The name or address of a host.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
clearPort()
public KafkaBootstrapServer.Builder clearPort()Optional. The port of an endpoint usually specified for a connection.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
clearPrivateIpAddress()
public KafkaBootstrapServer.Builder clearPrivateIpAddress()Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
string private_ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public KafkaBootstrapServer getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHost()
public String getHost()Required. The name or address of a host.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The host. |
getHostBytes()
public ByteString getHostBytes()Required. The name or address of a host.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for host. |
getPort()
public int getPort()Optional. The port of an endpoint usually specified for a connection.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
getPrivateIpAddress()
public String getPrivateIpAddress()Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
string private_ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The privateIpAddress. |
getPrivateIpAddressBytes()
public ByteString getPrivateIpAddressBytes()Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
string private_ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for privateIpAddress. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(KafkaBootstrapServer other)
public KafkaBootstrapServer.Builder mergeFrom(KafkaBootstrapServer other)| Parameter | |
|---|---|
| Name | Description |
other |
KafkaBootstrapServer |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KafkaBootstrapServer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public KafkaBootstrapServer.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
|
setHost(String value)
public KafkaBootstrapServer.Builder setHost(String value)Required. The name or address of a host.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe host to set. |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
setHostBytes(ByteString value)
public KafkaBootstrapServer.Builder setHostBytes(ByteString value)Required. The name or address of a host.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for host to set. |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
setPort(int value)
public KafkaBootstrapServer.Builder setPort(int value)Optional. The port of an endpoint usually specified for a connection.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
setPrivateIpAddress(String value)
public KafkaBootstrapServer.Builder setPrivateIpAddress(String value)Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
string private_ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe privateIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |
setPrivateIpAddressBytes(ByteString value)
public KafkaBootstrapServer.Builder setPrivateIpAddressBytes(ByteString value)Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
string private_ip_address = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for privateIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
KafkaBootstrapServer.Builder |
This builder for chaining. |