Class DestinationConfig (1.16.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
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

getDefaultInstanceForType()

public DestinationConfig getDefaultInstanceForType()
Returns
TypeDescription
DestinationConfig

getDestinationConnectionProfileName()

public String getDestinationConnectionProfileName()

Required. Destination connection profile identifier.

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

Returns
TypeDescription
String

The destinationConnectionProfileName.

getDestinationConnectionProfileNameBytes()

public ByteString getDestinationConnectionProfileNameBytes()

Required. Destination connection profile identifier.

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

Returns
TypeDescription
ByteString

The bytes for destinationConnectionProfileName.

getDestinationStreamConfigCase()

public DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()
Returns
TypeDescription
DestinationConfig.DestinationStreamConfigCase

getGcsDestinationConfig()

public GcsDestinationConfig getGcsDestinationConfig()

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

Returns
TypeDescription
GcsDestinationConfig

The gcsDestinationConfig.

getGcsDestinationConfigOrBuilder()

public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()

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

hasGcsDestinationConfig()

public boolean hasGcsDestinationConfig()

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