Package com.google.cloud.deploy.v1
Interface KubernetesConfig.GatewayServiceMeshOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KubernetesConfig.GatewayServiceMesh,KubernetesConfig.GatewayServiceMesh.Builder
- Enclosing class:
- KubernetesConfig
public static interface KubernetesConfig.GatewayServiceMeshOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOptional.booleanOptional.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
-
getHttpRoute
String getHttpRoute()Required. Name of the Gateway API HTTPRoute.
string http_route = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The httpRoute.
-
getHttpRouteBytes
com.google.protobuf.ByteString getHttpRouteBytes()Required. Name of the Gateway API HTTPRoute.
string http_route = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for httpRoute.
-
getService
String getService()Required. Name of the Kubernetes Service.
string service = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()Required. Name of the Kubernetes Service.
string service = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for service.
-
getDeployment
String getDeployment()Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
string deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The deployment.
-
getDeploymentBytes
com.google.protobuf.ByteString getDeploymentBytes()Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.
string deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for deployment.
-
hasRouteUpdateWaitTime
boolean hasRouteUpdateWaitTime()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the routeUpdateWaitTime field is set.
-
getRouteUpdateWaitTime
com.google.protobuf.Duration getRouteUpdateWaitTime()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The routeUpdateWaitTime.
-
getRouteUpdateWaitTimeOrBuilder
com.google.protobuf.DurationOrBuilder getRouteUpdateWaitTimeOrBuilder()Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.
.google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasStableCutbackDuration
boolean hasStableCutbackDuration()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the stableCutbackDuration field is set.
-
getStableCutbackDuration
com.google.protobuf.Duration getStableCutbackDuration()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The stableCutbackDuration.
-
getStableCutbackDurationOrBuilder
com.google.protobuf.DurationOrBuilder getStableCutbackDurationOrBuilder()Optional. The amount of time to migrate traffic back from the canary Service to the original Service during the stable phase deployment. If specified, must be between 15s and 3600s. If unspecified, there is no cutback time.
.google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPodSelectorLabel
String getPodSelectorLabel()Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
string pod_selector_label = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The podSelectorLabel.
-
getPodSelectorLabelBytes
com.google.protobuf.ByteString getPodSelectorLabelBytes()Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.
string pod_selector_label = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for podSelectorLabel.
-
hasRouteDestinations
boolean hasRouteDestinations()Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the routeDestinations field is set.
-
getRouteDestinations
KubernetesConfig.GatewayServiceMesh.RouteDestinations getRouteDestinations()Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The routeDestinations.
-
getRouteDestinationsOrBuilder
KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder getRouteDestinationsOrBuilder()Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster.
.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];
-