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

package cic

import (
	common "github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

type TrunkConnection_Joint = isTrunkConnection_Joint

func (m *TrunkConnection) SetJoint(v TrunkConnection_Joint) {
	m.Joint = v
}

func (m *TrunkConnection) SetId(v string) {
	m.Id = v
}

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

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

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

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

func (m *TrunkConnection) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *TrunkConnection) SetSinglePortDirectJoint(v *TrunkConnection_SinglePortDirectJoint) {
	m.Joint = &TrunkConnection_SinglePortDirectJoint_{
		SinglePortDirectJoint: v,
	}
}

func (m *TrunkConnection) SetLagDirectJoint(v *TrunkConnection_LagDirectJoint) {
	m.Joint = &TrunkConnection_LagDirectJoint_{
		LagDirectJoint: v,
	}
}

func (m *TrunkConnection) SetPartnerJointInfo(v *TrunkConnection_PartnerJointInfo) {
	m.Joint = &TrunkConnection_PartnerJointInfo_{
		PartnerJointInfo: v,
	}
}

func (m *TrunkConnection) SetPointOfPresenceId(v *wrapperspb.StringValue) {
	m.PointOfPresenceId = v
}

func (m *TrunkConnection) SetCapacity(v TrunkConnection_Capacity) {
	m.Capacity = v
}

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

func (m *TrunkConnection) SetStatus(v TrunkConnection_Status) {
	m.Status = v
}

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

func (m *TrunkConnection_PartnerJointInfo) SetServiceKey(v string) {
	m.ServiceKey = v
}

func (m *TrunkConnection_PartnerJointInfo) SetPartnerId(v *wrapperspb.StringValue) {
	m.PartnerId = v
}

func (m *TrunkConnection_SinglePortDirectJoint) SetTransceiverType(v common.TransceiverType) {
	m.TransceiverType = v
}

func (m *TrunkConnection_SinglePortDirectJoint) SetPortName(v *wrapperspb.StringValue) {
	m.PortName = v
}

func (m *TrunkConnection_SinglePortDirectJoint) SetAccessDeviceName(v string) {
	m.AccessDeviceName = v
}

func (m *TrunkConnection_LagDirectJoint) SetTransceiverType(v common.TransceiverType) {
	m.TransceiverType = v
}

func (m *TrunkConnection_LagDirectJoint) SetLagAllocationSettings(v *common.LagAllocationSettings) {
	m.LagAllocationSettings = v
}

func (m *TrunkConnection_LagDirectJoint) SetAccessDeviceName(v string) {
	m.AccessDeviceName = v
}
