- 1.62.0 (latest)
- 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
NetworksAddPeeringRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworksAddPeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
build()
public NetworksAddPeeringRequest build()
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest |
buildPartial()
public NetworksAddPeeringRequest buildPartial()
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest |
clear()
public NetworksAddPeeringRequest.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworksAddPeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
clearName()
public NetworksAddPeeringRequest.Builder clearName()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworksAddPeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
clone()
public NetworksAddPeeringRequest.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | The autoCreateRoutes. |
getDefaultInstanceForType()
public NetworksAddPeeringRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the peering, which should conform to RFC1035.
optional string name = 3373707;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the peerNetwork field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworksAddPeeringRequest other)
public NetworksAddPeeringRequest.Builder mergeFrom(NetworksAddPeeringRequest other)
Parameter | |
---|---|
Name | Description |
other | NetworksAddPeeringRequest |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworksAddPeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworksAddPeeringRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | NetworkPeering |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworksAddPeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The autoCreateRoutes to set. |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworksAddPeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | NetworkPeering |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | NetworkPeering.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The peerNetwork to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for peerNetwork to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworksAddPeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworksAddPeeringRequest.Builder |