public static final class ExchangedPeeringRoute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder> implements ExchangedPeeringRouteOrBuilder
Protobuf type
google.cloud.compute.v1.ExchangedPeeringRoute| Modifier and Type | Method and Description |
|---|---|
ExchangedPeeringRoute.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExchangedPeeringRoute |
build() |
ExchangedPeeringRoute |
buildPartial() |
ExchangedPeeringRoute.Builder |
clear() |
ExchangedPeeringRoute.Builder |
clearDestRange()
The destination range of the route.
|
ExchangedPeeringRoute.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExchangedPeeringRoute.Builder |
clearImported()
True if the peering route has been imported from a peer.
|
ExchangedPeeringRoute.Builder |
clearNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
|
ExchangedPeeringRoute.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExchangedPeeringRoute.Builder |
clearPriority()
The priority of the peering route.
|
ExchangedPeeringRoute.Builder |
clearType()
The type of the peering route.
|
ExchangedPeeringRoute.Builder |
clone() |
ExchangedPeeringRoute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestRange()
The destination range of the route.
|
com.google.protobuf.ByteString |
getDestRangeBytes()
The destination range of the route.
|
boolean |
getImported()
True if the peering route has been imported from a peer.
|
String |
getNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
|
com.google.protobuf.ByteString |
getNextHopRegionBytes()
The region of peering route next hop, only applies to dynamic routes.
|
int |
getPriority()
The priority of the peering route.
|
String |
getType()
The type of the peering route.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of the peering route.
|
boolean |
hasDestRange()
The destination range of the route.
|
boolean |
hasImported()
True if the peering route has been imported from a peer.
|
boolean |
hasNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
|
boolean |
hasPriority()
The priority of the peering route.
|
boolean |
hasType()
The type of the peering route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExchangedPeeringRoute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExchangedPeeringRoute.Builder |
mergeFrom(ExchangedPeeringRoute other) |
ExchangedPeeringRoute.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExchangedPeeringRoute.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExchangedPeeringRoute.Builder |
setDestRange(String value)
The destination range of the route.
|
ExchangedPeeringRoute.Builder |
setDestRangeBytes(com.google.protobuf.ByteString value)
The destination range of the route.
|
ExchangedPeeringRoute.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExchangedPeeringRoute.Builder |
setImported(boolean value)
True if the peering route has been imported from a peer.
|
ExchangedPeeringRoute.Builder |
setNextHopRegion(String value)
The region of peering route next hop, only applies to dynamic routes.
|
ExchangedPeeringRoute.Builder |
setNextHopRegionBytes(com.google.protobuf.ByteString value)
The region of peering route next hop, only applies to dynamic routes.
|
ExchangedPeeringRoute.Builder |
setPriority(int value)
The priority of the peering route.
|
ExchangedPeeringRoute.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExchangedPeeringRoute.Builder |
setType(String value)
The type of the peering route.
|
ExchangedPeeringRoute.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
The type of the peering route.
|
ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExchangedPeeringRoute build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExchangedPeeringRoute buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExchangedPeeringRoute.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.Builder mergeFrom(ExchangedPeeringRoute other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>public ExchangedPeeringRoute.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<ExchangedPeeringRoute.Builder>IOExceptionpublic boolean hasDestRange()
The destination range of the route.
optional string dest_range = 381327712;hasDestRange in interface ExchangedPeeringRouteOrBuilderpublic String getDestRange()
The destination range of the route.
optional string dest_range = 381327712;getDestRange in interface ExchangedPeeringRouteOrBuilderpublic com.google.protobuf.ByteString getDestRangeBytes()
The destination range of the route.
optional string dest_range = 381327712;getDestRangeBytes in interface ExchangedPeeringRouteOrBuilderpublic ExchangedPeeringRoute.Builder setDestRange(String value)
The destination range of the route.
optional string dest_range = 381327712;value - The destRange to set.public ExchangedPeeringRoute.Builder clearDestRange()
The destination range of the route.
optional string dest_range = 381327712;public ExchangedPeeringRoute.Builder setDestRangeBytes(com.google.protobuf.ByteString value)
The destination range of the route.
optional string dest_range = 381327712;value - The bytes for destRange to set.public boolean hasImported()
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;hasImported in interface ExchangedPeeringRouteOrBuilderpublic boolean getImported()
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;getImported in interface ExchangedPeeringRouteOrBuilderpublic ExchangedPeeringRoute.Builder setImported(boolean value)
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;value - The imported to set.public ExchangedPeeringRoute.Builder clearImported()
True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;public boolean hasNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;hasNextHopRegion in interface ExchangedPeeringRouteOrBuilderpublic String getNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;getNextHopRegion in interface ExchangedPeeringRouteOrBuilderpublic com.google.protobuf.ByteString getNextHopRegionBytes()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;getNextHopRegionBytes in interface ExchangedPeeringRouteOrBuilderpublic ExchangedPeeringRoute.Builder setNextHopRegion(String value)
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;value - The nextHopRegion to set.public ExchangedPeeringRoute.Builder clearNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;public ExchangedPeeringRoute.Builder setNextHopRegionBytes(com.google.protobuf.ByteString value)
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;value - The bytes for nextHopRegion to set.public boolean hasPriority()
The priority of the peering route.
optional uint32 priority = 445151652;hasPriority in interface ExchangedPeeringRouteOrBuilderpublic int getPriority()
The priority of the peering route.
optional uint32 priority = 445151652;getPriority in interface ExchangedPeeringRouteOrBuilderpublic ExchangedPeeringRoute.Builder setPriority(int value)
The priority of the peering route.
optional uint32 priority = 445151652;value - The priority to set.public ExchangedPeeringRoute.Builder clearPriority()
The priority of the peering route.
optional uint32 priority = 445151652;public boolean hasType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface ExchangedPeeringRouteOrBuilderpublic String getType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface ExchangedPeeringRouteOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface ExchangedPeeringRouteOrBuilderpublic ExchangedPeeringRoute.Builder setType(String value)
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The type to set.public ExchangedPeeringRoute.Builder clearType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;public ExchangedPeeringRoute.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The bytes for type to set.public final ExchangedPeeringRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>public final ExchangedPeeringRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder>Copyright © 2023 Google LLC. All rights reserved.