public static final class DestinationConfig.Builder extends GeneratedMessage.Builder<DestinationConfig.Builder> implements DestinationConfigOrBuilderThe configuration of the stream destination.
Protobuf type google.cloud.datastream.v1.DestinationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DestinationConfig.BuilderImplements
DestinationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearBigqueryDestinationConfig()
public DestinationConfig.Builder clearBigqueryDestinationConfig()BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
This builder for chaining. |
clearDestinationStreamConfig()
public DestinationConfig.Builder clearDestinationStreamConfig()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|
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 | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|
getBigqueryDestinationConfig()
public BigQueryDestinationConfig getBigqueryDestinationConfig()BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Returns | |
|---|---|
| Type | Description |
BigQueryDestinationConfig |
The bigqueryDestinationConfig. |
getBigqueryDestinationConfigBuilder()
public BigQueryDestinationConfig.Builder getBigqueryDestinationConfigBuilder()BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Returns | |
|---|---|
| Type | Description |
BigQueryDestinationConfig.Builder |
|
getBigqueryDestinationConfigOrBuilder()
public BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder()BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Returns | |
|---|---|
| Type | Description |
BigQueryDestinationConfigOrBuilder |
|
getDefaultInstanceForType()
public DestinationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DestinationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationConnectionProfile. |
getDestinationStreamConfigCase()
public DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
GcsDestinationConfigOrBuilder |
|
hasBigqueryDestinationConfig()
public boolean hasBigqueryDestinationConfig()BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the gcsDestinationConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)
public DestinationConfig.Builder mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQueryDestinationConfig |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DestinationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
GcsDestinationConfig |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|
setBigqueryDestinationConfig(BigQueryDestinationConfig value)
public DestinationConfig.Builder setBigqueryDestinationConfig(BigQueryDestinationConfig value)BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQueryDestinationConfig |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
BigQueryDestinationConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe destinationConnectionProfile to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationConnectionProfile to set. |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
GcsDestinationConfig |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
GcsDestinationConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Builder |
|