Class GoldengateConnectionAssignmentProperties.Builder (0.42.0)

public static final class GoldengateConnectionAssignmentProperties.Builder extends GeneratedMessage.Builder<GoldengateConnectionAssignmentProperties.Builder> implements GoldengateConnectionAssignmentPropertiesOrBuilder

The properties of a GoldengateConnectionAssignment.

Protobuf type google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateConnectionAssignmentProperties build()
Returns
Type Description
GoldengateConnectionAssignmentProperties

buildPartial()

public GoldengateConnectionAssignmentProperties buildPartial()
Returns
Type Description
GoldengateConnectionAssignmentProperties

clear()

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

clearAlias()

public GoldengateConnectionAssignmentProperties.Builder clearAlias()

Output only. Credential store alias.

string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

clearGoldengateConnection()

public GoldengateConnectionAssignmentProperties.Builder clearGoldengateConnection()

Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

clearGoldengateDeployment()

public GoldengateConnectionAssignmentProperties.Builder clearGoldengateDeployment()

Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

clearOcid()

public GoldengateConnectionAssignmentProperties.Builder clearOcid()

Output only. The OCID of the connection assignment being referenced.

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

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

clearState()

public GoldengateConnectionAssignmentProperties.Builder clearState()

Output only. The lifecycle state of the connection assignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

getAlias()

public String getAlias()

Output only. Credential store alias.

string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

Output only. Credential store alias.

string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for alias.

getDefaultInstanceForType()

public GoldengateConnectionAssignmentProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateConnectionAssignmentProperties

getDescriptorForType()

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

getGoldengateConnection()

public String getGoldengateConnection()

Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The goldengateConnection.

getGoldengateConnectionBytes()

public ByteString getGoldengateConnectionBytes()

Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for goldengateConnection.

getGoldengateDeployment()

public String getGoldengateDeployment()

Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The goldengateDeployment.

getGoldengateDeploymentBytes()

public ByteString getGoldengateDeploymentBytes()

Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for goldengateDeployment.

getOcid()

public String getOcid()

Output only. The OCID of the connection assignment being referenced.

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

Returns
Type Description
String

The ocid.

getOcidBytes()

public ByteString getOcidBytes()

Output only. The OCID of the connection assignment being referenced.

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

Returns
Type Description
ByteString

The bytes for ocid.

getState()

public GoldengateConnectionAssignmentProperties.State getState()

Output only. The lifecycle state of the connection assignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnectionAssignmentProperties.State

The state.

getStateValue()

public int getStateValue()

Output only. The lifecycle state of the connection assignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateConnectionAssignmentProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAlias(String value)

public GoldengateConnectionAssignmentProperties.Builder setAlias(String value)

Output only. Credential store alias.

string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The alias to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setAliasBytes(ByteString value)

public GoldengateConnectionAssignmentProperties.Builder setAliasBytes(ByteString value)

Output only. Credential store alias.

string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for alias to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setGoldengateConnection(String value)

public GoldengateConnectionAssignmentProperties.Builder setGoldengateConnection(String value)

Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The goldengateConnection to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setGoldengateConnectionBytes(ByteString value)

public GoldengateConnectionAssignmentProperties.Builder setGoldengateConnectionBytes(ByteString value)

Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for goldengateConnection to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setGoldengateDeployment(String value)

public GoldengateConnectionAssignmentProperties.Builder setGoldengateDeployment(String value)

Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The goldengateDeployment to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setGoldengateDeploymentBytes(ByteString value)

public GoldengateConnectionAssignmentProperties.Builder setGoldengateDeploymentBytes(ByteString value)

Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for goldengateDeployment to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setOcid(String value)

public GoldengateConnectionAssignmentProperties.Builder setOcid(String value)

Output only. The OCID of the connection assignment being referenced.

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

Parameter
Name Description
value String

The ocid to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setOcidBytes(ByteString value)

public GoldengateConnectionAssignmentProperties.Builder setOcidBytes(ByteString value)

Output only. The OCID of the connection assignment being referenced.

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

Parameter
Name Description
value ByteString

The bytes for ocid to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setState(GoldengateConnectionAssignmentProperties.State value)

public GoldengateConnectionAssignmentProperties.Builder setState(GoldengateConnectionAssignmentProperties.State value)

Output only. The lifecycle state of the connection assignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GoldengateConnectionAssignmentProperties.State

The state to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.

setStateValue(int value)

public GoldengateConnectionAssignmentProperties.Builder setStateValue(int value)

Output only. The lifecycle state of the connection assignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

This builder for chaining.