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

package apploadbalancer

import (
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
)

func (m *GetLoadBalancerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *ListLoadBalancersRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *ListLoadBalancersRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListLoadBalancersRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListLoadBalancersRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListLoadBalancersResponse) SetLoadBalancers(v []*LoadBalancer) {
	m.LoadBalancers = v
}

func (m *ListLoadBalancersResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *DeleteLoadBalancerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *DeleteLoadBalancerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateLoadBalancerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateLoadBalancerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

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

func (m *UpdateLoadBalancerRequest) SetDescription(v string) {
	m.Description = v
}

func (m *UpdateLoadBalancerRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *UpdateLoadBalancerRequest) SetListenerSpecs(v []*ListenerSpec) {
	m.ListenerSpecs = v
}

func (m *UpdateLoadBalancerRequest) SetAllocationPolicy(v *AllocationPolicy) {
	m.AllocationPolicy = v
}

func (m *UpdateLoadBalancerRequest) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *UpdateLoadBalancerRequest) SetAutoScalePolicy(v *AutoScalePolicy) {
	m.AutoScalePolicy = v
}

func (m *UpdateLoadBalancerRequest) SetLogOptions(v *LogOptions) {
	m.LogOptions = v
}

func (m *UpdateLoadBalancerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *CreateLoadBalancerRequest) SetFolderId(v string) {
	m.FolderId = v
}

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

func (m *CreateLoadBalancerRequest) SetDescription(v string) {
	m.Description = v
}

func (m *CreateLoadBalancerRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *CreateLoadBalancerRequest) SetRegionId(v string) {
	m.RegionId = v
}

func (m *CreateLoadBalancerRequest) SetNetworkId(v string) {
	m.NetworkId = v
}

func (m *CreateLoadBalancerRequest) SetListenerSpecs(v []*ListenerSpec) {
	m.ListenerSpecs = v
}

func (m *CreateLoadBalancerRequest) SetAllocationPolicy(v *AllocationPolicy) {
	m.AllocationPolicy = v
}

func (m *CreateLoadBalancerRequest) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *CreateLoadBalancerRequest) SetAutoScalePolicy(v *AutoScalePolicy) {
	m.AutoScalePolicy = v
}

func (m *CreateLoadBalancerRequest) SetLogOptions(v *LogOptions) {
	m.LogOptions = v
}

func (m *CreateLoadBalancerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *StartLoadBalancerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *StartLoadBalancerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *StopLoadBalancerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *StopLoadBalancerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *AddListenerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *AddListenerRequest) SetListenerSpec(v *ListenerSpec) {
	m.ListenerSpec = v
}

func (m *AddListenerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *AddListenerMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *RemoveListenerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

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

func (m *RemoveListenerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *RemoveListenerMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *UpdateListenerRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateListenerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateListenerRequest) SetListenerSpec(v *ListenerSpec) {
	m.ListenerSpec = v
}

func (m *UpdateListenerMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateListenerMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

type AddressSpec_AddressSpec = isAddressSpec_AddressSpec

func (m *AddressSpec) SetAddressSpec(v AddressSpec_AddressSpec) {
	m.AddressSpec = v
}

func (m *AddressSpec) SetExternalIpv4AddressSpec(v *ExternalIpv4AddressSpec) {
	m.AddressSpec = &AddressSpec_ExternalIpv4AddressSpec{
		ExternalIpv4AddressSpec: v,
	}
}

func (m *AddressSpec) SetInternalIpv4AddressSpec(v *InternalIpv4AddressSpec) {
	m.AddressSpec = &AddressSpec_InternalIpv4AddressSpec{
		InternalIpv4AddressSpec: v,
	}
}

func (m *AddressSpec) SetExternalIpv6AddressSpec(v *ExternalIpv6AddressSpec) {
	m.AddressSpec = &AddressSpec_ExternalIpv6AddressSpec{
		ExternalIpv6AddressSpec: v,
	}
}

func (m *ExternalIpv4AddressSpec) SetAddress(v string) {
	m.Address = v
}

func (m *InternalIpv4AddressSpec) SetAddress(v string) {
	m.Address = v
}

func (m *InternalIpv4AddressSpec) SetSubnetId(v string) {
	m.SubnetId = v
}

func (m *ExternalIpv6AddressSpec) SetAddress(v string) {
	m.Address = v
}

func (m *EndpointSpec) SetAddressSpecs(v []*AddressSpec) {
	m.AddressSpecs = v
}

func (m *EndpointSpec) SetPorts(v []int64) {
	m.Ports = v
}

type ListenerSpec_Listener = isListenerSpec_Listener

func (m *ListenerSpec) SetListener(v ListenerSpec_Listener) {
	m.Listener = v
}

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

func (m *ListenerSpec) SetEndpointSpecs(v []*EndpointSpec) {
	m.EndpointSpecs = v
}

func (m *ListenerSpec) SetHttp(v *HttpListener) {
	m.Listener = &ListenerSpec_Http{
		Http: v,
	}
}

func (m *ListenerSpec) SetTls(v *TlsListener) {
	m.Listener = &ListenerSpec_Tls{
		Tls: v,
	}
}

func (m *ListenerSpec) SetStream(v *StreamListener) {
	m.Listener = &ListenerSpec_Stream{
		Stream: v,
	}
}

func (m *GetTargetStatesRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *GetTargetStatesRequest) SetBackendGroupId(v string) {
	m.BackendGroupId = v
}

func (m *GetTargetStatesRequest) SetTargetGroupId(v string) {
	m.TargetGroupId = v
}

func (m *GetTargetStatesResponse) SetTargetStates(v []*TargetState) {
	m.TargetStates = v
}

func (m *AddSniMatchRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *AddSniMatchRequest) SetListenerName(v string) {
	m.ListenerName = v
}

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

func (m *AddSniMatchRequest) SetServerNames(v []string) {
	m.ServerNames = v
}

func (m *AddSniMatchRequest) SetHandler(v *TlsHandler) {
	m.Handler = v
}

func (m *AddSniMatchMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *AddSniMatchMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *AddSniMatchMetadata) SetSniMatchName(v string) {
	m.SniMatchName = v
}

func (m *RemoveSniMatchRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *RemoveSniMatchRequest) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *RemoveSniMatchRequest) SetSniMatchName(v string) {
	m.SniMatchName = v
}

func (m *RemoveSniMatchMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *RemoveSniMatchMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *RemoveSniMatchMetadata) SetSniMatchName(v string) {
	m.SniMatchName = v
}

func (m *UpdateSniMatchRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateSniMatchRequest) SetListenerName(v string) {
	m.ListenerName = v
}

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

func (m *UpdateSniMatchRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateSniMatchRequest) SetServerNames(v []string) {
	m.ServerNames = v
}

func (m *UpdateSniMatchRequest) SetHandler(v *TlsHandler) {
	m.Handler = v
}

func (m *UpdateSniMatchMetadata) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *UpdateSniMatchMetadata) SetListenerName(v string) {
	m.ListenerName = v
}

func (m *UpdateSniMatchMetadata) SetSniMatchName(v string) {
	m.SniMatchName = v
}

func (m *ListLoadBalancerOperationsRequest) SetLoadBalancerId(v string) {
	m.LoadBalancerId = v
}

func (m *ListLoadBalancerOperationsRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListLoadBalancerOperationsRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListLoadBalancerOperationsResponse) SetOperations(v []*operation.Operation) {
	m.Operations = v
}

func (m *ListLoadBalancerOperationsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}
