Class SubnetworksExpandIpCidrRangeRequest.Builder (1.16.0)

public static final class SubnetworksExpandIpCidrRangeRequest.Builder extends GeneratedMessageV3.Builder<SubnetworksExpandIpCidrRangeRequest.Builder> implements SubnetworksExpandIpCidrRangeRequestOrBuilder

Protobuf type google.cloud.compute.v1.SubnetworksExpandIpCidrRangeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksExpandIpCidrRangeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

build()

public SubnetworksExpandIpCidrRangeRequest build()
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest

buildPartial()

public SubnetworksExpandIpCidrRangeRequest buildPartial()
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest

clear()

public SubnetworksExpandIpCidrRangeRequest.Builder clear()
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubnetworksExpandIpCidrRangeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

clearIpCidrRange()

public SubnetworksExpandIpCidrRangeRequest.Builder clearIpCidrRange()

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SubnetworksExpandIpCidrRangeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

clone()

public SubnetworksExpandIpCidrRangeRequest.Builder clone()
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

getDefaultInstanceForType()

public SubnetworksExpandIpCidrRangeRequest getDefaultInstanceForType()
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpCidrRange()

public String getIpCidrRange()

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
ByteString

The bytes for ipCidrRange.

hasIpCidrRange()

public boolean hasIpCidrRange()

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
boolean

Whether the ipCidrRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubnetworksExpandIpCidrRangeRequest other)

public SubnetworksExpandIpCidrRangeRequest.Builder mergeFrom(SubnetworksExpandIpCidrRangeRequest other)
Parameter
NameDescription
otherSubnetworksExpandIpCidrRangeRequest
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubnetworksExpandIpCidrRangeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SubnetworksExpandIpCidrRangeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksExpandIpCidrRangeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksExpandIpCidrRangeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

setIpCidrRange(String value)

public SubnetworksExpandIpCidrRangeRequest.Builder setIpCidrRange(String value)

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Parameter
NameDescription
valueString

The ipCidrRange to set.

Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder

This builder for chaining.

setIpCidrRangeBytes(ByteString value)

public SubnetworksExpandIpCidrRangeRequest.Builder setIpCidrRangeBytes(ByteString value)

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.

optional string ip_cidr_range = 98117322;

Parameter
NameDescription
valueByteString

The bytes for ipCidrRange to set.

Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubnetworksExpandIpCidrRangeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksExpandIpCidrRangeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubnetworksExpandIpCidrRangeRequest.Builder
Overrides