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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkRoutingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NetworkRoutingConfig build()
buildPartial()
public NetworkRoutingConfig buildPartial()
clear()
public NetworkRoutingConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkRoutingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkRoutingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public NetworkRoutingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public NetworkRoutingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the routingMode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NetworkRoutingConfig other)
public NetworkRoutingConfig.Builder mergeFrom(NetworkRoutingConfig other)
public NetworkRoutingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NetworkRoutingConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkRoutingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkRoutingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkRoutingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | String
The routingMode to set.
|
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for routingMode to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkRoutingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides