Class VpcAccess.NetworkInterface (0.29.0)

public static final class VpcAccess.NetworkInterface extends GeneratedMessageV3 implements VpcAccess.NetworkInterfaceOrBuilder

Direct VPC egress settings.

Protobuf type google.cloud.run.v2.VpcAccess.NetworkInterface

Static Fields

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpcAccess.NetworkInterface getDefaultInstance()
Returns
TypeDescription
VpcAccess.NetworkInterface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VpcAccess.NetworkInterface.Builder newBuilder()
Returns
TypeDescription
VpcAccess.NetworkInterface.Builder

newBuilder(VpcAccess.NetworkInterface prototype)

public static VpcAccess.NetworkInterface.Builder newBuilder(VpcAccess.NetworkInterface prototype)
Parameter
NameDescription
prototypeVpcAccess.NetworkInterface
Returns
TypeDescription
VpcAccess.NetworkInterface.Builder

parseDelimitedFrom(InputStream input)

public static VpcAccess.NetworkInterface parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VpcAccess.NetworkInterface parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpcAccess.NetworkInterface parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpcAccess.NetworkInterface parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VpcAccess.NetworkInterface parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VpcAccess.NetworkInterface parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpcAccess.NetworkInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcAccess.NetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VpcAccess.NetworkInterface> parser()
Returns
TypeDescription
Parser<NetworkInterface>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VpcAccess.NetworkInterface getDefaultInstanceForType()
Returns
TypeDescription
VpcAccess.NetworkInterface

getNetwork()

public String getNetwork()

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getParserForType()

public Parser<VpcAccess.NetworkInterface> getParserForType()
Returns
TypeDescription
Parser<NetworkInterface>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnetwork()

public String getSubnetwork()

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

string subnetwork = 2;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

string subnetwork = 2;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

getTags(int index)

public String getTags(int index)

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
TypeDescription
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the tags.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VpcAccess.NetworkInterface.Builder newBuilderForType()
Returns
TypeDescription
VpcAccess.NetworkInterface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VpcAccess.NetworkInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VpcAccess.NetworkInterface.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VpcAccess.NetworkInterface.Builder toBuilder()
Returns
TypeDescription
VpcAccess.NetworkInterface.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException