Package com.google.cloud.compute.v1
Class Network
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.Network
-
- All Implemented Interfaces:
NetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Network extends com.google.protobuf.GeneratedMessageV3 implements NetworkOrBuilder
Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network.
Protobuf typegoogle.cloud.compute.v1.Network- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetwork.BuilderRepresents a VPC Network resource.static classNetwork.NetworkFirewallPolicyEnforcementOrderThe network firewall policy enforcement order.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_CREATE_SUBNETWORKS_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENABLE_ULA_INTERNAL_IPV6_FIELD_NUMBERstatic intFIREWALL_POLICY_FIELD_NUMBERstatic intGATEWAY_I_PV4_FIELD_NUMBERstatic intI_PV4_RANGE_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINTERNAL_IPV6_RANGE_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intMTU_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_FIELD_NUMBERstatic intPEERINGS_FIELD_NUMBERstatic intROUTING_CONFIG_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSELF_LINK_WITH_ID_FIELD_NUMBERstatic intSUBNETWORKS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAutoCreateSubnetworks()Must be set to create a VPC network.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static NetworkgetDefaultInstance()NetworkgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableUlaInternalIpv6()Enable ULA internal ipv6 on this network.StringgetFirewallPolicy()[Output Only] URL of the firewall policy the network is associated with.com.google.protobuf.ByteStringgetFirewallPolicyBytes()[Output Only] URL of the firewall policy the network is associated with.StringgetGatewayIPv4()[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.com.google.protobuf.ByteStringgetGatewayIPv4Bytes()[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.longgetId()[Output Only] The unique identifier for the resource.StringgetInternalIpv6Range()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.ByteStringgetInternalIpv6RangeBytes()When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.StringgetIPv4Range()Deprecated in favor of subnet mode networks.com.google.protobuf.ByteStringgetIPv4RangeBytes()Deprecated in favor of subnet mode networks.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.intgetMtu()Maximum Transmission Unit in bytes.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.StringgetNetworkFirewallPolicyEnforcementOrder()The network firewall policy enforcement order.com.google.protobuf.ByteStringgetNetworkFirewallPolicyEnforcementOrderBytes()The network firewall policy enforcement order.com.google.protobuf.Parser<Network>getParserForType()NetworkPeeringgetPeerings(int index)[Output Only] A list of network peerings for the resource.intgetPeeringsCount()[Output Only] A list of network peerings for the resource.List<NetworkPeering>getPeeringsList()[Output Only] A list of network peerings for the resource.NetworkPeeringOrBuildergetPeeringsOrBuilder(int index)[Output Only] A list of network peerings for the resource.List<? extends NetworkPeeringOrBuilder>getPeeringsOrBuilderList()[Output Only] A list of network peerings for the resource.NetworkRoutingConfiggetRoutingConfig()The network-level routing configuration for this network.NetworkRoutingConfigOrBuildergetRoutingConfigOrBuilder()The network-level routing configuration for this network.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetSelfLinkWithId()[Output Only] Server-defined URL for this resource with the resource id.com.google.protobuf.ByteStringgetSelfLinkWithIdBytes()[Output Only] Server-defined URL for this resource with the resource id.intgetSerializedSize()StringgetSubnetworks(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.intgetSubnetworksCount()[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.com.google.protobuf.ProtocolStringListgetSubnetworksList()[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.booleanhasAutoCreateSubnetworks()Must be set to create a VPC network.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasEnableUlaInternalIpv6()Enable ULA internal ipv6 on this network.booleanhasFirewallPolicy()[Output Only] URL of the firewall policy the network is associated with.booleanhasGatewayIPv4()[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasInternalIpv6Range()When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.booleanhasIPv4Range()Deprecated in favor of subnet mode networks.booleanhasKind()[Output Only] Type of the resource.booleanhasMtu()Maximum Transmission Unit in bytes.booleanhasName()Name of the resource.booleanhasNetworkFirewallPolicyEnforcementOrder()The network firewall policy enforcement order.booleanhasRoutingConfig()The network-level routing configuration for this network.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasSelfLinkWithId()[Output Only] Server-defined URL for this resource with the resource id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Network.BuildernewBuilder()static Network.BuildernewBuilder(Network prototype)Network.BuildernewBuilderForType()protected Network.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkparseDelimitedFrom(InputStream input)static NetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(byte[] data)static NetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(com.google.protobuf.ByteString data)static NetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(com.google.protobuf.CodedInputStream input)static NetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(InputStream input)static NetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkparseFrom(ByteBuffer data)static NetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Network>parser()Network.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
I_PV4_RANGE_FIELD_NUMBER
public static final int I_PV4_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_CREATE_SUBNETWORKS_FIELD_NUMBER
public static final int AUTO_CREATE_SUBNETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_ULA_INTERNAL_IPV6_FIELD_NUMBER
public static final int ENABLE_ULA_INTERNAL_IPV6_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIREWALL_POLICY_FIELD_NUMBER
public static final int FIREWALL_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GATEWAY_I_PV4_FIELD_NUMBER
public static final int GATEWAY_I_PV4_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNAL_IPV6_RANGE_FIELD_NUMBER
public static final int INTERNAL_IPV6_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MTU_FIELD_NUMBER
public static final int MTU_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_FIELD_NUMBER
public static final int NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEERINGS_FIELD_NUMBER
public static final int PEERINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTING_CONFIG_FIELD_NUMBER
public static final int ROUTING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORKS_FIELD_NUMBER
public static final int SUBNETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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 a CIDR 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
public String getIPv4Range()
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR 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 a CIDR 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.
-
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 in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert 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 in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method.
optional bool auto_create_subnetworks = 256156690;- Specified by:
getAutoCreateSubnetworksin interfaceNetworkOrBuilder- Returns:
- The autoCreateSubnetworks.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for creationTimestamp.
-
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
public String 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.
-
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.
-
hasFirewallPolicy
public boolean hasFirewallPolicy()
[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
public String getFirewallPolicy()
[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] URL of the firewall policy the network is associated with.
optional string firewall_policy = 498173265;- Specified by:
getFirewallPolicyBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for firewallPolicy.
-
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
public String 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.
-
hasId
public boolean hasId()
[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] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkOrBuilder- Returns:
- The id.
-
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
public String 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.
-
hasKind
public boolean hasKind()
[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
public String getKind()
[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] Type of the resource. Always compute#network for networks.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkOrBuilder- Returns:
- The bytes for kind.
-
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.
-
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 with RFC1035. 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
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. 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 with RFC1035. 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.
-
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
public String 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.
-
getPeeringsList
public List<NetworkPeering> getPeeringsList()
[Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsListin interfaceNetworkOrBuilder
-
getPeeringsOrBuilderList
public List<? extends NetworkPeeringOrBuilder> getPeeringsOrBuilderList()
[Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsOrBuilderListin interfaceNetworkOrBuilder
-
getPeeringsCount
public int getPeeringsCount()
[Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsCountin interfaceNetworkOrBuilder
-
getPeerings
public NetworkPeering getPeerings(int index)
[Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsin interfaceNetworkOrBuilder
-
getPeeringsOrBuilder
public NetworkPeeringOrBuilder getPeeringsOrBuilder(int index)
[Output Only] A list of network peerings for the resource.
repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;- Specified by:
getPeeringsOrBuilderin interfaceNetworkOrBuilder
-
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
public NetworkRoutingConfig 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.
-
getRoutingConfigOrBuilder
public NetworkRoutingConfigOrBuilder 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
public String 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.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()
[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
public String getSelfLinkWithId()
[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] 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.
-
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
public String getSubnetworks(int index)
[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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Network parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Network parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Network parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Network parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Network parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Network.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Network.Builder newBuilder()
-
newBuilder
public static Network.Builder newBuilder(Network prototype)
-
toBuilder
public Network.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Network.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Network getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Network> parser()
-
getParserForType
public com.google.protobuf.Parser<Network> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Network getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-