Interface ConnectorOrBuilder

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

    public interface ConnectorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The resource name in the format `projects/*/locations/*/connectors/*`.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The resource name in the format `projects/*/locations/*/connectors/*`.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getNetwork

        String getNetwork()
         Name of a VPC network.
         
        string network = 2;
        Returns:
        The network.
      • getNetworkBytes

        com.google.protobuf.ByteString getNetworkBytes()
         Name of a VPC network.
         
        string network = 2;
        Returns:
        The bytes for network.
      • getIpCidrRange

        String getIpCidrRange()
         The range of internal addresses that follows RFC 4632 notation.
         Example: `10.132.0.0/28`.
         
        string ip_cidr_range = 3;
        Returns:
        The ipCidrRange.
      • getIpCidrRangeBytes

        com.google.protobuf.ByteString getIpCidrRangeBytes()
         The range of internal addresses that follows RFC 4632 notation.
         Example: `10.132.0.0/28`.
         
        string ip_cidr_range = 3;
        Returns:
        The bytes for ipCidrRange.
      • getStateValue

        int getStateValue()
         Output only. State of the VPC access connector.
         
        .google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Connector.State getState()
         Output only. State of the VPC access connector.
         
        .google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getMinThroughput

        int getMinThroughput()
         Minimum throughput of the connector in Mbps. Default and min is 200.
         
        int32 min_throughput = 5;
        Returns:
        The minThroughput.
      • getMaxThroughput

        int getMaxThroughput()
         Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
         
        int32 max_throughput = 6;
        Returns:
        The maxThroughput.
      • getConnectedProjectsList

        List<String> getConnectedProjectsList()
         Output only. List of projects using the connector.
         
        repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        A list containing the connectedProjects.
      • getConnectedProjectsCount

        int getConnectedProjectsCount()
         Output only. List of projects using the connector.
         
        repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The count of connectedProjects.
      • getConnectedProjects

        String getConnectedProjects​(int index)
         Output only. List of projects using the connector.
         
        repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index of the element to return.
        Returns:
        The connectedProjects at the given index.
      • getConnectedProjectsBytes

        com.google.protobuf.ByteString getConnectedProjectsBytes​(int index)
         Output only. List of projects using the connector.
         
        repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the connectedProjects at the given index.
      • hasSubnet

        boolean hasSubnet()
         The subnet in which to house the VPC Access Connector.
         
        .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
        Returns:
        Whether the subnet field is set.
      • getSubnet

        Connector.Subnet getSubnet()
         The subnet in which to house the VPC Access Connector.
         
        .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
        Returns:
        The subnet.
      • getSubnetOrBuilder

        Connector.SubnetOrBuilder getSubnetOrBuilder()
         The subnet in which to house the VPC Access Connector.
         
        .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
      • getMachineType

        String getMachineType()
         Machine type of VM Instance underlying connector. Default is e2-micro
         
        string machine_type = 10;
        Returns:
        The machineType.
      • getMachineTypeBytes

        com.google.protobuf.ByteString getMachineTypeBytes()
         Machine type of VM Instance underlying connector. Default is e2-micro
         
        string machine_type = 10;
        Returns:
        The bytes for machineType.
      • getMinInstances

        int getMinInstances()
         Minimum value of instances in autoscaling group underlying the connector.
         
        int32 min_instances = 11;
        Returns:
        The minInstances.
      • getMaxInstances

        int getMaxInstances()
         Maximum value of instances in autoscaling group underlying the connector.
         
        int32 max_instances = 12;
        Returns:
        The maxInstances.