- 1.91.0 (latest)
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 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 RouterBgpPeer.Builder extends GeneratedMessageV3.Builder<RouterBgpPeer.Builder> implements RouterBgpPeerOrBuilder Protobuf type google.cloud.compute.v1.RouterBgpPeer
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouterBgpPeer.BuilderImplements
RouterBgpPeerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdvertisedGroups(String value)
public RouterBgpPeer.Builder addAdvertisedGroups(String value)User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe advertisedGroups to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |
addAdvertisedGroupsBytes(ByteString value)
public RouterBgpPeer.Builder addAdvertisedGroupsBytes(ByteString value)User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the advertisedGroups to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |
addAdvertisedIpRanges(RouterAdvertisedIpRange value)
public RouterBgpPeer.Builder addAdvertisedIpRanges(RouterAdvertisedIpRange value)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameter | |
|---|---|
| Name | Description |
value |
RouterAdvertisedIpRange |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAdvertisedIpRanges(RouterAdvertisedIpRange.Builder builderForValue)
public RouterBgpPeer.Builder addAdvertisedIpRanges(RouterAdvertisedIpRange.Builder builderForValue)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouterAdvertisedIpRange.Builder |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
public RouterBgpPeer.Builder addAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouterAdvertisedIpRange |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)
public RouterBgpPeer.Builder addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouterAdvertisedIpRange.Builder |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAdvertisedIpRangesBuilder()
public RouterAdvertisedIpRange.Builder addAdvertisedIpRangesBuilder()User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
addAdvertisedIpRangesBuilder(int index)
public RouterAdvertisedIpRange.Builder addAdvertisedIpRangesBuilder(int index)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
addAllAdvertisedGroups(Iterable<String> values)
public RouterBgpPeer.Builder addAllAdvertisedGroups(Iterable<String> values)User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The advertisedGroups to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |
addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values)
public RouterBgpPeer.Builder addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values)User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterAdvertisedIpRange> |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAllCustomLearnedIpRanges(Iterable<? extends RouterBgpPeerCustomLearnedIpRange> values)
public RouterBgpPeer.Builder addAllCustomLearnedIpRanges(Iterable<? extends RouterBgpPeerCustomLearnedIpRange> values)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange> |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addAllExportPolicies(Iterable<String> values)
public RouterBgpPeer.Builder addAllExportPolicies(Iterable<String> values)List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type.
repeated string export_policies = 134084987;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The exportPolicies to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |
addAllImportPolicies(Iterable<String> values)
public RouterBgpPeer.Builder addAllImportPolicies(Iterable<String> values)List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type.
repeated string import_policies = 451147946;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The importPolicies to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |
addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange value)
public RouterBgpPeer.Builder addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange value)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameter | |
|---|---|
| Name | Description |
value |
RouterBgpPeerCustomLearnedIpRange |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)
public RouterBgpPeer.Builder addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouterBgpPeerCustomLearnedIpRange.Builder |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value)
public RouterBgpPeer.Builder addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouterBgpPeerCustomLearnedIpRange |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)
public RouterBgpPeer.Builder addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouterBgpPeerCustomLearnedIpRange.Builder |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addCustomLearnedIpRangesBuilder()
public RouterBgpPeerCustomLearnedIpRange.Builder addCustomLearnedIpRangesBuilder()A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeerCustomLearnedIpRange.Builder |
|
addCustomLearnedIpRangesBuilder(int index)
public RouterBgpPeerCustomLearnedIpRange.Builder addCustomLearnedIpRangesBuilder(int index)A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeerCustomLearnedIpRange.Builder |
|
addExportPolicies(String value)
public RouterBgpPeer.Builder addExportPolicies(String value)List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type.
repeated string export_policies = 134084987;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe exportPolicies to add. |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
This builder for chaining. |