Class HealthStatusForNetworkEndpoint

    • Field Detail

      • BACKEND_SERVICE_FIELD_NUMBER

        public static final int BACKEND_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORWARDING_RULE_FIELD_NUMBER

        public static final int FORWARDING_RULE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEALTH_CHECK_FIELD_NUMBER

        public static final int HEALTH_CHECK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEALTH_CHECK_SERVICE_FIELD_NUMBER

        public static final int HEALTH_CHECK_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEALTH_STATE_FIELD_NUMBER

        public static final int HEALTH_STATE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 HealthStatusForNetworkEndpoint parseFrom​(ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        protected HealthStatusForNetworkEndpoint.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<HealthStatusForNetworkEndpoint> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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