- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NetworkRoutingConfig.Builder extends GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder> implements NetworkRoutingConfigOrBuilder
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.
Protobuf type google.cloud.compute.v1.NetworkRoutingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkRoutingConfig.BuilderImplements
NetworkRoutingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkRoutingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkRoutingConfig.Builder |
build()
public NetworkRoutingConfig build()
Type | Description |
NetworkRoutingConfig |
buildPartial()
public NetworkRoutingConfig buildPartial()
Type | Description |
NetworkRoutingConfig |
clear()
public NetworkRoutingConfig.Builder clear()
Type | Description |
NetworkRoutingConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public NetworkRoutingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NetworkRoutingConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkRoutingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NetworkRoutingConfig.Builder |
clearRoutingMode()
public NetworkRoutingConfig.Builder clearRoutingMode()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Type | Description |
NetworkRoutingConfig.Builder | This builder for chaining. |
clone()
public NetworkRoutingConfig.Builder clone()
Type | Description |
NetworkRoutingConfig.Builder |
getDefaultInstanceForType()
public NetworkRoutingConfig getDefaultInstanceForType()
Type | Description |
NetworkRoutingConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRoutingMode()
public String getRoutingMode()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Type | Description |
String | The routingMode. |
getRoutingModeBytes()
public ByteString getRoutingModeBytes()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Type | Description |
ByteString | The bytes for routingMode. |
hasRoutingMode()
public boolean hasRoutingMode()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Type | Description |
boolean | Whether the routingMode field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NetworkRoutingConfig other)
public NetworkRoutingConfig.Builder mergeFrom(NetworkRoutingConfig other)
Name | Description |
other | NetworkRoutingConfig |
Type | Description |
NetworkRoutingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkRoutingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkRoutingConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkRoutingConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NetworkRoutingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkRoutingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkRoutingConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkRoutingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkRoutingConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkRoutingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NetworkRoutingConfig.Builder |
setRoutingMode(String value)
public NetworkRoutingConfig.Builder setRoutingMode(String value)
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Name | Description |
value | String The routingMode to set. |
Type | Description |
NetworkRoutingConfig.Builder | This builder for chaining. |
setRoutingModeBytes(ByteString value)
public NetworkRoutingConfig.Builder setRoutingModeBytes(ByteString value)
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
Name | Description |
value | ByteString The bytes for routingMode to set. |
Type | Description |
NetworkRoutingConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkRoutingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkRoutingConfig.Builder |