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

package vpc

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

func (m *GetAddressRequest) SetAddressId(v string) {
	m.AddressId = v
}

type GetAddressByValueRequest_Address = isGetAddressByValueRequest_Address

func (m *GetAddressByValueRequest) SetAddress(v GetAddressByValueRequest_Address) {
	m.Address = v
}

func (m *GetAddressByValueRequest) SetExternalIpv4Address(v string) {
	m.Address = &GetAddressByValueRequest_ExternalIpv4Address{
		ExternalIpv4Address: v,
	}
}

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

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

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

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

func (m *ListAddressesResponse) SetAddresses(v []*Address) {
	m.Addresses = v
}

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

type CreateAddressRequest_AddressSpec = isCreateAddressRequest_AddressSpec

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

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

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

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

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

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

func (m *CreateAddressRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *CreateAddressRequest) SetDnsRecordSpecs(v []*DnsRecordSpec) {
	m.DnsRecordSpecs = v
}

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

func (m *ExternalIpv4AddressSpec) SetZoneId(v string) {
	m.ZoneId = v
}

func (m *ExternalIpv4AddressSpec) SetRequirements(v *AddressRequirements) {
	m.Requirements = v
}

func (m *DnsRecordSpec) SetFqdn(v string) {
	m.Fqdn = v
}

func (m *DnsRecordSpec) SetDnsZoneId(v string) {
	m.DnsZoneId = v
}

func (m *DnsRecordSpec) SetTtl(v int64) {
	m.Ttl = v
}

func (m *DnsRecordSpec) SetPtr(v bool) {
	m.Ptr = v
}

func (m *CreateAddressMetadata) SetAddressId(v string) {
	m.AddressId = v
}

func (m *UpdateAddressRequest) SetAddressId(v string) {
	m.AddressId = v
}

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

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

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

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

func (m *UpdateAddressRequest) SetReserved(v bool) {
	m.Reserved = v
}

func (m *UpdateAddressRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *UpdateAddressRequest) SetDnsRecordSpecs(v []*DnsRecordSpec) {
	m.DnsRecordSpecs = v
}

func (m *UpdateAddressMetadata) SetAddressId(v string) {
	m.AddressId = v
}

func (m *DeleteAddressRequest) SetAddressId(v string) {
	m.AddressId = v
}

func (m *DeleteAddressMetadata) SetAddressId(v string) {
	m.AddressId = v
}

func (m *ListAddressOperationsRequest) SetAddressId(v string) {
	m.AddressId = v
}

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

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

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

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

func (m *MoveAddressRequest) SetAddressId(v string) {
	m.AddressId = v
}

func (m *MoveAddressRequest) SetDestinationFolderId(v string) {
	m.DestinationFolderId = v
}

func (m *MoveAddressMetadata) SetAddressId(v string) {
	m.AddressId = v
}
