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

package logging

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

func (m *GetSinkRequest) SetSinkId(v string) {
	m.SinkId = v
}

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

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

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

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

func (m *ListSinksResponse) SetSinks(v []*Sink) {
	m.Sinks = v
}

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

type CreateSinkRequest_Sink = isCreateSinkRequest_Sink

func (m *CreateSinkRequest) SetSink(v CreateSinkRequest_Sink) {
	m.Sink = v
}

func (m *CreateSinkRequest) SetYds(v *Sink_Yds) {
	m.Sink = &CreateSinkRequest_Yds{
		Yds: v,
	}
}

func (m *CreateSinkRequest) SetS3(v *Sink_S3) {
	m.Sink = &CreateSinkRequest_S3{
		S3: v,
	}
}

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

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

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

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

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

func (m *CreateSinkMetadata) SetSinkId(v string) {
	m.SinkId = v
}

type UpdateSinkRequest_Sink = isUpdateSinkRequest_Sink

func (m *UpdateSinkRequest) SetSink(v UpdateSinkRequest_Sink) {
	m.Sink = v
}

func (m *UpdateSinkRequest) SetYds(v *Sink_Yds) {
	m.Sink = &UpdateSinkRequest_Yds{
		Yds: v,
	}
}

func (m *UpdateSinkRequest) SetS3(v *Sink_S3) {
	m.Sink = &UpdateSinkRequest_S3{
		S3: v,
	}
}

func (m *UpdateSinkRequest) SetSinkId(v string) {
	m.SinkId = v
}

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

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

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

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

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

func (m *UpdateSinkMetadata) SetSinkId(v string) {
	m.SinkId = v
}

func (m *DeleteSinkRequest) SetSinkId(v string) {
	m.SinkId = v
}

func (m *DeleteSinkMetadata) SetSinkId(v string) {
	m.SinkId = v
}

func (m *ListSinkOperationsRequest) SetSinkId(v string) {
	m.SinkId = v
}

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

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

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

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

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