Class KubernetesConfig.GatewayServiceMesh

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh
All Implemented Interfaces:
KubernetesConfig.GatewayServiceMeshOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
KubernetesConfig

public static final class KubernetesConfig.GatewayServiceMesh extends com.google.protobuf.GeneratedMessage implements KubernetesConfig.GatewayServiceMeshOrBuilder
 Information about the Kubernetes Gateway API service mesh configuration.
 
Protobuf type google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh
See Also:
  • Field Details

    • HTTP_ROUTE_FIELD_NUMBER

      public static final int HTTP_ROUTE_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_FIELD_NUMBER

      public static final int DEPLOYMENT_FIELD_NUMBER
      See Also:
    • ROUTE_UPDATE_WAIT_TIME_FIELD_NUMBER

      public static final int ROUTE_UPDATE_WAIT_TIME_FIELD_NUMBER
      See Also:
    • STABLE_CUTBACK_DURATION_FIELD_NUMBER

      public static final int STABLE_CUTBACK_DURATION_FIELD_NUMBER
      See Also:
    • POD_SELECTOR_LABEL_FIELD_NUMBER

      public static final int POD_SELECTOR_LABEL_FIELD_NUMBER
      See Also:
    • ROUTE_DESTINATIONS_FIELD_NUMBER

      public static final int ROUTE_DESTINATIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getHttpRoute

      public String getHttpRoute()
       Required. Name of the Gateway API HTTPRoute.
       
      string http_route = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHttpRoute in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The httpRoute.
    • getHttpRouteBytes

      public com.google.protobuf.ByteString getHttpRouteBytes()
       Required. Name of the Gateway API HTTPRoute.
       
      string http_route = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHttpRouteBytes in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The bytes for httpRoute.
    • getService

      public String getService()
       Required. Name of the Kubernetes Service.
       
      string service = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getService in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Required. Name of the Kubernetes Service.
       
      string service = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceBytes in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The bytes for service.
    • getDeployment

      public 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];
      Specified by:
      getDeployment in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The deployment.
    • getDeploymentBytes

      public 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];
      Specified by:
      getDeploymentBytes in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The bytes for deployment.
    • hasRouteUpdateWaitTime

      public 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];
      Specified by:
      hasRouteUpdateWaitTime in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      Whether the routeUpdateWaitTime field is set.
    • getRouteUpdateWaitTime

      public 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];
      Specified by:
      getRouteUpdateWaitTime in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The routeUpdateWaitTime.
    • getRouteUpdateWaitTimeOrBuilder

      public 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];
      Specified by:
      getRouteUpdateWaitTimeOrBuilder in interface KubernetesConfig.GatewayServiceMeshOrBuilder
    • hasStableCutbackDuration

      public 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];
      Specified by:
      hasStableCutbackDuration in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      Whether the stableCutbackDuration field is set.
    • getStableCutbackDuration

      public 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];
      Specified by:
      getStableCutbackDuration in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The stableCutbackDuration.
    • getStableCutbackDurationOrBuilder

      public 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];
      Specified by:
      getStableCutbackDurationOrBuilder in interface KubernetesConfig.GatewayServiceMeshOrBuilder
    • getPodSelectorLabel

      public 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];
      Specified by:
      getPodSelectorLabel in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The podSelectorLabel.
    • getPodSelectorLabelBytes

      public 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];
      Specified by:
      getPodSelectorLabelBytes in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The bytes for podSelectorLabel.
    • hasRouteDestinations

      public 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];
      Specified by:
      hasRouteDestinations in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      Whether the routeDestinations field is set.
    • 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];
      Specified by:
      getRouteDestinations in interface KubernetesConfig.GatewayServiceMeshOrBuilder
      Returns:
      The routeDestinations.
    • 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];
      Specified by:
      getRouteDestinationsOrBuilder in interface KubernetesConfig.GatewayServiceMeshOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesConfig.GatewayServiceMesh parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesConfig.GatewayServiceMesh parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesConfig.GatewayServiceMesh parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public KubernetesConfig.GatewayServiceMesh.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static KubernetesConfig.GatewayServiceMesh.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected KubernetesConfig.GatewayServiceMesh.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static KubernetesConfig.GatewayServiceMesh getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<KubernetesConfig.GatewayServiceMesh> parser()
    • getParserForType

      public com.google.protobuf.Parser<KubernetesConfig.GatewayServiceMesh> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public KubernetesConfig.GatewayServiceMesh getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder