// Code generated by protoc-gen-goext. DO NOT EDIT.

package loadbalancer

import (
	durationpb "google.golang.org/protobuf/types/known/durationpb"
)

type HealthCheck_Options = isHealthCheck_Options

func (m *HealthCheck) SetOptions(v HealthCheck_Options) {
	m.Options = v
}

func (m *HealthCheck) SetName(v string) {
	m.Name = v
}

func (m *HealthCheck) SetInterval(v *durationpb.Duration) {
	m.Interval = v
}

func (m *HealthCheck) SetTimeout(v *durationpb.Duration) {
	m.Timeout = v
}

func (m *HealthCheck) SetUnhealthyThreshold(v int64) {
	m.UnhealthyThreshold = v
}

func (m *HealthCheck) SetHealthyThreshold(v int64) {
	m.HealthyThreshold = v
}

func (m *HealthCheck) SetTcpOptions(v *HealthCheck_TcpOptions) {
	m.Options = &HealthCheck_TcpOptions_{
		TcpOptions: v,
	}
}

func (m *HealthCheck) SetHttpOptions(v *HealthCheck_HttpOptions) {
	m.Options = &HealthCheck_HttpOptions_{
		HttpOptions: v,
	}
}

func (m *HealthCheck_TcpOptions) SetPort(v int64) {
	m.Port = v
}

func (m *HealthCheck_HttpOptions) SetPort(v int64) {
	m.Port = v
}

func (m *HealthCheck_HttpOptions) SetPath(v string) {
	m.Path = v
}
