Class HealthStatusForNetworkEndpoint.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<HealthStatusForNetworkEndpoint.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<HealthStatusForNetworkEndpoint.Builder>
      • getDefaultInstanceForType

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

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

        public HealthStatusForNetworkEndpoint 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<HealthStatusForNetworkEndpoint.Builder>
      • hasBackendService

        public boolean hasBackendService()
         URL of the backend service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
        Specified by:
        hasBackendService in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        Whether the backendService field is set.
      • clearBackendService

        public HealthStatusForNetworkEndpoint.Builder clearBackendService()
         URL of the backend service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
      • getBackendServiceBuilder

        public BackendServiceReference.Builder getBackendServiceBuilder()
         URL of the backend service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;
      • hasForwardingRule

        public boolean hasForwardingRule()
         URL of the forwarding rule associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
        Specified by:
        hasForwardingRule in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        Whether the forwardingRule field is set.
      • clearForwardingRule

        public HealthStatusForNetworkEndpoint.Builder clearForwardingRule()
         URL of the forwarding rule associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
      • getForwardingRuleBuilder

        public ForwardingRuleReference.Builder getForwardingRuleBuilder()
         URL of the forwarding rule associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;
      • hasHealthCheck

        public boolean hasHealthCheck()
         URL of the health check associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
        Specified by:
        hasHealthCheck in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        Whether the healthCheck field is set.
      • clearHealthCheck

        public HealthStatusForNetworkEndpoint.Builder clearHealthCheck()
         URL of the health check associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
      • getHealthCheckBuilder

        public HealthCheckReference.Builder getHealthCheckBuilder()
         URL of the health check associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;
      • hasHealthCheckService

        public boolean hasHealthCheckService()
         URL of the health check service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
        Specified by:
        hasHealthCheckService in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        Whether the healthCheckService field is set.
      • clearHealthCheckService

        public HealthStatusForNetworkEndpoint.Builder clearHealthCheckService()
         URL of the health check service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
      • getHealthCheckServiceBuilder

        public HealthCheckServiceReference.Builder getHealthCheckServiceBuilder()
         URL of the health check service associated with the health state of the network endpoint.
         
        optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;
      • hasHealthState

        public boolean hasHealthState()
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Specified by:
        hasHealthState in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        Whether the healthState field is set.
      • getHealthState

        public String getHealthState()
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Specified by:
        getHealthState in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        The healthState.
      • getHealthStateBytes

        public com.google.protobuf.ByteString getHealthStateBytes()
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Specified by:
        getHealthStateBytes in interface HealthStatusForNetworkEndpointOrBuilder
        Returns:
        The bytes for healthState.
      • setHealthState

        public HealthStatusForNetworkEndpoint.Builder setHealthState​(String value)
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Parameters:
        value - The healthState to set.
        Returns:
        This builder for chaining.
      • clearHealthState

        public HealthStatusForNetworkEndpoint.Builder clearHealthState()
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Returns:
        This builder for chaining.
      • setHealthStateBytes

        public HealthStatusForNetworkEndpoint.Builder setHealthStateBytes​(com.google.protobuf.ByteString value)
         Health state of the network endpoint determined based on the health checks configured.
         Check the HealthState enum for the list of possible values.
         
        optional string health_state = 324007150;
        Parameters:
        value - The bytes for healthState to set.
        Returns:
        This builder for chaining.