public final class VpcAccess extends GeneratedMessageV3 implements VpcAccessOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CONNECTOR_FIELD_NUMBER
public static final int CONNECTOR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EGRESS_FIELD_NUMBER
public static final int EGRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VpcAccess getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VpcAccess.Builder newBuilder()
newBuilder(VpcAccess prototype)
public static VpcAccess.Builder newBuilder(VpcAccess prototype)
public static VpcAccess parseDelimitedFrom(InputStream input)
public static VpcAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VpcAccess parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VpcAccess parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess parseFrom(CodedInputStream input)
public static VpcAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VpcAccess parseFrom(InputStream input)
public static VpcAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VpcAccess parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VpcAccess> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getConnector()
public 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) = { ... }
Returns |
---|
Type | Description |
String | The connector.
|
getConnectorBytes()
public 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) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for connector.
|
getDefaultInstanceForType()
public VpcAccess getDefaultInstanceForType()
getEgress()
public VpcAccess.VpcEgress getEgress()
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
getEgressValue()
public int getEgressValue()
Traffic VPC egress settings. If not provided, it defaults to
PRIVATE_RANGES_ONLY.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for egress.
|
getNetworkInterfaces(int index)
public VpcAccess.NetworkInterface getNetworkInterfaces(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Returns |
---|
Type | Description |
int | |
getNetworkInterfacesList()
public List<VpcAccess.NetworkInterface> getNetworkInterfacesList()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
getNetworkInterfacesOrBuilder(int index)
public VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Parameter |
---|
Name | Description |
index | int
|
getNetworkInterfacesOrBuilderList()
public List<? extends VpcAccess.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Direct VPC egress settings. Currently only single network interface is
supported.
repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.run.v2.VpcAccess.NetworkInterfaceOrBuilder> | |
getParserForType()
public Parser<VpcAccess> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpcAccess.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpcAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VpcAccess.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides