Class ConnectionProfile.Builder (1.30.0)

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

A set of reusable connection configurations to be used as a source or destination for a stream.

Protobuf type google.cloud.datastream.v1.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

clearBigqueryProfile()

public ConnectionProfile.Builder clearBigqueryProfile()

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Returns
TypeDescription
ConnectionProfile.Builder

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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Returns
TypeDescription
ConnectionProfile.Builder

clearGcsProfile()

public ConnectionProfile.Builder clearGcsProfile()

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1.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.v1.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.

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.v1.OracleProfile oracle_profile = 100;

Returns
TypeDescription
ConnectionProfile.Builder

clearPostgresqlProfile()

public ConnectionProfile.Builder clearPostgresqlProfile()

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Returns
TypeDescription
ConnectionProfile.Builder

clearPrivateConnectivity()

public ConnectionProfile.Builder clearPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

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.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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

getBigqueryProfile()

public BigQueryProfile getBigqueryProfile()

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Returns
TypeDescription
BigQueryProfile

The bigqueryProfile.

getBigqueryProfileBuilder()

public BigQueryProfile.Builder getBigqueryProfileBuilder()

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Returns
TypeDescription
BigQueryProfile.Builder

getBigqueryProfileOrBuilder()

public BigQueryProfileOrBuilder getBigqueryProfileOrBuilder()

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Returns
TypeDescription
BigQueryProfileOrBuilder

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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Returns
TypeDescription
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityBuilder()

public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Returns
TypeDescription
ForwardSshTunnelConnectivity.Builder

getForwardSshConnectivityOrBuilder()

public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()

Forward SSH tunnel connectivity.

.google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Returns
TypeDescription
ForwardSshTunnelConnectivityOrBuilder

getGcsProfile()

public GcsProfile getGcsProfile()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfile

The gcsProfile.

getGcsProfileBuilder()

public GcsProfile.Builder getGcsProfileBuilder()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfile.Builder

getGcsProfileOrBuilder()

public GcsProfileOrBuilder getGcsProfileOrBuilder()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
GcsProfileOrBuilder

getLabels() (deprecated)

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() (deprecated)

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.v1.MysqlProfile mysql_profile = 102;

Returns
TypeDescription
MysqlProfile

The mysqlProfile.

getMysqlProfileBuilder()

public MysqlProfile.Builder getMysqlProfileBuilder()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
MysqlProfile.Builder

getMysqlProfileOrBuilder()

public MysqlProfileOrBuilder getMysqlProfileOrBuilder()

MySQL ConnectionProfile configuration.

.google.cloud.datastream.v1.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.

getOracleProfile()

public OracleProfile getOracleProfile()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfile

The oracleProfile.

getOracleProfileBuilder()

public OracleProfile.Builder getOracleProfileBuilder()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfile.Builder

getOracleProfileOrBuilder()

public OracleProfileOrBuilder getOracleProfileOrBuilder()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
OracleProfileOrBuilder

getPostgresqlProfile()

public PostgresqlProfile getPostgresqlProfile()

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Returns
TypeDescription
PostgresqlProfile

The postgresqlProfile.

getPostgresqlProfileBuilder()

public PostgresqlProfile.Builder getPostgresqlProfileBuilder()

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Returns
TypeDescription
PostgresqlProfile.Builder

getPostgresqlProfileOrBuilder()

public PostgresqlProfileOrBuilder getPostgresqlProfileOrBuilder()

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Returns
TypeDescription
PostgresqlProfileOrBuilder

getPrivateConnectivity()

public PrivateConnectivity getPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Returns
TypeDescription
PrivateConnectivity

The privateConnectivity.

getPrivateConnectivityBuilder()

public PrivateConnectivity.Builder getPrivateConnectivityBuilder()

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Returns
TypeDescription
PrivateConnectivity.Builder

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Returns
TypeDescription
PrivateConnectivityOrBuilder

getProfileCase()

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

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

Returns
TypeDescription
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityBuilder()

public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()

Static Service IP connectivity.

.google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

Returns
TypeDescription
StaticServiceIpConnectivity.Builder

getStaticServiceIpConnectivityOrBuilder()

public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()

Static Service IP connectivity.

.google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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

hasBigqueryProfile()

public boolean hasBigqueryProfile()

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Returns
TypeDescription
boolean

Whether the bigqueryProfile field is set.

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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Returns
TypeDescription
boolean

Whether the forwardSshConnectivity field is set.

hasGcsProfile()

public boolean hasGcsProfile()

Cloud Storage ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the gcsProfile field is set.

hasMysqlProfile()

public boolean hasMysqlProfile()

MySQL ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the mysqlProfile field is set.

hasOracleProfile()

public boolean hasOracleProfile()

Oracle ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the oracleProfile field is set.

hasPostgresqlProfile()

public boolean hasPostgresqlProfile()

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Returns
TypeDescription
boolean

Whether the postgresqlProfile field is set.

hasPrivateConnectivity()

public boolean hasPrivateConnectivity()

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Returns
TypeDescription
boolean

Whether the privateConnectivity field is set.

hasStaticServiceIpConnectivity()

public boolean hasStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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

mergeBigqueryProfile(BigQueryProfile value)

public ConnectionProfile.Builder mergeBigqueryProfile(BigQueryProfile value)

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Parameter
NameDescription
valueBigQueryProfile
Returns
TypeDescription
ConnectionProfile.Builder

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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

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.v1.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.v1.MysqlProfile mysql_profile = 102;

Parameter
NameDescription
valueMysqlProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergeOracleProfile(OracleProfile value)

public ConnectionProfile.Builder mergeOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

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

Parameter
NameDescription
valueOracleProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergePostgresqlProfile(PostgresqlProfile value)

public ConnectionProfile.Builder mergePostgresqlProfile(PostgresqlProfile value)

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Parameter
NameDescription
valuePostgresqlProfile
Returns
TypeDescription
ConnectionProfile.Builder

mergePrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder mergePrivateConnectivity(PrivateConnectivity value)

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Parameter
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
ConnectionProfile.Builder

mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public ConnectionProfile.Builder mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

.google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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

setBigqueryProfile(BigQueryProfile value)

public ConnectionProfile.Builder setBigqueryProfile(BigQueryProfile value)

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Parameter
NameDescription
valueBigQueryProfile
Returns
TypeDescription
ConnectionProfile.Builder

setBigqueryProfile(BigQueryProfile.Builder builderForValue)

public ConnectionProfile.Builder setBigqueryProfile(BigQueryProfile.Builder builderForValue)

BigQuery Connection Profile configuration.

.google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103;

Parameter
NameDescription
builderForValueBigQueryProfile.Builder
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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

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.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201;

Parameter
NameDescription
builderForValueForwardSshTunnelConnectivity.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setGcsProfile(GcsProfile value)

public ConnectionProfile.Builder setGcsProfile(GcsProfile value)

Cloud Storage ConnectionProfile configuration.

.google.cloud.datastream.v1.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.v1.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.v1.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.v1.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.

setOracleProfile(OracleProfile value)

public ConnectionProfile.Builder setOracleProfile(OracleProfile value)

Oracle ConnectionProfile configuration.

.google.cloud.datastream.v1.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.v1.OracleProfile oracle_profile = 100;

Parameter
NameDescription
builderForValueOracleProfile.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setPostgresqlProfile(PostgresqlProfile value)

public ConnectionProfile.Builder setPostgresqlProfile(PostgresqlProfile value)

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Parameter
NameDescription
valuePostgresqlProfile
Returns
TypeDescription
ConnectionProfile.Builder

setPostgresqlProfile(PostgresqlProfile.Builder builderForValue)

public ConnectionProfile.Builder setPostgresqlProfile(PostgresqlProfile.Builder builderForValue)

PostgreSQL Connection Profile configuration.

.google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104;

Parameter
NameDescription
builderForValuePostgresqlProfile.Builder
Returns
TypeDescription
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity value)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity value)

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

Parameter
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
ConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

public ConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

Private connectivity.

.google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202;

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.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200;

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