- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NetworksAddPeeringRequest.Builder extends GeneratedMessageV3.Builder<NetworksAddPeeringRequest.Builder> implements NetworksAddPeeringRequestOrBuilder
Protobuf type google.cloud.compute.v1.NetworksAddPeeringRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworksAddPeeringRequest.BuilderImplements
NetworksAddPeeringRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworksAddPeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworksAddPeeringRequest.Builder |
build()
public NetworksAddPeeringRequest build()
Type | Description |
NetworksAddPeeringRequest |
buildPartial()
public NetworksAddPeeringRequest buildPartial()
Type | Description |
NetworksAddPeeringRequest |
clear()
public NetworksAddPeeringRequest.Builder clear()
Type | Description |
NetworksAddPeeringRequest.Builder |
clearAutoCreateRoutes()
public NetworksAddPeeringRequest.Builder clearAutoCreateRoutes()
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;
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworksAddPeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NetworksAddPeeringRequest.Builder |
clearName()
public NetworksAddPeeringRequest.Builder clearName()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
clearNetworkPeering()
public NetworksAddPeeringRequest.Builder clearNetworkPeering()
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;
Type | Description |
NetworksAddPeeringRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworksAddPeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NetworksAddPeeringRequest.Builder |
clearPeerNetwork()
public NetworksAddPeeringRequest.Builder clearPeerNetwork()
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;
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
clone()
public NetworksAddPeeringRequest.Builder clone()
Type | Description |
NetworksAddPeeringRequest.Builder |
getAutoCreateRoutes()
public boolean getAutoCreateRoutes()
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;
Type | Description |
boolean | The autoCreateRoutes. |
getDefaultInstanceForType()
public NetworksAddPeeringRequest getDefaultInstanceForType()
Type | Description |
NetworksAddPeeringRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getNetworkPeering()
public 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;
Type | Description |
NetworkPeering | The networkPeering. |
getNetworkPeeringBuilder()
public NetworkPeering.Builder getNetworkPeeringBuilder()
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;
Type | Description |
NetworkPeering.Builder |
getNetworkPeeringOrBuilder()
public NetworkPeeringOrBuilder getNetworkPeeringOrBuilder()
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;
Type | Description |
NetworkPeeringOrBuilder |
getPeerNetwork()
public 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;
Type | Description |
String | The peerNetwork. |
getPeerNetworkBytes()
public ByteString getPeerNetworkBytes()
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;
Type | Description |
ByteString | The bytes for peerNetwork. |
hasAutoCreateRoutes()
public 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;
Type | Description |
boolean | Whether the autoCreateRoutes field is set. |
hasName()
public boolean hasName()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasNetworkPeering()
public 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;
Type | Description |
boolean | Whether the networkPeering field is set. |
hasPeerNetwork()
public 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;
Type | Description |
boolean | Whether the peerNetwork field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NetworksAddPeeringRequest other)
public NetworksAddPeeringRequest.Builder mergeFrom(NetworksAddPeeringRequest other)
Name | Description |
other | NetworksAddPeeringRequest |
Type | Description |
NetworksAddPeeringRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworksAddPeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworksAddPeeringRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NetworksAddPeeringRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NetworksAddPeeringRequest.Builder |
mergeNetworkPeering(NetworkPeering value)
public NetworksAddPeeringRequest.Builder mergeNetworkPeering(NetworkPeering value)
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;
Name | Description |
value | NetworkPeering |
Type | Description |
NetworksAddPeeringRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworksAddPeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworksAddPeeringRequest.Builder |
setAutoCreateRoutes(boolean value)
public NetworksAddPeeringRequest.Builder setAutoCreateRoutes(boolean value)
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;
Name | Description |
value | boolean The autoCreateRoutes to set. |
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworksAddPeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworksAddPeeringRequest.Builder |
setName(String value)
public NetworksAddPeeringRequest.Builder setName(String value)
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Name | Description |
value | String The name to set. |
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public NetworksAddPeeringRequest.Builder setNameBytes(ByteString value)
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setNetworkPeering(NetworkPeering value)
public NetworksAddPeeringRequest.Builder setNetworkPeering(NetworkPeering value)
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;
Name | Description |
value | NetworkPeering |
Type | Description |
NetworksAddPeeringRequest.Builder |
setNetworkPeering(NetworkPeering.Builder builderForValue)
public NetworksAddPeeringRequest.Builder setNetworkPeering(NetworkPeering.Builder builderForValue)
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;
Name | Description |
builderForValue | NetworkPeering.Builder |
Type | Description |
NetworksAddPeeringRequest.Builder |
setPeerNetwork(String value)
public NetworksAddPeeringRequest.Builder setPeerNetwork(String value)
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;
Name | Description |
value | String The peerNetwork to set. |
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setPeerNetworkBytes(ByteString value)
public NetworksAddPeeringRequest.Builder setPeerNetworkBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for peerNetwork to set. |
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworksAddPeeringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NetworksAddPeeringRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworksAddPeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworksAddPeeringRequest.Builder |