Class DestinationConfig.Builder (1.35.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.v1.DestinationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DestinationConfig.Builder
Overrides

build()

public DestinationConfig build()
Returns
TypeDescription
DestinationConfig

buildPartial()

public DestinationConfig buildPartial()
Returns
TypeDescription
DestinationConfig

clear()

public DestinationConfig.Builder clear()
Returns
TypeDescription
DestinationConfig.Builder
Overrides

clearBigqueryDestinationConfig()

public DestinationConfig.Builder clearBigqueryDestinationConfig()

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Returns
TypeDescription
DestinationConfig.Builder

clearDestinationConnectionProfile()

public DestinationConfig.Builder clearDestinationConnectionProfile()

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DestinationConfig.Builder

This builder for chaining.

clearDestinationStreamConfig()

public DestinationConfig.Builder clearDestinationStreamConfig()
Returns
TypeDescription
DestinationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public DestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DestinationConfig.Builder
Overrides

clearGcsDestinationConfig()

public DestinationConfig.Builder clearGcsDestinationConfig()

A configuration for how data should be loaded to Cloud Storage.

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

Returns
TypeDescription
DestinationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DestinationConfig.Builder
Overrides

clone()

public DestinationConfig.Builder clone()
Returns
TypeDescription
DestinationConfig.Builder
Overrides

getBigqueryDestinationConfig()

public BigQueryDestinationConfig getBigqueryDestinationConfig()

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Returns
TypeDescription
BigQueryDestinationConfig

The bigqueryDestinationConfig.

getBigqueryDestinationConfigBuilder()

public BigQueryDestinationConfig.Builder getBigqueryDestinationConfigBuilder()

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Returns
TypeDescription
BigQueryDestinationConfig.Builder

getBigqueryDestinationConfigOrBuilder()

public BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder()

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Returns
TypeDescription
BigQueryDestinationConfigOrBuilder

getDefaultInstanceForType()

public DestinationConfig getDefaultInstanceForType()
Returns
TypeDescription
DestinationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationConnectionProfile()

public String getDestinationConnectionProfile()

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The destinationConnectionProfile.

getDestinationConnectionProfileBytes()

public ByteString getDestinationConnectionProfileBytes()

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for destinationConnectionProfile.

getDestinationStreamConfigCase()

public DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()
Returns
TypeDescription
DestinationConfig.DestinationStreamConfigCase

getGcsDestinationConfig()

public GcsDestinationConfig getGcsDestinationConfig()

A configuration for how data should be loaded to Cloud Storage.

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

Returns
TypeDescription
GcsDestinationConfig

The gcsDestinationConfig.

getGcsDestinationConfigBuilder()

public GcsDestinationConfig.Builder getGcsDestinationConfigBuilder()

A configuration for how data should be loaded to Cloud Storage.

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

Returns
TypeDescription
GcsDestinationConfig.Builder

getGcsDestinationConfigOrBuilder()

public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()

A configuration for how data should be loaded to Cloud Storage.

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

Returns
TypeDescription
GcsDestinationConfigOrBuilder

hasBigqueryDestinationConfig()

public boolean hasBigqueryDestinationConfig()

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Returns
TypeDescription
boolean

Whether the bigqueryDestinationConfig field is set.

hasGcsDestinationConfig()

public boolean hasGcsDestinationConfig()

A configuration for how data should be loaded to Cloud Storage.

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

Returns
TypeDescription
boolean

Whether the gcsDestinationConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)

public DestinationConfig.Builder mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Parameter
NameDescription
valueBigQueryDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

mergeFrom(DestinationConfig other)

public DestinationConfig.Builder mergeFrom(DestinationConfig other)
Parameter
NameDescription
otherDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DestinationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DestinationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DestinationConfig.Builder
Overrides

mergeGcsDestinationConfig(GcsDestinationConfig value)

public DestinationConfig.Builder mergeGcsDestinationConfig(GcsDestinationConfig value)

A configuration for how data should be loaded to Cloud Storage.

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

Parameter
NameDescription
valueGcsDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DestinationConfig.Builder
Overrides

setBigqueryDestinationConfig(BigQueryDestinationConfig value)

public DestinationConfig.Builder setBigqueryDestinationConfig(BigQueryDestinationConfig value)

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Parameter
NameDescription
valueBigQueryDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

setBigqueryDestinationConfig(BigQueryDestinationConfig.Builder builderForValue)

public DestinationConfig.Builder setBigqueryDestinationConfig(BigQueryDestinationConfig.Builder builderForValue)

BigQuery destination configuration.

.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;

Parameter
NameDescription
builderForValueBigQueryDestinationConfig.Builder
Returns
TypeDescription
DestinationConfig.Builder

setDestinationConnectionProfile(String value)

public DestinationConfig.Builder setDestinationConnectionProfile(String value)

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The destinationConnectionProfile to set.

Returns
TypeDescription
DestinationConfig.Builder

This builder for chaining.

setDestinationConnectionProfileBytes(ByteString value)

public DestinationConfig.Builder setDestinationConnectionProfileBytes(ByteString value)

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for destinationConnectionProfile to set.

Returns
TypeDescription
DestinationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DestinationConfig.Builder
Overrides

setGcsDestinationConfig(GcsDestinationConfig value)

public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig value)

A configuration for how data should be loaded to Cloud Storage.

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

Parameter
NameDescription
valueGcsDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)

public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)

A configuration for how data should be loaded to Cloud Storage.

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

Parameter
NameDescription
builderForValueGcsDestinationConfig.Builder
Returns
TypeDescription
DestinationConfig.Builder

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

public DestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DestinationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DestinationConfig.Builder
Overrides