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 RouteAsPathOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouteAsPath) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] The AS numbers of the AS Path. 31 * </pre> 32 * 33 * <code>repeated uint32 as_lists = 134112584;</code> 34 * 35 * @return A list containing the asLists. 36 */ getAsListsList()37 java.util.List<java.lang.Integer> getAsListsList(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] The AS numbers of the AS Path. 43 * </pre> 44 * 45 * <code>repeated uint32 as_lists = 134112584;</code> 46 * 47 * @return The count of asLists. 48 */ getAsListsCount()49 int getAsListsCount(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] The AS numbers of the AS Path. 55 * </pre> 56 * 57 * <code>repeated uint32 as_lists = 134112584;</code> 58 * 59 * @param index The index of the element to return. 60 * @return The asLists at the given index. 61 */ getAsLists(int index)62 int getAsLists(int index); 63 64 /** 65 * 66 * 67 * <pre> 68 * [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed 69 * Check the PathSegmentType enum for the list of possible values. 70 * </pre> 71 * 72 * <code>optional string path_segment_type = 513464992;</code> 73 * 74 * @return Whether the pathSegmentType field is set. 75 */ hasPathSegmentType()76 boolean hasPathSegmentType(); 77 /** 78 * 79 * 80 * <pre> 81 * [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed 82 * Check the PathSegmentType enum for the list of possible values. 83 * </pre> 84 * 85 * <code>optional string path_segment_type = 513464992;</code> 86 * 87 * @return The pathSegmentType. 88 */ getPathSegmentType()89 java.lang.String getPathSegmentType(); 90 /** 91 * 92 * 93 * <pre> 94 * [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed 95 * Check the PathSegmentType enum for the list of possible values. 96 * </pre> 97 * 98 * <code>optional string path_segment_type = 513464992;</code> 99 * 100 * @return The bytes for pathSegmentType. 101 */ getPathSegmentTypeBytes()102 com.google.protobuf.ByteString getPathSegmentTypeBytes(); 103 } 104