Class DestinationConfig.Builder (1.42.0)

public static final class DestinationConfig.Builder extends GeneratedMessageV3.Builder<DestinationConfig.Builder> implements DestinationConfigOrBuilder

The configuration of the stream destination.

Protobuf type google.cloud.datastream.v1alpha1.DestinationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DestinationConfig.Builder
Overrides

build()

public DestinationConfig build()
Returns
Type Description
DestinationConfig

buildPartial()

public DestinationConfig buildPartial()
Returns
Type Description
DestinationConfig

clear()

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

clearDestinationConnectionProfileName()

public DestinationConfig.Builder clearDestinationConnectionProfileName()

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationConfig.Builder

This builder for chaining.

clearDestinationStreamConfig()

public DestinationConfig.Builder clearDestinationStreamConfig()
Returns
Type Description
DestinationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public DestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DestinationConfig.Builder
Overrides

clearGcsDestinationConfig()

public DestinationConfig.Builder clearGcsDestinationConfig()

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Returns
Type Description
DestinationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DestinationConfig.Builder
Overrides

clone()

public DestinationConfig.Builder clone()
Returns
Type Description
DestinationConfig.Builder
Overrides

getDefaultInstanceForType()

public DestinationConfig getDefaultInstanceForType()
Returns
Type Description
DestinationConfig

getDescriptorForType()

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

getDestinationConnectionProfileName()

public String getDestinationConnectionProfileName()

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destinationConnectionProfileName.

getDestinationConnectionProfileNameBytes()

public ByteString getDestinationConnectionProfileNameBytes()

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destinationConnectionProfileName.

getDestinationStreamConfigCase()

public DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()
Returns
Type Description
DestinationConfig.DestinationStreamConfigCase

getGcsDestinationConfig()

public GcsDestinationConfig getGcsDestinationConfig()

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Returns
Type Description
GcsDestinationConfig

The gcsDestinationConfig.

getGcsDestinationConfigBuilder()

public GcsDestinationConfig.Builder getGcsDestinationConfigBuilder()

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Returns
Type Description
GcsDestinationConfig.Builder

getGcsDestinationConfigOrBuilder()

public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Returns
Type Description
GcsDestinationConfigOrBuilder

hasGcsDestinationConfig()

public boolean hasGcsDestinationConfig()

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Returns
Type Description
boolean

Whether the gcsDestinationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DestinationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsDestinationConfig(GcsDestinationConfig value)

public DestinationConfig.Builder mergeGcsDestinationConfig(GcsDestinationConfig value)

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Parameter
Name Description
value GcsDestinationConfig
Returns
Type Description
DestinationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DestinationConfig.Builder
Overrides

setDestinationConnectionProfileName(String value)

public DestinationConfig.Builder setDestinationConnectionProfileName(String value)

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The destinationConnectionProfileName to set.

Returns
Type Description
DestinationConfig.Builder

This builder for chaining.

setDestinationConnectionProfileNameBytes(ByteString value)

public DestinationConfig.Builder setDestinationConnectionProfileNameBytes(ByteString value)

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for destinationConnectionProfileName to set.

Returns
Type Description
DestinationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DestinationConfig.Builder
Overrides

setGcsDestinationConfig(GcsDestinationConfig value)

public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig value)

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Parameter
Name Description
value GcsDestinationConfig
Returns
Type Description
DestinationConfig.Builder

setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)

public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)

.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;

Parameter
Name Description
builderForValue GcsDestinationConfig.Builder
Returns
Type Description
DestinationConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DestinationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DestinationConfig.Builder
Overrides