Interface ConnectorOrBuilder (2.1.10)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for ipCidrRange.

getMaxThroughput()

public abstract int getMaxThroughput()

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

int32 max_throughput = 6;

Returns
TypeDescription
int

The maxThroughput.

getMinThroughput()

public abstract int getMinThroughput()

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

int32 min_throughput = 5;

Returns
TypeDescription
int

The minThroughput.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

Name of a VPC network.

string network = 2;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Name of a VPC network.

string network = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the subnet field is set.