- 1.69.0 (latest)
- 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 BgpRoute.Builder extends GeneratedMessageV3.Builder<BgpRoute.Builder> implements BgpRouteOrBuilder
Protobuf type google.cloud.compute.v1.BgpRoute
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BgpRoute.BuilderImplements
BgpRouteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAsPaths(Iterable<? extends BgpRouteAsPath> values)
public BgpRoute.Builder addAllAsPaths(Iterable<? extends BgpRouteAsPath> values)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.BgpRouteAsPath> |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
addAllCommunities(Iterable<String> values)
public BgpRoute.Builder addAllCommunities(Iterable<String> values)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The communities to add. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
addAsPaths(BgpRouteAsPath value)
public BgpRoute.Builder addAsPaths(BgpRouteAsPath value)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
value |
BgpRouteAsPath |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
addAsPaths(BgpRouteAsPath.Builder builderForValue)
public BgpRoute.Builder addAsPaths(BgpRouteAsPath.Builder builderForValue)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
builderForValue |
BgpRouteAsPath.Builder |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
addAsPaths(int index, BgpRouteAsPath value)
public BgpRoute.Builder addAsPaths(int index, BgpRouteAsPath value)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BgpRouteAsPath |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
addAsPaths(int index, BgpRouteAsPath.Builder builderForValue)
public BgpRoute.Builder addAsPaths(int index, BgpRouteAsPath.Builder builderForValue)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BgpRouteAsPath.Builder |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
addAsPathsBuilder()
public BgpRouteAsPath.Builder addAsPathsBuilder()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
BgpRouteAsPath.Builder |
addAsPathsBuilder(int index)
public BgpRouteAsPath.Builder addAsPathsBuilder(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BgpRouteAsPath.Builder |
addCommunities(String value)
public BgpRoute.Builder addCommunities(String value)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameter | |
---|---|
Name | Description |
value |
String The communities to add. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
addCommunitiesBytes(ByteString value)
public BgpRoute.Builder addCommunitiesBytes(ByteString value)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the communities to add. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BgpRoute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
build()
public BgpRoute build()
Returns | |
---|---|
Type | Description |
BgpRoute |
buildPartial()
public BgpRoute buildPartial()
Returns | |
---|---|
Type | Description |
BgpRoute |
clear()
public BgpRoute.Builder clear()
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
clearAsPaths()
public BgpRoute.Builder clearAsPaths()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
clearCommunities()
public BgpRoute.Builder clearCommunities()
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
clearDestination()
public BgpRoute.Builder clearDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
clearField(Descriptors.FieldDescriptor field)
public BgpRoute.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
clearMed()
public BgpRoute.Builder clearMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BgpRoute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
clearOrigin()
public BgpRoute.Builder clearOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
clone()
public BgpRoute.Builder clone()
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
getAsPaths(int index)
public BgpRouteAsPath getAsPaths(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BgpRouteAsPath |
getAsPathsBuilder(int index)
public BgpRouteAsPath.Builder getAsPathsBuilder(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BgpRouteAsPath.Builder |
getAsPathsBuilderList()
public List<BgpRouteAsPath.Builder> getAsPathsBuilderList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAsPathsCount()
public int getAsPathsCount()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
int |
getAsPathsList()
public List<BgpRouteAsPath> getAsPathsList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
List<BgpRouteAsPath> |
getAsPathsOrBuilder(int index)
public BgpRouteAsPathOrBuilder getAsPathsOrBuilder(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BgpRouteAsPathOrBuilder |
getAsPathsOrBuilderList()
public List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.compute.v1.BgpRouteAsPathOrBuilder> |
getCommunities(int index)
public String getCommunities(int index)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The communities at the given index. |
getCommunitiesBytes(int index)
public ByteString getCommunitiesBytes(int index)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the communities at the given index. |
getCommunitiesCount()
public int getCommunitiesCount()
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Returns | |
---|---|
Type | Description |
int |
The count of communities. |
getCommunitiesList()
public ProtocolStringList getCommunitiesList()
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the communities. |
getDefaultInstanceForType()
public BgpRoute getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BgpRoute |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestination()
public BgpRouteNetworkLayerReachabilityInformation getDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Returns | |
---|---|
Type | Description |
BgpRouteNetworkLayerReachabilityInformation |
The destination. |
getDestinationBuilder()
public BgpRouteNetworkLayerReachabilityInformation.Builder getDestinationBuilder()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Returns | |
---|---|
Type | Description |
BgpRouteNetworkLayerReachabilityInformation.Builder |
getDestinationOrBuilder()
public BgpRouteNetworkLayerReachabilityInformationOrBuilder getDestinationOrBuilder()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Returns | |
---|---|
Type | Description |
BgpRouteNetworkLayerReachabilityInformationOrBuilder |
getMed()
public int getMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
Returns | |
---|---|
Type | Description |
int |
The med. |
getOrigin()
public String getOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Returns | |
---|---|
Type | Description |
String |
The origin. |
getOriginBytes()
public ByteString getOriginBytes()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for origin. |
hasDestination()
public boolean hasDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Returns | |
---|---|
Type | Description |
boolean |
Whether the destination field is set. |
hasMed()
public boolean hasMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
Returns | |
---|---|
Type | Description |
boolean |
Whether the med field is set. |
hasOrigin()
public boolean hasOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Returns | |
---|---|
Type | Description |
boolean |
Whether the origin field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDestination(BgpRouteNetworkLayerReachabilityInformation value)
public BgpRoute.Builder mergeDestination(BgpRouteNetworkLayerReachabilityInformation value)
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Parameter | |
---|---|
Name | Description |
value |
BgpRouteNetworkLayerReachabilityInformation |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
mergeFrom(BgpRoute other)
public BgpRoute.Builder mergeFrom(BgpRoute other)
Parameter | |
---|---|
Name | Description |
other |
BgpRoute |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BgpRoute.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BgpRoute.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BgpRoute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
removeAsPaths(int index)
public BgpRoute.Builder removeAsPaths(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setAsPaths(int index, BgpRouteAsPath value)
public BgpRoute.Builder setAsPaths(int index, BgpRouteAsPath value)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BgpRouteAsPath |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setAsPaths(int index, BgpRouteAsPath.Builder builderForValue)
public BgpRoute.Builder setAsPaths(int index, BgpRouteAsPath.Builder builderForValue)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BgpRouteAsPath.Builder |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setCommunities(int index, String value)
public BgpRoute.Builder setCommunities(int index, String value)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The communities to set. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
setDestination(BgpRouteNetworkLayerReachabilityInformation value)
public BgpRoute.Builder setDestination(BgpRouteNetworkLayerReachabilityInformation value)
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Parameter | |
---|---|
Name | Description |
value |
BgpRouteNetworkLayerReachabilityInformation |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setDestination(BgpRouteNetworkLayerReachabilityInformation.Builder builderForValue)
public BgpRoute.Builder setDestination(BgpRouteNetworkLayerReachabilityInformation.Builder builderForValue)
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
Parameter | |
---|---|
Name | Description |
builderForValue |
BgpRouteNetworkLayerReachabilityInformation.Builder |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BgpRoute.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setMed(int value)
public BgpRoute.Builder setMed(int value)
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;
Parameter | |
---|---|
Name | Description |
value |
int The med to set. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
setOrigin(String value)
public BgpRoute.Builder setOrigin(String value)
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Parameter | |
---|---|
Name | Description |
value |
String The origin to set. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
setOriginBytes(ByteString value)
public BgpRoute.Builder setOriginBytes(ByteString value)
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for origin to set. |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BgpRoute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BgpRoute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BgpRoute.Builder |