Class IdentityConnector.Builder (0.32.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.

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.

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

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.

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.

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.