public static final class NetworkPeeringConnectionStatusTrafficConfiguration.Builder extends GeneratedMessage.Builder<NetworkPeeringConnectionStatusTrafficConfiguration.Builder> implements NetworkPeeringConnectionStatusTrafficConfigurationOrBuilder Protobuf type
google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NetworkPeeringConnectionStatusTrafficConfiguration.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NetworkPeeringConnectionStatusTrafficConfiguration build()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration |
|
buildPartial()
public NetworkPeeringConnectionStatusTrafficConfiguration buildPartial()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration |
|
clear()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clear()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
|
clearExportCustomRoutesToPeer()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clearExportCustomRoutesToPeer()Whether custom routes are being exported to the peer network.
optional bool export_custom_routes_to_peer = 286428404;
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
clearExportSubnetRoutesWithPublicIpToPeer()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clearExportSubnetRoutesWithPublicIpToPeer()Whether subnet routes with public IP ranges are being exported to the peer network.
optional bool export_subnet_routes_with_public_ip_to_peer = 8358601;
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
clearImportCustomRoutesFromPeer()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clearImportCustomRoutesFromPeer()Whether custom routes are being imported from the peer network.
optional bool import_custom_routes_from_peer = 398584470;
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
clearImportSubnetRoutesWithPublicIpFromPeer()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clearImportSubnetRoutesWithPublicIpFromPeer()Whether subnet routes with public IP ranges are being imported from the peer network.
optional bool import_subnet_routes_with_public_ip_from_peer = 234712361;
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
clearStackType()
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder clearStackType()Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NetworkPeeringConnectionStatusTrafficConfiguration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExportCustomRoutesToPeer()
public boolean getExportCustomRoutesToPeer()Whether custom routes are being exported to the peer network.
optional bool export_custom_routes_to_peer = 286428404;
| Returns | |
|---|---|
| Type | Description |
boolean |
The exportCustomRoutesToPeer. |
getExportSubnetRoutesWithPublicIpToPeer()
public boolean getExportSubnetRoutesWithPublicIpToPeer()Whether subnet routes with public IP ranges are being exported to the peer network.
optional bool export_subnet_routes_with_public_ip_to_peer = 8358601;
| Returns | |
|---|---|
| Type | Description |
boolean |
The exportSubnetRoutesWithPublicIpToPeer. |
getImportCustomRoutesFromPeer()
public boolean getImportCustomRoutesFromPeer()Whether custom routes are being imported from the peer network.
optional bool import_custom_routes_from_peer = 398584470;
| Returns | |
|---|---|
| Type | Description |
boolean |
The importCustomRoutesFromPeer. |
getImportSubnetRoutesWithPublicIpFromPeer()
public boolean getImportSubnetRoutesWithPublicIpFromPeer()Whether subnet routes with public IP ranges are being imported from the peer network.
optional bool import_subnet_routes_with_public_ip_from_peer = 234712361;
| Returns | |
|---|---|
| Type | Description |
boolean |
The importSubnetRoutesWithPublicIpFromPeer. |
getStackType()
public String getStackType()Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Returns | |
|---|---|
| Type | Description |
String |
The stackType. |
getStackTypeBytes()
public ByteString getStackTypeBytes()Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stackType. |
hasExportCustomRoutesToPeer()
public boolean hasExportCustomRoutesToPeer()Whether custom routes are being exported to the peer network.
optional bool export_custom_routes_to_peer = 286428404;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the exportCustomRoutesToPeer field is set. |
hasExportSubnetRoutesWithPublicIpToPeer()
public boolean hasExportSubnetRoutesWithPublicIpToPeer()Whether subnet routes with public IP ranges are being exported to the peer network.
optional bool export_subnet_routes_with_public_ip_to_peer = 8358601;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the exportSubnetRoutesWithPublicIpToPeer field is set. |
hasImportCustomRoutesFromPeer()
public boolean hasImportCustomRoutesFromPeer()Whether custom routes are being imported from the peer network.
optional bool import_custom_routes_from_peer = 398584470;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the importCustomRoutesFromPeer field is set. |
hasImportSubnetRoutesWithPublicIpFromPeer()
public boolean hasImportSubnetRoutesWithPublicIpFromPeer()Whether subnet routes with public IP ranges are being imported from the peer network.
optional bool import_subnet_routes_with_public_ip_from_peer = 234712361;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the importSubnetRoutesWithPublicIpFromPeer field is set. |
hasStackType()
public boolean hasStackType()Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the stackType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NetworkPeeringConnectionStatusTrafficConfiguration other)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder mergeFrom(NetworkPeeringConnectionStatusTrafficConfiguration other)| Parameter | |
|---|---|
| Name | Description |
other |
NetworkPeeringConnectionStatusTrafficConfiguration |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
|
setExportCustomRoutesToPeer(boolean value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setExportCustomRoutesToPeer(boolean value)Whether custom routes are being exported to the peer network.
optional bool export_custom_routes_to_peer = 286428404;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe exportCustomRoutesToPeer to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
setExportSubnetRoutesWithPublicIpToPeer(boolean value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setExportSubnetRoutesWithPublicIpToPeer(boolean value)Whether subnet routes with public IP ranges are being exported to the peer network.
optional bool export_subnet_routes_with_public_ip_to_peer = 8358601;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe exportSubnetRoutesWithPublicIpToPeer to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
setImportCustomRoutesFromPeer(boolean value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setImportCustomRoutesFromPeer(boolean value)Whether custom routes are being imported from the peer network.
optional bool import_custom_routes_from_peer = 398584470;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe importCustomRoutesFromPeer to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
setImportSubnetRoutesWithPublicIpFromPeer(boolean value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setImportSubnetRoutesWithPublicIpFromPeer(boolean value)Whether subnet routes with public IP ranges are being imported from the peer network.
optional bool import_subnet_routes_with_public_ip_from_peer = 234712361;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe importSubnetRoutesWithPublicIpFromPeer to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
setStackType(String value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setStackType(String value)Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stackType to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |
setStackTypeBytes(ByteString value)
public NetworkPeeringConnectionStatusTrafficConfiguration.Builder setStackTypeBytes(ByteString value)Which IP version(s) of traffic and routes are being imported or exported between peer networks. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stackType to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusTrafficConfiguration.Builder |
This builder for chaining. |