public static final class RouteInfo.Builder extends GeneratedMessageV3.Builder<RouteInfo.Builder> implements RouteInfoOrBuilder
For display only. Metadata associated with a Compute Engine route.
Protobuf type google.cloud.networkmanagement.v1.RouteInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouteInfo.BuilderImplements
RouteInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDestPortRanges(Iterable<String> values)
public RouteInfo.Builder addAllDestPortRanges(Iterable<String> values)
Destination port ranges of the route. Policy based routes only.
repeated string dest_port_ranges = 11;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The destPortRanges to add. |
Returns | |
---|---|
Type | Description |
RouteInfo.Builder | This builder for chaining. |
addAllInstanceTags(Iterable<String> values)
public RouteInfo.Builder addAllInstanceTags(Iterable<String> values)
Instance tags of the route.
repeated string instance_tags = 7;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The instanceTags to add. |
Returns | |
---|---|
Type | Description |
RouteInfo.Builder | This builder for chaining. |
addAllProtocols(Iterable<String> values)
public RouteInfo.Builder addAllProtocols(Iterable<String> values)
Protocols of the route. Policy based routes only.
repeated string protocols = 13;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The protocols to add. |
Returns | |
---|---|
Type | Description |
RouteInfo.Builder | This builder for chaining. |
addAllSrcPortRanges(Iterable<String> values)
public RouteInfo.Builder addAllSrcPortRanges(Iterable<String> values)
Source port ranges of the route. Pol