public final class BgpRoute extends GeneratedMessage implements BgpRouteOrBuilder
Protobuf type google.cloud.compute.v1.BgpRoute
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AS_PATHS_FIELD_NUMBER
public static final int AS_PATHS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMMUNITIES_FIELD_NUMBER
public static final int COMMUNITIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MED_FIELD_NUMBER
public static final int MED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ORIGIN_FIELD_NUMBER
public static final int ORIGIN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BgpRoute getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BgpRoute.Builder newBuilder()
newBuilder(BgpRoute prototype)
public static BgpRoute.Builder newBuilder(BgpRoute prototype)
| Parameter |
| Name |
Description |
prototype |
BgpRoute
|
public static BgpRoute parseDelimitedFrom(InputStream input)
public static BgpRoute parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BgpRoute parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BgpRoute parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BgpRoute parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BgpRoute parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BgpRoute parseFrom(CodedInputStream input)
public static BgpRoute parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BgpRoute parseFrom(InputStream input)
public static BgpRoute parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BgpRoute parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BgpRoute parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BgpRoute> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAsPaths(int index)
public BgpRouteAsPath getAsPaths(int index)
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
| Parameter |
| Name |
Description |
index |
int
|
getAsPathsCount()
public int getAsPathsCount()
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
| Returns |
| Type |
Description |
int |
|
getAsPathsList()
public List<BgpRouteAsPath> getAsPathsList()
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
getAsPathsOrBuilder(int index)
public BgpRouteAsPathOrBuilder getAsPathsOrBuilder(int index)
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
| Parameter |
| Name |
Description |
index |
int
|
getAsPathsOrBuilderList()
public List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.BgpRouteAsPathOrBuilder> |
|
getCommunities(int index)
public String getCommunities(int index)
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The communities at the given index.
|
getCommunitiesBytes(int index)
public ByteString getCommunitiesBytes(int index)
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the communities at the given index.
|
getCommunitiesCount()
public int getCommunitiesCount()
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
| Returns |
| Type |
Description |
int |
The count of communities.
|
getCommunitiesList()
public ProtocolStringList getCommunitiesList()
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
getDefaultInstanceForType()
public BgpRoute getDefaultInstanceForType()
getDestination()
public BgpRouteNetworkLayerReachabilityInformation getDestination()
Output only. [Output only] Destination IP range for the route, in human-readable CIDR
format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
getDestinationOrBuilder()
public BgpRouteNetworkLayerReachabilityInformationOrBuilder getDestinationOrBuilder()
Output only. [Output only] Destination IP range for the route, in human-readable CIDR
format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
getMed()
Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
| Returns |
| Type |
Description |
int |
The med.
|
getOrigin()
public String getOrigin()
Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
optional string origin = 65122086;
| Returns |
| Type |
Description |
String |
The origin.
|
getOriginBytes()
public ByteString getOriginBytes()
Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
optional string origin = 65122086;
| Returns |
| Type |
Description |
ByteString |
The bytes for origin.
|
getParserForType()
public Parser<BgpRoute> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasDestination()
public boolean hasDestination()
Output only. [Output only] Destination IP range for the route, in human-readable CIDR
format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
| Returns |
| Type |
Description |
boolean |
Whether the destination field is set.
|
hasMed()
Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
| Returns |
| Type |
Description |
boolean |
Whether the med field is set.
|
hasOrigin()
public boolean hasOrigin()
Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
optional string origin = 65122086;
| Returns |
| Type |
Description |
boolean |
Whether the origin field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BgpRoute.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BgpRoute.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BgpRoute.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides