Class IdentityConnector.Builder (0.29.0)

public static final class IdentityConnector.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdentityConnector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdentityConnector.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public IdentityConnector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IdentityConnector.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IdentityConnector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IdentityConnector.Builder
Overrides

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdentityConnector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public IdentityConnector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdentityConnector.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IdentityConnector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IdentityConnector.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final IdentityConnector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdentityConnector.Builder
Overrides