Interface PscAutoConnectionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PscAutoConnection, PscAutoConnection.Builder

@Generated public interface PscAutoConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPscConnectionId

      String getPscConnectionId()
       Output only. The PSC connection id of the forwarding rule connected to the
       service attachment.
       
      string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The pscConnectionId.
    • getPscConnectionIdBytes

      com.google.protobuf.ByteString getPscConnectionIdBytes()
       Output only. The PSC connection id of the forwarding rule connected to the
       service attachment.
       
      string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for pscConnectionId.
    • getAddress

      String getAddress()
       Output only. The IP allocated on the consumer network for the PSC
       forwarding rule.
       
      string address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The address.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes()
       Output only. The IP allocated on the consumer network for the PSC
       forwarding rule.
       
      string address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The bytes for address.
    • getForwardingRule

      String getForwardingRule()
       Output only. The URI of the consumer side forwarding rule.
       Example:
       projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
       
      string forwarding_rule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The forwardingRule.
    • getForwardingRuleBytes

      com.google.protobuf.ByteString getForwardingRuleBytes()
       Output only. The URI of the consumer side forwarding rule.
       Example:
       projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
       
      string forwarding_rule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for forwardingRule.
    • getProjectId

      String getProjectId()
       Required. The consumer project_id where the forwarding rule is created
       from.
       
      string project_id = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Required. The consumer project_id where the forwarding rule is created
       from.
       
      string project_id = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for projectId.
    • getNetwork

      String getNetwork()
       Required. The consumer network where the IP address resides, in the form of
       projects/{project_id}/global/networks/{network_id}.
       
      string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       Required. The consumer network where the IP address resides, in the form of
       projects/{project_id}/global/networks/{network_id}.
       
      string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for network.
    • getServiceAttachment

      String getServiceAttachment()
       Output only. The service attachment which is the target of the PSC
       connection, in the form of
       projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
       
      string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The serviceAttachment.
    • getServiceAttachmentBytes

      com.google.protobuf.ByteString getServiceAttachmentBytes()
       Output only. The service attachment which is the target of the PSC
       connection, in the form of
       projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
       
      string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for serviceAttachment.
    • getPscConnectionStatusValue

      int getPscConnectionStatusValue()
       Output only. The status of the PSC connection.
       Please note that this value is updated periodically.
       Please use Private Service Connect APIs for the latest status.
       
      .google.cloud.redis.cluster.v1.PscConnectionStatus psc_connection_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for pscConnectionStatus.
    • getPscConnectionStatus

      PscConnectionStatus getPscConnectionStatus()
       Output only. The status of the PSC connection.
       Please note that this value is updated periodically.
       Please use Private Service Connect APIs for the latest status.
       
      .google.cloud.redis.cluster.v1.PscConnectionStatus psc_connection_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The pscConnectionStatus.
    • getConnectionTypeValue

      int getConnectionTypeValue()
       Output only. Type of the PSC connection.
       
      .google.cloud.redis.cluster.v1.ConnectionType connection_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for connectionType.
    • getConnectionType

      ConnectionType getConnectionType()
       Output only. Type of the PSC connection.
       
      .google.cloud.redis.cluster.v1.ConnectionType connection_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The connectionType.