Class ConnectionProfile.Builder (1.54.0)

public static final class ConnectionProfile.Builder extends GeneratedMessageV3.Builder<ConnectionProfile.Builder> implements ConnectionProfileOrBuilder

Protobuf type google.cloud.datastream.v1alpha1.ConnectionProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConnectionProfile.Builder
Overrides

build()

public ConnectionProfile build()
Returns
Type Description
ConnectionProfile

buildPartial()

public ConnectionProfile buildPartial()
Returns
Type Description
ConnectionProfile

clear()

public ConnectionProfile.Builder clear()
Returns
Type Description
ConnectionProfile.Builder
Overrides

clearConnectivity()

public ConnectionProfile.Builder clearConnectivity()
Returns
Type Description
ConnectionProfile.Builder

clearCreateTime()

public ConnectionProfile.Builder clearCreateTime()

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConnectionProfile.Builder

clearDisplayName()

public ConnectionProfile.Builder clearDisplayName()

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConnectionProfile.Builder
Overrides

clearForwardSshConnectivity()

public ConnectionProfile.Builder clearForwardSshConnectivity()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Returns
Type Description
ConnectionProfile.Builder

clearGcsProfile()

public ConnectionProfile.Builder clearGcsProfile()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Returns
Type Description
ConnectionProfile.Builder

clearLabels()

public ConnectionProfile.Builder clearLabels()
Returns
Type Description
ConnectionProfile.Builder

clearMysqlProfile()

public ConnectionProfile.Builder clearMysqlProfile()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Returns
Type Description
ConnectionProfile.Builder

clearName()

public ConnectionProfile.Builder clearName()

Output only. The resource's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

clearNoConnectivity()

public ConnectionProfile.Builder clearNoConnectivity()

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Returns
Type Description
ConnectionProfile.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConnectionProfile.Builder
Overrides

clearOracleProfile()

public ConnectionProfile.Builder clearOracleProfile()

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Returns
Type Description
ConnectionProfile.Builder

clearPrivateConnectivity()

public ConnectionProfile.Builder clearPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Returns
Type Description
ConnectionProfile.Builder

clearProfile()

public ConnectionProfile.Builder clearProfile()
Returns
Type Description
ConnectionProfile.Builder

clearStaticServiceIpConnectivity()

public ConnectionProfile.Builder clearStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Returns
Type Description
ConnectionProfile.Builder

clearUpdateTime()

public ConnectionProfile.Builder clearUpdateTime()

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConnectionProfile.Builder

clone()

public ConnectionProfile.Builder clone()
Returns
Type Description
ConnectionProfile.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConnectivityCase()

public ConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
Type Description
ConnectionProfile.ConnectivityCase

getCreateTime()

public Timestamp getCreateTime()

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ConnectionProfile getDefaultInstanceForType()
Returns
Type Description
ConnectionProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Returns
Type Description
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityBuilder()

public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Returns
Type Description
ForwardSshTunnelConnectivity.Builder

getForwardSshConnectivityOrBuilder()

public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Returns
Type Description
ForwardSshTunnelConnectivityOrBuilder

getGcsProfile()

public GcsProfile getGcsProfile()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Returns
Type Description
GcsProfile

The gcsProfile.

getGcsProfileBuilder()

public GcsProfile.Builder getGcsProfileBuilder()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Returns
Type Description
GcsProfile.Builder

getGcsProfileOrBuilder()

public GcsProfileOrBuilder getGcsProfileOrBuilder()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Returns
Type Description
GcsProfileOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMysqlProfile()

public MysqlProfile getMysqlProfile()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Returns
Type Description
MysqlProfile

The mysqlProfile.

getMysqlProfileBuilder()

public MysqlProfile.Builder getMysqlProfileBuilder()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Returns
Type Description
MysqlProfile.Builder

getMysqlProfileOrBuilder()

public MysqlProfileOrBuilder getMysqlProfileOrBuilder()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Returns
Type Description
MysqlProfileOrBuilder

getName()

public String getName()

Output only. The resource's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getNoConnectivity()

public NoConnectivitySettings getNoConnectivity()

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Returns
Type Description
NoConnectivitySettings

The noConnectivity.

getNoConnectivityBuilder()

public NoConnectivitySettings.Builder getNoConnectivityBuilder()

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Returns
Type Description
NoConnectivitySettings.Builder

getNoConnectivityOrBuilder()

public NoConnectivitySettingsOrBuilder getNoConnectivityOrBuilder()

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Returns
Type Description
NoConnectivitySettingsOrBuilder

getOracleProfile()

public OracleProfile getOracleProfile()

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Returns
Type Description
OracleProfile

The oracleProfile.

getOracleProfileBuilder()

public OracleProfile.Builder getOracleProfileBuilder()

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Returns
Type Description
OracleProfile.Builder

getOracleProfileOrBuilder()

public OracleProfileOrBuilder getOracleProfileOrBuilder()

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Returns
Type Description
OracleProfileOrBuilder

getPrivateConnectivity()

public PrivateConnectivity getPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Returns
Type Description
PrivateConnectivity

The privateConnectivity.

getPrivateConnectivityBuilder()

public PrivateConnectivity.Builder getPrivateConnectivityBuilder()

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Returns
Type Description
PrivateConnectivity.Builder

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Returns
Type Description
PrivateConnectivityOrBuilder

getProfileCase()

public ConnectionProfile.ProfileCase getProfileCase()
Returns
Type Description
ConnectionProfile.ProfileCase

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Returns
Type Description
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityBuilder()

public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Returns
Type Description
StaticServiceIpConnectivity.Builder

getStaticServiceIpConnectivityOrBuilder()

public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Returns
Type Description
StaticServiceIpConnectivityOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasForwardSshConnectivity()

public boolean hasForwardSshConnectivity()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Returns
Type Description
boolean

Whether the forwardSshConnectivity field is set.

hasGcsProfile()

public boolean hasGcsProfile()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Returns
Type Description
boolean

Whether the gcsProfile field is set.

hasMysqlProfile()

public boolean hasMysqlProfile()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Returns
Type Description
boolean

Whether the mysqlProfile field is set.

hasNoConnectivity()

public boolean hasNoConnectivity()

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Returns
Type Description
boolean

Whether the noConnectivity field is set.

hasOracleProfile()

public boolean hasOracleProfile()

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Returns
Type Description
boolean

Whether the oracleProfile field is set.

hasPrivateConnectivity()

public boolean hasPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Returns
Type Description
boolean

Whether the privateConnectivity field is set.

hasStaticServiceIpConnectivity()

public boolean hasStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Returns
Type Description
boolean

Whether the staticServiceIpConnectivity field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ConnectionProfile.Builder mergeCreateTime(Timestamp value)

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConnectionProfile.Builder

mergeForwardSshConnectivity(ForwardSshTunnelConnectivity value)

public ConnectionProfile.Builder mergeForwardSshConnectivity(ForwardSshTunnelConnectivity value)

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Parameter
Name Description
value ForwardSshTunnelConnectivity
Returns
Type Description
ConnectionProfile.Builder

mergeFrom(ConnectionProfile other)

public ConnectionProfile.Builder mergeFrom(ConnectionProfile other)
Parameter
Name Description
other ConnectionProfile
Returns
Type Description
ConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConnectionProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConnectionProfile.Builder
Overrides

mergeGcsProfile(GcsProfile value)

public ConnectionProfile.Builder mergeGcsProfile(GcsProfile value)

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Parameter
Name Description
value GcsProfile
Returns
Type Description
ConnectionProfile.Builder

mergeMysqlProfile(MysqlProfile value)

public ConnectionProfile.Builder mergeMysqlProfile(MysqlProfile value)

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Parameter
Name Description
value MysqlProfile
Returns
Type Description
ConnectionProfile.Builder

mergeNoConnectivity(NoConnectivitySettings value)

public ConnectionProfile.Builder mergeNoConnectivity(NoConnectivitySettings value)

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Parameter
Name Description
value NoConnectivitySettings
Returns
Type Description
ConnectionProfile.Builder

mergeOracleProfile(OracleProfile value)

public ConnectionProfile.Builder mergeOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Parameter
Name Description
value OracleProfile
Returns
Type Description
ConnectionProfile.Builder

mergePrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder mergePrivateConnectivity(PrivateConnectivity value)

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Parameter
Name Description
value PrivateConnectivity
Returns
Type Description
ConnectionProfile.Builder

mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public ConnectionProfile.Builder mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Parameter
Name Description
value StaticServiceIpConnectivity
Returns
Type Description
ConnectionProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConnectionProfile.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ConnectionProfile.Builder mergeUpdateTime(Timestamp value)

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConnectionProfile.Builder

putAllLabels(Map<String,String> values)

public ConnectionProfile.Builder putAllLabels(Map<String,String> values)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ConnectionProfile.Builder

putLabels(String key, String value)

public ConnectionProfile.Builder putLabels(String key, String value)

Labels.

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
ConnectionProfile.Builder

removeLabels(String key)

public ConnectionProfile.Builder removeLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
ConnectionProfile.Builder

setCreateTime(Timestamp value)

public ConnectionProfile.Builder setCreateTime(Timestamp value)

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConnectionProfile.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ConnectionProfile.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The create time of the resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConnectionProfile.Builder

setDisplayName(String value)

public ConnectionProfile.Builder setDisplayName(String value)

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ConnectionProfile.Builder setDisplayNameBytes(ByteString value)

Required. Display name.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConnectionProfile.Builder
Overrides

setForwardSshConnectivity(ForwardSshTunnelConnectivity value)

public ConnectionProfile.Builder setForwardSshConnectivity(ForwardSshTunnelConnectivity value)

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Parameter
Name Description
value ForwardSshTunnelConnectivity
Returns
Type Description
ConnectionProfile.Builder

setForwardSshConnectivity(ForwardSshTunnelConnectivity.Builder builderForValue)

public ConnectionProfile.Builder setForwardSshConnectivity(ForwardSshTunnelConnectivity.Builder builderForValue)

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202;

Parameter
Name Description
builderForValue ForwardSshTunnelConnectivity.Builder
Returns
Type Description
ConnectionProfile.Builder

setGcsProfile(GcsProfile value)

public ConnectionProfile.Builder setGcsProfile(GcsProfile value)

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Parameter
Name Description
value GcsProfile
Returns
Type Description
ConnectionProfile.Builder

setGcsProfile(GcsProfile.Builder builderForValue)

public ConnectionProfile.Builder setGcsProfile(GcsProfile.Builder builderForValue)

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101;

Parameter
Name Description
builderForValue GcsProfile.Builder
Returns
Type Description
ConnectionProfile.Builder

setMysqlProfile(MysqlProfile value)

public ConnectionProfile.Builder setMysqlProfile(MysqlProfile value)

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Parameter
Name Description
value MysqlProfile
Returns
Type Description
ConnectionProfile.Builder

setMysqlProfile(MysqlProfile.Builder builderForValue)

public ConnectionProfile.Builder setMysqlProfile(MysqlProfile.Builder builderForValue)

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102;

Parameter
Name Description
builderForValue MysqlProfile.Builder
Returns
Type Description
ConnectionProfile.Builder

setName(String value)

public ConnectionProfile.Builder setName(String value)

Output only. The resource's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConnectionProfile.Builder setNameBytes(ByteString value)

Output only. The resource's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConnectionProfile.Builder

This builder for chaining.

setNoConnectivity(NoConnectivitySettings value)

public ConnectionProfile.Builder setNoConnectivity(NoConnectivitySettings value)

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Parameter
Name Description
value NoConnectivitySettings
Returns
Type Description
ConnectionProfile.Builder

setNoConnectivity(NoConnectivitySettings.Builder builderForValue)

public ConnectionProfile.Builder setNoConnectivity(NoConnectivitySettings.Builder builderForValue)

No connectivity option chosen.

.google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200;

Parameter
Name Description
builderForValue NoConnectivitySettings.Builder
Returns
Type Description
ConnectionProfile.Builder

setOracleProfile(OracleProfile value)

public ConnectionProfile.Builder setOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Parameter
Name Description
value OracleProfile
Returns
Type Description
ConnectionProfile.Builder

setOracleProfile(OracleProfile.Builder builderForValue)

public ConnectionProfile.Builder setOracleProfile(OracleProfile.Builder builderForValue)

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100;

Parameter
Name Description
builderForValue OracleProfile.Builder
Returns
Type Description
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity value)

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Parameter
Name Description
value PrivateConnectivity
Returns
Type Description
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

Private connectivity.

.google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203;

Parameter
Name Description
builderForValue PrivateConnectivity.Builder
Returns
Type Description
ConnectionProfile.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConnectionProfile.Builder
Overrides

setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public ConnectionProfile.Builder setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Parameter
Name Description
value StaticServiceIpConnectivity
Returns
Type Description
ConnectionProfile.Builder

setStaticServiceIpConnectivity(StaticServiceIpConnectivity.Builder builderForValue)

public ConnectionProfile.Builder setStaticServiceIpConnectivity(StaticServiceIpConnectivity.Builder builderForValue)

Static Service IP connectivity.

.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201;

Parameter
Name Description
builderForValue StaticServiceIpConnectivity.Builder
Returns
Type Description
ConnectionProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConnectionProfile.Builder
Overrides

setUpdateTime(Timestamp value)

public ConnectionProfile.Builder setUpdateTime(Timestamp value)

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConnectionProfile.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ConnectionProfile.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update time of the resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConnectionProfile.Builder