public static final class VpcAccess.NetworkInterface.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder> implements VpcAccess.NetworkInterfaceOrBuilder
Direct VPC egress settings.Protobuf type
google.cloud.run.v2.VpcAccess.NetworkInterfacegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpcAccess.NetworkInterface build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpcAccess.NetworkInterface buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpcAccess.NetworkInterface.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder mergeFrom(VpcAccess.NetworkInterface other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public VpcAccess.NetworkInterface.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpcAccess.NetworkInterface.Builder>IOExceptionpublic String getNetwork()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];getNetwork in interface VpcAccess.NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];getNetworkBytes in interface VpcAccess.NetworkInterfaceOrBuilderpublic VpcAccess.NetworkInterface.Builder setNetwork(String value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];value - The network to set.public VpcAccess.NetworkInterface.Builder clearNetwork()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];public VpcAccess.NetworkInterface.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for network to set.public String getSubnetwork()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];getSubnetwork in interface VpcAccess.NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];getSubnetworkBytes in interface VpcAccess.NetworkInterfaceOrBuilderpublic VpcAccess.NetworkInterface.Builder setSubnetwork(String value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];value - The subnetwork to set.public VpcAccess.NetworkInterface.Builder clearSubnetwork()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];public VpcAccess.NetworkInterface.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for subnetwork to set.public com.google.protobuf.ProtocolStringList getTagsList()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];getTagsList in interface VpcAccess.NetworkInterfaceOrBuilderpublic int getTagsCount()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];getTagsCount in interface VpcAccess.NetworkInterfaceOrBuilderpublic String getTags(int index)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];getTags in interface VpcAccess.NetworkInterfaceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];getTagsBytes in interface VpcAccess.NetworkInterfaceOrBuilderindex - The index of the value to return.public VpcAccess.NetworkInterface.Builder setTags(int index, String value)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The tags to set.public VpcAccess.NetworkInterface.Builder addTags(String value)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];value - The tags to add.public VpcAccess.NetworkInterface.Builder addAllTags(Iterable<String> values)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];values - The tags to add.public VpcAccess.NetworkInterface.Builder clearTags()
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];public VpcAccess.NetworkInterface.Builder addTagsBytes(com.google.protobuf.ByteString value)
Optional. Network tags applied to this Cloud Run resource.
repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the tags to add.public final VpcAccess.NetworkInterface.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>public final VpcAccess.NetworkInterface.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpcAccess.NetworkInterface.Builder>Copyright © 2025 Google LLC. All rights reserved.