Package com.google.cloud.compute.v1
Class Network.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Network.Builder>
com.google.cloud.compute.v1.Network.Builder
- All Implemented Interfaces:
NetworkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Network
public static final class Network.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Network.Builder>
implements NetworkOrBuilder
Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, readVirtual Private Cloud (VPC) Network.Protobuf type
google.cloud.compute.v1.Network-
Method Summary
Modifier and TypeMethodDescriptionaddAllPeerings(Iterable<? extends NetworkPeering> values) Output only.addAllSubnetworks(Iterable<String> values) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.addPeerings(int index, NetworkPeering value) Output only.addPeerings(int index, NetworkPeering.Builder builderForValue) Output only.addPeerings(NetworkPeering value) Output only.addPeerings(NetworkPeering.Builder builderForValue) Output only.Output only.addPeeringsBuilder(int index) Output only.addSubnetworks(String value) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.addSubnetworksBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.build()clear()Must be set to create a VPC network.Output only.An optional description of this resource.Enable ULA internal ipv6 on this network.Output only.[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.clearId()Output only.When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.Deprecated in favor of subnet mode networks.Output only.clearMtu()Maximum Transmission Unit in bytes.Name of the resource.The network firewall policy enforcement order.A full or partial URL of the network profile to apply to this network.Input only.Output only.The network-level routing configuration for this network.[Output Only] Server-defined URL for the resource.Output only.[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.booleanMust be set to create a VPC network.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanEnable ULA internal ipv6 on this network.Output only.com.google.protobuf.ByteStringOutput only.[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.com.google.protobuf.ByteString[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.longgetId()Output only.When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.com.google.protobuf.ByteStringWhen enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.Deprecated in favor of subnet mode networks.com.google.protobuf.ByteStringDeprecated in favor of subnet mode networks.getKind()Output only.com.google.protobuf.ByteStringOutput only.intgetMtu()Maximum Transmission Unit in bytes.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.The network firewall policy enforcement order.com.google.protobuf.ByteStringThe network firewall policy enforcement order.A full or partial URL of the network profile to apply to this network.com.google.protobuf.ByteStringA full or partial URL of the network profile to apply to this network.Input only.Input only.Input only.getPeerings(int index) Output only.getPeeringsBuilder(int index) Output only.Output only.intOutput only.Output only.getPeeringsOrBuilder(int index) Output only.List<? extends NetworkPeeringOrBuilder>Output only.The network-level routing configuration for this network.The network-level routing configuration for this network.The network-level routing configuration for this network.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.Output only.com.google.protobuf.ByteStringOutput only.getSubnetworks(int index) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.com.google.protobuf.ByteStringgetSubnetworksBytes(int index) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.int[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.com.google.protobuf.ProtocolStringList[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.booleanMust be set to create a VPC network.booleanOutput only.booleanAn optional description of this resource.booleanEnable ULA internal ipv6 on this network.booleanOutput only.boolean[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.booleanhasId()Output only.booleanWhen enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.booleanDeprecated in favor of subnet mode networks.booleanhasKind()Output only.booleanhasMtu()Maximum Transmission Unit in bytes.booleanhasName()Name of the resource.booleanThe network firewall policy enforcement order.booleanA full or partial URL of the network profile to apply to this network.booleanInput only.booleanThe network-level routing configuration for this network.boolean[Output Only] Server-defined URL for the resource.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParams(NetworkParams value) Input only.The network-level routing configuration for this network.removePeerings(int index) Output only.setAutoCreateSubnetworks(boolean value) Must be set to create a VPC network.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setEnableUlaInternalIpv6(boolean value) Enable ULA internal ipv6 on this network.setFirewallPolicy(String value) Output only.setFirewallPolicyBytes(com.google.protobuf.ByteString value) Output only.setGatewayIPv4(String value) [Output Only] The gateway address for default routing out of the network, selected by Google Cloud.setGatewayIPv4Bytes(com.google.protobuf.ByteString value) [Output Only] The gateway address for default routing out of the network, selected by Google Cloud.setId(long value) Output only.setInternalIpv6Range(String value) When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.setInternalIpv6RangeBytes(com.google.protobuf.ByteString value) When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.setIPv4Range(String value) Deprecated in favor of subnet mode networks.setIPv4RangeBytes(com.google.protobuf.ByteString value) Deprecated in favor of subnet mode networks.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setMtu(int value) Maximum Transmission Unit in bytes.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.The network firewall policy enforcement order.setNetworkFirewallPolicyEnforcementOrderBytes(com.google.protobuf.ByteString value) The network firewall policy enforcement order.setNetworkProfile(String value) A full or partial URL of the network profile to apply to this network.setNetworkProfileBytes(com.google.protobuf.ByteString value) A full or partial URL of the network profile to apply to this network.setParams(NetworkParams value) Input only.setParams(NetworkParams.Builder builderForValue) Input only.setPeerings(int index, NetworkPeering value) Output only.setPeerings(int index, NetworkPeering.Builder builderForValue) Output only.The network-level routing configuration for this network.setRoutingConfig(NetworkRoutingConfig.Builder builderForValue) The network-level routing configuration for this network.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.setSelfLinkWithId(String value) Output only.setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) Output only.setSubnetworks(int index, String value) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Network.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Network.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Network.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Network.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Network.Builder>
-
mergeFrom
public Network.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Network.Builder>- Throws:
IOException
-
hasIPv4Range
public boolean hasIPv4Range()Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Specified by:
hasIPv4Rangein interfaceNetworkOrBuilder- Returns:
- Whether the iPv4Range field is set.
-
getIPv4Range
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Specified by:
getIPv4Rangein interfaceNetworkOrBuilder- Returns:
- The iPv4Range.
-
getIPv4RangeBytes
public com.google.protobuf.ByteString getIPv4RangeBytes()Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Specified by:
getIPv4RangeBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for iPv4Range.
-
setIPv4Range
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Parameters:
value- The iPv4Range to set.- Returns:
- This builder for chaining.
-
clearIPv4Range
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Returns:
- This builder for chaining.
-
setIPv4RangeBytes
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is created.
optional string I_pv4_range = 59234358;- Parameters:
value- The bytes for iPv4Range to set.- Returns:
- This builder for chaining.
-
hasAutoCreateSubnetworks
public boolean hasAutoCreateSubnetworks()Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described inAuto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworksinsert method.
optional bool auto_create_subnetworks = 256156690;- Specified by:
hasAutoCreateSubnetworksin interfaceNetworkOrBuilder- Returns:
- Whether the autoCreateSubnetworks field is set.
-
getAutoCreateSubnetworks
public boolean getAutoCreateSubnetworks()Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described inAuto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworksinsert method.
optional bool auto_create_subnetworks = 256156690;- Specified by:
getAutoCreateSubnetworksin interfaceNetworkOrBuilder- Returns:
- The autoCreateSubnetworks.
-
setAutoCreateSubnetworks
Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described inAuto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworksinsert method.
optional bool auto_create_subnetworks = 256156690;- Parameters:
value- The autoCreateSubnetworks to set.- Returns:
- This builder for chaining.
-
clearAutoCreateSubnetworks
Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described inAuto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworksinsert method.
optional bool auto_create_subnetworks = 256156690;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNetworkOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNetworkOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEnableUlaInternalIpv6
public boolean hasEnableUlaInternalIpv6()Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
optional bool enable_ula_internal_ipv6 = 423757720;- Specified by:
hasEnableUlaInternalIpv6in interfaceNetworkOrBuilder- Returns:
- Whether the enableUlaInternalIpv6 field is set.
-
getEnableUlaInternalIpv6
public boolean getEnableUlaInternalIpv6()Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
optional bool enable_ula_internal_ipv6 = 423757720;- Specified by:
getEnableUlaInternalIpv6in interfaceNetworkOrBuilder- Returns:
- The enableUlaInternalIpv6.
-
setEnableUlaInternalIpv6
Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
optional bool enable_ula_internal_ipv6 = 423757720;- Parameters:
value- The enableUlaInternalIpv6 to set.- Returns:
- This builder for chaining.
-
clearEnableUlaInternalIpv6
Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
optional bool enable_ula_internal_ipv6 = 423757720;- Returns:
- This builder for chaining.
-
hasFirewallPolicy
public boolean hasFirewallPolicy()Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Specified by:
hasFirewallPolicyin interfaceNetworkOrBuilder- Returns:
- Whether the firewallPolicy field is set.
-
getFirewallPolicy
Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Specified by:
getFirewallPolicyin interfaceNetworkOrBuilder- Returns:
- The firewallPolicy.
-
getFirewallPolicyBytes
public com.google.protobuf.ByteString getFirewallPolicyBytes()Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Specified by:
getFirewallPolicyBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for firewallPolicy.
-
setFirewallPolicy
Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Parameters:
value- The firewallPolicy to set.- Returns:
- This builder for chaining.
-
clearFirewallPolicy
Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Returns:
- This builder for chaining.
-
setFirewallPolicyBytes
Output only. [Output Only] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Parameters:
value- The bytes for firewallPolicy to set.- Returns:
- This builder for chaining.
-
hasGatewayIPv4
public boolean hasGatewayIPv4()[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Specified by:
hasGatewayIPv4in interfaceNetworkOrBuilder- Returns:
- Whether the gatewayIPv4 field is set.
-
getGatewayIPv4
[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Specified by:
getGatewayIPv4in interfaceNetworkOrBuilder- Returns:
- The gatewayIPv4.
-
getGatewayIPv4Bytes
public com.google.protobuf.ByteString getGatewayIPv4Bytes()[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Specified by:
getGatewayIPv4Bytesin interfaceNetworkOrBuilder- Returns:
- The bytes for gatewayIPv4.
-
setGatewayIPv4
[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Parameters:
value- The gatewayIPv4 to set.- Returns:
- This builder for chaining.
-
clearGatewayIPv4
[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Returns:
- This builder for chaining.
-
setGatewayIPv4Bytes
[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
optional string gateway_i_pv4 = 178678877;- Parameters:
value- The bytes for gatewayIPv4 to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNetworkOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInternalIpv6Range
public boolean hasInternalIpv6Range()When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Specified by:
hasInternalIpv6Rangein interfaceNetworkOrBuilder- Returns:
- Whether the internalIpv6Range field is set.
-
getInternalIpv6Range
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Specified by:
getInternalIpv6Rangein interfaceNetworkOrBuilder- Returns:
- The internalIpv6Range.
-
getInternalIpv6RangeBytes
public com.google.protobuf.ByteString getInternalIpv6RangeBytes()When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Specified by:
getInternalIpv6RangeBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for internalIpv6Range.
-
setInternalIpv6Range
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Parameters:
value- The internalIpv6Range to set.- Returns:
- This builder for chaining.
-
clearInternalIpv6Range
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Returns:
- This builder for chaining.
-
setInternalIpv6RangeBytes
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
optional string internal_ipv6_range = 277456807;- Parameters:
value- The bytes for internalIpv6Range to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNetworkOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Specified by:
getKindin interfaceNetworkOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasMtu
public boolean hasMtu()Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.
optional int32 mtu = 108462;- Specified by:
hasMtuin interfaceNetworkOrBuilder- Returns:
- Whether the mtu field is set.
-
getMtu
public int getMtu()Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.
optional int32 mtu = 108462;- Specified by:
getMtuin interfaceNetworkOrBuilder- Returns:
- The mtu.
-
setMtu
Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.
optional int32 mtu = 108462;- Parameters:
value- The mtu to set.- Returns:
- This builder for chaining.
-
clearMtu
Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.
optional int32 mtu = 108462;- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Specified by:
hasNamein interfaceNetworkOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Specified by:
getNamein interfaceNetworkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetworkFirewallPolicyEnforcementOrder
public boolean hasNetworkFirewallPolicyEnforcementOrder()The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Specified by:
hasNetworkFirewallPolicyEnforcementOrderin interfaceNetworkOrBuilder- Returns:
- Whether the networkFirewallPolicyEnforcementOrder field is set.
-
getNetworkFirewallPolicyEnforcementOrder
The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Specified by:
getNetworkFirewallPolicyEnforcementOrderin interfaceNetworkOrBuilder- Returns:
- The networkFirewallPolicyEnforcementOrder.
-
getNetworkFirewallPolicyEnforcementOrderBytes
public com.google.protobuf.ByteString getNetworkFirewallPolicyEnforcementOrderBytes()The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Specified by:
getNetworkFirewallPolicyEnforcementOrderBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for networkFirewallPolicyEnforcementOrder.
-
setNetworkFirewallPolicyEnforcementOrder
The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Parameters:
value- The networkFirewallPolicyEnforcementOrder to set.- Returns:
- This builder for chaining.
-
clearNetworkFirewallPolicyEnforcementOrder
The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Returns:
- This builder for chaining.
-
setNetworkFirewallPolicyEnforcementOrderBytes
public Network.Builder setNetworkFirewallPolicyEnforcementOrderBytes(com.google.protobuf.ByteString value) The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
optional string network_firewall_policy_enforcement_order = 6504784;- Parameters:
value- The bytes for networkFirewallPolicyEnforcementOrder to set.- Returns:
- This builder for chaining.
-
hasNetworkProfile
public boolean hasNetworkProfile()A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Specified by:
hasNetworkProfilein interfaceNetworkOrBuilder- Returns:
- Whether the networkProfile field is set.
-
getNetworkProfile
A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Specified by:
getNetworkProfilein interfaceNetworkOrBuilder- Returns:
- The networkProfile.
-
getNetworkProfileBytes
public com.google.protobuf.ByteString getNetworkProfileBytes()A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Specified by:
getNetworkProfileBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for networkProfile.
-
setNetworkProfile
A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Parameters:
value- The networkProfile to set.- Returns:
- This builder for chaining.
-
clearNetworkProfile
A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Returns:
- This builder for chaining.
-
setNetworkProfileBytes
A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name}optional string network_profile = 173112472;- Parameters:
value- The bytes for networkProfile to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862;- Specified by:
hasParamsin interfaceNetworkOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862;- Specified by:
getParamsin interfaceNetworkOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.NetworkParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceNetworkOrBuilder
-
getPeeringsList
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsListin interfaceNetworkOrBuilder
-
getPeeringsCount
public int getPeeringsCount()Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsCountin interfaceNetworkOrBuilder
-
getPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsin interfaceNetworkOrBuilder
-
setPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
setPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addAllPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
clearPeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
removePeerings
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
getPeeringsBuilder
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
getPeeringsOrBuilder
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsOrBuilderin interfaceNetworkOrBuilder
-
getPeeringsOrBuilderList
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsOrBuilderListin interfaceNetworkOrBuilder
-
addPeeringsBuilder
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
addPeeringsBuilder
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
getPeeringsBuilderList
Output only. [Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187; -
hasRoutingConfig
public boolean hasRoutingConfig()The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059;- Specified by:
hasRoutingConfigin interfaceNetworkOrBuilder- Returns:
- Whether the routingConfig field is set.
-
getRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059;- Specified by:
getRoutingConfigin interfaceNetworkOrBuilder- Returns:
- The routingConfig.
-
setRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059; -
setRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059; -
mergeRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059; -
clearRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059; -
getRoutingConfigBuilder
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059; -
getRoutingConfigOrBuilder
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
optional .google.cloud.compute.v1.NetworkRoutingConfig routing_config = 523556059;- Specified by:
getRoutingConfigOrBuilderin interfaceNetworkOrBuilder
-
hasSelfLink
public boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNetworkOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNetworkOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
hasSelfLinkWithIdin interfaceNetworkOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceNetworkOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The selfLinkWithId to set.- Returns:
- This builder for chaining.
-
clearSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- This builder for chaining.
-
setSelfLinkWithIdBytes
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The bytes for selfLinkWithId to set.- Returns:
- This builder for chaining.
-
getSubnetworksList
public com.google.protobuf.ProtocolStringList getSubnetworksList()[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Specified by:
getSubnetworksListin interfaceNetworkOrBuilder- Returns:
- A list containing the subnetworks.
-
getSubnetworksCount
public int getSubnetworksCount()[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Specified by:
getSubnetworksCountin interfaceNetworkOrBuilder- Returns:
- The count of subnetworks.
-
getSubnetworks
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Specified by:
getSubnetworksin interfaceNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subnetworks at the given index.
-
getSubnetworksBytes
public com.google.protobuf.ByteString getSubnetworksBytes(int index) [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Specified by:
getSubnetworksBytesin interfaceNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subnetworks at the given index.
-
setSubnetworks
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Parameters:
index- The index to set the value at.value- The subnetworks to set.- Returns:
- This builder for chaining.
-
addSubnetworks
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Parameters:
value- The subnetworks to add.- Returns:
- This builder for chaining.
-
addAllSubnetworks
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Parameters:
values- The subnetworks to add.- Returns:
- This builder for chaining.
-
clearSubnetworks
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Returns:
- This builder for chaining.
-
addSubnetworksBytes
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
repeated string subnetworks = 415853125;- Parameters:
value- The bytes of the subnetworks to add.- Returns:
- This builder for chaining.
-