public final class VpcAccess extends com.google.protobuf.GeneratedMessageV3 implements VpcAccessOrBuilder
VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.Protobuf type
google.cloud.run.v2.VpcAccess| Modifier and Type | Class and Description |
|---|---|
static class |
VpcAccess.Builder
VPC Access settings.
|
static class |
VpcAccess.NetworkInterface
Direct VPC egress settings.
|
static interface |
VpcAccess.NetworkInterfaceOrBuilder |
static class |
VpcAccess.VpcEgress
Egress options for VPC access.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTOR_FIELD_NUMBER |
static int |
EGRESS_FIELD_NUMBER |
static int |
NETWORK_INTERFACES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConnector()
VPC Access connector name.
|
com.google.protobuf.ByteString |
getConnectorBytes()
VPC Access connector name.
|
static VpcAccess |
getDefaultInstance() |
VpcAccess |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
VpcAccess.VpcEgress |
getEgress()
Optional.
|
int |
getEgressValue()
Optional.
|
VpcAccess.NetworkInterface |
getNetworkInterfaces(int index)
Optional.
|
int |
getNetworkInterfacesCount()
Optional.
|
List<VpcAccess.NetworkInterface> |
getNetworkInterfacesList()
Optional.
|
VpcAccess.NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilder(int index)
Optional.
|
List<? extends VpcAccess.NetworkInterfaceOrBuilder> |
getNetworkInterfacesOrBuilderList()
Optional.
|
com.google.protobuf.Parser<VpcAccess> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VpcAccess.Builder |
newBuilder() |
static VpcAccess.Builder |
newBuilder(VpcAccess prototype) |
VpcAccess.Builder |
newBuilderForType() |
protected VpcAccess.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VpcAccess |
parseDelimitedFrom(InputStream input) |
static VpcAccess |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpcAccess |
parseFrom(byte[] data) |
static VpcAccess |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpcAccess |
parseFrom(ByteBuffer data) |
static VpcAccess |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpcAccess |
parseFrom(com.google.protobuf.ByteString data) |
static VpcAccess |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpcAccess |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VpcAccess |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VpcAccess |
parseFrom(InputStream input) |
static VpcAccess |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VpcAccess> |
parser() |
VpcAccess.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 CONNECTOR_FIELD_NUMBER
public static final int EGRESS_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 getConnector()
VPC Access connector name.
Format: `projects/{project}/locations/{location}/connectors/{connector}`,
where `{project}` can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }getConnector in interface VpcAccessOrBuilderpublic com.google.protobuf.ByteString getConnectorBytes()
VPC Access connector name.
Format: `projects/{project}/locations/{location}/connectors/{connector}`,
where `{project}` can be project id or number.
For more information on sending traffic to a VPC network via a connector,
visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
string connector = 1 [(.google.api.resource_reference) = { ... }getConnectorBytes in interface VpcAccessOrBuilderpublic int getEgressValue()
Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];
getEgressValue in interface VpcAccessOrBuilderpublic VpcAccess.VpcEgress getEgress()
Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];
getEgress in interface VpcAccessOrBuilderpublic List<VpcAccess.NetworkInterface> getNetworkInterfacesList()
Optional. Direct VPC egress settings. Currently only single network interface is supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfacesList in interface VpcAccessOrBuilderpublic List<? extends VpcAccess.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Optional. Direct VPC egress settings. Currently only single network interface is supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfacesOrBuilderList in interface VpcAccessOrBuilderpublic int getNetworkInterfacesCount()
Optional. Direct VPC egress settings. Currently only single network interface is supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfacesCount in interface VpcAccessOrBuilderpublic VpcAccess.NetworkInterface getNetworkInterfaces(int index)
Optional. Direct VPC egress settings. Currently only single network interface is supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfaces in interface VpcAccessOrBuilderpublic VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Optional. Direct VPC egress settings. Currently only single network interface is supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfacesOrBuilder in interface VpcAccessOrBuilderpublic 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 VpcAccess parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VpcAccess parseFrom(InputStream input) throws IOException
IOExceptionpublic static VpcAccess parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VpcAccess parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VpcAccess parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VpcAccess parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VpcAccess parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VpcAccess.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VpcAccess.Builder newBuilder()
public static VpcAccess.Builder newBuilder(VpcAccess prototype)
public VpcAccess.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VpcAccess.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VpcAccess getDefaultInstance()
public static com.google.protobuf.Parser<VpcAccess> parser()
public com.google.protobuf.Parser<VpcAccess> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VpcAccess getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.