Package com.google.cloud.deploy.v1
Interface KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KubernetesConfig.GatewayServiceMesh.RouteDestinations,KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder
- Enclosing class:
- KubernetesConfig.GatewayServiceMesh
public static interface KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDestinationIds(int index) Required.com.google.protobuf.ByteStringgetDestinationIdsBytes(int index) Required.intRequired.Required.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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:
- A list containing the destinationIds.
-
getDestinationIdsCount
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:
- The count of destinationIds.
-
getDestinationIds
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];- Parameters:
index- The index of the element to return.- Returns:
- The destinationIds at the given index.
-
getDestinationIdsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destinationIds at the given index.
-
getPropagateService
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 facilitate 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:
- The propagateService.
-