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 |
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()
Maximum Transmission Unit in bytes.
|
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 |
clone() |
boolean |
getAutoCreateRoutes()
This field will be deprecated soon.
|
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()
Maximum Transmission Unit in bytes.
|
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.
|
boolean |
hasAutoCreateRoutes()
This field will be deprecated soon.
|
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()
Maximum Transmission Unit in bytes.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 |
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)
Maximum Transmission Unit in bytes.
|
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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 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()
Maximum Transmission Unit in bytes.
optional int32 peer_mtu = 69584721;hasPeerMtu in interface NetworkPeeringOrBuilderpublic int getPeerMtu()
Maximum Transmission Unit in bytes.
optional int32 peer_mtu = 69584721;getPeerMtu in interface NetworkPeeringOrBuilderpublic NetworkPeering.Builder setPeerMtu(int value)
Maximum Transmission Unit in bytes.
optional int32 peer_mtu = 69584721;value - The peerMtu to set.public NetworkPeering.Builder clearPeerMtu()
Maximum Transmission Unit in bytes.
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 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 © 2023 Google LLC. All rights reserved.