- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.1.10
public static final class Connector.Builder extends GeneratedMessageV3.Builder<Connector.Builder> implements ConnectorOrBuilder
Definition of a Serverless VPC Access connector.
Protobuf type google.cloud.vpcaccess.v1.Connector
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Connector.BuilderImplements
ConnectorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllConnectedProjects(Iterable<String> values)
public Connector.Builder addAllConnectedProjects(Iterable<String> values)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<String> The connectedProjects to add. |
Type | Description |
Connector.Builder | This builder for chaining. |
addConnectedProjects(String value)
public Connector.Builder addConnectedProjects(String value)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The connectedProjects to add. |
Type | Description |
Connector.Builder | This builder for chaining. |
addConnectedProjectsBytes(ByteString value)
public Connector.Builder addConnectedProjectsBytes(ByteString value)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes of the connectedProjects to add. |
Type | Description |
Connector.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Connector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Connector.Builder |
build()
public Connector build()
Type | Description |
Connector |
buildPartial()
public Connector buildPartial()
Type | Description |
Connector |
clear()
public Connector.Builder clear()
Type | Description |
Connector.Builder |
clearConnectedProjects()
public Connector.Builder clearConnectedProjects()
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Connector.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Connector.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Connector.Builder |
clearIpCidrRange()
public Connector.Builder clearIpCidrRange()
The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
string ip_cidr_range = 3;
Type | Description |
Connector.Builder | This builder for chaining. |
clearMachineType()
public Connector.Builder clearMachineType()
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;
Type | Description |
Connector.Builder | This builder for chaining. |
clearMaxInstances()
public Connector.Builder clearMaxInstances()
Maximum value of instances in autoscaling group underlying the connector.
int32 max_instances = 12;
Type | Description |
Connector.Builder | This builder for chaining. |
clearMaxThroughput()
public Connector.Builder clearMaxThroughput()
Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
int32 max_throughput = 6;
Type | Description |
Connector.Builder | This builder for chaining. |
clearMinInstances()
public Connector.Builder clearMinInstances()
Minimum value of instances in autoscaling group underlying the connector.
int32 min_instances = 11;
Type | Description |
Connector.Builder | This builder for chaining. |
clearMinThroughput()
public Connector.Builder clearMinThroughput()
Minimum throughput of the connector in Mbps. Default and min is 200.
int32 min_throughput = 5;
Type | Description |
Connector.Builder | This builder for chaining. |
clearName()
public Connector.Builder clearName()
The resource name in the format projects/*/locations/*/connectors/*
.
string name = 1;
Type | Description |
Connector.Builder | This builder for chaining. |
clearNetwork()
public Connector.Builder clearNetwork()
Name of a VPC network.
string network = 2;
Type | Description |
Connector.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Connector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Connector.Builder |
clearState()
public Connector.Builder clearState()
Output only. State of the VPC access connector.
.google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Connector.Builder | This builder for chaining. |
clearSubnet()
public Connector.Builder clearSubnet()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Type | Description |
Connector.Builder |
clone()
public Connector.Builder clone()
Type | Description |
Connector.Builder |
getConnectedProjects(int index)
public String getConnectedProjects(int index)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The connectedProjects at the given index. |
getConnectedProjectsBytes(int index)
public ByteString getConnectedProjectsBytes(int index)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the connectedProjects at the given index. |
getConnectedProjectsCount()
public int getConnectedProjectsCount()
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The count of connectedProjects. |
getConnectedProjectsList()
public ProtocolStringList getConnectedProjectsList()
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList | A list containing the connectedProjects. |
getDefaultInstanceForType()
public Connector getDefaultInstanceForType()
Type | Description |
Connector |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpCidrRange()
public String getIpCidrRange()
The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
string ip_cidr_range = 3;
Type | Description |
String | The ipCidrRange. |
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
string ip_cidr_range = 3;
Type | Description |
ByteString | The bytes for ipCidrRange. |
getMachineType()
public String getMachineType()
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;
Type | Description |
ByteString | The bytes for machineType. |
getMaxInstances()
public int getMaxInstances()
Maximum value of instances in autoscaling group underlying the connector.
int32 max_instances = 12;
Type | Description |
int | The maxInstances. |
getMaxThroughput()
public int getMaxThroughput()
Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
int32 max_throughput = 6;
Type | Description |
int | The maxThroughput. |
getMinInstances()
public int getMinInstances()
Minimum value of instances in autoscaling group underlying the connector.
int32 min_instances = 11;
Type | Description |
int | The minInstances. |
getMinThroughput()
public int getMinThroughput()
Minimum throughput of the connector in Mbps. Default and min is 200.
int32 min_throughput = 5;
Type | Description |
int | The minThroughput. |
getName()
public String getName()
The resource name in the format projects/*/locations/*/connectors/*
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name in the format projects/*/locations/*/connectors/*
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public String getNetwork()
Name of a VPC network.
string network = 2;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Name of a VPC network.
string network = 2;
Type | Description |
ByteString | The bytes for network. |
getState()
public 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];
Type | Description |
Connector.State | The state. |
getStateValue()
public int getStateValue()
Output only. State of the VPC access connector.
.google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getSubnet()
public Connector.Subnet getSubnet()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Type | Description |
Connector.Subnet | The subnet. |
getSubnetBuilder()
public Connector.Subnet.Builder getSubnetBuilder()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Type | Description |
Connector.Subnet.Builder |
getSubnetOrBuilder()
public Connector.SubnetOrBuilder getSubnetOrBuilder()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Type | Description |
Connector.SubnetOrBuilder |
hasSubnet()
public boolean hasSubnet()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Type | Description |
boolean | Whether the subnet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Connector other)
public Connector.Builder mergeFrom(Connector other)
Name | Description |
other | Connector |
Type | Description |
Connector.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Connector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Connector.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Connector.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Connector.Builder |
mergeSubnet(Connector.Subnet value)
public Connector.Builder mergeSubnet(Connector.Subnet value)
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Name | Description |
value | Connector.Subnet |
Type | Description |
Connector.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Connector.Builder |
setConnectedProjects(int index, String value)
public Connector.Builder setConnectedProjects(int index, String value)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index to set the value at. |
value | String The connectedProjects to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Connector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Connector.Builder |
setIpCidrRange(String value)
public Connector.Builder setIpCidrRange(String value)
The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
string ip_cidr_range = 3;
Name | Description |
value | String The ipCidrRange to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setIpCidrRangeBytes(ByteString value)
public Connector.Builder setIpCidrRangeBytes(ByteString value)
The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
string ip_cidr_range = 3;
Name | Description |
value | ByteString The bytes for ipCidrRange to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMachineType(String value)
public Connector.Builder setMachineType(String value)
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;
Name | Description |
value | String The machineType to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public Connector.Builder setMachineTypeBytes(ByteString value)
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMaxInstances(int value)
public Connector.Builder setMaxInstances(int value)
Maximum value of instances in autoscaling group underlying the connector.
int32 max_instances = 12;
Name | Description |
value | int The maxInstances to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMaxThroughput(int value)
public Connector.Builder setMaxThroughput(int value)
Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
int32 max_throughput = 6;
Name | Description |
value | int The maxThroughput to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMinInstances(int value)
public Connector.Builder setMinInstances(int value)
Minimum value of instances in autoscaling group underlying the connector.
int32 min_instances = 11;
Name | Description |
value | int The minInstances to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setMinThroughput(int value)
public Connector.Builder setMinThroughput(int value)
Minimum throughput of the connector in Mbps. Default and min is 200.
int32 min_throughput = 5;
Name | Description |
value | int The minThroughput to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setName(String value)
public Connector.Builder setName(String value)
The resource name in the format projects/*/locations/*/connectors/*
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Connector.Builder setNameBytes(ByteString value)
The resource name in the format projects/*/locations/*/connectors/*
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setNetwork(String value)
public Connector.Builder setNetwork(String value)
Name of a VPC network.
string network = 2;
Name | Description |
value | String The network to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public Connector.Builder setNetworkBytes(ByteString value)
Name of a VPC network.
string network = 2;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Connector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Connector.Builder |
setState(Connector.State value)
public Connector.Builder setState(Connector.State value)
Output only. State of the VPC access connector.
.google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Connector.State The state to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setStateValue(int value)
public Connector.Builder setStateValue(int value)
Output only. State of the VPC access connector.
.google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Connector.Builder | This builder for chaining. |
setSubnet(Connector.Subnet value)
public Connector.Builder setSubnet(Connector.Subnet value)
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Name | Description |
value | Connector.Subnet |
Type | Description |
Connector.Builder |
setSubnet(Connector.Subnet.Builder builderForValue)
public Connector.Builder setSubnet(Connector.Subnet.Builder builderForValue)
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
Name | Description |
builderForValue | Connector.Subnet.Builder |
Type | Description |
Connector.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Connector.Builder |