• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface ExchangedPeeringRouteOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ExchangedPeeringRoute)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The destination range of the route.
31    * </pre>
32    *
33    * <code>optional string dest_range = 381327712;</code>
34    *
35    * @return Whether the destRange field is set.
36    */
hasDestRange()37   boolean hasDestRange();
38   /**
39    *
40    *
41    * <pre>
42    * The destination range of the route.
43    * </pre>
44    *
45    * <code>optional string dest_range = 381327712;</code>
46    *
47    * @return The destRange.
48    */
getDestRange()49   java.lang.String getDestRange();
50   /**
51    *
52    *
53    * <pre>
54    * The destination range of the route.
55    * </pre>
56    *
57    * <code>optional string dest_range = 381327712;</code>
58    *
59    * @return The bytes for destRange.
60    */
getDestRangeBytes()61   com.google.protobuf.ByteString getDestRangeBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
68    * </pre>
69    *
70    * <code>optional bool imported = 114502404;</code>
71    *
72    * @return Whether the imported field is set.
73    */
hasImported()74   boolean hasImported();
75   /**
76    *
77    *
78    * <pre>
79    * True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
80    * </pre>
81    *
82    * <code>optional bool imported = 114502404;</code>
83    *
84    * @return The imported.
85    */
getImported()86   boolean getImported();
87 
88   /**
89    *
90    *
91    * <pre>
92    * The region of peering route next hop, only applies to dynamic routes.
93    * </pre>
94    *
95    * <code>optional string next_hop_region = 122577014;</code>
96    *
97    * @return Whether the nextHopRegion field is set.
98    */
hasNextHopRegion()99   boolean hasNextHopRegion();
100   /**
101    *
102    *
103    * <pre>
104    * The region of peering route next hop, only applies to dynamic routes.
105    * </pre>
106    *
107    * <code>optional string next_hop_region = 122577014;</code>
108    *
109    * @return The nextHopRegion.
110    */
getNextHopRegion()111   java.lang.String getNextHopRegion();
112   /**
113    *
114    *
115    * <pre>
116    * The region of peering route next hop, only applies to dynamic routes.
117    * </pre>
118    *
119    * <code>optional string next_hop_region = 122577014;</code>
120    *
121    * @return The bytes for nextHopRegion.
122    */
getNextHopRegionBytes()123   com.google.protobuf.ByteString getNextHopRegionBytes();
124 
125   /**
126    *
127    *
128    * <pre>
129    * The priority of the peering route.
130    * </pre>
131    *
132    * <code>optional uint32 priority = 445151652;</code>
133    *
134    * @return Whether the priority field is set.
135    */
hasPriority()136   boolean hasPriority();
137   /**
138    *
139    *
140    * <pre>
141    * The priority of the peering route.
142    * </pre>
143    *
144    * <code>optional uint32 priority = 445151652;</code>
145    *
146    * @return The priority.
147    */
getPriority()148   int getPriority();
149 
150   /**
151    *
152    *
153    * <pre>
154    * The type of the peering route.
155    * Check the Type enum for the list of possible values.
156    * </pre>
157    *
158    * <code>optional string type = 3575610;</code>
159    *
160    * @return Whether the type field is set.
161    */
hasType()162   boolean hasType();
163   /**
164    *
165    *
166    * <pre>
167    * The type of the peering route.
168    * Check the Type enum for the list of possible values.
169    * </pre>
170    *
171    * <code>optional string type = 3575610;</code>
172    *
173    * @return The type.
174    */
getType()175   java.lang.String getType();
176   /**
177    *
178    *
179    * <pre>
180    * The type of the peering route.
181    * Check the Type enum for the list of possible values.
182    * </pre>
183    *
184    * <code>optional string type = 3575610;</code>
185    *
186    * @return The bytes for type.
187    */
getTypeBytes()188   com.google.protobuf.ByteString getTypeBytes();
189 }
190