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

package vpc

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

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 *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 *CreateAddressMetadata) SetAddressId(v string) {
	m.AddressId = v
}

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

func (m *UpdateAddressRequest) SetUpdateMask(v *field_mask.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 *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
}
