- 1.63.0 (latest)
- 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 ExchangedPeeringRoute.Builder extends GeneratedMessageV3.Builder<ExchangedPeeringRoute.Builder> implements ExchangedPeeringRouteOrBuilder
Protobuf type google.cloud.compute.v1.ExchangedPeeringRoute
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExchangedPeeringRoute.BuilderImplements
ExchangedPeeringRouteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExchangedPeeringRoute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExchangedPeeringRoute.Builder |
build()
public ExchangedPeeringRoute build()
Type | Description |
ExchangedPeeringRoute |
buildPartial()
public ExchangedPeeringRoute buildPartial()
Type | Description |
ExchangedPeeringRoute |
clear()
public ExchangedPeeringRoute.Builder clear()
Type | Description |
ExchangedPeeringRoute.Builder |
clearDestRange()
public ExchangedPeeringRoute.Builder clearDestRange()
The destination range of the route.
optional string dest_range = 381327712;
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExchangedPeeringRoute.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ExchangedPeeringRoute.Builder |
clearImported()
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;
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
clearNextHopRegion()
public ExchangedPeeringRoute.Builder clearNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExchangedPeeringRoute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ExchangedPeeringRoute.Builder |
clearPriority()
public ExchangedPeeringRoute.Builder clearPriority()
The priority of the peering route.
optional uint32 priority = 445151652;
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
clearType()
public ExchangedPeeringRoute.Builder clearType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
clone()
public ExchangedPeeringRoute.Builder clone()
Type | Description |
ExchangedPeeringRoute.Builder |
getDefaultInstanceForType()
public ExchangedPeeringRoute getDefaultInstanceForType()
Type | Description |
ExchangedPeeringRoute |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestRange()
public String getDestRange()
The destination range of the route.
optional string dest_range = 381327712;
Type | Description |
String | The destRange. |
getDestRangeBytes()
public ByteString getDestRangeBytes()
The destination range of the route.
optional string dest_range = 381327712;
Type | Description |
ByteString | The bytes for destRange. |
getImported()
public 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;
Type | Description |
boolean | The imported. |
getNextHopRegion()
public String getNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Type | Description |
String | The nextHopRegion. |
getNextHopRegionBytes()
public ByteString getNextHopRegionBytes()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Type | Description |
ByteString | The bytes for nextHopRegion. |
getPriority()
public int getPriority()
The priority of the peering route.
optional uint32 priority = 445151652;
Type | Description |
int | The priority. |
getType()
public String getType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;
Type | Description |
String | The type. |
getTypeBytes()
public ByteString getTypeBytes()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;
Type | Description |
ByteString | The bytes for type. |
hasDestRange()
public boolean hasDestRange()
The destination range of the route.
optional string dest_range = 381327712;
Type | Description |
boolean | Whether the destRange field is set. |
hasImported()
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;
Type | Description |
boolean | Whether the imported field is set. |
hasNextHopRegion()
public boolean hasNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Type | Description |
boolean | Whether the nextHopRegion field is set. |
hasPriority()
public boolean hasPriority()
The priority of the peering route.
optional uint32 priority = 445151652;
Type | Description |
boolean | Whether the priority field is set. |
hasType()
public boolean hasType()
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;
Type | Description |
boolean | Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ExchangedPeeringRoute other)
public ExchangedPeeringRoute.Builder mergeFrom(ExchangedPeeringRoute other)
Name | Description |
other | ExchangedPeeringRoute |
Type | Description |
ExchangedPeeringRoute.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExchangedPeeringRoute.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExchangedPeeringRoute.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ExchangedPeeringRoute.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ExchangedPeeringRoute.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExchangedPeeringRoute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExchangedPeeringRoute.Builder |
setDestRange(String value)
public ExchangedPeeringRoute.Builder setDestRange(String value)
The destination range of the route.
optional string dest_range = 381327712;
Name | Description |
value | String The destRange to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setDestRangeBytes(ByteString value)
public ExchangedPeeringRoute.Builder setDestRangeBytes(ByteString value)
The destination range of the route.
optional string dest_range = 381327712;
Name | Description |
value | ByteString The bytes for destRange to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExchangedPeeringRoute.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExchangedPeeringRoute.Builder |
setImported(boolean value)
public 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;
Name | Description |
value | boolean The imported to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setNextHopRegion(String value)
public ExchangedPeeringRoute.Builder setNextHopRegion(String value)
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Name | Description |
value | String The nextHopRegion to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setNextHopRegionBytes(ByteString value)
public ExchangedPeeringRoute.Builder setNextHopRegionBytes(ByteString value)
The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;
Name | Description |
value | ByteString The bytes for nextHopRegion to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setPriority(int value)
public ExchangedPeeringRoute.Builder setPriority(int value)
The priority of the peering route.
optional uint32 priority = 445151652;
Name | Description |
value | int The priority to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExchangedPeeringRoute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ExchangedPeeringRoute.Builder |
setType(String value)
public 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;
Name | Description |
value | String The type to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public ExchangedPeeringRoute.Builder setTypeBytes(ByteString value)
The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;
Name | Description |
value | ByteString The bytes for type to set. |
Type | Description |
ExchangedPeeringRoute.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExchangedPeeringRoute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExchangedPeeringRoute.Builder |