public static final class NetworkRoutingConfig.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
NetworkRoutingConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkRoutingConfig |
build() |
NetworkRoutingConfig |
buildPartial() |
NetworkRoutingConfig.Builder |
clear() |
NetworkRoutingConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NetworkRoutingConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NetworkRoutingConfig.Builder |
clearRoutingMode()
The network-wide routing mode to use.
|
NetworkRoutingConfig.Builder |
clone() |
NetworkRoutingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRoutingMode()
The network-wide routing mode to use.
|
com.google.protobuf.ByteString |
getRoutingModeBytes()
The network-wide routing mode to use.
|
boolean |
hasRoutingMode()
The network-wide routing mode to use.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NetworkRoutingConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NetworkRoutingConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
NetworkRoutingConfig.Builder |
mergeFrom(NetworkRoutingConfig other) |
NetworkRoutingConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NetworkRoutingConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkRoutingConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NetworkRoutingConfig.Builder |
setRoutingMode(String value)
The network-wide routing mode to use.
|
NetworkRoutingConfig.Builder |
setRoutingModeBytes(com.google.protobuf.ByteString value)
The network-wide routing mode to use.
|
NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>public NetworkRoutingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NetworkRoutingConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NetworkRoutingConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NetworkRoutingConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.Builder mergeFrom(NetworkRoutingConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>public NetworkRoutingConfig.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<NetworkRoutingConfig.Builder>IOExceptionpublic 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;hasRoutingMode in interface NetworkRoutingConfigOrBuilderpublic 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;getRoutingMode in interface NetworkRoutingConfigOrBuilderpublic com.google.protobuf.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;getRoutingModeBytes in interface NetworkRoutingConfigOrBuilderpublic 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;value - The routingMode to set.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;public NetworkRoutingConfig.Builder setRoutingModeBytes(com.google.protobuf.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;value - The bytes for routingMode to set.public final NetworkRoutingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>public final NetworkRoutingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkRoutingConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.