com.google.cloud.compute.v1.NetworksAddPeeringRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
/*
* 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 NetworksAddPeeringRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworksAddPeeringRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
*
*
* optional bool auto_create_routes = 57454941;
*
* @return Whether the autoCreateRoutes field is set.
*/
boolean hasAutoCreateRoutes();
/**
*
*
*
* This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
*
*
* optional bool auto_create_routes = 57454941;
*
* @return The autoCreateRoutes.
*/
boolean getAutoCreateRoutes();
/**
*
*
*
* Name of the peering, which should conform to RFC1035.
*
*
* optional string name = 3373707;
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
*
* Name of the peering, which should conform to RFC1035.
*
*
* optional string name = 3373707;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Name of the peering, which should conform to RFC1035.
*
*
* optional string name = 3373707;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
*
*
* optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
*
* @return Whether the networkPeering field is set.
*/
boolean hasNetworkPeering();
/**
*
*
*
* Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
*
*
* optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
*
* @return The networkPeering.
*/
com.google.cloud.compute.v1.NetworkPeering getNetworkPeering();
/**
*
*
*
* Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
*
*
* optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
*/
com.google.cloud.compute.v1.NetworkPeeringOrBuilder getNetworkPeeringOrBuilder();
/**
*
*
*
* URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
*
*
* optional string peer_network = 500625489;
*
* @return Whether the peerNetwork field is set.
*/
boolean hasPeerNetwork();
/**
*
*
*
* URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
*
*
* optional string peer_network = 500625489;
*
* @return The peerNetwork.
*/
java.lang.String getPeerNetwork();
/**
*
*
*
* URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
*
*
* optional string peer_network = 500625489;
*
* @return The bytes for peerNetwork.
*/
com.google.protobuf.ByteString getPeerNetworkBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy