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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BgpRouteNetworkLayerReachabilityInformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BgpRouteNetworkLayerReachabilityInformation build()
public BgpRouteNetworkLayerReachabilityInformation buildPartial()
public BgpRouteNetworkLayerReachabilityInformation.Builder clear()
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder clearPathId()
If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.
optional uint32 path_id = 282287989;
public BgpRouteNetworkLayerReachabilityInformation.Builder clearPrefix()
Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
optional string prefix = 93631122;
public BgpRouteNetworkLayerReachabilityInformation.Builder clone()
Overrides
public BgpRouteNetworkLayerReachabilityInformation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder mergeFrom(BgpRouteNetworkLayerReachabilityInformation other)
public BgpRouteNetworkLayerReachabilityInformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public final BgpRouteNetworkLayerReachabilityInformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BgpRouteNetworkLayerReachabilityInformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|