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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DestinationConfig.Builder newBuilder()
newBuilder(DestinationConfig prototype)
public static DestinationConfig.Builder newBuilder(DestinationConfig prototype)
public static DestinationConfig parseDelimitedFrom(InputStream input)
public static DestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DestinationConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DestinationConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(CodedInputStream input)
public static DestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(InputStream input)
public static DestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DestinationConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DestinationConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBigqueryDestinationConfig()
public BigQueryDestinationConfig getBigqueryDestinationConfig()
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()
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;
getGcsDestinationConfigOrBuilder()
public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()
A configuration for how data should be loaded to Cloud Storage.
.google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
getParserForType()
public Parser<DestinationConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DestinationConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DestinationConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides