- 1.86.0 (latest)
- 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 Route.Builder extends GeneratedMessageV3.Builder<Route.Builder> implements RouteOrBuilderRepresents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.
Protobuf type google.cloud.compute.v1.Route
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Route.BuilderImplements
RouteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAsPaths(Iterable<? extends RouteAsPath> values)
public Route.Builder addAllAsPaths(Iterable<? extends RouteAsPath> values)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouteAsPath> |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAllTags(Iterable<String> values)
public Route.Builder addAllTags(Iterable<String> values)A list of instance tags to which this route applies.
repeated string tags = 3552281;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The tags to add. |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
addAllWarnings(Iterable<? extends Warnings> values)
public Route.Builder addAllWarnings(Iterable<? extends Warnings> values)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Warnings> |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAsPaths(RouteAsPath value)
public Route.Builder addAsPaths(RouteAsPath value)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameter | |
|---|---|
| Name | Description |
value |
RouteAsPath |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAsPaths(RouteAsPath.Builder builderForValue)
public Route.Builder addAsPaths(RouteAsPath.Builder builderForValue)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouteAsPath.Builder |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAsPaths(int index, RouteAsPath value)
public Route.Builder addAsPaths(int index, RouteAsPath value)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouteAsPath |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAsPaths(int index, RouteAsPath.Builder builderForValue)
public Route.Builder addAsPaths(int index, RouteAsPath.Builder builderForValue)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouteAsPath.Builder |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addAsPathsBuilder()
public RouteAsPath.Builder addAsPathsBuilder()[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
addAsPathsBuilder(int index)
public RouteAsPath.Builder addAsPathsBuilder(int index)[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RouteAsPath.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Route.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addTags(String value)
public Route.Builder addTags(String value)A list of instance tags to which this route applies.
repeated string tags = 3552281;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tags to add. |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
addTagsBytes(ByteString value)
public Route.Builder addTagsBytes(ByteString value)A list of instance tags to which this route applies.
repeated string tags = 3552281;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the tags to add. |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
addWarnings(Warnings value)
public Route.Builder addWarnings(Warnings value)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameter | |
|---|---|
| Name | Description |
value |
Warnings |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addWarnings(Warnings.Builder builderForValue)
public Route.Builder addWarnings(Warnings.Builder builderForValue)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Warnings.Builder |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addWarnings(int index, Warnings value)
public Route.Builder addWarnings(int index, Warnings value)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Warnings |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addWarnings(int index, Warnings.Builder builderForValue)
public Route.Builder addWarnings(int index, Warnings.Builder builderForValue)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Warnings.Builder |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
addWarningsBuilder()
public Warnings.Builder addWarningsBuilder()[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Returns | |
|---|---|
| Type | Description |
Warnings.Builder |
|
addWarningsBuilder(int index)
public Warnings.Builder addWarningsBuilder(int index)[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Warnings.Builder |
|
build()
public Route build()| Returns | |
|---|---|
| Type | Description |
Route |
|
buildPartial()
public Route buildPartial()| Returns | |
|---|---|
| Type | Description |
Route |
|
clear()
public Route.Builder clear()| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
clearAsPaths()
public Route.Builder clearAsPaths()[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
clearCreationTimestamp()
public Route.Builder clearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
clearDescription()
public Route.Builder clearDescription()An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
clearDestRange()
public Route.Builder clearDestRange()The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Route.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
|
clearId()
public Route.Builder clearId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
Route.Builder |
This builder for chaining. |