public final class DestinationConfig extends GeneratedMessageV3 implements DestinationConfigOrBuilder
The configuration of the stream destination.
Protobuf type google.cloud.datastream.v1.DestinationConfig
Static Fields
DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER
public static final int DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
GCS_DESTINATION_CONFIG_FIELD_NUMBER
public static final int GCS_DESTINATION_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DestinationConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DestinationConfig.Builder newBuilder()
Returns
newBuilder(DestinationConfig prototype)
public static DestinationConfig.Builder newBuilder(DestinationConfig prototype)
Parameter
Returns
public static DestinationConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DestinationConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DestinationConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DestinationConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DestinationConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DestinationConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DestinationConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DestinationConfig getDefaultInstanceForType()
Returns
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
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
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
getParserForType()
public Parser<DestinationConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DestinationConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DestinationConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions