Interface ConnectorOrBuilder (2.49.0)

public interface ConnectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectedProjects(int index)

public abstract String getConnectedProjects(int index)

Output only. List of projects using the connector.

repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The connectedProjects at the given index.

getConnectedProjectsBytes(int index)

public abstract ByteString getConnectedProjectsBytes(int index)

Output only. List of projects using the connector.

repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the connectedProjects at the given index.

getConnectedProjectsCount()

public abstract int getConnectedProjectsCount()

Output only. List of projects using the connector.

repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of connectedProjects.

getConnectedProjectsList()

public abstract List<String> getConnectedProjectsList()

Output only. List of projects using the connector.

repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the connectedProjects.

getIpCidrRange()

public abstract String getIpCidrRange()

The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

string ip_cidr_range = 3;

Returns
Type Description
String

The ipCidrRange.

getIpCidrRangeBytes()

public abstract ByteString getIpCidrRangeBytes()

The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

string ip_cidr_range = 3;

Returns
Type Description
ByteString

The bytes for ipCidrRange.

getMachineType()

public abstract String getMachineType()

Machine type of VM Instance underlying connector. Default is e2-micro

string machine_type = 10;

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Machine type of VM Instance underlying connector. Default is e2-micro

string machine_type = 10;

Returns
Type Description
ByteString

The bytes for machineType.

getMaxInstances()

public abstract int getMaxInstances()

Maximum value of instances in autoscaling group underlying the connector.

int32 max_instances = 12;

Returns
Type Description
int

The maxInstances.

getMaxThroughput()

public abstract int getMaxThroughput()

Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

int32 max_throughput = 6;

Returns
Type Description
int

The maxThroughput.

getMinInstances()

public abstract int getMinInstances()

Minimum value of instances in autoscaling group underlying the connector.

int32 min_instances = 11;

Returns
Type Description
int

The minInstances.

getMinThroughput()

public abstract int getMinThroughput()

Minimum throughput of the connector in Mbps. Default and min is 200.

int32 min_throughput = 5;

Returns
Type Description
int

The minThroughput.

getName()

public abstract String getName()

The resource name in the format projects/*/locations/*/connectors/*.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name in the format projects/*/locations/*/connectors/*.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

Name of a VPC network.

string network = 2;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Name of a VPC network.

string network = 2;

Returns
Type Description
ByteString

The bytes for network.

getState()

public abstract 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
Type Description
Connector.State

The state.

getStateValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for state.

getSubnet()

public abstract Connector.Subnet getSubnet()

The subnet in which to house the VPC Access Connector.

.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;

Returns
Type Description
Connector.Subnet

The subnet.

getSubnetOrBuilder()

public abstract Connector.SubnetOrBuilder getSubnetOrBuilder()

The subnet in which to house the VPC Access Connector.

.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;

Returns
Type Description
Connector.SubnetOrBuilder

hasSubnet()

public abstract boolean hasSubnet()

The subnet in which to house the VPC Access Connector.

.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;

Returns
Type Description
boolean

Whether the subnet field is set.