Class GoldengateConnection.Builder (0.42.0)

public static final class GoldengateConnection.Builder extends GeneratedMessage.Builder<GoldengateConnection.Builder> implements GoldengateConnectionOrBuilder

Details of the GoldengateConnection resource.

Protobuf type google.cloud.oracledatabase.v1.GoldengateConnection

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateConnection build()
Returns
Type Description
GoldengateConnection

buildPartial()

public GoldengateConnection buildPartial()
Returns
Type Description
GoldengateConnection

clear()

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

clearCreateTime()

public GoldengateConnection.Builder clearCreateTime()

Output only. The date and time that the GoldengateConnection was created.

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

Returns
Type Description
GoldengateConnection.Builder

clearEntitlementId()

public GoldengateConnection.Builder clearEntitlementId()

Output only. The ID of the subscription entitlement associated with the GoldengateConnection.

string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearGcpOracleZone()

public GoldengateConnection.Builder clearGcpOracleZone()

Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearLabels()

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

clearName()

public GoldengateConnection.Builder clearName()

Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}

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

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearOciUrl()

public GoldengateConnection.Builder clearOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearOdbNetwork()

public GoldengateConnection.Builder clearOdbNetwork()

Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearOdbSubnet()

public GoldengateConnection.Builder clearOdbSubnet()

Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

clearProperties()

public GoldengateConnection.Builder clearProperties()

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnection.Builder

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The date and time that the GoldengateConnection was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The date and time that the GoldengateConnection was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the GoldengateConnection was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GoldengateConnection getDefaultInstanceForType()
Returns
Type Description
GoldengateConnection

getDescriptorForType()

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

getEntitlementId()

public String getEntitlementId()

Output only. The ID of the subscription entitlement associated with the GoldengateConnection.

string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The entitlementId.

getEntitlementIdBytes()

public ByteString getEntitlementIdBytes()

Output only. The ID of the subscription entitlement associated with the GoldengateConnection.

string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for entitlementId.

getGcpOracleZone()

public String getGcpOracleZone()

Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcpOracleZone.

getGcpOracleZoneBytes()

public ByteString getGcpOracleZoneBytes()

Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcpOracleZone.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

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>

getName()

public String getName()

Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}

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

Returns
Type Description
ByteString

The bytes for name.

getOciUrl()

public String getOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ociUrl.

getOciUrlBytes()

public ByteString getOciUrlBytes()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ociUrl.

getOdbNetwork()

public String getOdbNetwork()

Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbNetwork.

getOdbNetworkBytes()

public ByteString getOdbNetworkBytes()

Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbNetwork.

getOdbSubnet()

public String getOdbSubnet()

Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbSubnet.

getOdbSubnetBytes()

public ByteString getOdbSubnetBytes()

Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbSubnet.

getProperties()

public GoldengateConnectionProperties getProperties()

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionProperties

The properties.

getPropertiesBuilder()

public GoldengateConnectionProperties.Builder getPropertiesBuilder()

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionProperties.Builder

getPropertiesOrBuilder()

public GoldengateConnectionPropertiesOrBuilder getPropertiesOrBuilder()

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionPropertiesOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The date and time that the GoldengateConnection was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public boolean hasProperties()

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public GoldengateConnection.Builder mergeCreateTime(Timestamp value)

Output only. The date and time that the GoldengateConnection was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateConnection.Builder

mergeFrom(GoldengateConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(GoldengateConnectionProperties value)

public GoldengateConnection.Builder mergeProperties(GoldengateConnectionProperties value)

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoldengateConnectionProperties
Returns
Type Description
GoldengateConnection.Builder

putAllLabels(Map<String,String> values)

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

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

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

putLabels(String key, String value)

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

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

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

removeLabels(String key)

public GoldengateConnection.Builder removeLabels(String key)

Optional. The labels or tags associated with the GoldengateConnection.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
GoldengateConnection.Builder

setCreateTime(Timestamp value)

public GoldengateConnection.Builder setCreateTime(Timestamp value)

Output only. The date and time that the GoldengateConnection was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateConnection.Builder

setCreateTime(Timestamp.Builder builderForValue)

public GoldengateConnection.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The date and time that the GoldengateConnection was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GoldengateConnection.Builder

setEntitlementId(String value)

public GoldengateConnection.Builder setEntitlementId(String value)

Output only. The ID of the subscription entitlement associated with the GoldengateConnection.

string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The entitlementId to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setEntitlementIdBytes(ByteString value)

public GoldengateConnection.Builder setEntitlementIdBytes(ByteString value)

Output only. The ID of the subscription entitlement associated with the GoldengateConnection.

string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for entitlementId to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setGcpOracleZone(String value)

public GoldengateConnection.Builder setGcpOracleZone(String value)

Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcpOracleZone to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setGcpOracleZoneBytes(ByteString value)

public GoldengateConnection.Builder setGcpOracleZoneBytes(ByteString value)

Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcpOracleZone to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setName(String value)

public GoldengateConnection.Builder setName(String value)

Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GoldengateConnection.Builder setNameBytes(ByteString value)

Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOciUrl(String value)

public GoldengateConnection.Builder setOciUrl(String value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ociUrl to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOciUrlBytes(ByteString value)

public GoldengateConnection.Builder setOciUrlBytes(ByteString value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ociUrl to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOdbNetwork(String value)

public GoldengateConnection.Builder setOdbNetwork(String value)

Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The odbNetwork to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOdbNetworkBytes(ByteString value)

public GoldengateConnection.Builder setOdbNetworkBytes(ByteString value)

Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for odbNetwork to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOdbSubnet(String value)

public GoldengateConnection.Builder setOdbSubnet(String value)

Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The odbSubnet to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setOdbSubnetBytes(ByteString value)

public GoldengateConnection.Builder setOdbSubnetBytes(ByteString value)

Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for odbSubnet to set.

Returns
Type Description
GoldengateConnection.Builder

This builder for chaining.

setProperties(GoldengateConnectionProperties value)

public GoldengateConnection.Builder setProperties(GoldengateConnectionProperties value)

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoldengateConnectionProperties
Returns
Type Description
GoldengateConnection.Builder

setProperties(GoldengateConnectionProperties.Builder builderForValue)

public GoldengateConnection.Builder setProperties(GoldengateConnectionProperties.Builder builderForValue)

Required. The properties of the GoldengateConnection.

.google.cloud.oracledatabase.v1.GoldengateConnectionProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GoldengateConnectionProperties.Builder
Returns
Type Description
GoldengateConnection.Builder