1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface SubnetworkSecondaryRangeOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SubnetworkSecondaryRange) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. 31 * </pre> 32 * 33 * <code>optional string ip_cidr_range = 98117322;</code> 34 * 35 * @return Whether the ipCidrRange field is set. 36 */ hasIpCidrRange()37 boolean hasIpCidrRange(); 38 /** 39 * 40 * 41 * <pre> 42 * The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. 43 * </pre> 44 * 45 * <code>optional string ip_cidr_range = 98117322;</code> 46 * 47 * @return The ipCidrRange. 48 */ getIpCidrRange()49 java.lang.String getIpCidrRange(); 50 /** 51 * 52 * 53 * <pre> 54 * The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. 55 * </pre> 56 * 57 * <code>optional string ip_cidr_range = 98117322;</code> 58 * 59 * @return The bytes for ipCidrRange. 60 */ getIpCidrRangeBytes()61 com.google.protobuf.ByteString getIpCidrRangeBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. 68 * </pre> 69 * 70 * <code>optional string range_name = 332216397;</code> 71 * 72 * @return Whether the rangeName field is set. 73 */ hasRangeName()74 boolean hasRangeName(); 75 /** 76 * 77 * 78 * <pre> 79 * The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. 80 * </pre> 81 * 82 * <code>optional string range_name = 332216397;</code> 83 * 84 * @return The rangeName. 85 */ getRangeName()86 java.lang.String getRangeName(); 87 /** 88 * 89 * 90 * <pre> 91 * The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. 92 * </pre> 93 * 94 * <code>optional string range_name = 332216397;</code> 95 * 96 * @return The bytes for rangeName. 97 */ getRangeNameBytes()98 com.google.protobuf.ByteString getRangeNameBytes(); 99 } 100