Class IdentityConnector.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IdentityConnector.Builder>
com.google.cloud.oracledatabase.v1.IdentityConnector.Builder
All Implemented Interfaces:
IdentityConnectorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IdentityConnector

public static final class IdentityConnector.Builder extends com.google.protobuf.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IdentityConnector.Builder>
    • clear

      public IdentityConnector.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IdentityConnector.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IdentityConnector.Builder>
    • getDefaultInstanceForType

      public IdentityConnector getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public IdentityConnector build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IdentityConnector buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IdentityConnector.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityConnector.Builder>
    • mergeFrom

      public IdentityConnector.Builder mergeFrom(IdentityConnector other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IdentityConnector.Builder>
    • mergeFrom

      public IdentityConnector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityConnector.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getServiceAgentEmail in interface IdentityConnectorOrBuilder
      Returns:
      The serviceAgentEmail.
    • getServiceAgentEmailBytes

      public com.google.protobuf.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];
      Specified by:
      getServiceAgentEmailBytes in interface IdentityConnectorOrBuilder
      Returns:
      The bytes for serviceAgentEmail.
    • setServiceAgentEmail

      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];
      Parameters:
      value - The serviceAgentEmail to set.
      Returns:
      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:
      This builder for chaining.
    • setServiceAgentEmailBytes

      public IdentityConnector.Builder setServiceAgentEmailBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for serviceAgentEmail to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getConnectionStateValue in interface IdentityConnectorOrBuilder
      Returns:
      The enum numeric value on the wire for connectionState.
    • setConnectionStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for connectionState to set.
      Returns:
      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];
      Specified by:
      getConnectionState in interface IdentityConnectorOrBuilder
      Returns:
      The connectionState.
    • setConnectionState

       Output only. The connection state of the identity connector.
       
      .google.cloud.oracledatabase.v1.IdentityConnector.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The connectionState to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.