Class IdentityConnector.Builder (0.52.0)

public static final class IdentityConnector.Builder extends GeneratedMessage.Builder<IdentityConnector.Builder> implements IdentityConnectorOrBuilder

The identity connector details which will allow OCI to securely access the resources in the customer project.

Protobuf type google.cloud.oracledatabase.v1.IdentityConnector

Static Methods

getDescriptor()

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

Methods

build()

public IdentityConnector build()
Returns
Type Description
IdentityConnector

buildPartial()

public IdentityConnector buildPartial()
Returns
Type Description
IdentityConnector

clear()

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

clearConnectionState()

public IdentityConnector.Builder clearConnectionState()

Output only. The connection state of the identity connector.

.google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

clearIdentityConnectorId()

public IdentityConnector.Builder clearIdentityConnectorId()

Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).

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

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

clearLifecycleStateDetails()

public IdentityConnector.Builder clearLifecycleStateDetails()

Output only. Additional information about the current lifecycle state.

string lifecycle_state_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

clearServiceAgentEmail()

public IdentityConnector.Builder clearServiceAgentEmail()

Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com

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

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

clearWorkloadIdentityPool()

public IdentityConnector.Builder clearWorkloadIdentityPool()

Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}

string workload_identity_pool = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

getConnectionState()

public IdentityConnector.ConnectionState getConnectionState()

Output only. The connection state of the identity connector.

.google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityConnector.ConnectionState

The connectionState.

getConnectionStateValue()

public int getConnectionStateValue()

Output only. The connection state of the identity connector.

.google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for connectionState.

getDefaultInstanceForType()

public IdentityConnector getDefaultInstanceForType()
Returns
Type Description
IdentityConnector

getDescriptorForType()

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

getIdentityConnectorId()

public String getIdentityConnectorId()

Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).

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

Returns
Type Description
String

The identityConnectorId.

getIdentityConnectorIdBytes()

public ByteString getIdentityConnectorIdBytes()

Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).

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

Returns
Type Description
ByteString

The bytes for identityConnectorId.

getLifecycleStateDetails()

public String getLifecycleStateDetails()

Output only. Additional information about the current lifecycle state.

string lifecycle_state_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The lifecycleStateDetails.

getLifecycleStateDetailsBytes()

public ByteString getLifecycleStateDetailsBytes()

Output only. Additional information about the current lifecycle state.

string lifecycle_state_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for lifecycleStateDetails.

getServiceAgentEmail()

public String getServiceAgentEmail()

Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com

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

Returns
Type Description
String

The serviceAgentEmail.

getServiceAgentEmailBytes()

public ByteString getServiceAgentEmailBytes()

Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com

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

Returns
Type Description
ByteString

The bytes for serviceAgentEmail.

getWorkloadIdentityPool()

public String getWorkloadIdentityPool()

Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}

string workload_identity_pool = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workloadIdentityPool.

getWorkloadIdentityPoolBytes()

public ByteString getWorkloadIdentityPoolBytes()

Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}

string workload_identity_pool = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workloadIdentityPool.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IdentityConnector other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConnectionState(IdentityConnector.ConnectionState value)

public IdentityConnector.Builder setConnectionState(IdentityConnector.ConnectionState value)

Output only. The connection state of the identity connector.

.google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IdentityConnector.ConnectionState

The connectionState to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setConnectionStateValue(int value)

public IdentityConnector.Builder setConnectionStateValue(int value)

Output only. The connection state of the identity connector.

.google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setIdentityConnectorId(String value)

public IdentityConnector.Builder setIdentityConnectorId(String value)

Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).

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

Parameter
Name Description
value String

The identityConnectorId to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setIdentityConnectorIdBytes(ByteString value)

public IdentityConnector.Builder setIdentityConnectorIdBytes(ByteString value)

Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).

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

Parameter
Name Description
value ByteString

The bytes for identityConnectorId to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setLifecycleStateDetails(String value)

public IdentityConnector.Builder setLifecycleStateDetails(String value)

Output only. Additional information about the current lifecycle state.

string lifecycle_state_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The lifecycleStateDetails to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setLifecycleStateDetailsBytes(ByteString value)

public IdentityConnector.Builder setLifecycleStateDetailsBytes(ByteString value)

Output only. Additional information about the current lifecycle state.

string lifecycle_state_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for lifecycleStateDetails to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setServiceAgentEmail(String value)

public IdentityConnector.Builder setServiceAgentEmail(String value)

Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com

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

Parameter
Name Description
value String

The serviceAgentEmail to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setServiceAgentEmailBytes(ByteString value)

public IdentityConnector.Builder setServiceAgentEmailBytes(ByteString value)

Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com

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

Parameter
Name Description
value ByteString

The bytes for serviceAgentEmail to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setWorkloadIdentityPool(String value)

public IdentityConnector.Builder setWorkloadIdentityPool(String value)

Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}

string workload_identity_pool = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The workloadIdentityPool to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.

setWorkloadIdentityPoolBytes(ByteString value)

public IdentityConnector.Builder setWorkloadIdentityPoolBytes(ByteString value)

Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}

string workload_identity_pool = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for workloadIdentityPool to set.

Returns
Type Description
IdentityConnector.Builder

This builder for chaining.