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

package apigateway

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

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

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

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

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

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

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

func (m *ApiGateway) SetStatus(v ApiGateway_Status) {
	m.Status = v
}

func (m *ApiGateway) SetDomain(v string) {
	m.Domain = v
}

func (m *ApiGateway) SetLogGroupId(v string) {
	m.LogGroupId = v
}

func (m *ApiGateway) SetAttachedDomains(v []*AttachedDomain) {
	m.AttachedDomains = v
}

func (m *ApiGateway) SetConnectivity(v *Connectivity) {
	m.Connectivity = v
}

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

func (m *ApiGateway) SetVariables(v map[string]*VariableInput) {
	m.Variables = v
}

func (m *ApiGateway) SetCanary(v *Canary) {
	m.Canary = v
}

func (m *ApiGateway) SetExecutionTimeout(v *durationpb.Duration) {
	m.ExecutionTimeout = v
}

func (m *AttachedDomain) SetDomainId(v string) {
	m.DomainId = v
}

func (m *AttachedDomain) SetCertificateId(v string) {
	m.CertificateId = v
}

func (m *AttachedDomain) SetEnabled(v bool) {
	m.Enabled = v
}

func (m *AttachedDomain) SetDomain(v string) {
	m.Domain = v
}

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

func (m *Connectivity) SetSubnetId(v []string) {
	m.SubnetId = v
}

type LogOptions_Destination = isLogOptions_Destination

func (m *LogOptions) SetDestination(v LogOptions_Destination) {
	m.Destination = v
}

func (m *LogOptions) SetDisabled(v bool) {
	m.Disabled = v
}

func (m *LogOptions) SetLogGroupId(v string) {
	m.Destination = &LogOptions_LogGroupId{
		LogGroupId: v,
	}
}

func (m *LogOptions) SetFolderId(v string) {
	m.Destination = &LogOptions_FolderId{
		FolderId: v,
	}
}

func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level) {
	m.MinLevel = v
}

func (m *Canary) SetWeight(v int64) {
	m.Weight = v
}

func (m *Canary) SetVariables(v map[string]*VariableInput) {
	m.Variables = v
}

type VariableInput_VariableValue = isVariableInput_VariableValue

func (m *VariableInput) SetVariableValue(v VariableInput_VariableValue) {
	m.VariableValue = v
}

func (m *VariableInput) SetStringValue(v string) {
	m.VariableValue = &VariableInput_StringValue{
		StringValue: v,
	}
}

func (m *VariableInput) SetIntValue(v int64) {
	m.VariableValue = &VariableInput_IntValue{
		IntValue: v,
	}
}

func (m *VariableInput) SetDoubleValue(v float64) {
	m.VariableValue = &VariableInput_DoubleValue{
		DoubleValue: v,
	}
}

func (m *VariableInput) SetBoolValue(v bool) {
	m.VariableValue = &VariableInput_BoolValue{
		BoolValue: v,
	}
}
