public static final class DestinationConfig.Builder extends GeneratedMessageV3.Builder<DestinationConfig.Builder> implements DestinationConfigOrBuilder
The configuration of the stream destination.
Protobuf type google.cloud.datastream.v1alpha1.DestinationConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DestinationConfig build()
Returns
buildPartial()
public DestinationConfig buildPartial()
Returns
clear()
public DestinationConfig.Builder clear()
Returns
Overrides
clearDestinationConnectionProfileName()
public DestinationConfig.Builder clearDestinationConnectionProfileName()
Required. Destination connection profile identifier.
string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearDestinationStreamConfig()
public DestinationConfig.Builder clearDestinationStreamConfig()
Returns
clearField(Descriptors.FieldDescriptor field)
public DestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsDestinationConfig()
public DestinationConfig.Builder clearGcsDestinationConfig()
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DestinationConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DestinationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getGcsDestinationConfig()
public GcsDestinationConfig getGcsDestinationConfig()
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Returns
getGcsDestinationConfigBuilder()
public GcsDestinationConfig.Builder getGcsDestinationConfigBuilder()
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Returns
getGcsDestinationConfigOrBuilder()
public GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Returns
hasGcsDestinationConfig()
public boolean hasGcsDestinationConfig()
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Returns
Type | Description |
boolean | Whether the gcsDestinationConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DestinationConfig other)
public DestinationConfig.Builder mergeFrom(DestinationConfig other)
Parameter
Returns
public DestinationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DestinationConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGcsDestinationConfig(GcsDestinationConfig value)
public DestinationConfig.Builder mergeGcsDestinationConfig(GcsDestinationConfig value)
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDestinationConnectionProfileName(String value)
public DestinationConfig.Builder setDestinationConnectionProfileName(String value)
Required. Destination connection profile identifier.
string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The destinationConnectionProfileName to set.
|
Returns
setDestinationConnectionProfileNameBytes(ByteString value)
public DestinationConfig.Builder setDestinationConnectionProfileNameBytes(ByteString value)
Required. Destination connection profile identifier.
string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for destinationConnectionProfileName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsDestinationConfig(GcsDestinationConfig value)
public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig value)
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Parameter
Returns
setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)
public DestinationConfig.Builder setGcsDestinationConfig(GcsDestinationConfig.Builder builderForValue)
.google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides