Class GoldengateDeployment.Builder (0.42.0)

public static final class GoldengateDeployment.Builder extends GeneratedMessage.Builder<GoldengateDeployment.Builder> implements GoldengateDeploymentOrBuilder

GoldengateDeployment Goldengate Deployment resource model.

Protobuf type google.cloud.oracledatabase.v1.GoldengateDeployment

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateDeployment build()
Returns
Type Description
GoldengateDeployment

buildPartial()

public GoldengateDeployment buildPartial()
Returns
Type Description
GoldengateDeployment

clear()

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

clearCreateTime()

public GoldengateDeployment.Builder clearCreateTime()

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

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

Returns
Type Description
GoldengateDeployment.Builder

clearDisplayName()

public GoldengateDeployment.Builder clearDisplayName()

Required. The display name for the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearEntitlementId()

public GoldengateDeployment.Builder clearEntitlementId()

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

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearGcpOracleZone()

public GoldengateDeployment.Builder clearGcpOracleZone()

Optional. The GCP Oracle zone where Oracle GoldengateDeployment 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
GoldengateDeployment.Builder

This builder for chaining.

clearLabels()

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

clearName()

public GoldengateDeployment.Builder clearName()

Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearOciUrl()

public GoldengateDeployment.Builder clearOciUrl()

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

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearOdbNetwork()

public GoldengateDeployment.Builder clearOdbNetwork()

Optional. The name of the OdbNetwork associated with the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearOdbSubnet()

public GoldengateDeployment.Builder clearOdbSubnet()

Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.

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

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

clearProperties()

public GoldengateDeployment.Builder clearProperties()

Required. The properties of the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeployment.Builder

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The labels or tags associated with the GoldengateDeployment.

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 GoldengateDeployment was created.

.google.protobuf.Timestamp create_time = 9 [(.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 GoldengateDeployment was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GoldengateDeployment getDefaultInstanceForType()
Returns
Type Description
GoldengateDeployment

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Required. The display name for the GoldengateDeployment.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name for the GoldengateDeployment.

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

Returns
Type Description
ByteString

The bytes for displayName.

getEntitlementId()

public String getEntitlementId()

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

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 GoldengateDeployment

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 GoldengateDeployment 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 GoldengateDeployment 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 GoldengateDeployment.

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 GoldengateDeployment.

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 GoldengateDeployment.

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 GoldengateDeployment.

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 GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}

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 = 10 [(.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 = 10 [(.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 GoldengateDeployment.

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 GoldengateDeployment.

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

Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.

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

Returns
Type Description
String

The odbSubnet.

getOdbSubnetBytes()

public ByteString getOdbSubnetBytes()

Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.

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

Returns
Type Description
ByteString

The bytes for odbSubnet.

getProperties()

public GoldengateDeploymentProperties getProperties()

Required. The properties of the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeploymentProperties

The properties.

getPropertiesBuilder()

public GoldengateDeploymentProperties.Builder getPropertiesBuilder()

Required. The properties of the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeploymentProperties.Builder

getPropertiesOrBuilder()

public GoldengateDeploymentPropertiesOrBuilder getPropertiesOrBuilder()

Required. The properties of the GoldengateDeployment.

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

Returns
Type Description
GoldengateDeploymentPropertiesOrBuilder

hasCreateTime()

public boolean hasCreateTime()

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

.google.protobuf.Timestamp create_time = 9 [(.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 GoldengateDeployment.

.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties 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 GoldengateDeployment.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateDeployment.Builder

mergeFrom(GoldengateDeployment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(GoldengateDeploymentProperties value)

public GoldengateDeployment.Builder mergeProperties(GoldengateDeploymentProperties value)

Required. The properties of the GoldengateDeployment.

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

Parameter
Name Description
value GoldengateDeploymentProperties
Returns
Type Description
GoldengateDeployment.Builder

putAllLabels(Map<String,String> values)

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

Optional. The labels or tags associated with the GoldengateDeployment.

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

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

putLabels(String key, String value)

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

Optional. The labels or tags associated with the GoldengateDeployment.

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

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

removeLabels(String key)

public GoldengateDeployment.Builder removeLabels(String key)

Optional. The labels or tags associated with the GoldengateDeployment.

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

Parameter
Name Description
key String
Returns
Type Description
GoldengateDeployment.Builder

setCreateTime(Timestamp value)

public GoldengateDeployment.Builder setCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateDeployment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public GoldengateDeployment.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GoldengateDeployment.Builder

setDisplayName(String value)

public GoldengateDeployment.Builder setDisplayName(String value)

Required. The display name for the GoldengateDeployment.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public GoldengateDeployment.Builder setDisplayNameBytes(ByteString value)

Required. The display name for the GoldengateDeployment.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setEntitlementId(String value)

public GoldengateDeployment.Builder setEntitlementId(String value)

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

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

Parameter
Name Description
value String

The entitlementId to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setEntitlementIdBytes(ByteString value)

public GoldengateDeployment.Builder setEntitlementIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for entitlementId to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setGcpOracleZone(String value)

public GoldengateDeployment.Builder setGcpOracleZone(String value)

Optional. The GCP Oracle zone where Oracle GoldengateDeployment 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
GoldengateDeployment.Builder

This builder for chaining.

setGcpOracleZoneBytes(ByteString value)

public GoldengateDeployment.Builder setGcpOracleZoneBytes(ByteString value)

Optional. The GCP Oracle zone where Oracle GoldengateDeployment 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
GoldengateDeployment.Builder

This builder for chaining.

setName(String value)

public GoldengateDeployment.Builder setName(String value)

Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GoldengateDeployment.Builder setNameBytes(ByteString value)

Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setOciUrl(String value)

public GoldengateDeployment.Builder setOciUrl(String value)

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

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

Parameter
Name Description
value String

The ociUrl to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setOciUrlBytes(ByteString value)

public GoldengateDeployment.Builder setOciUrlBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for ociUrl to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setOdbNetwork(String value)

public GoldengateDeployment.Builder setOdbNetwork(String value)

Optional. The name of the OdbNetwork associated with the GoldengateDeployment.

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
GoldengateDeployment.Builder

This builder for chaining.

setOdbNetworkBytes(ByteString value)

public GoldengateDeployment.Builder setOdbNetworkBytes(ByteString value)

Optional. The name of the OdbNetwork associated with the GoldengateDeployment.

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
GoldengateDeployment.Builder

This builder for chaining.

setOdbSubnet(String value)

public GoldengateDeployment.Builder setOdbSubnet(String value)

Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.

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

Parameter
Name Description
value String

The odbSubnet to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setOdbSubnetBytes(ByteString value)

public GoldengateDeployment.Builder setOdbSubnetBytes(ByteString value)

Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.

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

Parameter
Name Description
value ByteString

The bytes for odbSubnet to set.

Returns
Type Description
GoldengateDeployment.Builder

This builder for chaining.

setProperties(GoldengateDeploymentProperties value)

public GoldengateDeployment.Builder setProperties(GoldengateDeploymentProperties value)

Required. The properties of the GoldengateDeployment.

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

Parameter
Name Description
value GoldengateDeploymentProperties
Returns
Type Description
GoldengateDeployment.Builder

setProperties(GoldengateDeploymentProperties.Builder builderForValue)

public GoldengateDeployment.Builder setProperties(GoldengateDeploymentProperties.Builder builderForValue)

Required. The properties of the GoldengateDeployment.

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

Parameter
Name Description
builderForValue GoldengateDeploymentProperties.Builder
Returns
Type Description
GoldengateDeployment.Builder