Class BgpRouteNetworkLayerReachabilityInformation.Builder (1.69.0)

public static final class BgpRouteNetworkLayerReachabilityInformation.Builder extends GeneratedMessageV3.Builder<BgpRouteNetworkLayerReachabilityInformation.Builder> implements BgpRouteNetworkLayerReachabilityInformationOrBuilder

Network Layer Reachability Information (NLRI) for a route.

Protobuf type google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BgpRouteNetworkLayerReachabilityInformation build()
Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation

buildPartial()

public BgpRouteNetworkLayerReachabilityInformation buildPartial()
Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPathId()

public BgpRouteNetworkLayerReachabilityInformation.Builder clearPathId()

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation.Builder

This builder for chaining.

clearPrefix()

public BgpRouteNetworkLayerReachabilityInformation.Builder clearPrefix()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BgpRouteNetworkLayerReachabilityInformation getDefaultInstanceForType()
Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation

getDescriptorForType()

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

getPathId()

public int getPathId()

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Returns
Type Description
int

The pathId.

getPrefix()

public String getPrefix()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
String

The prefix.

getPrefixBytes()

public ByteString getPrefixBytes()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
ByteString

The bytes for prefix.

hasPathId()

public boolean hasPathId()

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Returns
Type Description
boolean

Whether the pathId field is set.

hasPrefix()

public boolean hasPrefix()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
boolean

Whether the prefix field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BgpRouteNetworkLayerReachabilityInformation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPathId(int value)

public BgpRouteNetworkLayerReachabilityInformation.Builder setPathId(int value)

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Parameter
Name Description
value int

The pathId to set.

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation.Builder

This builder for chaining.

setPrefix(String value)

public BgpRouteNetworkLayerReachabilityInformation.Builder setPrefix(String value)

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Parameter
Name Description
value String

The prefix to set.

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation.Builder

This builder for chaining.

setPrefixBytes(ByteString value)

public BgpRouteNetworkLayerReachabilityInformation.Builder setPrefixBytes(ByteString value)

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Parameter
Name Description
value ByteString

The bytes for prefix to set.

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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