Interface KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder (1.53.0)

public static interface KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationIds(int index)

public abstract String getDestinationIds(int index)

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destinationIds at the given index.

getDestinationIdsBytes(int index)

public abstract ByteString getDestinationIdsBytes(int index)

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destinationIds at the given index.

getDestinationIdsCount()

public abstract int getDestinationIdsCount()

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of destinationIds.

getDestinationIdsList()

public abstract List<String> getDestinationIdsList()

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the destinationIds.

getPropagateService()

public abstract boolean getPropagateService()

Optional. Whether to propagate the Kubernetes Service to the route destination clusters. The Service will always be deployed to the Target cluster even if the HTTPRoute is not. This option may be used to facilitiate successful DNS lookup in the route destination clusters. Can only be set to true if destinations are specified.

bool propagate_service = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The propagateService.