- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.49.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.37.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.1
 - 1.11.0
 - 1.9.1
 - 1.8.1
 - 1.7.2
 - 1.6.0-beta
 
public static final class UsableSubnetwork.Builder extends GeneratedMessageV3.Builder<UsableSubnetwork.Builder> implements UsableSubnetworkOrBuilderSubnetwork which the current user has compute.subnetworks.use permission on.
 Protobuf type google.cloud.compute.v1.UsableSubnetwork
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UsableSubnetwork.BuilderImplements
UsableSubnetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)
public UsableSubnetwork.Builder addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| values | Iterable<? extends com.google.cloud.compute.v1.UsableSubnetworkSecondaryRange> | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| value | UsableSubnetworkSecondaryRange | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| builderForValue | UsableSubnetworkSecondaryRange.Builder | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| value | UsableSubnetworkSecondaryRange | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| builderForValue | UsableSubnetworkSecondaryRange.Builder | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
addSecondaryIpRangesBuilder()
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| UsableSubnetworkSecondaryRange.Builder | 
addSecondaryIpRangesBuilder(int index)
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder(int index)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| UsableSubnetworkSecondaryRange.Builder | 
build()
public UsableSubnetwork build()| Type | Description | 
| UsableSubnetwork | 
buildPartial()
public UsableSubnetwork buildPartial()| Type | Description | 
| UsableSubnetwork | 
clear()
public UsableSubnetwork.Builder clear()| Type | Description | 
| UsableSubnetwork.Builder | 
clearField(Descriptors.FieldDescriptor field)
public UsableSubnetwork.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
clearIpCidrRange()
public UsableSubnetwork.Builder clearIpCidrRange()The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
clearNetwork()
public UsableSubnetwork.Builder clearNetwork()Network URL.
 optional string network = 232872494;
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public UsableSubnetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
clearSecondaryIpRanges()
public UsableSubnetwork.Builder clearSecondaryIpRanges()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| UsableSubnetwork.Builder | 
clearSubnetwork()
public UsableSubnetwork.Builder clearSubnetwork()Subnetwork URL.
 optional string subnetwork = 307827694;
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
clone()
public UsableSubnetwork.Builder clone()| Type | Description | 
| UsableSubnetwork.Builder | 
getDefaultInstanceForType()
public UsableSubnetwork getDefaultInstanceForType()| Type | Description | 
| UsableSubnetwork | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getIpCidrRange()
public String getIpCidrRange()The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Type | Description | 
| String | The ipCidrRange.  | 
      
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Type | Description | 
| ByteString | The bytes for ipCidrRange.  | 
      
getNetwork()
public String getNetwork()Network URL.
 optional string network = 232872494;
| Type | Description | 
| String | The network.  | 
      
getNetworkBytes()
public ByteString getNetworkBytes()Network URL.
 optional string network = 232872494;
| Type | Description | 
| ByteString | The bytes for network.  | 
      
getSecondaryIpRanges(int index)
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| UsableSubnetworkSecondaryRange | 
getSecondaryIpRangesBuilder(int index)
public UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder(int index)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| UsableSubnetworkSecondaryRange.Builder | 
getSecondaryIpRangesBuilderList()
public List<UsableSubnetworkSecondaryRange.Builder> getSecondaryIpRangesBuilderList()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| List<Builder> | 
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| int | 
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| List<UsableSubnetworkSecondaryRange> | 
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| UsableSubnetworkSecondaryRangeOrBuilder | 
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Type | Description | 
| List<? extends com.google.cloud.compute.v1.UsableSubnetworkSecondaryRangeOrBuilder> | 
getSubnetwork()
public String getSubnetwork()Subnetwork URL.
 optional string subnetwork = 307827694;
| Type | Description | 
| String | The subnetwork.  | 
      
getSubnetworkBytes()
public ByteString getSubnetworkBytes()Subnetwork URL.
 optional string subnetwork = 307827694;
| Type | Description | 
| ByteString | The bytes for subnetwork.  | 
      
hasIpCidrRange()
public boolean hasIpCidrRange()The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Type | Description | 
| boolean | Whether the ipCidrRange field is set.  | 
      
hasNetwork()
public boolean hasNetwork()Network URL.
 optional string network = 232872494;
| Type | Description | 
| boolean | Whether the network field is set.  | 
      
hasSubnetwork()
public boolean hasSubnetwork()Subnetwork URL.
 optional string subnetwork = 307827694;
| Type | Description | 
| boolean | Whether the subnetwork field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(UsableSubnetwork other)
public UsableSubnetwork.Builder mergeFrom(UsableSubnetwork other)| Name | Description | 
| other | UsableSubnetwork | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UsableSubnetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public UsableSubnetwork.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
removeSecondaryIpRanges(int index)
public UsableSubnetwork.Builder removeSecondaryIpRanges(int index)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public UsableSubnetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
setIpCidrRange(String value)
public UsableSubnetwork.Builder setIpCidrRange(String value)The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Name | Description | 
| value | StringThe ipCidrRange to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setIpCidrRangeBytes(ByteString value)
public UsableSubnetwork.Builder setIpCidrRangeBytes(ByteString value)The range of internal addresses that are owned by this subnetwork.
 optional string ip_cidr_range = 98117322;
| Name | Description | 
| value | ByteStringThe bytes for ipCidrRange to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setNetwork(String value)
public UsableSubnetwork.Builder setNetwork(String value)Network URL.
 optional string network = 232872494;
| Name | Description | 
| value | StringThe network to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setNetworkBytes(ByteString value)
public UsableSubnetwork.Builder setNetworkBytes(ByteString value)Network URL.
 optional string network = 232872494;
| Name | Description | 
| value | ByteStringThe bytes for network to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UsableSubnetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| value | UsableSubnetworkSecondaryRange | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)Secondary IP ranges.
 
 repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
 
| Name | Description | 
| index | int | 
      
| builderForValue | UsableSubnetworkSecondaryRange.Builder | 
      
| Type | Description | 
| UsableSubnetwork.Builder | 
setSubnetwork(String value)
public UsableSubnetwork.Builder setSubnetwork(String value)Subnetwork URL.
 optional string subnetwork = 307827694;
| Name | Description | 
| value | StringThe subnetwork to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setSubnetworkBytes(ByteString value)
public UsableSubnetwork.Builder setSubnetworkBytes(ByteString value)Subnetwork URL.
 optional string subnetwork = 307827694;
| Name | Description | 
| value | ByteStringThe bytes for subnetwork to set.  | 
      
| Type | Description | 
| UsableSubnetwork.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final UsableSubnetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| UsableSubnetwork.Builder |