Class RouterBgpPeerCustomLearnedIpRange.Builder (1.65.0)

public static final class RouterBgpPeerCustomLearnedIpRange.Builder extends GeneratedMessageV3.Builder<RouterBgpPeerCustomLearnedIpRange.Builder> implements RouterBgpPeerCustomLearnedIpRangeOrBuilder

Protobuf type google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerCustomLearnedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

build()

public RouterBgpPeerCustomLearnedIpRange build()
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange

buildPartial()

public RouterBgpPeerCustomLearnedIpRange buildPartial()
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange

clear()

public RouterBgpPeerCustomLearnedIpRange.Builder clear()
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RouterBgpPeerCustomLearnedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterBgpPeerCustomLearnedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

clearRange()

public RouterBgpPeerCustomLearnedIpRange.Builder clearRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder

This builder for chaining.

clone()

public RouterBgpPeerCustomLearnedIpRange.Builder clone()
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

getDefaultInstanceForType()

public RouterBgpPeerCustomLearnedIpRange getDefaultInstanceForType()
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRange()

public String getRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
String

The range.

getRangeBytes()

public ByteString getRangeBytes()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
ByteString

The bytes for range.

hasRange()

public boolean hasRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
boolean

Whether the range field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RouterBgpPeerCustomLearnedIpRange other)

public RouterBgpPeerCustomLearnedIpRange.Builder mergeFrom(RouterBgpPeerCustomLearnedIpRange other)
Parameter
Name Description
other RouterBgpPeerCustomLearnedIpRange
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterBgpPeerCustomLearnedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RouterBgpPeerCustomLearnedIpRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerCustomLearnedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerCustomLearnedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

setRange(String value)

public RouterBgpPeerCustomLearnedIpRange.Builder setRange(String value)

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Parameter
Name Description
value String

The range to set.

Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder

This builder for chaining.

setRangeBytes(ByteString value)

public RouterBgpPeerCustomLearnedIpRange.Builder setRangeBytes(ByteString value)

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Parameter
Name Description
value ByteString

The bytes for range to set.

Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder

This builder for chaining.

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

public RouterBgpPeerCustomLearnedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerCustomLearnedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterBgpPeerCustomLearnedIpRange.Builder
Overrides