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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DestinationConfig build()
buildPartial()
public DestinationConfig buildPartial()
clear()
public DestinationConfig.Builder clear()
Overrides
clearBigqueryDestinationConfig()
public DestinationConfig.Builder clearBigqueryDestinationConfig()
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
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) = { ... }
clearDestinationStreamConfig()
public DestinationConfig.Builder clearDestinationStreamConfig()
clearField(Descriptors.FieldDescriptor field)
public DestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DestinationConfig.Builder clone()
Overrides
getBigqueryDestinationConfig()
public BigQueryDestinationConfig getBigqueryDestinationConfig()
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
getBigqueryDestinationConfigBuilder()
public BigQueryDestinationConfig.Builder getBigqueryDestinationConfigBuilder()
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
getBigqueryDestinationConfigOrBuilder()
public BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder()
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
getDefaultInstanceForType()
public DestinationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
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()
getGcsDestinationConfig()
public GcsDestinationConfig getGcsDestinationConfig()
A configuration for how data should be loaded to Cloud Storage.
.google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
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;
getGcsDestinationConfigOrBuilder()
public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()
A configuration for how data should be loaded to Cloud Storage.
.google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)
public DestinationConfig.Builder mergeBigqueryDestinationConfig(BigQueryDestinationConfig value)
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
mergeFrom(DestinationConfig other)
public DestinationConfig.Builder mergeFrom(DestinationConfig other)
public DestinationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DestinationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBigqueryDestinationConfig(BigQueryDestinationConfig value)
public DestinationConfig.Builder setBigqueryDestinationConfig(BigQueryDestinationConfig value)
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
setBigqueryDestinationConfig(BigQueryDestinationConfig.Builder builderForValue)
public DestinationConfig.Builder setBigqueryDestinationConfig(BigQueryDestinationConfig.Builder builderForValue)
BigQuery destination configuration.
.google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
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 |
String
The destinationConnectionProfile to set.
|
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 |
ByteString
The bytes for destinationConnectionProfile to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides