Interface ExistingNetworkConfigOrBuilder (0.1.0)

publicinterface ExistingNetworkConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

publicabstractStringgetNetwork()

Required. Immutable. Name of the network to import, in the format projects/{project}/global/networks/{network}.

string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

publicabstractByteStringgetNetworkBytes()

Required. Immutable. Name of the network to import, in the format projects/{project}/global/networks/{network}.

string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getSubnetwork()

publicabstractStringgetSubnetwork()

Required. Immutable. Particular subnetwork to use, in the format projects/{project}/regions/{region}/subnetworks/{subnetwork}.

string subnetwork = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

publicabstractByteStringgetSubnetworkBytes()

Required. Immutable. Particular subnetwork to use, in the format projects/{project}/regions/{region}/subnetworks/{subnetwork}.

string subnetwork = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for subnetwork.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月17日 UTC.