public static final class BgpRouteNetworkLayerReachabilityInformation.Builder extends GeneratedMessage.Builder<BgpRouteNetworkLayerReachabilityInformation.Builder> implements BgpRouteNetworkLayerReachabilityInformationOrBuilderNetwork Layer Reachability Information (NLRI) for a route.
Protobuf type google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BgpRouteNetworkLayerReachabilityInformation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public BgpRouteNetworkLayerReachabilityInformation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BgpRouteNetworkLayerReachabilityInformation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BgpRouteNetworkLayerReachabilityInformation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BgpRouteNetworkLayerReachabilityInformation.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for prefix to set. |
| Returns | |
|---|---|
| Type | Description |
BgpRouteNetworkLayerReachabilityInformation.Builder |
This builder for chaining. |