Class StandardConnectionFormat.Builder (1.82.0)

public static final class StandardConnectionFormat.Builder extends GeneratedMessage.Builder<StandardConnectionFormat.Builder> implements StandardConnectionFormatOrBuilder

Standard connection format.

Protobuf type google.cloud.datastream.v1.StandardConnectionFormat

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StandardConnectionFormat build()
Returns
Type Description
StandardConnectionFormat

buildPartial()

public StandardConnectionFormat buildPartial()
Returns
Type Description
StandardConnectionFormat

clear()

public StandardConnectionFormat.Builder clear()
Returns
Type Description
StandardConnectionFormat.Builder
Overrides

clearDirectConnection()

public StandardConnectionFormat.Builder clearDirectConnection()

Optional. Specifies whether the client connects directly to the host[:port] in the connection URI.

bool direct_connection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StandardConnectionFormat.Builder

This builder for chaining.

getDefaultInstanceForType()

public StandardConnectionFormat getDefaultInstanceForType()
Returns
Type Description
StandardConnectionFormat

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDirectConnection()

public boolean getDirectConnection()

Optional. Specifies whether the client connects directly to the host[:port] in the connection URI.

bool direct_connection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The directConnection.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StandardConnectionFormat other)

public StandardConnectionFormat.Builder mergeFrom(StandardConnectionFormat other)
Parameter
Name Description
other StandardConnectionFormat
Returns
Type Description
StandardConnectionFormat.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StandardConnectionFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardConnectionFormat.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StandardConnectionFormat.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StandardConnectionFormat.Builder
Overrides

setDirectConnection(boolean value)

public StandardConnectionFormat.Builder setDirectConnection(boolean value)

Optional. Specifies whether the client connects directly to the host[:port] in the connection URI.

bool direct_connection = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The directConnection to set.

Returns
Type Description
StandardConnectionFormat.Builder

This builder for chaining.