Class PeeringRoute (0.70.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.70.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PeeringRoute   extends   GeneratedMessageV3   implements   PeeringRouteOrBuilder  
   Exchanged network peering route.
 Protobuf type google.cloud.vmwareengine.v1.PeeringRoute
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  DEST_RANGE_FIELD_NUMBER 
  
    
public   static   final   int   DEST_RANGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DIRECTION_FIELD_NUMBER 
  
    
public   static   final   int   DIRECTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  IMPORTED_FIELD_NUMBER 
  
    
public   static   final   int   IMPORTED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NEXT_HOP_REGION_FIELD_NUMBER 
  
    
public   static   final   int   NEXT_HOP_REGION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PRIORITY_FIELD_NUMBER 
  
    
public   static   final   int   PRIORITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TYPE_FIELD_NUMBER 
  
    
public   static   final   int   TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   PeeringRoute   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   PeeringRoute . Builder   newBuilder ()  
  
  newBuilder(PeeringRoute prototype) 
  
    
public   static   PeeringRoute . Builder   newBuilder ( PeeringRoute   prototype )  
  
  
  
    
public   static   PeeringRoute   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PeeringRoute   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   PeeringRoute   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PeeringRoute   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   PeeringRoute   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PeeringRoute   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PeeringRoute   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PeeringRoute   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PeeringRoute   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PeeringRoute   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   PeeringRoute   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PeeringRoute   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<PeeringRoute>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   PeeringRoute   getDefaultInstanceForType ()  
  
  getDestRange() 
  
    
public   String   getDestRange ()  
   Output only. Destination range of the peering route in CIDR notation.
 string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The destRange.
 
     
  
  getDestRangeBytes() 
  
    
public   ByteString   getDestRangeBytes ()  
   Output only. Destination range of the peering route in CIDR notation.
 string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for destRange.
 
     
  
  getDirection() 
  
    
public   PeeringRoute . Direction   getDirection ()  
   Output only. Direction of the routes exchanged with the peer network, from
 the VMware Engine network perspective:
Routes of direction INCOMING are imported from the peer network. 
Routes of direction OUTGOING are exported from the intranet VPC network
of the VMware Engine network. 
 
 
 .google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getDirectionValue() 
  
    
public   int   getDirectionValue ()  
   Output only. Direction of the routes exchanged with the peer network, from
 the VMware Engine network perspective:
Routes of direction INCOMING are imported from the peer network. 
Routes of direction OUTGOING are exported from the intranet VPC network
of the VMware Engine network. 
 
 
 .google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for direction.
 
     
  
  getImported() 
  
    
public   boolean   getImported ()  
   Output only. True if the peering route has been imported from a peered
 VPC network; false otherwise. The import happens if the field
 NetworkPeering.importCustomRoutes is true for this network,
 NetworkPeering.exportCustomRoutes is true for the peer VPC network, and
 the import does not result in a route conflict.
 bool imported = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        boolean The imported.
 
     
  
  getNextHopRegion() 
  
    
public   String   getNextHopRegion ()  
   Output only. Region containing the next hop of the peering route. This
 field only applies to dynamic routes in the peer VPC network.
 string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The nextHopRegion.
 
     
  
  getNextHopRegionBytes() 
  
    
public   ByteString   getNextHopRegionBytes ()  
   Output only. Region containing the next hop of the peering route. This
 field only applies to dynamic routes in the peer VPC network.
 string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextHopRegion.
 
     
  
  getParserForType() 
  
    
public   Parser<PeeringRoute>   getParserForType ()  
  
  Overrides 
  
  getPriority() 
  
    
public   long   getPriority ()  
   Output only. The priority of the peering route.
 int64 priority = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        long The priority.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getType() 
  
    
public   PeeringRoute . Type   getType ()  
   Output only. Type of the route in the peer VPC network.
 
 .google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getTypeValue() 
  
    
public   int   getTypeValue ()  
   Output only. Type of the route in the peer VPC network.
 
 .google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for type.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   PeeringRoute . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PeeringRoute . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   PeeringRoute . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]