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

package mcpgateway

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

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

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

func (m *McpGateway) SetTools(v []*McpTool) {
	m.Tools = v
}

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

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

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

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

func (m *McpGateway) SetStatus(v McpGateway_Status) {
	m.Status = v
}

func (m *McpGateway) SetBaseDomain(v string) {
	m.BaseDomain = v
}

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

func (m *McpGateway) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

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

func (m *McpGateway) SetCloudId(v string) {
	m.CloudId = v
}

func (m *McpGateway) SetPublic(v bool) {
	m.Public = v
}

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

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

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

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

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

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

func (m *McpGatewayPreview) SetStatus(v McpGateway_Status) {
	m.Status = v
}

func (m *McpGatewayPreview) SetBaseDomain(v string) {
	m.BaseDomain = v
}

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

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

func (m *McpGatewayPreview) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

func (m *McpGatewayPreview) SetPublic(v bool) {
	m.Public = 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 *McpTool) SetName(v string) {
	m.Name = v
}

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

func (m *McpTool) SetInputJsonSchema(v string) {
	m.InputJsonSchema = v
}

func (m *McpTool) SetAction(v *McpToolAction) {
	m.Action = v
}

type McpToolAction_Action = isMcpToolAction_Action

func (m *McpToolAction) SetAction(v McpToolAction_Action) {
	m.Action = v
}

func (m *McpToolAction) SetFunctionCall(v *FunctionCall) {
	m.Action = &McpToolAction_FunctionCall{
		FunctionCall: v,
	}
}

func (m *McpToolAction) SetContainerCall(v *ContainerCall) {
	m.Action = &McpToolAction_ContainerCall{
		ContainerCall: v,
	}
}

func (m *McpToolAction) SetHttpCall(v *HttpCall) {
	m.Action = &McpToolAction_HttpCall{
		HttpCall: v,
	}
}

func (m *McpToolAction) SetMcpCall(v *McpCall) {
	m.Action = &McpToolAction_McpCall{
		McpCall: v,
	}
}

func (m *McpToolAction) SetGrpcCall(v *GrpcCall) {
	m.Action = &McpToolAction_GrpcCall{
		GrpcCall: v,
	}
}

func (m *McpToolAction) SetStartWorkflow(v *StartWorkflow) {
	m.Action = &McpToolAction_StartWorkflow{
		StartWorkflow: v,
	}
}

func (m *FunctionCall) SetFunctionId(v string) {
	m.FunctionId = v
}

func (m *FunctionCall) SetTag(v string) {
	m.Tag = v
}

func (m *ContainerCall) SetContainerId(v string) {
	m.ContainerId = v
}

func (m *ContainerCall) SetPath(v string) {
	m.Path = v
}

func (m *ContainerCall) SetMethod(v HttpMethod) {
	m.Method = v
}

func (m *ContainerCall) SetBody(v string) {
	m.Body = v
}

func (m *ContainerCall) SetHeaders(v map[string]string) {
	m.Headers = v
}

func (m *ContainerCall) SetQuery(v map[string]string) {
	m.Query = v
}

func (m *ContainerCall) SetForwardHeaders(v *ForwardHeadersPolicy) {
	m.ForwardHeaders = v
}

func (m *HttpCall) SetUrl(v string) {
	m.Url = v
}

func (m *HttpCall) SetMethod(v HttpMethod) {
	m.Method = v
}

func (m *HttpCall) SetBody(v string) {
	m.Body = v
}

func (m *HttpCall) SetHeaders(v map[string]string) {
	m.Headers = v
}

func (m *HttpCall) SetQuery(v map[string]string) {
	m.Query = v
}

func (m *HttpCall) SetUseServiceAccount(v bool) {
	m.UseServiceAccount = v
}

func (m *HttpCall) SetForwardHeaders(v *ForwardHeadersPolicy) {
	m.ForwardHeaders = v
}

func (m *ForwardHeadersPolicy) SetMode(v ForwardHeadersPolicy_ForwardMode) {
	m.Mode = v
}

func (m *ForwardHeadersPolicy) SetHeaders(v []string) {
	m.Headers = v
}

type McpCall_Action = isMcpCall_Action

func (m *McpCall) SetAction(v McpCall_Action) {
	m.Action = v
}

type McpCall_Authorization = isMcpCall_Authorization

func (m *McpCall) SetAuthorization(v McpCall_Authorization) {
	m.Authorization = v
}

func (m *McpCall) SetUrl(v string) {
	m.Url = v
}

func (m *McpCall) SetToolCall(v *McpCall_ToolCall) {
	m.Action = &McpCall_ToolCall_{
		ToolCall: v,
	}
}

func (m *McpCall) SetTransport(v McpCall_Transport) {
	m.Transport = v
}

func (m *McpCall) SetUnauthorized(v *McpCall_NoAuthorization) {
	m.Authorization = &McpCall_Unauthorized{
		Unauthorized: v,
	}
}

func (m *McpCall) SetHeader(v *McpCall_HeaderAuthorization) {
	m.Authorization = &McpCall_Header{
		Header: v,
	}
}

func (m *McpCall) SetServiceAccount(v *McpCall_SaAuthorization) {
	m.Authorization = &McpCall_ServiceAccount{
		ServiceAccount: v,
	}
}

func (m *McpCall) SetForwardHeaders(v map[string]string) {
	m.ForwardHeaders = v
}

func (m *McpCall) SetTransferHeaders(v *ForwardHeadersPolicy) {
	m.TransferHeaders = v
}

func (m *McpCall_HeaderAuthorization) SetHeaderName(v string) {
	m.HeaderName = v
}

func (m *McpCall_HeaderAuthorization) SetHeaderValue(v string) {
	m.HeaderValue = v
}

func (m *McpCall_ToolCall) SetToolName(v string) {
	m.ToolName = v
}

func (m *McpCall_ToolCall) SetParametersJson(v string) {
	m.ParametersJson = v
}

func (m *GrpcCall) SetEndpoint(v string) {
	m.Endpoint = v
}

func (m *GrpcCall) SetMethod(v string) {
	m.Method = v
}

func (m *GrpcCall) SetUseServiceAccount(v bool) {
	m.UseServiceAccount = v
}

func (m *GrpcCall) SetBody(v string) {
	m.Body = v
}

func (m *GrpcCall) SetHeaders(v map[string]string) {
	m.Headers = v
}

func (m *GrpcCall) SetForwardHeaders(v *ForwardHeadersPolicy) {
	m.ForwardHeaders = v
}

func (m *StartWorkflow) SetWorkflowId(v string) {
	m.WorkflowId = v
}

func (m *StartWorkflow) SetInputJson(v string) {
	m.InputJson = v
}

func (m *StartWorkflow) SetMode(v StartWorkflow_Mode) {
	m.Mode = v
}
