Class KubernetesConfig.ServiceNetworking.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesConfig.ServiceNetworking.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesConfig.ServiceNetworking.Builder>
      • getDefaultInstanceForType

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

        public KubernetesConfig.ServiceNetworking build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public KubernetesConfig.ServiceNetworking buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesConfig.ServiceNetworking.Builder>
      • getServiceBytes

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

        public KubernetesConfig.ServiceNetworking.Builder setService​(String value)
         Required. Name of the Kubernetes Service.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public KubernetesConfig.ServiceNetworking.Builder clearService()
         Required. Name of the Kubernetes Service.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setServiceBytes

        public KubernetesConfig.ServiceNetworking.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         Required. Name of the Kubernetes Service.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • getDeployment

        public String getDeployment()
         Required. Name of the Kubernetes Deployment whose traffic is managed by
         the specified Service.
         
        string deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeployment in interface KubernetesConfig.ServiceNetworkingOrBuilder
        Returns:
        The deployment.
      • getDeploymentBytes

        public com.google.protobuf.ByteString getDeploymentBytes()
         Required. Name of the Kubernetes Deployment whose traffic is managed by
         the specified Service.
         
        string deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeploymentBytes in interface KubernetesConfig.ServiceNetworkingOrBuilder
        Returns:
        The bytes for deployment.
      • setDeployment

        public KubernetesConfig.ServiceNetworking.Builder setDeployment​(String value)
         Required. Name of the Kubernetes Deployment whose traffic is managed by
         the specified Service.
         
        string deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The deployment to set.
        Returns:
        This builder for chaining.
      • clearDeployment

        public KubernetesConfig.ServiceNetworking.Builder clearDeployment()
         Required. Name of the Kubernetes Deployment whose traffic is managed by
         the specified Service.
         
        string deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDeploymentBytes

        public KubernetesConfig.ServiceNetworking.Builder setDeploymentBytes​(com.google.protobuf.ByteString value)
         Required. Name of the Kubernetes Deployment whose traffic is managed by
         the specified Service.
         
        string deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for deployment to set.
        Returns:
        This builder for chaining.
      • getDisablePodOverprovisioning

        public boolean getDisablePodOverprovisioning()
         Optional. Whether to disable Pod overprovisioning. If Pod
         overprovisioning is disabled then Cloud Deploy will limit the number of
         total Pods used for the deployment strategy to the number of Pods the
         Deployment has on the cluster.
         
        bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisablePodOverprovisioning in interface KubernetesConfig.ServiceNetworkingOrBuilder
        Returns:
        The disablePodOverprovisioning.
      • setDisablePodOverprovisioning

        public KubernetesConfig.ServiceNetworking.Builder setDisablePodOverprovisioning​(boolean value)
         Optional. Whether to disable Pod overprovisioning. If Pod
         overprovisioning is disabled then Cloud Deploy will limit the number of
         total Pods used for the deployment strategy to the number of Pods the
         Deployment has on the cluster.
         
        bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The disablePodOverprovisioning to set.
        Returns:
        This builder for chaining.
      • clearDisablePodOverprovisioning

        public KubernetesConfig.ServiceNetworking.Builder clearDisablePodOverprovisioning()
         Optional. Whether to disable Pod overprovisioning. If Pod
         overprovisioning is disabled then Cloud Deploy will limit the number of
         total Pods used for the deployment strategy to the number of Pods the
         Deployment has on the cluster.
         
        bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.