public final class Connector extends com.google.protobuf.GeneratedMessageV3 implements ConnectorOrBuilder
Definition of a Serverless VPC Access connector.Protobuf type
google.cloud.vpcaccess.v1.Connector| Modifier and Type | Class and Description |
|---|---|
static class |
Connector.Builder
Definition of a Serverless VPC Access connector.
|
static class |
Connector.State
State of a connector.
|
static class |
Connector.Subnet
The subnet in which to house the connector
|
static interface |
Connector.SubnetOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTED_PROJECTS_FIELD_NUMBER |
static int |
IP_CIDR_RANGE_FIELD_NUMBER |
static int |
MACHINE_TYPE_FIELD_NUMBER |
static int |
MAX_INSTANCES_FIELD_NUMBER |
static int |
MAX_THROUGHPUT_FIELD_NUMBER |
static int |
MIN_INSTANCES_FIELD_NUMBER |
static int |
MIN_THROUGHPUT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
SUBNET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConnectedProjects(int index)
Output only.
|
com.google.protobuf.ByteString |
getConnectedProjectsBytes(int index)
Output only.
|
int |
getConnectedProjectsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getConnectedProjectsList()
Output only.
|
static Connector |
getDefaultInstance() |
Connector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIpCidrRange()
The range of internal addresses that follows RFC 4632 notation.
|
com.google.protobuf.ByteString |
getIpCidrRangeBytes()
The range of internal addresses that follows RFC 4632 notation.
|
String |
getMachineType()
Machine type of VM Instance underlying connector.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
Machine type of VM Instance underlying connector.
|
int |
getMaxInstances()
Maximum value of instances in autoscaling group underlying the connector.
|
int |
getMaxThroughput()
Maximum throughput of the connector in Mbps.
|
int |
getMinInstances()
Minimum value of instances in autoscaling group underlying the connector.
|
int |
getMinThroughput()
Minimum throughput of the connector in Mbps.
|
String |
getName()
The resource name in the format `projects/*/locations/*/connectors/*`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name in the format `projects/*/locations/*/connectors/*`.
|
String |
getNetwork()
Name of a VPC network.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Name of a VPC network.
|
com.google.protobuf.Parser<Connector> |
getParserForType() |
int |
getSerializedSize() |
Connector.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
Connector.Subnet |
getSubnet()
The subnet in which to house the VPC Access Connector.
|
Connector.SubnetOrBuilder |
getSubnetOrBuilder()
The subnet in which to house the VPC Access Connector.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSubnet()
The subnet in which to house the VPC Access Connector.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Connector.Builder |
newBuilder() |
static Connector.Builder |
newBuilder(Connector prototype) |
Connector.Builder |
newBuilderForType() |
protected Connector.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Connector |
parseDelimitedFrom(InputStream input) |
static Connector |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Connector |
parseFrom(byte[] data) |
static Connector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Connector |
parseFrom(ByteBuffer data) |
static Connector |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Connector |
parseFrom(com.google.protobuf.ByteString data) |
static Connector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Connector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Connector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Connector |
parseFrom(InputStream input) |
static Connector |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Connector> |
parser() |
Connector.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int MIN_THROUGHPUT_FIELD_NUMBER
public static final int MAX_THROUGHPUT_FIELD_NUMBER
public static final int CONNECTED_PROJECTS_FIELD_NUMBER
public static final int SUBNET_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
public static final int MIN_INSTANCES_FIELD_NUMBER
public static final int MAX_INSTANCES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name in the format `projects/*/locations/*/connectors/*`.
string name = 1;getName in interface ConnectorOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name in the format `projects/*/locations/*/connectors/*`.
string name = 1;getNameBytes in interface ConnectorOrBuilderpublic String getNetwork()
Name of a VPC network.
string network = 2;getNetwork in interface ConnectorOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Name of a VPC network.
string network = 2;getNetworkBytes in interface ConnectorOrBuilderpublic String getIpCidrRange()
The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
string ip_cidr_range = 3;getIpCidrRange in interface ConnectorOrBuilderpublic 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;getIpCidrRangeBytes in interface ConnectorOrBuilderpublic int getStateValue()
Output only. State of the VPC access connector.
.google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface ConnectorOrBuilderpublic 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];
getState in interface ConnectorOrBuilderpublic int getMinThroughput()
Minimum throughput of the connector in Mbps. Default and min is 200.
int32 min_throughput = 5;getMinThroughput in interface ConnectorOrBuilderpublic int getMaxThroughput()
Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
int32 max_throughput = 6;getMaxThroughput in interface ConnectorOrBuilderpublic com.google.protobuf.ProtocolStringList getConnectedProjectsList()
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConnectedProjectsList in interface ConnectorOrBuilderpublic int getConnectedProjectsCount()
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConnectedProjectsCount in interface ConnectorOrBuilderpublic String getConnectedProjects(int index)
Output only. List of projects using the connector.
repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConnectedProjects in interface ConnectorOrBuilderindex - The index of the element to return.public 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];
getConnectedProjectsBytes in interface ConnectorOrBuilderindex - The index of the value to return.public boolean hasSubnet()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;hasSubnet in interface ConnectorOrBuilderpublic Connector.Subnet getSubnet()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;getSubnet in interface ConnectorOrBuilderpublic Connector.SubnetOrBuilder getSubnetOrBuilder()
The subnet in which to house the VPC Access Connector.
.google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;getSubnetOrBuilder in interface ConnectorOrBuilderpublic String getMachineType()
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;getMachineType in interface ConnectorOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
Machine type of VM Instance underlying connector. Default is e2-micro
string machine_type = 10;getMachineTypeBytes in interface ConnectorOrBuilderpublic int getMinInstances()
Minimum value of instances in autoscaling group underlying the connector.
int32 min_instances = 11;getMinInstances in interface ConnectorOrBuilderpublic int getMaxInstances()
Maximum value of instances in autoscaling group underlying the connector.
int32 max_instances = 12;getMaxInstances in interface ConnectorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Connector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Connector parseFrom(InputStream input) throws IOException
IOExceptionpublic static Connector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Connector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Connector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Connector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Connector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Connector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Connector.Builder newBuilder()
public static Connector.Builder newBuilder(Connector prototype)
public Connector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Connector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Connector getDefaultInstance()
public static com.google.protobuf.Parser<Connector> parser()
public com.google.protobuf.Parser<Connector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Connector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.