Class GrpcRoute.RouteAction.Builder (0.11.0)

public static final class GrpcRoute.RouteAction.Builder extends GeneratedMessageV3.Builder<GrpcRoute.RouteAction.Builder> implements GrpcRoute.RouteActionOrBuilder

Specifies how to route matched traffic.

Protobuf type google.cloud.networkservices.v1.GrpcRoute.RouteAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDestinations(Iterable<? extends GrpcRoute.Destination> values)

public GrpcRoute.RouteAction.Builder addAllDestinations(Iterable<? extends GrpcRoute.Destination> values)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkservices.v1.GrpcRoute.Destination>
Returns
Type Description
GrpcRoute.RouteAction.Builder

addDestinations(GrpcRoute.Destination value)

public GrpcRoute.RouteAction.Builder addDestinations(GrpcRoute.Destination value)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GrpcRoute.Destination
Returns
Type Description
GrpcRoute.RouteAction.Builder

addDestinations(GrpcRoute.Destination.Builder builderForValue)

public GrpcRoute.RouteAction.Builder addDestinations(GrpcRoute.Destination.Builder builderForValue)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GrpcRoute.Destination.Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

addDestinations(int index, GrpcRoute.Destination value)

public GrpcRoute.RouteAction.Builder addDestinations(int index, GrpcRoute.Destination value)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value GrpcRoute.Destination
Returns
Type Description
GrpcRoute.RouteAction.Builder

addDestinations(int index, GrpcRoute.Destination.Builder builderForValue)

public GrpcRoute.RouteAction.Builder addDestinations(int index, GrpcRoute.Destination.Builder builderForValue)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue GrpcRoute.Destination.Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

addDestinationsBuilder()

public GrpcRoute.Destination.Builder addDestinationsBuilder()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.Destination.Builder

addDestinationsBuilder(int index)

public GrpcRoute.Destination.Builder addDestinationsBuilder(int index)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GrpcRoute.Destination.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GrpcRoute.RouteAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

build()

public GrpcRoute.RouteAction build()
Returns
Type Description
GrpcRoute.RouteAction

buildPartial()

public GrpcRoute.RouteAction buildPartial()
Returns
Type Description
GrpcRoute.RouteAction

clear()

public GrpcRoute.RouteAction.Builder clear()
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

clearDestinations()

public GrpcRoute.RouteAction.Builder clearDestinations()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RouteAction.Builder

clearFaultInjectionPolicy()

public GrpcRoute.RouteAction.Builder clearFaultInjectionPolicy()

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RouteAction.Builder

clearField(Descriptors.FieldDescriptor field)

public GrpcRoute.RouteAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GrpcRoute.RouteAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

clearRetryPolicy()

public GrpcRoute.RouteAction.Builder clearRetryPolicy()

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RouteAction.Builder

clearTimeout()

public GrpcRoute.RouteAction.Builder clearTimeout()

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RouteAction.Builder

clone()

public GrpcRoute.RouteAction.Builder clone()
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

getDefaultInstanceForType()

public GrpcRoute.RouteAction getDefaultInstanceForType()
Returns
Type Description
GrpcRoute.RouteAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinations(int index)

public GrpcRoute.Destination getDestinations(int index)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GrpcRoute.Destination

getDestinationsBuilder(int index)

public GrpcRoute.Destination.Builder getDestinationsBuilder(int index)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GrpcRoute.Destination.Builder

getDestinationsBuilderList()

public List<GrpcRoute.Destination.Builder> getDestinationsBuilderList()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDestinationsCount()

public int getDestinationsCount()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDestinationsList()

public List<GrpcRoute.Destination> getDestinationsList()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Destination>

getDestinationsOrBuilder(int index)

public GrpcRoute.DestinationOrBuilder getDestinationsOrBuilder(int index)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GrpcRoute.DestinationOrBuilder

getDestinationsOrBuilderList()

public List<? extends GrpcRoute.DestinationOrBuilder> getDestinationsOrBuilderList()

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.GrpcRoute.DestinationOrBuilder>

getFaultInjectionPolicy()

public GrpcRoute.FaultInjectionPolicy getFaultInjectionPolicy()

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.FaultInjectionPolicy

The faultInjectionPolicy.

getFaultInjectionPolicyBuilder()

public GrpcRoute.FaultInjectionPolicy.Builder getFaultInjectionPolicyBuilder()

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.FaultInjectionPolicy.Builder

getFaultInjectionPolicyOrBuilder()

public GrpcRoute.FaultInjectionPolicyOrBuilder getFaultInjectionPolicyOrBuilder()

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.FaultInjectionPolicyOrBuilder

getRetryPolicy()

public GrpcRoute.RetryPolicy getRetryPolicy()

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RetryPolicy

The retryPolicy.

getRetryPolicyBuilder()

public GrpcRoute.RetryPolicy.Builder getRetryPolicyBuilder()

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RetryPolicy.Builder

getRetryPolicyOrBuilder()

public GrpcRoute.RetryPolicyOrBuilder getRetryPolicyOrBuilder()

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GrpcRoute.RetryPolicyOrBuilder

getTimeout()

public Duration getTimeout()

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The timeout.

getTimeoutBuilder()

public Duration.Builder getTimeoutBuilder()

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getTimeoutOrBuilder()

public DurationOrBuilder getTimeoutOrBuilder()

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasFaultInjectionPolicy()

public boolean hasFaultInjectionPolicy()

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the faultInjectionPolicy field is set.

hasRetryPolicy()

public boolean hasRetryPolicy()

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the retryPolicy field is set.

hasTimeout()

public boolean hasTimeout()

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the timeout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy value)

public GrpcRoute.RouteAction.Builder mergeFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy value)

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GrpcRoute.FaultInjectionPolicy
Returns
Type Description
GrpcRoute.RouteAction.Builder

mergeFrom(GrpcRoute.RouteAction other)

public GrpcRoute.RouteAction.Builder mergeFrom(GrpcRoute.RouteAction other)
Parameter
Name Description
other GrpcRoute.RouteAction
Returns
Type Description
GrpcRoute.RouteAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GrpcRoute.RouteAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GrpcRoute.RouteAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

mergeRetryPolicy(GrpcRoute.RetryPolicy value)

public GrpcRoute.RouteAction.Builder mergeRetryPolicy(GrpcRoute.RetryPolicy value)

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GrpcRoute.RetryPolicy
Returns
Type Description
GrpcRoute.RouteAction.Builder

mergeTimeout(Duration value)

public GrpcRoute.RouteAction.Builder mergeTimeout(Duration value)

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
GrpcRoute.RouteAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GrpcRoute.RouteAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

removeDestinations(int index)

public GrpcRoute.RouteAction.Builder removeDestinations(int index)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GrpcRoute.RouteAction.Builder

setDestinations(int index, GrpcRoute.Destination value)

public GrpcRoute.RouteAction.Builder setDestinations(int index, GrpcRoute.Destination value)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value GrpcRoute.Destination
Returns
Type Description
GrpcRoute.RouteAction.Builder

setDestinations(int index, GrpcRoute.Destination.Builder builderForValue)

public GrpcRoute.RouteAction.Builder setDestinations(int index, GrpcRoute.Destination.Builder builderForValue)

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

repeated .google.cloud.networkservices.v1.GrpcRoute.Destination destinations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue GrpcRoute.Destination.Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

setFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy value)

public GrpcRoute.RouteAction.Builder setFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy value)

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GrpcRoute.FaultInjectionPolicy
Returns
Type Description
GrpcRoute.RouteAction.Builder

setFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy.Builder builderForValue)

public GrpcRoute.RouteAction.Builder setFaultInjectionPolicy(GrpcRoute.FaultInjectionPolicy.Builder builderForValue)

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

.google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy fault_injection_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GrpcRoute.FaultInjectionPolicy.Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GrpcRoute.RouteAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GrpcRoute.RouteAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides

setRetryPolicy(GrpcRoute.RetryPolicy value)

public GrpcRoute.RouteAction.Builder setRetryPolicy(GrpcRoute.RetryPolicy value)

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GrpcRoute.RetryPolicy
Returns
Type Description
GrpcRoute.RouteAction.Builder

setRetryPolicy(GrpcRoute.RetryPolicy.Builder builderForValue)

public GrpcRoute.RouteAction.Builder setRetryPolicy(GrpcRoute.RetryPolicy.Builder builderForValue)

Optional. Specifies the retry policy associated with this route.

.google.cloud.networkservices.v1.GrpcRoute.RetryPolicy retry_policy = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GrpcRoute.RetryPolicy.Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

setTimeout(Duration value)

public GrpcRoute.RouteAction.Builder setTimeout(Duration value)

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
GrpcRoute.RouteAction.Builder

setTimeout(Duration.Builder builderForValue)

public GrpcRoute.RouteAction.Builder setTimeout(Duration.Builder builderForValue)

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

.google.protobuf.Duration timeout = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GrpcRoute.RouteAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GrpcRoute.RouteAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcRoute.RouteAction.Builder
Overrides