Class ConnectionProfile.Builder (1.1.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConnectionProfile.Builder
Overrides

build()

public ConnectionProfile build()
Returns
TypeDescription
ConnectionProfile

buildPartial()

public ConnectionProfile buildPartial()
Returns
TypeDescription
ConnectionProfile

clear()

public ConnectionProfile.Builder clear()
Returns
TypeDescription
ConnectionProfile.Builder
Overrides

clearConnectivity()

public ConnectionProfile.Builder clearConnectivity()
Returns
TypeDescription
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
TypeDescription
ConnectionProfile.Builder

clearDisplayName()

public ConnectionProfile.Builder clearDisplayName()

Required. Display name.

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

Returns
TypeDescription
ConnectionProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConnectionProfile.Builder
Overrides

clearForwardSshConnectivity()

public ConnectionProfile.Builder clearForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearGcsProfile()

public ConnectionProfile.Builder clearGcsProfile()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearLabels()

public ConnectionProfile.Builder clearLabels()
Returns
TypeDescription
ConnectionProfile.Builder

clearMysqlProfile()

public ConnectionProfile.Builder clearMysqlProfile()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearName()

public ConnectionProfile.Builder clearName()

Output only. The resource's name.

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

Returns
TypeDescription
ConnectionProfile.Builder

This builder for chaining.

clearNoConnectivity()

public ConnectionProfile.Builder clearNoConnectivity()

No connectivity option chosen.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConnectionProfile.Builder
Overrides

clearOracleProfile()

public ConnectionProfile.Builder clearOracleProfile()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearPrivateConnectivity()

public ConnectionProfile.Builder clearPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
ConnectionProfile.Builder

clearProfile()

public ConnectionProfile.Builder clearProfile()
Returns
TypeDescription
ConnectionProfile.Builder

clearStaticServiceIpConnectivity()

public ConnectionProfile.Builder clearStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
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
TypeDescription
ConnectionProfile.Builder

clone()

public ConnectionProfile.Builder clone()
Returns
TypeDescription
ConnectionProfile.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConnectivityCase()

public ConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ConnectionProfile getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. Display name.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. Display name.

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

Returns
TypeDescription
ByteString

The bytes for displayName.

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityBuilder()

public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivity.Builder

getForwardSshConnectivityOrBuilder()

public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivityOrBuilder

getGcsProfile()

public GcsProfile getGcsProfile()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfile

The gcsProfile.

getGcsProfileBuilder()

public GcsProfile.Builder getGcsProfileBuilder()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfile.Builder

getGcsProfileOrBuilder()

public GcsProfileOrBuilder getGcsProfileOrBuilder()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfileOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMysqlProfile()

public MysqlProfile getMysqlProfile()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
MysqlProfile

The mysqlProfile.

getMysqlProfileBuilder()

public MysqlProfile.Builder getMysqlProfileBuilder()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
MysqlProfile.Builder

getMysqlProfileOrBuilder()

public MysqlProfileOrBuilder getMysqlProfileOrBuilder()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
MysqlProfileOrBuilder

getName()

public String getName()

Output only. The resource's name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource's name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getNoConnectivity()

public NoConnectivitySettings getNoConnectivity()

No connectivity option chosen.

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

Returns
TypeDescription
NoConnectivitySettings

The noConnectivity.

getNoConnectivityBuilder()

public NoConnectivitySettings.Builder getNoConnectivityBuilder()

No connectivity option chosen.

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

Returns
TypeDescription
NoConnectivitySettings.Builder

getNoConnectivityOrBuilder()

public NoConnectivitySettingsOrBuilder getNoConnectivityOrBuilder()

No connectivity option chosen.

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

Returns
TypeDescription
NoConnectivitySettingsOrBuilder

getOracleProfile()

public OracleProfile getOracleProfile()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfile

The oracleProfile.

getOracleProfileBuilder()

public OracleProfile.Builder getOracleProfileBuilder()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfile.Builder

getOracleProfileOrBuilder()

public OracleProfileOrBuilder getOracleProfileOrBuilder()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfileOrBuilder

getPrivateConnectivity()

public PrivateConnectivity getPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivity

The privateConnectivity.

getPrivateConnectivityBuilder()

public PrivateConnectivity.Builder getPrivateConnectivityBuilder()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivity.Builder

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivityOrBuilder

getProfileCase()

public ConnectionProfile.ProfileCase getProfileCase()
Returns
TypeDescription
ConnectionProfile.ProfileCase

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityBuilder()

public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()

Static Service IP connectivity.

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

Returns
TypeDescription
StaticServiceIpConnectivity.Builder

getStaticServiceIpConnectivityOrBuilder()

public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()

Static Service IP connectivity.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the forwardSshConnectivity field is set.

hasGcsProfile()

public boolean hasGcsProfile()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the gcsProfile field is set.

hasMysqlProfile()

public boolean hasMysqlProfile()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the mysqlProfile field is set.

hasNoConnectivity()

public boolean hasNoConnectivity()

No connectivity option chosen.

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

Returns
TypeDescription
boolean

Whether the noConnectivity field is set.

hasOracleProfile()

public boolean hasOracleProfile()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the oracleProfile field is set.

hasPrivateConnectivity()

public boolean hasPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueForwardSshTunnelConnectivity
Returns
TypeDescription
ConnectionProfile.Builder

mergeFrom(ConnectionProfile other)

public ConnectionProfile.Builder mergeFrom(ConnectionProfile other)
Parameter
NameDescription
otherConnectionProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectionProfile.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConnectionProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergeMysqlProfile(MysqlProfile value)

public ConnectionProfile.Builder mergeMysqlProfile(MysqlProfile value)

MySQL ConnectionProfile configuration.

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

Parameter
NameDescription
valueMysqlProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergeNoConnectivity(NoConnectivitySettings value)

public ConnectionProfile.Builder mergeNoConnectivity(NoConnectivitySettings value)

No connectivity option chosen.

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

Parameter
NameDescription
valueNoConnectivitySettings
Returns
TypeDescription
ConnectionProfile.Builder

mergeOracleProfile(OracleProfile value)

public ConnectionProfile.Builder mergeOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

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

Parameter
NameDescription
valueOracleProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergePrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder mergePrivateConnectivity(PrivateConnectivity value)

Private connectivity.

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

Parameter
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
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
NameDescription
valueStaticServiceIpConnectivity
Returns
TypeDescription
ConnectionProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ConnectionProfile.Builder

putAllLabels(Map<String,String> values)

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

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ConnectionProfile.Builder

putLabels(String key, String value)

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

Labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ConnectionProfile.Builder

removeLabels(String key)

public ConnectionProfile.Builder removeLabels(String key)

Labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConnectionProfile.Builder

setDisplayName(String value)

public ConnectionProfile.Builder setDisplayName(String value)

Required. Display name.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ConnectionProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueForwardSshTunnelConnectivity
Returns
TypeDescription
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
NameDescription
builderForValueForwardSshTunnelConnectivity.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setGcsProfile(GcsProfile value)

public ConnectionProfile.Builder setGcsProfile(GcsProfile value)

Cloud Storage ConnectionProfile configuration.

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

Parameter
NameDescription
valueGcsProfile
Returns
TypeDescription
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
NameDescription
builderForValueGcsProfile.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setMysqlProfile(MysqlProfile value)

public ConnectionProfile.Builder setMysqlProfile(MysqlProfile value)

MySQL ConnectionProfile configuration.

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

Parameter
NameDescription
valueMysqlProfile
Returns
TypeDescription
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
NameDescription
builderForValueMysqlProfile.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueNoConnectivitySettings
Returns
TypeDescription
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
NameDescription
builderForValueNoConnectivitySettings.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setOracleProfile(OracleProfile value)

public ConnectionProfile.Builder setOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

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

Parameter
NameDescription
valueOracleProfile
Returns
TypeDescription
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
NameDescription
builderForValueOracleProfile.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity value)

Private connectivity.

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

Parameter
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

Private connectivity.

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

Parameter
NameDescription
builderForValuePrivateConnectivity.Builder
Returns
TypeDescription
ConnectionProfile.Builder

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

public ConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStaticServiceIpConnectivity
Returns
TypeDescription
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
NameDescription
builderForValueStaticServiceIpConnectivity.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConnectionProfile.Builder