Class DestinationConfig (1.51.0)

public final class DestinationConfig extends GeneratedMessageV3 implements DestinationConfigOrBuilder

The configuration of the stream destination.

Protobuf type google.cloud.datastream.v1.DestinationConfig

Static Fields

BIGQUERY_DESTINATION_CONFIG_FIELD_NUMBER

public static final int BIGQUERY_DESTINATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER

public static final int DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

GCS_DESTINATION_CONFIG_FIELD_NUMBER

public static final int GCS_DESTINATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DestinationConfig getDefaultInstance()
Returns
Type Description
DestinationConfig

getDescriptor()

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

newBuilder()

public static DestinationConfig.Builder newBuilder()
Returns
Type Description
DestinationConfig.Builder

newBuilder(DestinationConfig prototype)

public static DestinationConfig.Builder newBuilder(DestinationConfig prototype)
Parameter
Name Description
prototype DestinationConfig
Returns
Type Description
DestinationConfig.Builder

parseDelimitedFrom(InputStream input)

public static DestinationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DestinationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DestinationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DestinationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DestinationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DestinationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DestinationConfig> parser()
Returns
Type Description
Parser<DestinationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigqueryDestinationConfig()

public BigQueryDestinationConfig getBigqueryDestinationConfig()

BigQuery destination configuration.

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

Returns
Type Description
BigQueryDestinationConfig

The bigqueryDestinationConfig.

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

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.

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

getParserForType()

public Parser<DestinationConfig> getParserForType()
Returns
Type Description
Parser<DestinationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DestinationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException