
com.google.cloud.compute.v1.NetworkOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface NetworkOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Network)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return Whether the iPv4Range field is set.
*/
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;
*
* @return The iPv4Range.
*/
java.lang.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;
*
* @return The bytes for iPv4Range.
*/
com.google.protobuf.ByteString getIPv4RangeBytes();
/**
*
*
*
* 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;
*
* @return Whether the autoCreateSubnetworks field is set.
*/
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;
*
* @return The autoCreateSubnetworks.
*/
boolean getAutoCreateSubnetworks();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The creationTimestamp.
*/
java.lang.String getCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The bytes for creationTimestamp.
*/
com.google.protobuf.ByteString getCreationTimestampBytes();
/**
*
*
*
* An optional description of this resource. Provide this field when you create the resource.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* An optional description of this resource. Provide this field when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* An optional description of this resource. Provide this field when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* 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;
*
* @return Whether the enableUlaInternalIpv6 field is set.
*/
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;
*
* @return The enableUlaInternalIpv6.
*/
boolean getEnableUlaInternalIpv6();
/**
*
*
*
* [Output Only] URL of the firewall policy the network is associated with.
*
*
* optional string firewall_policy = 498173265;
*
* @return Whether the firewallPolicy field is set.
*/
boolean hasFirewallPolicy();
/**
*
*
*
* [Output Only] URL of the firewall policy the network is associated with.
*
*
* optional string firewall_policy = 498173265;
*
* @return The firewallPolicy.
*/
java.lang.String getFirewallPolicy();
/**
*
*
*
* [Output Only] URL of the firewall policy the network is associated with.
*
*
* optional string firewall_policy = 498173265;
*
* @return The bytes for firewallPolicy.
*/
com.google.protobuf.ByteString getFirewallPolicyBytes();
/**
*
*
*
* [Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
*
*
* optional string gateway_i_pv4 = 178678877;
*
* @return Whether the gatewayIPv4 field is set.
*/
boolean hasGatewayIPv4();
/**
*
*
*
* [Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
*
*
* optional string gateway_i_pv4 = 178678877;
*
* @return The gatewayIPv4.
*/
java.lang.String getGatewayIPv4();
/**
*
*
*
* [Output Only] The gateway address for default routing out of the network, selected by Google Cloud.
*
*
* optional string gateway_i_pv4 = 178678877;
*
* @return The bytes for gatewayIPv4.
*/
com.google.protobuf.ByteString getGatewayIPv4Bytes();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* 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;
*
* @return Whether the internalIpv6Range field is set.
*/
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;
*
* @return The internalIpv6Range.
*/
java.lang.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;
*
* @return The bytes for internalIpv6Range.
*/
com.google.protobuf.ByteString getInternalIpv6RangeBytes();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#network for networks.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#network for networks.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#network for networks.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* 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;
*
* @return Whether the mtu field is set.
*/
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;
*
* @return The mtu.
*/
int getMtu();
/**
*
*
*
* 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;
*
* @return Whether the name field is set.
*/
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;
*
* @return The name.
*/
java.lang.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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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;
*
* @return Whether the networkFirewallPolicyEnforcementOrder field is set.
*/
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;
*
* @return The networkFirewallPolicyEnforcementOrder.
*/
java.lang.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;
*
* @return The bytes for networkFirewallPolicyEnforcementOrder.
*/
com.google.protobuf.ByteString getNetworkFirewallPolicyEnforcementOrderBytes();
/**
*
*
*
* 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;
*
* @return Whether the networkProfile field is set.
*/
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;
*
* @return The networkProfile.
*/
java.lang.String 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;
*
* @return The bytes for networkProfile.
*/
com.google.protobuf.ByteString getNetworkProfileBytes();
/**
*
*
*
* [Output Only] A list of network peerings for the resource.
*
*
* repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;
*/
java.util.List getPeeringsList();
/**
*
*
*
* [Output Only] A list of network peerings for the resource.
*
*
* repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;
*/
com.google.cloud.compute.v1.NetworkPeering getPeerings(int index);
/**
*
*
*
* [Output Only] A list of network peerings for the resource.
*
*
* repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;
*/
int getPeeringsCount();
/**
*
*
*
* [Output Only] A list of network peerings for the resource.
*
*
* repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;
*/
java.util.List extends com.google.cloud.compute.v1.NetworkPeeringOrBuilder>
getPeeringsOrBuilderList();
/**
*
*
*
* [Output Only] A list of network peerings for the resource.
*
*
* repeated .google.cloud.compute.v1.NetworkPeering peerings = 69883187;
*/
com.google.cloud.compute.v1.NetworkPeeringOrBuilder getPeeringsOrBuilder(int index);
/**
*
*
*
* 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;
*
* @return Whether the routingConfig field is set.
*/
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;
*
* @return The routingConfig.
*/
com.google.cloud.compute.v1.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;
*/
com.google.cloud.compute.v1.NetworkRoutingConfigOrBuilder getRoutingConfigOrBuilder();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
/**
*
*
*
* [Output Only] Server-defined URL for this resource with the resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return Whether the selfLinkWithId field is set.
*/
boolean hasSelfLinkWithId();
/**
*
*
*
* [Output Only] Server-defined URL for this resource with the resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return The selfLinkWithId.
*/
java.lang.String getSelfLinkWithId();
/**
*
*
*
* [Output Only] Server-defined URL for this resource with the resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return The bytes for selfLinkWithId.
*/
com.google.protobuf.ByteString getSelfLinkWithIdBytes();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
*
*
* repeated string subnetworks = 415853125;
*
* @return A list containing the subnetworks.
*/
java.util.List getSubnetworksList();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
*
*
* repeated string subnetworks = 415853125;
*
* @return The count of subnetworks.
*/
int getSubnetworksCount();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
*
*
* repeated string subnetworks = 415853125;
*
* @param index The index of the element to return.
* @return The subnetworks at the given index.
*/
java.lang.String getSubnetworks(int index);
/**
*
*
*
* [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
*
*
* repeated string subnetworks = 415853125;
*
* @param index The index of the value to return.
* @return The bytes of the subnetworks at the given index.
*/
com.google.protobuf.ByteString getSubnetworksBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy