Class NetworkProfileNetworkFeatures.Builder (1.65.0)

public static final class NetworkProfileNetworkFeatures.Builder extends GeneratedMessageV3.Builder<NetworkProfileNetworkFeatures.Builder> implements NetworkProfileNetworkFeaturesOrBuilder

Protobuf type google.cloud.compute.v1.NetworkProfileNetworkFeatures

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAddressPurposes(String value)

public NetworkProfileNetworkFeatures.Builder addAddressPurposes(String value)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameter
Name Description
value String

The addressPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addAddressPurposesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder addAddressPurposesBytes(ByteString value)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameter
Name Description
value ByteString

The bytes of the addressPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addAllAddressPurposes(Iterable<String> values)

public NetworkProfileNetworkFeatures.Builder addAllAddressPurposes(Iterable<String> values)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameter
Name Description
values Iterable<String>

The addressPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addAllInterfaceTypes(Iterable<String> values)

public NetworkProfileNetworkFeatures.Builder addAllInterfaceTypes(Iterable<String> values)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameter
Name Description
values Iterable<String>

The interfaceTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addAllSubnetPurposes(Iterable<String> values)

public NetworkProfileNetworkFeatures.Builder addAllSubnetPurposes(Iterable<String> values)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameter
Name Description
values Iterable<String>

The subnetPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addAllSubnetStackTypes(Iterable<String> values)

public NetworkProfileNetworkFeatures.Builder addAllSubnetStackTypes(Iterable<String> values)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameter
Name Description
values Iterable<String>

The subnetStackTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addInterfaceTypes(String value)

public NetworkProfileNetworkFeatures.Builder addInterfaceTypes(String value)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameter
Name Description
value String

The interfaceTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addInterfaceTypesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder addInterfaceTypesBytes(ByteString value)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameter
Name Description
value ByteString

The bytes of the interfaceTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkProfileNetworkFeatures.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

addSubnetPurposes(String value)

public NetworkProfileNetworkFeatures.Builder addSubnetPurposes(String value)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameter
Name Description
value String

The subnetPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addSubnetPurposesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder addSubnetPurposesBytes(ByteString value)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameter
Name Description
value ByteString

The bytes of the subnetPurposes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addSubnetStackTypes(String value)

public NetworkProfileNetworkFeatures.Builder addSubnetStackTypes(String value)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameter
Name Description
value String

The subnetStackTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

addSubnetStackTypesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder addSubnetStackTypesBytes(ByteString value)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameter
Name Description
value ByteString

The bytes of the subnetStackTypes to add.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

build()

public NetworkProfileNetworkFeatures build()
Returns
Type Description
NetworkProfileNetworkFeatures

buildPartial()

public NetworkProfileNetworkFeatures buildPartial()
Returns
Type Description
NetworkProfileNetworkFeatures

clear()

public NetworkProfileNetworkFeatures.Builder clear()
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

clearAddressPurposes()

public NetworkProfileNetworkFeatures.Builder clearAddressPurposes()

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowAliasIpRanges()

public NetworkProfileNetworkFeatures.Builder clearAllowAliasIpRanges()

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowAutoModeSubnet()

public NetworkProfileNetworkFeatures.Builder clearAllowAutoModeSubnet()

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowClassDFirewalls()

public NetworkProfileNetworkFeatures.Builder clearAllowClassDFirewalls()

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowCloudNat()

public NetworkProfileNetworkFeatures.Builder clearAllowCloudNat()

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowCloudRouter()

public NetworkProfileNetworkFeatures.Builder clearAllowCloudRouter()

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowExternalIpAccess()

public NetworkProfileNetworkFeatures.Builder clearAllowExternalIpAccess()

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowInterconnect()

public NetworkProfileNetworkFeatures.Builder clearAllowInterconnect()

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowLoadBalancing()

public NetworkProfileNetworkFeatures.Builder clearAllowLoadBalancing()

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowMultiNicInSameNetwork()

public NetworkProfileNetworkFeatures.Builder clearAllowMultiNicInSameNetwork()

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowPacketMirroring()

public NetworkProfileNetworkFeatures.Builder clearAllowPacketMirroring()

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowPrivateGoogleAccess()

public NetworkProfileNetworkFeatures.Builder clearAllowPrivateGoogleAccess()

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowPsc()

public NetworkProfileNetworkFeatures.Builder clearAllowPsc()

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowSameNetworkUnicast()

public NetworkProfileNetworkFeatures.Builder clearAllowSameNetworkUnicast()

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowStaticRoutes()

public NetworkProfileNetworkFeatures.Builder clearAllowStaticRoutes()

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowSubInterfaces()

public NetworkProfileNetworkFeatures.Builder clearAllowSubInterfaces()

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowVpcPeering()

public NetworkProfileNetworkFeatures.Builder clearAllowVpcPeering()

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearAllowVpn()

public NetworkProfileNetworkFeatures.Builder clearAllowVpn()

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NetworkProfileNetworkFeatures.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

clearInterfaceTypes()

public NetworkProfileNetworkFeatures.Builder clearInterfaceTypes()

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkProfileNetworkFeatures.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

clearSubnetPurposes()

public NetworkProfileNetworkFeatures.Builder clearSubnetPurposes()

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearSubnetStackTypes()

public NetworkProfileNetworkFeatures.Builder clearSubnetStackTypes()

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clearUnicast()

public NetworkProfileNetworkFeatures.Builder clearUnicast()

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

clone()

public NetworkProfileNetworkFeatures.Builder clone()
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

getAddressPurposes(int index)

public String getAddressPurposes(int index)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The addressPurposes at the given index.

getAddressPurposesBytes(int index)

public ByteString getAddressPurposesBytes(int index)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the addressPurposes at the given index.

getAddressPurposesCount()

public int getAddressPurposesCount()

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Returns
Type Description
int

The count of addressPurposes.

getAddressPurposesList()

public ProtocolStringList getAddressPurposesList()

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Returns
Type Description
ProtocolStringList

A list containing the addressPurposes.

getAllowAliasIpRanges()

public String getAllowAliasIpRanges()

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Returns
Type Description
String

The allowAliasIpRanges.

getAllowAliasIpRangesBytes()

public ByteString getAllowAliasIpRangesBytes()

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Returns
Type Description
ByteString

The bytes for allowAliasIpRanges.

getAllowAutoModeSubnet()

public String getAllowAutoModeSubnet()

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Returns
Type Description
String

The allowAutoModeSubnet.

getAllowAutoModeSubnetBytes()

public ByteString getAllowAutoModeSubnetBytes()

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Returns
Type Description
ByteString

The bytes for allowAutoModeSubnet.

getAllowClassDFirewalls()

public String getAllowClassDFirewalls()

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Returns
Type Description
String

The allowClassDFirewalls.

getAllowClassDFirewallsBytes()

public ByteString getAllowClassDFirewallsBytes()

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Returns
Type Description
ByteString

The bytes for allowClassDFirewalls.

getAllowCloudNat()

public String getAllowCloudNat()

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Returns
Type Description
String

The allowCloudNat.

getAllowCloudNatBytes()

public ByteString getAllowCloudNatBytes()

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Returns
Type Description
ByteString

The bytes for allowCloudNat.

getAllowCloudRouter()

public String getAllowCloudRouter()

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Returns
Type Description
String

The allowCloudRouter.

getAllowCloudRouterBytes()

public ByteString getAllowCloudRouterBytes()

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Returns
Type Description
ByteString

The bytes for allowCloudRouter.

getAllowExternalIpAccess()

public String getAllowExternalIpAccess()

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Returns
Type Description
String

The allowExternalIpAccess.

getAllowExternalIpAccessBytes()

public ByteString getAllowExternalIpAccessBytes()

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Returns
Type Description
ByteString

The bytes for allowExternalIpAccess.

getAllowInterconnect()

public String getAllowInterconnect()

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Returns
Type Description
String

The allowInterconnect.

getAllowInterconnectBytes()

public ByteString getAllowInterconnectBytes()

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Returns
Type Description
ByteString

The bytes for allowInterconnect.

getAllowLoadBalancing()

public String getAllowLoadBalancing()

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Returns
Type Description
String

The allowLoadBalancing.

getAllowLoadBalancingBytes()

public ByteString getAllowLoadBalancingBytes()

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Returns
Type Description
ByteString

The bytes for allowLoadBalancing.

getAllowMultiNicInSameNetwork()

public String getAllowMultiNicInSameNetwork()

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Returns
Type Description
String

The allowMultiNicInSameNetwork.

getAllowMultiNicInSameNetworkBytes()

public ByteString getAllowMultiNicInSameNetworkBytes()

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Returns
Type Description
ByteString

The bytes for allowMultiNicInSameNetwork.

getAllowPacketMirroring()

public String getAllowPacketMirroring()

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Returns
Type Description
String

The allowPacketMirroring.

getAllowPacketMirroringBytes()

public ByteString getAllowPacketMirroringBytes()

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Returns
Type Description
ByteString

The bytes for allowPacketMirroring.

getAllowPrivateGoogleAccess()

public String getAllowPrivateGoogleAccess()

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Returns
Type Description
String

The allowPrivateGoogleAccess.

getAllowPrivateGoogleAccessBytes()

public ByteString getAllowPrivateGoogleAccessBytes()

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Returns
Type Description
ByteString

The bytes for allowPrivateGoogleAccess.

getAllowPsc()

public String getAllowPsc()

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Returns
Type Description
String

The allowPsc.

getAllowPscBytes()

public ByteString getAllowPscBytes()

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Returns
Type Description
ByteString

The bytes for allowPsc.

getAllowSameNetworkUnicast()

public String getAllowSameNetworkUnicast()

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Returns
Type Description
String

The allowSameNetworkUnicast.

getAllowSameNetworkUnicastBytes()

public ByteString getAllowSameNetworkUnicastBytes()

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Returns
Type Description
ByteString

The bytes for allowSameNetworkUnicast.

getAllowStaticRoutes()

public String getAllowStaticRoutes()

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Returns
Type Description
String

The allowStaticRoutes.

getAllowStaticRoutesBytes()

public ByteString getAllowStaticRoutesBytes()

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Returns
Type Description
ByteString

The bytes for allowStaticRoutes.

getAllowSubInterfaces()

public String getAllowSubInterfaces()

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Returns
Type Description
String

The allowSubInterfaces.

getAllowSubInterfacesBytes()

public ByteString getAllowSubInterfacesBytes()

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Returns
Type Description
ByteString

The bytes for allowSubInterfaces.

getAllowVpcPeering()

public String getAllowVpcPeering()

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Returns
Type Description
String

The allowVpcPeering.

getAllowVpcPeeringBytes()

public ByteString getAllowVpcPeeringBytes()

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Returns
Type Description
ByteString

The bytes for allowVpcPeering.

getAllowVpn()

public String getAllowVpn()

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Returns
Type Description
String

The allowVpn.

getAllowVpnBytes()

public ByteString getAllowVpnBytes()

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Returns
Type Description
ByteString

The bytes for allowVpn.

getDefaultInstanceForType()

public NetworkProfileNetworkFeatures getDefaultInstanceForType()
Returns
Type Description
NetworkProfileNetworkFeatures

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInterfaceTypes(int index)

public String getInterfaceTypes(int index)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The interfaceTypes at the given index.

getInterfaceTypesBytes(int index)

public ByteString getInterfaceTypesBytes(int index)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the interfaceTypes at the given index.

getInterfaceTypesCount()

public int getInterfaceTypesCount()

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Returns
Type Description
int

The count of interfaceTypes.

getInterfaceTypesList()

public ProtocolStringList getInterfaceTypesList()

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Returns
Type Description
ProtocolStringList

A list containing the interfaceTypes.

getSubnetPurposes(int index)

public String getSubnetPurposes(int index)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The subnetPurposes at the given index.

getSubnetPurposesBytes(int index)

public ByteString getSubnetPurposesBytes(int index)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subnetPurposes at the given index.

getSubnetPurposesCount()

public int getSubnetPurposesCount()

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Returns
Type Description
int

The count of subnetPurposes.

getSubnetPurposesList()

public ProtocolStringList getSubnetPurposesList()

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Returns
Type Description
ProtocolStringList

A list containing the subnetPurposes.

getSubnetStackTypes(int index)

public String getSubnetStackTypes(int index)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The subnetStackTypes at the given index.

getSubnetStackTypesBytes(int index)

public ByteString getSubnetStackTypesBytes(int index)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subnetStackTypes at the given index.

getSubnetStackTypesCount()

public int getSubnetStackTypesCount()

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Returns
Type Description
int

The count of subnetStackTypes.

getSubnetStackTypesList()

public ProtocolStringList getSubnetStackTypesList()

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Returns
Type Description
ProtocolStringList

A list containing the subnetStackTypes.

getUnicast()

public String getUnicast()

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Returns
Type Description
String

The unicast.

getUnicastBytes()

public ByteString getUnicastBytes()

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Returns
Type Description
ByteString

The bytes for unicast.

hasAllowAliasIpRanges()

public boolean hasAllowAliasIpRanges()

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Returns
Type Description
boolean

Whether the allowAliasIpRanges field is set.

hasAllowAutoModeSubnet()

public boolean hasAllowAutoModeSubnet()

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Returns
Type Description
boolean

Whether the allowAutoModeSubnet field is set.

hasAllowClassDFirewalls()

public boolean hasAllowClassDFirewalls()

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Returns
Type Description
boolean

Whether the allowClassDFirewalls field is set.

hasAllowCloudNat()

public boolean hasAllowCloudNat()

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Returns
Type Description
boolean

Whether the allowCloudNat field is set.

hasAllowCloudRouter()

public boolean hasAllowCloudRouter()

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Returns
Type Description
boolean

Whether the allowCloudRouter field is set.

hasAllowExternalIpAccess()

public boolean hasAllowExternalIpAccess()

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Returns
Type Description
boolean

Whether the allowExternalIpAccess field is set.

hasAllowInterconnect()

public boolean hasAllowInterconnect()

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Returns
Type Description
boolean

Whether the allowInterconnect field is set.

hasAllowLoadBalancing()

public boolean hasAllowLoadBalancing()

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Returns
Type Description
boolean

Whether the allowLoadBalancing field is set.

hasAllowMultiNicInSameNetwork()

public boolean hasAllowMultiNicInSameNetwork()

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Returns
Type Description
boolean

Whether the allowMultiNicInSameNetwork field is set.

hasAllowPacketMirroring()

public boolean hasAllowPacketMirroring()

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Returns
Type Description
boolean

Whether the allowPacketMirroring field is set.

hasAllowPrivateGoogleAccess()

public boolean hasAllowPrivateGoogleAccess()

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Returns
Type Description
boolean

Whether the allowPrivateGoogleAccess field is set.

hasAllowPsc()

public boolean hasAllowPsc()

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Returns
Type Description
boolean

Whether the allowPsc field is set.

hasAllowSameNetworkUnicast()

public boolean hasAllowSameNetworkUnicast()

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Returns
Type Description
boolean

Whether the allowSameNetworkUnicast field is set.

hasAllowStaticRoutes()

public boolean hasAllowStaticRoutes()

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Returns
Type Description
boolean

Whether the allowStaticRoutes field is set.

hasAllowSubInterfaces()

public boolean hasAllowSubInterfaces()

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Returns
Type Description
boolean

Whether the allowSubInterfaces field is set.

hasAllowVpcPeering()

public boolean hasAllowVpcPeering()

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Returns
Type Description
boolean

Whether the allowVpcPeering field is set.

hasAllowVpn()

public boolean hasAllowVpn()

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Returns
Type Description
boolean

Whether the allowVpn field is set.

hasUnicast()

public boolean hasUnicast()

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Returns
Type Description
boolean

Whether the unicast field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkProfileNetworkFeatures other)

public NetworkProfileNetworkFeatures.Builder mergeFrom(NetworkProfileNetworkFeatures other)
Parameter
Name Description
other NetworkProfileNetworkFeatures
Returns
Type Description
NetworkProfileNetworkFeatures.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkProfileNetworkFeatures.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworkProfileNetworkFeatures.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkProfileNetworkFeatures.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

setAddressPurposes(int index, String value)

public NetworkProfileNetworkFeatures.Builder setAddressPurposes(int index, String value)

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

repeated string address_purposes = 433024768;

Parameters
Name Description
index int

The index to set the value at.

value String

The addressPurposes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowAliasIpRanges(String value)

public NetworkProfileNetworkFeatures.Builder setAllowAliasIpRanges(String value)

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Parameter
Name Description
value String

The allowAliasIpRanges to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowAliasIpRangesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowAliasIpRangesBytes(ByteString value)

Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

optional string allow_alias_ip_ranges = 457984201;

Parameter
Name Description
value ByteString

The bytes for allowAliasIpRanges to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowAutoModeSubnet(String value)

public NetworkProfileNetworkFeatures.Builder setAllowAutoModeSubnet(String value)

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Parameter
Name Description
value String

The allowAutoModeSubnet to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowAutoModeSubnetBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowAutoModeSubnetBytes(ByteString value)

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

optional string allow_auto_mode_subnet = 152191263;

Parameter
Name Description
value ByteString

The bytes for allowAutoModeSubnet to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowClassDFirewalls(String value)

public NetworkProfileNetworkFeatures.Builder setAllowClassDFirewalls(String value)

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Parameter
Name Description
value String

The allowClassDFirewalls to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowClassDFirewallsBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowClassDFirewallsBytes(ByteString value)

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

optional string allow_class_d_firewalls = 131608987;

Parameter
Name Description
value ByteString

The bytes for allowClassDFirewalls to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowCloudNat(String value)

public NetworkProfileNetworkFeatures.Builder setAllowCloudNat(String value)

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Parameter
Name Description
value String

The allowCloudNat to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowCloudNatBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowCloudNatBytes(ByteString value)

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

optional string allow_cloud_nat = 254831265;

Parameter
Name Description
value ByteString

The bytes for allowCloudNat to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowCloudRouter(String value)

public NetworkProfileNetworkFeatures.Builder setAllowCloudRouter(String value)

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Parameter
Name Description
value String

The allowCloudRouter to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowCloudRouterBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowCloudRouterBytes(ByteString value)

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

optional string allow_cloud_router = 451110345;

Parameter
Name Description
value ByteString

The bytes for allowCloudRouter to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowExternalIpAccess(String value)

public NetworkProfileNetworkFeatures.Builder setAllowExternalIpAccess(String value)

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Parameter
Name Description
value String

The allowExternalIpAccess to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowExternalIpAccessBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowExternalIpAccessBytes(ByteString value)

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

optional string allow_external_ip_access = 131538110;

Parameter
Name Description
value ByteString

The bytes for allowExternalIpAccess to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowInterconnect(String value)

public NetworkProfileNetworkFeatures.Builder setAllowInterconnect(String value)

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Parameter
Name Description
value String

The allowInterconnect to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowInterconnectBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowInterconnectBytes(ByteString value)

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

optional string allow_interconnect = 280512964;

Parameter
Name Description
value ByteString

The bytes for allowInterconnect to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowLoadBalancing(String value)

public NetworkProfileNetworkFeatures.Builder setAllowLoadBalancing(String value)

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Parameter
Name Description
value String

The allowLoadBalancing to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowLoadBalancingBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowLoadBalancingBytes(ByteString value)

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

optional string allow_load_balancing = 223366198;

Parameter
Name Description
value ByteString

The bytes for allowLoadBalancing to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowMultiNicInSameNetwork(String value)

public NetworkProfileNetworkFeatures.Builder setAllowMultiNicInSameNetwork(String value)

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Parameter
Name Description
value String

The allowMultiNicInSameNetwork to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowMultiNicInSameNetworkBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowMultiNicInSameNetworkBytes(ByteString value)

Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

optional string allow_multi_nic_in_same_network = 88251004;

Parameter
Name Description
value ByteString

The bytes for allowMultiNicInSameNetwork to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPacketMirroring(String value)

public NetworkProfileNetworkFeatures.Builder setAllowPacketMirroring(String value)

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Parameter
Name Description
value String

The allowPacketMirroring to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPacketMirroringBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowPacketMirroringBytes(ByteString value)

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

optional string allow_packet_mirroring = 512227074;

Parameter
Name Description
value ByteString

The bytes for allowPacketMirroring to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPrivateGoogleAccess(String value)

public NetworkProfileNetworkFeatures.Builder setAllowPrivateGoogleAccess(String value)

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Parameter
Name Description
value String

The allowPrivateGoogleAccess to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPrivateGoogleAccessBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowPrivateGoogleAccessBytes(ByteString value)

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

optional string allow_private_google_access = 374702072;

Parameter
Name Description
value ByteString

The bytes for allowPrivateGoogleAccess to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPsc(String value)

public NetworkProfileNetworkFeatures.Builder setAllowPsc(String value)

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Parameter
Name Description
value String

The allowPsc to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowPscBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowPscBytes(ByteString value)

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

optional string allow_psc = 372357322;

Parameter
Name Description
value ByteString

The bytes for allowPsc to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowSameNetworkUnicast(String value)

public NetworkProfileNetworkFeatures.Builder setAllowSameNetworkUnicast(String value)

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Parameter
Name Description
value String

The allowSameNetworkUnicast to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowSameNetworkUnicastBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowSameNetworkUnicastBytes(ByteString value)

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

optional string allow_same_network_unicast = 167531643;

Parameter
Name Description
value ByteString

The bytes for allowSameNetworkUnicast to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowStaticRoutes(String value)

public NetworkProfileNetworkFeatures.Builder setAllowStaticRoutes(String value)

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Parameter
Name Description
value String

The allowStaticRoutes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowStaticRoutesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowStaticRoutesBytes(ByteString value)

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

optional string allow_static_routes = 185257925;

Parameter
Name Description
value ByteString

The bytes for allowStaticRoutes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowSubInterfaces(String value)

public NetworkProfileNetworkFeatures.Builder setAllowSubInterfaces(String value)

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Parameter
Name Description
value String

The allowSubInterfaces to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowSubInterfacesBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowSubInterfacesBytes(ByteString value)

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

optional string allow_sub_interfaces = 247208303;

Parameter
Name Description
value ByteString

The bytes for allowSubInterfaces to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowVpcPeering(String value)

public NetworkProfileNetworkFeatures.Builder setAllowVpcPeering(String value)

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Parameter
Name Description
value String

The allowVpcPeering to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowVpcPeeringBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowVpcPeeringBytes(ByteString value)

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

optional string allow_vpc_peering = 115402228;

Parameter
Name Description
value ByteString

The bytes for allowVpcPeering to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowVpn(String value)

public NetworkProfileNetworkFeatures.Builder setAllowVpn(String value)

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Parameter
Name Description
value String

The allowVpn to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setAllowVpnBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setAllowVpnBytes(ByteString value)

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

optional string allow_vpn = 372363006;

Parameter
Name Description
value ByteString

The bytes for allowVpn to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkProfileNetworkFeatures.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

setInterfaceTypes(int index, String value)

public NetworkProfileNetworkFeatures.Builder setInterfaceTypes(int index, String value)

If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

repeated string interface_types = 157981171;

Parameters
Name Description
index int

The index to set the value at.

value String

The interfaceTypes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworkProfileNetworkFeatures.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides

setSubnetPurposes(int index, String value)

public NetworkProfileNetworkFeatures.Builder setSubnetPurposes(int index, String value)

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

repeated string subnet_purposes = 301338039;

Parameters
Name Description
index int

The index to set the value at.

value String

The subnetPurposes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setSubnetStackTypes(int index, String value)

public NetworkProfileNetworkFeatures.Builder setSubnetStackTypes(int index, String value)

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

repeated string subnet_stack_types = 521008672;

Parameters
Name Description
index int

The index to set the value at.

value String

The subnetStackTypes to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setUnicast(String value)

public NetworkProfileNetworkFeatures.Builder setUnicast(String value)

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Parameter
Name Description
value String

The unicast to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setUnicastBytes(ByteString value)

public NetworkProfileNetworkFeatures.Builder setUnicastBytes(ByteString value)

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

optional string unicast = 249841711;

Parameter
Name Description
value ByteString

The bytes for unicast to set.

Returns
Type Description
NetworkProfileNetworkFeatures.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkProfileNetworkFeatures.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkProfileNetworkFeatures.Builder
Overrides