All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.RouteOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.69.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface RouteOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Route)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * [Output Only] AS path.
   * 
* * repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; */ java.util.List getAsPathsList(); /** * * *
   * [Output Only] AS path.
   * 
* * repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; */ com.google.cloud.compute.v1.RouteAsPath getAsPaths(int index); /** * * *
   * [Output Only] AS path.
   * 
* * repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; */ int getAsPathsCount(); /** * * *
   * [Output Only] AS path.
   * 
* * repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; */ java.util.List getAsPathsOrBuilderList(); /** * * *
   * [Output Only] AS path.
   * 
* * repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; */ com.google.cloud.compute.v1.RouteAsPathOrBuilder getAsPathsOrBuilder(int index); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return Whether the creationTimestamp field is set. */ boolean hasCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The creationTimestamp. */ java.lang.String getCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The bytes for creationTimestamp. */ com.google.protobuf.ByteString getCreationTimestampBytes(); /** * * *
   * An optional description of this resource. Provide this field when you create the resource.
   * 
* * optional string description = 422937596; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * An optional description of this resource. Provide this field when you create the resource.
   * 
* * optional string description = 422937596; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * An optional description of this resource. Provide this field when you create the resource.
   * 
* * optional string description = 422937596; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
   * 
* * optional string dest_range = 381327712; * * @return Whether the destRange field is set. */ boolean hasDestRange(); /** * * *
   * The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
   * 
* * optional string dest_range = 381327712; * * @return The destRange. */ java.lang.String getDestRange(); /** * * *
   * The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
   * 
* * optional string dest_range = 381327712; * * @return The bytes for destRange. */ com.google.protobuf.ByteString getDestRangeBytes(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return Whether the id field is set. */ boolean hasId(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return The id. */ long getId(); /** * * *
   * [Output Only] Type of this resource. Always compute#routes for Route resources.
   * 
* * optional string kind = 3292052; * * @return Whether the kind field is set. */ boolean hasKind(); /** * * *
   * [Output Only] Type of this resource. Always compute#routes for Route resources.
   * 
* * optional string kind = 3292052; * * @return The kind. */ java.lang.String getKind(); /** * * *
   * [Output Only] Type of this resource. Always compute#routes for Route resources.
   * 
* * optional string kind = 3292052; * * @return The bytes for kind. */ com.google.protobuf.ByteString getKindBytes(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
   * 
* * optional string name = 3373707; * * @return Whether the name field is set. */ boolean hasName(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
   * 
* * optional string name = 3373707; * * @return The name. */ java.lang.String getName(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
   * 
* * optional string name = 3373707; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Fully-qualified URL of the network that this route applies to.
   * 
* * optional string network = 232872494; * * @return Whether the network field is set. */ boolean hasNetwork(); /** * * *
   * Fully-qualified URL of the network that this route applies to.
   * 
* * optional string network = 232872494; * * @return The network. */ java.lang.String getNetwork(); /** * * *
   * Fully-qualified URL of the network that this route applies to.
   * 
* * optional string network = 232872494; * * @return The bytes for network. */ com.google.protobuf.ByteString getNetworkBytes(); /** * * *
   * The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
   * 
* * optional string next_hop_gateway = 377175298; * * @return Whether the nextHopGateway field is set. */ boolean hasNextHopGateway(); /** * * *
   * The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
   * 
* * optional string next_hop_gateway = 377175298; * * @return The nextHopGateway. */ java.lang.String getNextHopGateway(); /** * * *
   * The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
   * 
* * optional string next_hop_gateway = 377175298; * * @return The bytes for nextHopGateway. */ com.google.protobuf.ByteString getNextHopGatewayBytes(); /** * * *
   * [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
   * 
* * optional string next_hop_hub = 198679219; * * @return Whether the nextHopHub field is set. */ boolean hasNextHopHub(); /** * * *
   * [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
   * 
* * optional string next_hop_hub = 198679219; * * @return The nextHopHub. */ java.lang.String getNextHopHub(); /** * * *
   * [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
   * 
* * optional string next_hop_hub = 198679219; * * @return The bytes for nextHopHub. */ com.google.protobuf.ByteString getNextHopHubBytes(); /** * * *
   * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ilb = 198679901; * * @return Whether the nextHopIlb field is set. */ boolean hasNextHopIlb(); /** * * *
   * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ilb = 198679901; * * @return The nextHopIlb. */ java.lang.String getNextHopIlb(); /** * * *
   * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ilb = 198679901; * * @return The bytes for nextHopIlb. */ com.google.protobuf.ByteString getNextHopIlbBytes(); /** * * *
   * The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
   * 
* * optional string next_hop_instance = 393508247; * * @return Whether the nextHopInstance field is set. */ boolean hasNextHopInstance(); /** * * *
   * The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
   * 
* * optional string next_hop_instance = 393508247; * * @return The nextHopInstance. */ java.lang.String getNextHopInstance(); /** * * *
   * The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
   * 
* * optional string next_hop_instance = 393508247; * * @return The bytes for nextHopInstance. */ com.google.protobuf.ByteString getNextHopInstanceBytes(); /** * * *
   * [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
   * 
* * optional uint32 next_hop_inter_region_cost = 24442003; * * @return Whether the nextHopInterRegionCost field is set. */ boolean hasNextHopInterRegionCost(); /** * * *
   * [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
   * 
* * optional uint32 next_hop_inter_region_cost = 24442003; * * @return The nextHopInterRegionCost. */ int getNextHopInterRegionCost(); /** * * *
   * The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ip = 110319529; * * @return Whether the nextHopIp field is set. */ boolean hasNextHopIp(); /** * * *
   * The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ip = 110319529; * * @return The nextHopIp. */ java.lang.String getNextHopIp(); /** * * *
   * The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
   * 
* * optional string next_hop_ip = 110319529; * * @return The bytes for nextHopIp. */ com.google.protobuf.ByteString getNextHopIpBytes(); /** * * *
   * [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
   * 
* * optional uint32 next_hop_med = 198683530; * * @return Whether the nextHopMed field is set. */ boolean hasNextHopMed(); /** * * *
   * [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
   * 
* * optional uint32 next_hop_med = 198683530; * * @return The nextHopMed. */ int getNextHopMed(); /** * * *
   * The URL of the local network if it should handle matching packets.
   * 
* * optional string next_hop_network = 262295788; * * @return Whether the nextHopNetwork field is set. */ boolean hasNextHopNetwork(); /** * * *
   * The URL of the local network if it should handle matching packets.
   * 
* * optional string next_hop_network = 262295788; * * @return The nextHopNetwork. */ java.lang.String getNextHopNetwork(); /** * * *
   * The URL of the local network if it should handle matching packets.
   * 
* * optional string next_hop_network = 262295788; * * @return The bytes for nextHopNetwork. */ com.google.protobuf.ByteString getNextHopNetworkBytes(); /** * * *
   * [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
   * Check the NextHopOrigin enum for the list of possible values.
   * 
* * optional string next_hop_origin = 48752808; * * @return Whether the nextHopOrigin field is set. */ boolean hasNextHopOrigin(); /** * * *
   * [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
   * Check the NextHopOrigin enum for the list of possible values.
   * 
* * optional string next_hop_origin = 48752808; * * @return The nextHopOrigin. */ java.lang.String getNextHopOrigin(); /** * * *
   * [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
   * Check the NextHopOrigin enum for the list of possible values.
   * 
* * optional string next_hop_origin = 48752808; * * @return The bytes for nextHopOrigin. */ com.google.protobuf.ByteString getNextHopOriginBytes(); /** * * *
   * [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
   * 
* * optional string next_hop_peering = 412682750; * * @return Whether the nextHopPeering field is set. */ boolean hasNextHopPeering(); /** * * *
   * [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
   * 
* * optional string next_hop_peering = 412682750; * * @return The nextHopPeering. */ java.lang.String getNextHopPeering(); /** * * *
   * [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
   * 
* * optional string next_hop_peering = 412682750; * * @return The bytes for nextHopPeering. */ com.google.protobuf.ByteString getNextHopPeeringBytes(); /** * * *
   * The URL to a VpnTunnel that should handle matching packets.
   * 
* * optional string next_hop_vpn_tunnel = 519844501; * * @return Whether the nextHopVpnTunnel field is set. */ boolean hasNextHopVpnTunnel(); /** * * *
   * The URL to a VpnTunnel that should handle matching packets.
   * 
* * optional string next_hop_vpn_tunnel = 519844501; * * @return The nextHopVpnTunnel. */ java.lang.String getNextHopVpnTunnel(); /** * * *
   * The URL to a VpnTunnel that should handle matching packets.
   * 
* * optional string next_hop_vpn_tunnel = 519844501; * * @return The bytes for nextHopVpnTunnel. */ com.google.protobuf.ByteString getNextHopVpnTunnelBytes(); /** * * *
   * The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.
   * 
* * optional uint32 priority = 445151652; * * @return Whether the priority field is set. */ boolean hasPriority(); /** * * *
   * The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.
   * 
* * optional uint32 priority = 445151652; * * @return The priority. */ int getPriority(); /** * * *
   * [Output only] The status of the route.
   * Check the RouteStatus enum for the list of possible values.
   * 
* * optional string route_status = 418162344; * * @return Whether the routeStatus field is set. */ boolean hasRouteStatus(); /** * * *
   * [Output only] The status of the route.
   * Check the RouteStatus enum for the list of possible values.
   * 
* * optional string route_status = 418162344; * * @return The routeStatus. */ java.lang.String getRouteStatus(); /** * * *
   * [Output only] The status of the route.
   * Check the RouteStatus enum for the list of possible values.
   * 
* * optional string route_status = 418162344; * * @return The bytes for routeStatus. */ com.google.protobuf.ByteString getRouteStatusBytes(); /** * * *
   * [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
   * Check the RouteType enum for the list of possible values.
   * 
* * optional string route_type = 375888752; * * @return Whether the routeType field is set. */ boolean hasRouteType(); /** * * *
   * [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
   * Check the RouteType enum for the list of possible values.
   * 
* * optional string route_type = 375888752; * * @return The routeType. */ java.lang.String getRouteType(); /** * * *
   * [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
   * Check the RouteType enum for the list of possible values.
   * 
* * optional string route_type = 375888752; * * @return The bytes for routeType. */ com.google.protobuf.ByteString getRouteTypeBytes(); /** * * *
   * [Output Only] Server-defined fully-qualified URL for this resource.
   * 
* * optional string self_link = 456214797; * * @return Whether the selfLink field is set. */ boolean hasSelfLink(); /** * * *
   * [Output Only] Server-defined fully-qualified URL for this resource.
   * 
* * optional string self_link = 456214797; * * @return The selfLink. */ java.lang.String getSelfLink(); /** * * *
   * [Output Only] Server-defined fully-qualified URL for this resource.
   * 
* * optional string self_link = 456214797; * * @return The bytes for selfLink. */ com.google.protobuf.ByteString getSelfLinkBytes(); /** * * *
   * A list of instance tags to which this route applies.
   * 
* * repeated string tags = 3552281; * * @return A list containing the tags. */ java.util.List getTagsList(); /** * * *
   * A list of instance tags to which this route applies.
   * 
* * repeated string tags = 3552281; * * @return The count of tags. */ int getTagsCount(); /** * * *
   * A list of instance tags to which this route applies.
   * 
* * repeated string tags = 3552281; * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** * * *
   * A list of instance tags to which this route applies.
   * 
* * repeated string tags = 3552281; * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); /** * * *
   * [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
   * 
* * repeated .google.cloud.compute.v1.Warnings warnings = 498091095; */ java.util.List getWarningsList(); /** * * *
   * [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
   * 
* * repeated .google.cloud.compute.v1.Warnings warnings = 498091095; */ com.google.cloud.compute.v1.Warnings getWarnings(int index); /** * * *
   * [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
   * 
* * repeated .google.cloud.compute.v1.Warnings warnings = 498091095; */ int getWarningsCount(); /** * * *
   * [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
   * 
* * repeated .google.cloud.compute.v1.Warnings warnings = 498091095; */ java.util.List getWarningsOrBuilderList(); /** * * *
   * [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
   * 
* * repeated .google.cloud.compute.v1.Warnings warnings = 498091095; */ com.google.cloud.compute.v1.WarningsOrBuilder getWarningsOrBuilder(int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy