Class DestinationConfig (1.15.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
TypeDescription
int

DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER

public static final int DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_DESTINATION_CONFIG_FIELD_NUMBER

public static final int GCS_DESTINATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DestinationConfig getDefaultInstance()
Returns
TypeDescription
DestinationConfig

getDescriptor()

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

newBuilder()

public static DestinationConfig.Builder newBuilder()
Returns
TypeDescription
DestinationConfig.Builder

newBuilder(DestinationConfig prototype)

public static DestinationConfig.Builder newBuilder(DestinationConfig prototype)
Parameter
NameDescription
prototypeDestinationConfig
Returns
TypeDescription
DestinationConfig.Builder

parseDelimitedFrom(InputStream input)

public static DestinationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DestinationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DestinationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DestinationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DestinationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DestinationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DestinationConfig> parser()
Returns
TypeDescription
Parser<DestinationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigqueryDestinationConfig()

public BigQueryDestinationConfig getBigqueryDestinationConfig()

BigQuery destination configuration.

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

Returns
TypeDescription
BigQueryDestinationConfig

The bigqueryDestinationConfig.

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

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.

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

getParserForType()

public Parser<DestinationConfig> getParserForType()
Returns
TypeDescription
Parser<DestinationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DestinationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException