com.google.cloud.compute.v1.UsableSubnetworkOrBuilder 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
The newest version!
/*
* 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 UsableSubnetworkOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UsableSubnetwork)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* [Output Only] The external IPv6 address range that is assigned to this subnetwork.
*
*
* optional string external_ipv6_prefix = 139299190;
*
* @return Whether the externalIpv6Prefix field is set.
*/
boolean hasExternalIpv6Prefix();
/**
*
*
*
* [Output Only] The external IPv6 address range that is assigned to this subnetwork.
*
*
* optional string external_ipv6_prefix = 139299190;
*
* @return The externalIpv6Prefix.
*/
java.lang.String getExternalIpv6Prefix();
/**
*
*
*
* [Output Only] The external IPv6 address range that is assigned to this subnetwork.
*
*
* optional string external_ipv6_prefix = 139299190;
*
* @return The bytes for externalIpv6Prefix.
*/
com.google.protobuf.ByteString getExternalIpv6PrefixBytes();
/**
*
*
*
* [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
*
*
* optional string internal_ipv6_prefix = 506270056;
*
* @return Whether the internalIpv6Prefix field is set.
*/
boolean hasInternalIpv6Prefix();
/**
*
*
*
* [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
*
*
* optional string internal_ipv6_prefix = 506270056;
*
* @return The internalIpv6Prefix.
*/
java.lang.String getInternalIpv6Prefix();
/**
*
*
*
* [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
*
*
* optional string internal_ipv6_prefix = 506270056;
*
* @return The bytes for internalIpv6Prefix.
*/
com.google.protobuf.ByteString getInternalIpv6PrefixBytes();
/**
*
*
*
* The range of internal addresses that are owned by this subnetwork.
*
*
* optional string ip_cidr_range = 98117322;
*
* @return Whether the ipCidrRange field is set.
*/
boolean hasIpCidrRange();
/**
*
*
*
* The range of internal addresses that are owned by this subnetwork.
*
*
* optional string ip_cidr_range = 98117322;
*
* @return The ipCidrRange.
*/
java.lang.String getIpCidrRange();
/**
*
*
*
* The range of internal addresses that are owned by this subnetwork.
*
*
* optional string ip_cidr_range = 98117322;
*
* @return The bytes for ipCidrRange.
*/
com.google.protobuf.ByteString getIpCidrRangeBytes();
/**
*
*
*
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
* Check the Ipv6AccessType enum for the list of possible values.
*
*
* optional string ipv6_access_type = 504658653;
*
* @return Whether the ipv6AccessType field is set.
*/
boolean hasIpv6AccessType();
/**
*
*
*
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
* Check the Ipv6AccessType enum for the list of possible values.
*
*
* optional string ipv6_access_type = 504658653;
*
* @return The ipv6AccessType.
*/
java.lang.String getIpv6AccessType();
/**
*
*
*
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
* Check the Ipv6AccessType enum for the list of possible values.
*
*
* optional string ipv6_access_type = 504658653;
*
* @return The bytes for ipv6AccessType.
*/
com.google.protobuf.ByteString getIpv6AccessTypeBytes();
/**
*
*
*
* Network URL.
*
*
* optional string network = 232872494;
*
* @return Whether the network field is set.
*/
boolean hasNetwork();
/**
*
*
*
* Network URL.
*
*
* optional string network = 232872494;
*
* @return The network.
*/
java.lang.String getNetwork();
/**
*
*
*
* Network URL.
*
*
* optional string network = 232872494;
*
* @return The bytes for network.
*/
com.google.protobuf.ByteString getNetworkBytes();
/**
*
*
*
* The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
* Check the Purpose enum for the list of possible values.
*
*
* optional string purpose = 316407070;
*
* @return Whether the purpose field is set.
*/
boolean hasPurpose();
/**
*
*
*
* The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
* Check the Purpose enum for the list of possible values.
*
*
* optional string purpose = 316407070;
*
* @return The purpose.
*/
java.lang.String getPurpose();
/**
*
*
*
* The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
* Check the Purpose enum for the list of possible values.
*
*
* optional string purpose = 316407070;
*
* @return The bytes for purpose.
*/
com.google.protobuf.ByteString getPurposeBytes();
/**
*
*
*
* The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
* Check the Role enum for the list of possible values.
*
*
* optional string role = 3506294;
*
* @return Whether the role field is set.
*/
boolean hasRole();
/**
*
*
*
* The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
* Check the Role enum for the list of possible values.
*
*
* optional string role = 3506294;
*
* @return The role.
*/
java.lang.String getRole();
/**
*
*
*
* The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
* Check the Role enum for the list of possible values.
*
*
* optional string role = 3506294;
*
* @return The bytes for role.
*/
com.google.protobuf.ByteString getRoleBytes();
/**
*
*
*
* Secondary IP ranges.
*
*
*
* repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
*
*/
java.util.List
getSecondaryIpRangesList();
/**
*
*
*
* Secondary IP ranges.
*
*
*
* repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
*
*/
com.google.cloud.compute.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index);
/**
*
*
*
* Secondary IP ranges.
*
*
*
* repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
*
*/
int getSecondaryIpRangesCount();
/**
*
*
*
* Secondary IP ranges.
*
*
*
* repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
*
*/
java.util.List extends com.google.cloud.compute.v1.UsableSubnetworkSecondaryRangeOrBuilder>
getSecondaryIpRangesOrBuilderList();
/**
*
*
*
* Secondary IP ranges.
*
*
*
* repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
*
*/
com.google.cloud.compute.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(
int index);
/**
*
*
*
* The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
* Check the StackType enum for the list of possible values.
*
*
* optional string stack_type = 425908881;
*
* @return Whether the stackType field is set.
*/
boolean hasStackType();
/**
*
*
*
* The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
* Check the StackType enum for the list of possible values.
*
*
* optional string stack_type = 425908881;
*
* @return The stackType.
*/
java.lang.String getStackType();
/**
*
*
*
* The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
* Check the StackType enum for the list of possible values.
*
*
* optional string stack_type = 425908881;
*
* @return The bytes for stackType.
*/
com.google.protobuf.ByteString getStackTypeBytes();
/**
*
*
*
* Subnetwork URL.
*
*
* optional string subnetwork = 307827694;
*
* @return Whether the subnetwork field is set.
*/
boolean hasSubnetwork();
/**
*
*
*
* Subnetwork URL.
*
*
* optional string subnetwork = 307827694;
*
* @return The subnetwork.
*/
java.lang.String getSubnetwork();
/**
*
*
*
* Subnetwork URL.
*
*
* optional string subnetwork = 307827694;
*
* @return The bytes for subnetwork.
*/
com.google.protobuf.ByteString getSubnetworkBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy