dns_zone.pbext.go raw

   1  // Code generated by protoc-gen-goext. DO NOT EDIT.
   2  
   3  package dns
   4  
   5  import (
   6  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
   7  )
   8  
   9  func (m *DnsZone) SetId(v string) {
  10  	m.Id = v
  11  }
  12  
  13  func (m *DnsZone) SetFolderId(v string) {
  14  	m.FolderId = v
  15  }
  16  
  17  func (m *DnsZone) SetCreatedAt(v *timestamppb.Timestamp) {
  18  	m.CreatedAt = v
  19  }
  20  
  21  func (m *DnsZone) SetName(v string) {
  22  	m.Name = v
  23  }
  24  
  25  func (m *DnsZone) SetDescription(v string) {
  26  	m.Description = v
  27  }
  28  
  29  func (m *DnsZone) SetLabels(v map[string]string) {
  30  	m.Labels = v
  31  }
  32  
  33  func (m *DnsZone) SetZone(v string) {
  34  	m.Zone = v
  35  }
  36  
  37  func (m *DnsZone) SetPrivateVisibility(v *PrivateVisibility) {
  38  	m.PrivateVisibility = v
  39  }
  40  
  41  func (m *DnsZone) SetPublicVisibility(v *PublicVisibility) {
  42  	m.PublicVisibility = v
  43  }
  44  
  45  func (m *DnsZone) SetDeletionProtection(v bool) {
  46  	m.DeletionProtection = v
  47  }
  48  
  49  func (m *RecordSet) SetName(v string) {
  50  	m.Name = v
  51  }
  52  
  53  func (m *RecordSet) SetType(v string) {
  54  	m.Type = v
  55  }
  56  
  57  func (m *RecordSet) SetTtl(v int64) {
  58  	m.Ttl = v
  59  }
  60  
  61  func (m *RecordSet) SetData(v []string) {
  62  	m.Data = v
  63  }
  64  
  65  func (m *PrivateVisibility) SetNetworkIds(v []string) {
  66  	m.NetworkIds = v
  67  }
  68