public static final class NetworkPeering.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder> implements NetworkPeeringOrBuilder
A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.Protobuf type
google.cloud.compute.v1.NetworkPeering| Modifier and Type | Method and Description |
|---|---|
NetworkPeering.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkPeering |
build() |
NetworkPeering |
buildPartial() |
NetworkPeering.Builder |
clear() |
NetworkPeering.Builder |
clearAutoCreateRoutes()
This field will be deprecated soon.
|
NetworkPeering.Builder |
clearConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeering.Builder |
clearExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered networks.
|
NetworkPeering.Builder |
clearExportCustomRoutes()
Whether to export the custom routes to peer network.
|
NetworkPeering.Builder |
clearExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported.
|
NetworkPeering.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NetworkPeering.Builder |
clearImportCustomRoutes()
Whether to import the custom routes from peer network.
|
NetworkPeering.Builder |
clearImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported.
|
NetworkPeering.Builder |
clearName()
Name of this peering.
|
NetworkPeering.Builder |
clearNetwork()
The URL of the peer network.
|
NetworkPeering.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NetworkPeering.Builder |
clearPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
|
NetworkPeering.Builder |
clearStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
NetworkPeering.Builder |
clearState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
NetworkPeering.Builder |
clearStateDetails()
[Output Only] Details about the current state of the peering.
|
NetworkPeering.Builder |
clearUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
NetworkPeering.Builder |
clone() |
boolean |
getAutoCreateRoutes()
This field will be deprecated soon.
|
NetworkPeeringConnectionStatus |
getConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeeringConnectionStatus.Builder |
getConnectionStatusBuilder()
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeeringConnectionStatusOrBuilder |
getConnectionStatusOrBuilder()
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeering |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered networks.
|
boolean |
getExportCustomRoutes()
Whether to export the custom routes to peer network.
|
boolean |
getExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported.
|
boolean |
getImportCustomRoutes()
Whether to import the custom routes from peer network.
|
boolean |
getImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported.
|
String |
getName()
Name of this peering.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of this peering.
|
String |
getNetwork()
The URL of the peer network.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The URL of the peer network.
|
int |
getPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
|
String |
getStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
com.google.protobuf.ByteString |
getStackTypeBytes()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
String |
getState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
com.google.protobuf.ByteString |
getStateBytes()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
String |
getStateDetails()
[Output Only] Details about the current state of the peering.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
[Output Only] Details about the current state of the peering.
|
String |
getUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
com.google.protobuf.ByteString |
getUpdateStrategyBytes()
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
boolean |
hasAutoCreateRoutes()
This field will be deprecated soon.
|
boolean |
hasConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
|
boolean |
hasExchangeSubnetRoutes()
Indicates whether full mesh connectivity is created and managed automatically between peered networks.
|
boolean |
hasExportCustomRoutes()
Whether to export the custom routes to peer network.
|
boolean |
hasExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported.
|
boolean |
hasImportCustomRoutes()
Whether to import the custom routes from peer network.
|
boolean |
hasImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported.
|
boolean |
hasName()
Name of this peering.
|
boolean |
hasNetwork()
The URL of the peer network.
|
boolean |
hasPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
|
boolean |
hasStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
boolean |
hasState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
boolean |
hasStateDetails()
[Output Only] Details about the current state of the peering.
|
boolean |
hasUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NetworkPeering.Builder |
mergeConnectionStatus(NetworkPeeringConnectionStatus value)
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeering.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NetworkPeering.Builder |
mergeFrom(com.google.protobuf.Message other) |
NetworkPeering.Builder |
mergeFrom(NetworkPeering other) |
NetworkPeering.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NetworkPeering.Builder |
setAutoCreateRoutes(boolean value)
This field will be deprecated soon.
|
NetworkPeering.Builder |
setConnectionStatus(NetworkPeeringConnectionStatus.Builder builderForValue)
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeering.Builder |
setConnectionStatus(NetworkPeeringConnectionStatus value)
[Output Only] The effective state of the peering connection as a whole.
|
NetworkPeering.Builder |
setExchangeSubnetRoutes(boolean value)
Indicates whether full mesh connectivity is created and managed automatically between peered networks.
|
NetworkPeering.Builder |
setExportCustomRoutes(boolean value)
Whether to export the custom routes to peer network.
|
NetworkPeering.Builder |
setExportSubnetRoutesWithPublicIp(boolean value)
Whether subnet routes with public IP range are exported.
|
NetworkPeering.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkPeering.Builder |
setImportCustomRoutes(boolean value)
Whether to import the custom routes from peer network.
|
NetworkPeering.Builder |
setImportSubnetRoutesWithPublicIp(boolean value)
Whether subnet routes with public IP range are imported.
|
NetworkPeering.Builder |
setName(String value)
Name of this peering.
|
NetworkPeering.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of this peering.
|
NetworkPeering.Builder |
setNetwork(String value)
The URL of the peer network.
|
NetworkPeering.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The URL of the peer network.
|
NetworkPeering.Builder |
setPeerMtu(int value)
[Output Only] Maximum Transmission Unit in bytes of the peer network.
|
NetworkPeering.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NetworkPeering.Builder |
setStackType(String value)
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
NetworkPeering.Builder |
setStackTypeBytes(com.google.protobuf.ByteString value)
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
|
NetworkPeering.Builder |
setState(String value)
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
NetworkPeering.Builder |
setStateBytes(com.google.protobuf.ByteString value)
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
NetworkPeering.Builder |
setStateDetails(String value)
[Output Only] Details about the current state of the peering.
|
NetworkPeering.Builder |
setStateDetailsBytes(com.google.protobuf.ByteString value)
[Output Only] Details about the current state of the peering.
|
NetworkPeering.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NetworkPeering.Builder |
setUpdateStrategy(String value)
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
NetworkPeering.Builder |
setUpdateStrategyBytes(com.google.protobuf.ByteString value)
The update strategy determines the semantics for updates and deletes to the peering connection configuration.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NetworkPeering build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NetworkPeering buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NetworkPeering.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkPeering.Builder>public NetworkPeering.Builder mergeFrom(NetworkPeering other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public NetworkPeering.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkPeering.Builder>IOExceptionpublic boolean hasAutoCreateRoutes()
This field will be deprecated soon. Use the exchange_subnet_routes field 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;hasAutoCreateRoutes in interface NetworkPeeringOrBuilderpublic boolean getAutoCreateRoutes()
This field will be deprecated soon. Use the exchange_subnet_routes field 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;getAutoCreateRoutes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setAutoCreateRoutes(boolean value)
This field will be deprecated soon. Use the exchange_subnet_routes field 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;value - The autoCreateRoutes to set.public NetworkPeering.Builder clearAutoCreateRoutes()
This field will be deprecated soon. Use the exchange_subnet_routes field 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;public boolean hasConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
hasConnectionStatus in interface NetworkPeeringOrBuilderpublic NetworkPeeringConnectionStatus getConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
getConnectionStatus in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setConnectionStatus(NetworkPeeringConnectionStatus value)
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
public NetworkPeering.Builder setConnectionStatus(NetworkPeeringConnectionStatus.Builder builderForValue)
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
public NetworkPeering.Builder mergeConnectionStatus(NetworkPeeringConnectionStatus value)
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
public NetworkPeering.Builder clearConnectionStatus()
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
public NetworkPeeringConnectionStatus.Builder getConnectionStatusBuilder()
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
public NetworkPeeringConnectionStatusOrBuilder getConnectionStatusOrBuilder()
[Output Only] The effective state of the peering connection as a whole.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
getConnectionStatusOrBuilder in interface NetworkPeeringOrBuilderpublic boolean hasExchangeSubnetRoutes()
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 exchange_subnet_routes = 26322256;hasExchangeSubnetRoutes in interface NetworkPeeringOrBuilderpublic boolean getExchangeSubnetRoutes()
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 exchange_subnet_routes = 26322256;getExchangeSubnetRoutes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setExchangeSubnetRoutes(boolean value)
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 exchange_subnet_routes = 26322256;value - The exchangeSubnetRoutes to set.public NetworkPeering.Builder clearExchangeSubnetRoutes()
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 exchange_subnet_routes = 26322256;public boolean hasExportCustomRoutes()
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;hasExportCustomRoutes in interface NetworkPeeringOrBuilderpublic boolean getExportCustomRoutes()
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;getExportCustomRoutes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setExportCustomRoutes(boolean value)
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;value - The exportCustomRoutes to set.public NetworkPeering.Builder clearExportCustomRoutes()
Whether to export the custom routes to peer network. The default value is false.
optional bool export_custom_routes = 60281485;public boolean hasExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;hasExportSubnetRoutesWithPublicIp in interface NetworkPeeringOrBuilderpublic boolean getExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;getExportSubnetRoutesWithPublicIp in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setExportSubnetRoutesWithPublicIp(boolean value)
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;value - The exportSubnetRoutesWithPublicIp to set.public NetworkPeering.Builder clearExportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
optional bool export_subnet_routes_with_public_ip = 97940834;public boolean hasImportCustomRoutes()
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;hasImportCustomRoutes in interface NetworkPeeringOrBuilderpublic boolean getImportCustomRoutes()
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;getImportCustomRoutes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setImportCustomRoutes(boolean value)
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;value - The importCustomRoutes to set.public NetworkPeering.Builder clearImportCustomRoutes()
Whether to import the custom routes from peer network. The default value is false.
optional bool import_custom_routes = 197982398;public boolean hasImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;hasImportSubnetRoutesWithPublicIp in interface NetworkPeeringOrBuilderpublic boolean getImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;getImportSubnetRoutesWithPublicIp in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setImportSubnetRoutesWithPublicIp(boolean value)
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;value - The importSubnetRoutesWithPublicIp to set.public NetworkPeering.Builder clearImportSubnetRoutesWithPublicIp()
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
optional bool import_subnet_routes_with_public_ip = 14419729;public boolean hasName()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface NetworkPeeringOrBuilderpublic String getName()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setName(String value)
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public NetworkPeering.Builder clearName()
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public NetworkPeering.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasNetwork()
The 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 network = 232872494;hasNetwork in interface NetworkPeeringOrBuilderpublic String getNetwork()
The 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 network = 232872494;getNetwork in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The 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 network = 232872494;getNetworkBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setNetwork(String value)
The 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 network = 232872494;value - The network to set.public NetworkPeering.Builder clearNetwork()
The 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 network = 232872494;public NetworkPeering.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The 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 network = 232872494;value - The bytes for network to set.public boolean hasPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
optional int32 peer_mtu = 69584721;hasPeerMtu in interface NetworkPeeringOrBuilderpublic int getPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
optional int32 peer_mtu = 69584721;getPeerMtu in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setPeerMtu(int value)
[Output Only] Maximum Transmission Unit in bytes of the peer network.
optional int32 peer_mtu = 69584721;value - The peerMtu to set.public NetworkPeering.Builder clearPeerMtu()
[Output Only] Maximum Transmission Unit in bytes of the peer network.
optional int32 peer_mtu = 69584721;public boolean hasStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;hasStackType in interface NetworkPeeringOrBuilderpublic String getStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackType in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getStackTypeBytes()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackTypeBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setStackType(String value)
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The stackType to set.public NetworkPeering.Builder clearStackType()
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;public NetworkPeering.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The bytes for stackType to set.public boolean hasState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;hasState in interface NetworkPeeringOrBuilderpublic String getState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;getState in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;getStateBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setState(String value)
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;value - The state to set.public NetworkPeering.Builder clearState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;public NetworkPeering.Builder setStateBytes(com.google.protobuf.ByteString value)
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. Check the State enum for the list of possible values.
optional string state = 109757585;value - The bytes for state to set.public boolean hasStateDetails()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;hasStateDetails in interface NetworkPeeringOrBuilderpublic String getStateDetails()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;getStateDetails in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getStateDetailsBytes()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;getStateDetailsBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setStateDetails(String value)
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;value - The stateDetails to set.public NetworkPeering.Builder clearStateDetails()
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;public NetworkPeering.Builder setStateDetailsBytes(com.google.protobuf.ByteString value)
[Output Only] Details about the current state of the peering.
optional string state_details = 95566996;value - The bytes for stateDetails to set.public boolean hasUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;hasUpdateStrategy in interface NetworkPeeringOrBuilderpublic String getUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;getUpdateStrategy in interface NetworkPeeringOrBuilderpublic com.google.protobuf.ByteString getUpdateStrategyBytes()
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;getUpdateStrategyBytes in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setUpdateStrategy(String value)
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;value - The updateStrategy to set.public NetworkPeering.Builder clearUpdateStrategy()
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;public NetworkPeering.Builder setUpdateStrategyBytes(com.google.protobuf.ByteString value)
The update strategy determines the semantics for updates and deletes to the peering connection configuration. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;value - The bytes for updateStrategy to set.public final NetworkPeering.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>public final NetworkPeering.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkPeering.Builder>Copyright © 2025 Google LLC. All rights reserved.