public static final class VpcAccess.NetworkInterface extends GeneratedMessageV3 implements VpcAccess.NetworkInterfaceOrBuilder
Direct VPC egress settings.
Protobuf type google.cloud.run.v2.VpcAccess.NetworkInterface
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
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TAGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VpcAccess.NetworkInterface getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VpcAccess.NetworkInterface.Builder newBuilder()
newBuilder(VpcAccess.NetworkInterface prototype)
public static VpcAccess.NetworkInterface.Builder newBuilder(VpcAccess.NetworkInterface prototype)
public static VpcAccess.NetworkInterface parseDelimitedFrom(InputStream input)
public static VpcAccess.NetworkInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VpcAccess.NetworkInterface parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess.NetworkInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VpcAccess.NetworkInterface parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess.NetworkInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess.NetworkInterface parseFrom(CodedInputStream input)
public static VpcAccess.NetworkInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VpcAccess.NetworkInterface parseFrom(InputStream input)
public static VpcAccess.NetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VpcAccess.NetworkInterface parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpcAccess.NetworkInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VpcAccess.NetworkInterface> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VpcAccess.NetworkInterface getDefaultInstanceForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for network.
|
getParserForType()
public Parser<VpcAccess.NetworkInterface> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
public String getTags(int index)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The tags at the given index.
|
public ByteString getTagsBytes(int index)
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the tags at the given index.
|
public int getTagsCount()
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
Returns |
---|
Type | Description |
int | The count of tags.
|
public ProtocolStringList getTagsList()
Network tags applied to this Cloud Run resource.
repeated string tags = 3;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpcAccess.NetworkInterface.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpcAccess.NetworkInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VpcAccess.NetworkInterface.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides