Class DestinationConfig (1.45.0)

public final class DestinationConfig extends GeneratedMessageV3 implements DestinationConfigOrBuilder

The configuration of the stream destination.

Protobuf type google.cloud.datastream.v1alpha1.DestinationConfig

Static Fields

DESTINATION_CONNECTION_PROFILE_NAME_FIELD_NUMBER

public static final int DESTINATION_CONNECTION_PROFILE_NAME_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

getDefaultInstanceForType()

public DestinationConfig getDefaultInstanceForType()
Returns
Type Description
DestinationConfig

getDestinationConnectionProfileName()

public String getDestinationConnectionProfileName()

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destinationConnectionProfileName.

getDestinationConnectionProfileNameBytes()

public ByteString getDestinationConnectionProfileNameBytes()

Required. Destination connection profile identifier.

string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destinationConnectionProfileName.

getDestinationStreamConfigCase()

public DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()
Returns
Type Description
DestinationConfig.DestinationStreamConfigCase

getGcsDestinationConfig()

public GcsDestinationConfig getGcsDestinationConfig()

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

Returns
Type Description
GcsDestinationConfig

The gcsDestinationConfig.

getGcsDestinationConfigOrBuilder()

public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()

.google.cloud.datastream.v1alpha1.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

hasGcsDestinationConfig()

public boolean hasGcsDestinationConfig()

.google.cloud.datastream.v1alpha1.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