github.com/cloudwan/edgelq-sdk@v1.15.4/logging/resources/v1/bucket/bucket_change.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/logging/proto/v1/bucket_change.proto
     3  // DO NOT EDIT!!!
     4  
     5  package bucket
     6  
     7  import (
     8  	"fmt"
     9  	"reflect"
    10  	"sync"
    11  
    12  	"google.golang.org/protobuf/encoding/protojson"
    13  	"google.golang.org/protobuf/proto"
    14  	preflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	"google.golang.org/protobuf/runtime/protoimpl"
    16  )
    17  
    18  // proto imports
    19  import (
    20  	iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization"
    21  	iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project"
    22  	meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service"
    23  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    24  )
    25  
    26  // Reference imports to suppress errors if they are not otherwise used.
    27  var (
    28  	_ = fmt.Errorf
    29  	_ = reflect.Method{}
    30  	_ = sync.Once{}
    31  
    32  	_ = protojson.MarshalOptions{}
    33  	_ = proto.MarshalOptions{}
    34  	_ = preflect.Value{}
    35  	_ = protoimpl.DescBuilder{}
    36  )
    37  
    38  // make sure we're using proto imports
    39  var (
    40  	_ = &iam_organization.Organization{}
    41  	_ = &iam_project.Project{}
    42  	_ = &fieldmaskpb.FieldMask{}
    43  	_ = &meta_service.Service{}
    44  )
    45  
    46  const (
    47  	// Verify that this generated code is sufficiently up-to-date.
    48  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    49  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    50  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    51  )
    52  
    53  // BucketChange is used by Watch notifications Responses to describe change of
    54  // single Bucket One of Added, Modified, Removed
    55  type BucketChange struct {
    56  	state         protoimpl.MessageState
    57  	sizeCache     protoimpl.SizeCache
    58  	unknownFields protoimpl.UnknownFields
    59  	// Bucket change
    60  	//
    61  	// Types that are valid to be assigned to ChangeType:
    62  	//	*BucketChange_Added_
    63  	//	*BucketChange_Modified_
    64  	//	*BucketChange_Current_
    65  	//	*BucketChange_Removed_
    66  	ChangeType isBucketChange_ChangeType `protobuf_oneof:"change_type"`
    67  }
    68  
    69  func (m *BucketChange) Reset() {
    70  	*m = BucketChange{}
    71  	if protoimpl.UnsafeEnabled {
    72  		mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[0]
    73  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    74  		ms.StoreMessageInfo(mi)
    75  	}
    76  }
    77  
    78  func (m *BucketChange) String() string {
    79  	return protoimpl.X.MessageStringOf(m)
    80  }
    81  
    82  func (*BucketChange) ProtoMessage() {}
    83  
    84  func (m *BucketChange) ProtoReflect() preflect.Message {
    85  	mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[0]
    86  	if protoimpl.UnsafeEnabled && m != nil {
    87  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    88  		if ms.LoadMessageInfo() == nil {
    89  			ms.StoreMessageInfo(mi)
    90  		}
    91  		return ms
    92  	}
    93  	return mi.MessageOf(m)
    94  }
    95  
    96  func (*BucketChange) GotenMessage() {}
    97  
    98  // Deprecated, Use BucketChange.ProtoReflect.Descriptor instead.
    99  func (*BucketChange) Descriptor() ([]byte, []int) {
   100  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP(), []int{0}
   101  }
   102  
   103  func (m *BucketChange) Unmarshal(b []byte) error {
   104  	return proto.Unmarshal(b, m)
   105  }
   106  
   107  func (m *BucketChange) Marshal() ([]byte, error) {
   108  	return proto.Marshal(m)
   109  }
   110  
   111  func (m *BucketChange) MarshalJSON() ([]byte, error) {
   112  	return protojson.MarshalOptions{}.Marshal(m)
   113  }
   114  
   115  func (m *BucketChange) UnmarshalJSON(data []byte) error {
   116  	return protojson.Unmarshal(data, m)
   117  }
   118  
   119  type isBucketChange_ChangeType interface {
   120  	isBucketChange_ChangeType()
   121  }
   122  
   123  type BucketChange_Added_ struct {
   124  	// Added is returned when watched document is added, either created or
   125  	// enters Query view
   126  	Added *BucketChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"`
   127  }
   128  type BucketChange_Modified_ struct {
   129  	// Modified is returned when watched document is modified
   130  	Modified *BucketChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"`
   131  }
   132  type BucketChange_Current_ struct {
   133  	// Current is returned in stateless watch when document enters query view or
   134  	// is modified within.
   135  	Current *BucketChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"`
   136  }
   137  type BucketChange_Removed_ struct {
   138  	// Removed is returned when Bucket is deleted or leaves Query view
   139  	Removed *BucketChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"`
   140  }
   141  
   142  func (*BucketChange_Added_) isBucketChange_ChangeType()    {}
   143  func (*BucketChange_Modified_) isBucketChange_ChangeType() {}
   144  func (*BucketChange_Current_) isBucketChange_ChangeType()  {}
   145  func (*BucketChange_Removed_) isBucketChange_ChangeType()  {}
   146  func (m *BucketChange) GetChangeType() isBucketChange_ChangeType {
   147  	if m != nil {
   148  		return m.ChangeType
   149  	}
   150  	return nil
   151  }
   152  func (m *BucketChange) GetAdded() *BucketChange_Added {
   153  	if x, ok := m.GetChangeType().(*BucketChange_Added_); ok {
   154  		return x.Added
   155  	}
   156  	return nil
   157  }
   158  func (m *BucketChange) GetModified() *BucketChange_Modified {
   159  	if x, ok := m.GetChangeType().(*BucketChange_Modified_); ok {
   160  		return x.Modified
   161  	}
   162  	return nil
   163  }
   164  func (m *BucketChange) GetCurrent() *BucketChange_Current {
   165  	if x, ok := m.GetChangeType().(*BucketChange_Current_); ok {
   166  		return x.Current
   167  	}
   168  	return nil
   169  }
   170  func (m *BucketChange) GetRemoved() *BucketChange_Removed {
   171  	if x, ok := m.GetChangeType().(*BucketChange_Removed_); ok {
   172  		return x.Removed
   173  	}
   174  	return nil
   175  }
   176  func (m *BucketChange) SetChangeType(ofv isBucketChange_ChangeType) {
   177  	if m == nil {
   178  		panic(fmt.Errorf("can't set %s on nil %s", "isBucketChange_ChangeType", "BucketChange"))
   179  	}
   180  	m.ChangeType = ofv
   181  }
   182  func (m *BucketChange) SetAdded(fv *BucketChange_Added) {
   183  	m.SetChangeType(&BucketChange_Added_{Added: fv})
   184  }
   185  func (m *BucketChange) SetModified(fv *BucketChange_Modified) {
   186  	m.SetChangeType(&BucketChange_Modified_{Modified: fv})
   187  }
   188  func (m *BucketChange) SetCurrent(fv *BucketChange_Current) {
   189  	m.SetChangeType(&BucketChange_Current_{Current: fv})
   190  }
   191  func (m *BucketChange) SetRemoved(fv *BucketChange_Removed) {
   192  	m.SetChangeType(&BucketChange_Removed_{Removed: fv})
   193  }
   194  
   195  // Bucket has been added to query view
   196  type BucketChange_Added struct {
   197  	state         protoimpl.MessageState
   198  	sizeCache     protoimpl.SizeCache
   199  	unknownFields protoimpl.UnknownFields
   200  	Bucket        *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
   201  	// Integer describing index of added Bucket in resulting query view.
   202  	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   203  }
   204  
   205  func (m *BucketChange_Added) Reset() {
   206  	*m = BucketChange_Added{}
   207  	if protoimpl.UnsafeEnabled {
   208  		mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[1]
   209  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   210  		ms.StoreMessageInfo(mi)
   211  	}
   212  }
   213  
   214  func (m *BucketChange_Added) String() string {
   215  	return protoimpl.X.MessageStringOf(m)
   216  }
   217  
   218  func (*BucketChange_Added) ProtoMessage() {}
   219  
   220  func (m *BucketChange_Added) ProtoReflect() preflect.Message {
   221  	mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[1]
   222  	if protoimpl.UnsafeEnabled && m != nil {
   223  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   224  		if ms.LoadMessageInfo() == nil {
   225  			ms.StoreMessageInfo(mi)
   226  		}
   227  		return ms
   228  	}
   229  	return mi.MessageOf(m)
   230  }
   231  
   232  func (*BucketChange_Added) GotenMessage() {}
   233  
   234  // Deprecated, Use BucketChange_Added.ProtoReflect.Descriptor instead.
   235  func (*BucketChange_Added) Descriptor() ([]byte, []int) {
   236  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP(), []int{0, 0}
   237  }
   238  
   239  func (m *BucketChange_Added) Unmarshal(b []byte) error {
   240  	return proto.Unmarshal(b, m)
   241  }
   242  
   243  func (m *BucketChange_Added) Marshal() ([]byte, error) {
   244  	return proto.Marshal(m)
   245  }
   246  
   247  func (m *BucketChange_Added) MarshalJSON() ([]byte, error) {
   248  	return protojson.MarshalOptions{}.Marshal(m)
   249  }
   250  
   251  func (m *BucketChange_Added) UnmarshalJSON(data []byte) error {
   252  	return protojson.Unmarshal(data, m)
   253  }
   254  
   255  func (m *BucketChange_Added) GetBucket() *Bucket {
   256  	if m != nil {
   257  		return m.Bucket
   258  	}
   259  	return nil
   260  }
   261  
   262  func (m *BucketChange_Added) GetViewIndex() int32 {
   263  	if m != nil {
   264  		return m.ViewIndex
   265  	}
   266  	return int32(0)
   267  }
   268  
   269  func (m *BucketChange_Added) SetBucket(fv *Bucket) {
   270  	if m == nil {
   271  		panic(fmt.Errorf("can't set %s on nil %s", "Bucket", "BucketChange_Added"))
   272  	}
   273  	m.Bucket = fv
   274  }
   275  
   276  func (m *BucketChange_Added) SetViewIndex(fv int32) {
   277  	if m == nil {
   278  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "BucketChange_Added"))
   279  	}
   280  	m.ViewIndex = fv
   281  }
   282  
   283  // Bucket changed some of it's fields - contains either full document or
   284  // masked change
   285  type BucketChange_Modified struct {
   286  	state         protoimpl.MessageState
   287  	sizeCache     protoimpl.SizeCache
   288  	unknownFields protoimpl.UnknownFields
   289  	// Name of modified Bucket
   290  	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   291  	// New version of Bucket or masked difference, depending on mask_changes
   292  	// instrumentation of issued [WatchBucketRequest] or [WatchBucketsRequest]
   293  	Bucket *Bucket `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
   294  	// Used when mask_changes is set, contains field paths of modified
   295  	// properties.
   296  	FieldMask *Bucket_FieldMask `protobuf:"bytes,3,opt,customtype=Bucket_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
   297  	// Previous view index specifies previous position of modified Bucket.
   298  	// When modification doesn't affect sorted order, value will remain
   299  	// identical to [view_index].
   300  	PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"`
   301  	// Integer specifying Bucket new index in resulting query view.
   302  	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   303  }
   304  
   305  func (m *BucketChange_Modified) Reset() {
   306  	*m = BucketChange_Modified{}
   307  	if protoimpl.UnsafeEnabled {
   308  		mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[2]
   309  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   310  		ms.StoreMessageInfo(mi)
   311  	}
   312  }
   313  
   314  func (m *BucketChange_Modified) String() string {
   315  	return protoimpl.X.MessageStringOf(m)
   316  }
   317  
   318  func (*BucketChange_Modified) ProtoMessage() {}
   319  
   320  func (m *BucketChange_Modified) ProtoReflect() preflect.Message {
   321  	mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[2]
   322  	if protoimpl.UnsafeEnabled && m != nil {
   323  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   324  		if ms.LoadMessageInfo() == nil {
   325  			ms.StoreMessageInfo(mi)
   326  		}
   327  		return ms
   328  	}
   329  	return mi.MessageOf(m)
   330  }
   331  
   332  func (*BucketChange_Modified) GotenMessage() {}
   333  
   334  // Deprecated, Use BucketChange_Modified.ProtoReflect.Descriptor instead.
   335  func (*BucketChange_Modified) Descriptor() ([]byte, []int) {
   336  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP(), []int{0, 1}
   337  }
   338  
   339  func (m *BucketChange_Modified) Unmarshal(b []byte) error {
   340  	return proto.Unmarshal(b, m)
   341  }
   342  
   343  func (m *BucketChange_Modified) Marshal() ([]byte, error) {
   344  	return proto.Marshal(m)
   345  }
   346  
   347  func (m *BucketChange_Modified) MarshalJSON() ([]byte, error) {
   348  	return protojson.MarshalOptions{}.Marshal(m)
   349  }
   350  
   351  func (m *BucketChange_Modified) UnmarshalJSON(data []byte) error {
   352  	return protojson.Unmarshal(data, m)
   353  }
   354  
   355  func (m *BucketChange_Modified) GetName() *Name {
   356  	if m != nil {
   357  		return m.Name
   358  	}
   359  	return nil
   360  }
   361  
   362  func (m *BucketChange_Modified) GetBucket() *Bucket {
   363  	if m != nil {
   364  		return m.Bucket
   365  	}
   366  	return nil
   367  }
   368  
   369  func (m *BucketChange_Modified) GetFieldMask() *Bucket_FieldMask {
   370  	if m != nil {
   371  		return m.FieldMask
   372  	}
   373  	return nil
   374  }
   375  
   376  func (m *BucketChange_Modified) GetPreviousViewIndex() int32 {
   377  	if m != nil {
   378  		return m.PreviousViewIndex
   379  	}
   380  	return int32(0)
   381  }
   382  
   383  func (m *BucketChange_Modified) GetViewIndex() int32 {
   384  	if m != nil {
   385  		return m.ViewIndex
   386  	}
   387  	return int32(0)
   388  }
   389  
   390  func (m *BucketChange_Modified) SetName(fv *Name) {
   391  	if m == nil {
   392  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "BucketChange_Modified"))
   393  	}
   394  	m.Name = fv
   395  }
   396  
   397  func (m *BucketChange_Modified) SetBucket(fv *Bucket) {
   398  	if m == nil {
   399  		panic(fmt.Errorf("can't set %s on nil %s", "Bucket", "BucketChange_Modified"))
   400  	}
   401  	m.Bucket = fv
   402  }
   403  
   404  func (m *BucketChange_Modified) SetFieldMask(fv *Bucket_FieldMask) {
   405  	if m == nil {
   406  		panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "BucketChange_Modified"))
   407  	}
   408  	m.FieldMask = fv
   409  }
   410  
   411  func (m *BucketChange_Modified) SetPreviousViewIndex(fv int32) {
   412  	if m == nil {
   413  		panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "BucketChange_Modified"))
   414  	}
   415  	m.PreviousViewIndex = fv
   416  }
   417  
   418  func (m *BucketChange_Modified) SetViewIndex(fv int32) {
   419  	if m == nil {
   420  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "BucketChange_Modified"))
   421  	}
   422  	m.ViewIndex = fv
   423  }
   424  
   425  // Bucket has been added or modified in a query view. Version used for
   426  // stateless watching
   427  type BucketChange_Current struct {
   428  	state         protoimpl.MessageState
   429  	sizeCache     protoimpl.SizeCache
   430  	unknownFields protoimpl.UnknownFields
   431  	Bucket        *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
   432  }
   433  
   434  func (m *BucketChange_Current) Reset() {
   435  	*m = BucketChange_Current{}
   436  	if protoimpl.UnsafeEnabled {
   437  		mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[3]
   438  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   439  		ms.StoreMessageInfo(mi)
   440  	}
   441  }
   442  
   443  func (m *BucketChange_Current) String() string {
   444  	return protoimpl.X.MessageStringOf(m)
   445  }
   446  
   447  func (*BucketChange_Current) ProtoMessage() {}
   448  
   449  func (m *BucketChange_Current) ProtoReflect() preflect.Message {
   450  	mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[3]
   451  	if protoimpl.UnsafeEnabled && m != nil {
   452  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   453  		if ms.LoadMessageInfo() == nil {
   454  			ms.StoreMessageInfo(mi)
   455  		}
   456  		return ms
   457  	}
   458  	return mi.MessageOf(m)
   459  }
   460  
   461  func (*BucketChange_Current) GotenMessage() {}
   462  
   463  // Deprecated, Use BucketChange_Current.ProtoReflect.Descriptor instead.
   464  func (*BucketChange_Current) Descriptor() ([]byte, []int) {
   465  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP(), []int{0, 2}
   466  }
   467  
   468  func (m *BucketChange_Current) Unmarshal(b []byte) error {
   469  	return proto.Unmarshal(b, m)
   470  }
   471  
   472  func (m *BucketChange_Current) Marshal() ([]byte, error) {
   473  	return proto.Marshal(m)
   474  }
   475  
   476  func (m *BucketChange_Current) MarshalJSON() ([]byte, error) {
   477  	return protojson.MarshalOptions{}.Marshal(m)
   478  }
   479  
   480  func (m *BucketChange_Current) UnmarshalJSON(data []byte) error {
   481  	return protojson.Unmarshal(data, m)
   482  }
   483  
   484  func (m *BucketChange_Current) GetBucket() *Bucket {
   485  	if m != nil {
   486  		return m.Bucket
   487  	}
   488  	return nil
   489  }
   490  
   491  func (m *BucketChange_Current) SetBucket(fv *Bucket) {
   492  	if m == nil {
   493  		panic(fmt.Errorf("can't set %s on nil %s", "Bucket", "BucketChange_Current"))
   494  	}
   495  	m.Bucket = fv
   496  }
   497  
   498  // Removed is returned when Bucket is deleted or leaves Query view
   499  type BucketChange_Removed struct {
   500  	state         protoimpl.MessageState
   501  	sizeCache     protoimpl.SizeCache
   502  	unknownFields protoimpl.UnknownFields
   503  	Name          *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   504  	// Integer specifying removed Bucket index. Not populated in stateless watch
   505  	// type.
   506  	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   507  }
   508  
   509  func (m *BucketChange_Removed) Reset() {
   510  	*m = BucketChange_Removed{}
   511  	if protoimpl.UnsafeEnabled {
   512  		mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[4]
   513  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   514  		ms.StoreMessageInfo(mi)
   515  	}
   516  }
   517  
   518  func (m *BucketChange_Removed) String() string {
   519  	return protoimpl.X.MessageStringOf(m)
   520  }
   521  
   522  func (*BucketChange_Removed) ProtoMessage() {}
   523  
   524  func (m *BucketChange_Removed) ProtoReflect() preflect.Message {
   525  	mi := &edgelq_logging_proto_v1_bucket_change_proto_msgTypes[4]
   526  	if protoimpl.UnsafeEnabled && m != nil {
   527  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   528  		if ms.LoadMessageInfo() == nil {
   529  			ms.StoreMessageInfo(mi)
   530  		}
   531  		return ms
   532  	}
   533  	return mi.MessageOf(m)
   534  }
   535  
   536  func (*BucketChange_Removed) GotenMessage() {}
   537  
   538  // Deprecated, Use BucketChange_Removed.ProtoReflect.Descriptor instead.
   539  func (*BucketChange_Removed) Descriptor() ([]byte, []int) {
   540  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP(), []int{0, 3}
   541  }
   542  
   543  func (m *BucketChange_Removed) Unmarshal(b []byte) error {
   544  	return proto.Unmarshal(b, m)
   545  }
   546  
   547  func (m *BucketChange_Removed) Marshal() ([]byte, error) {
   548  	return proto.Marshal(m)
   549  }
   550  
   551  func (m *BucketChange_Removed) MarshalJSON() ([]byte, error) {
   552  	return protojson.MarshalOptions{}.Marshal(m)
   553  }
   554  
   555  func (m *BucketChange_Removed) UnmarshalJSON(data []byte) error {
   556  	return protojson.Unmarshal(data, m)
   557  }
   558  
   559  func (m *BucketChange_Removed) GetName() *Name {
   560  	if m != nil {
   561  		return m.Name
   562  	}
   563  	return nil
   564  }
   565  
   566  func (m *BucketChange_Removed) GetViewIndex() int32 {
   567  	if m != nil {
   568  		return m.ViewIndex
   569  	}
   570  	return int32(0)
   571  }
   572  
   573  func (m *BucketChange_Removed) SetName(fv *Name) {
   574  	if m == nil {
   575  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "BucketChange_Removed"))
   576  	}
   577  	m.Name = fv
   578  }
   579  
   580  func (m *BucketChange_Removed) SetViewIndex(fv int32) {
   581  	if m == nil {
   582  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "BucketChange_Removed"))
   583  	}
   584  	m.ViewIndex = fv
   585  }
   586  
   587  var edgelq_logging_proto_v1_bucket_change_proto preflect.FileDescriptor
   588  
   589  var edgelq_logging_proto_v1_bucket_change_proto_rawDesc = []byte{
   590  	0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
   591  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,
   592  	0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e,
   593  	0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67,
   594  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   595  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   596  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
   597  	0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65,
   598  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f,
   599  	0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e,
   600  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73,
   601  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67,
   602  	0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   603  	0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   604  	0x6f, 0x22, 0x8c, 0x06, 0x0a, 0x0c, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e,
   605  	0x67, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   606  	0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e,
   607  	0x76, 0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e,
   608  	0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x43,
   609  	0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   610  	0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   611  	0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4d,
   612  	0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66,
   613  	0x69, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04,
   614  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   615  	0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e,
   616  	0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x75,
   617  	0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
   618  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67,
   619  	0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68,
   620  	0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x07,
   621  	0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x56, 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 0x64,
   622  	0x12, 0x2e, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   623  	0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   624  	0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,
   625  	0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
   626  	0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a,
   627  	0xf8, 0x01, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x04,
   628  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a,
   629  	0x0a, 0x08, 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   630  	0x12, 0x2e, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   631  	0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   632  	0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,
   633  	0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03,
   634  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
   635  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b,
   636  	0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74,
   637  	0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70,
   638  	0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64,
   639  	0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f,
   640  	0x75, 0x73, 0x56, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76,
   641  	0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
   642  	0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x39, 0x0a, 0x07, 0x43, 0x75,
   643  	0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18,
   644  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
   645  	0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62,
   646  	0x75, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x4c, 0x0a, 0x07, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
   647  	0x12, 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e,
   648  	0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x04,
   649  	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64,
   650  	0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e,
   651  	0x64, 0x65, 0x78, 0x3a, 0x0c, 0x9a, 0xd9, 0x21, 0x08, 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65,
   652  	0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
   653  	0x42, 0x6f, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e,
   654  	0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x42,
   655  	0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   656  	0x50, 0x00, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
   657  	0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c,
   658  	0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
   659  	0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x3b, 0x62, 0x75, 0x63, 0x6b, 0x65,
   660  	0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   661  }
   662  
   663  var (
   664  	edgelq_logging_proto_v1_bucket_change_proto_rawDescOnce sync.Once
   665  	edgelq_logging_proto_v1_bucket_change_proto_rawDescData = edgelq_logging_proto_v1_bucket_change_proto_rawDesc
   666  )
   667  
   668  func edgelq_logging_proto_v1_bucket_change_proto_rawDescGZIP() []byte {
   669  	edgelq_logging_proto_v1_bucket_change_proto_rawDescOnce.Do(func() {
   670  		edgelq_logging_proto_v1_bucket_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_logging_proto_v1_bucket_change_proto_rawDescData)
   671  	})
   672  	return edgelq_logging_proto_v1_bucket_change_proto_rawDescData
   673  }
   674  
   675  var edgelq_logging_proto_v1_bucket_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   676  var edgelq_logging_proto_v1_bucket_change_proto_goTypes = []interface{}{
   677  	(*BucketChange)(nil),          // 0: ntt.logging.v1.BucketChange
   678  	(*BucketChange_Added)(nil),    // 1: ntt.logging.v1.BucketChange.Added
   679  	(*BucketChange_Modified)(nil), // 2: ntt.logging.v1.BucketChange.Modified
   680  	(*BucketChange_Current)(nil),  // 3: ntt.logging.v1.BucketChange.Current
   681  	(*BucketChange_Removed)(nil),  // 4: ntt.logging.v1.BucketChange.Removed
   682  	(*Bucket)(nil),                // 5: ntt.logging.v1.Bucket
   683  	(*Bucket_FieldMask)(nil),      // 6: ntt.logging.v1.Bucket_FieldMask
   684  }
   685  var edgelq_logging_proto_v1_bucket_change_proto_depIdxs = []int32{
   686  	1, // 0: ntt.logging.v1.BucketChange.added:type_name -> ntt.logging.v1.BucketChange.Added
   687  	2, // 1: ntt.logging.v1.BucketChange.modified:type_name -> ntt.logging.v1.BucketChange.Modified
   688  	3, // 2: ntt.logging.v1.BucketChange.current:type_name -> ntt.logging.v1.BucketChange.Current
   689  	4, // 3: ntt.logging.v1.BucketChange.removed:type_name -> ntt.logging.v1.BucketChange.Removed
   690  	5, // 4: ntt.logging.v1.BucketChange.Added.bucket:type_name -> ntt.logging.v1.Bucket
   691  	5, // 5: ntt.logging.v1.BucketChange.Modified.bucket:type_name -> ntt.logging.v1.Bucket
   692  	6, // 6: ntt.logging.v1.BucketChange.Modified.field_mask:type_name -> ntt.logging.v1.Bucket_FieldMask
   693  	5, // 7: ntt.logging.v1.BucketChange.Current.bucket:type_name -> ntt.logging.v1.Bucket
   694  	8, // [8:8] is the sub-list for method output_type
   695  	8, // [8:8] is the sub-list for method input_type
   696  	8, // [8:8] is the sub-list for extension type_name
   697  	8, // [8:8] is the sub-list for extension extendee
   698  	0, // [0:8] is the sub-list for field type_name
   699  }
   700  
   701  func init() { edgelq_logging_proto_v1_bucket_change_proto_init() }
   702  func edgelq_logging_proto_v1_bucket_change_proto_init() {
   703  	if edgelq_logging_proto_v1_bucket_change_proto != nil {
   704  		return
   705  	}
   706  	if !protoimpl.UnsafeEnabled {
   707  
   708  		edgelq_logging_proto_v1_bucket_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   709  			switch v := v.(*BucketChange); i {
   710  			case 0:
   711  				return &v.state
   712  			case 1:
   713  				return &v.sizeCache
   714  			case 2:
   715  				return &v.unknownFields
   716  			default:
   717  				return nil
   718  			}
   719  		}
   720  		edgelq_logging_proto_v1_bucket_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   721  			switch v := v.(*BucketChange_Added); i {
   722  			case 0:
   723  				return &v.state
   724  			case 1:
   725  				return &v.sizeCache
   726  			case 2:
   727  				return &v.unknownFields
   728  			default:
   729  				return nil
   730  			}
   731  		}
   732  		edgelq_logging_proto_v1_bucket_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   733  			switch v := v.(*BucketChange_Modified); i {
   734  			case 0:
   735  				return &v.state
   736  			case 1:
   737  				return &v.sizeCache
   738  			case 2:
   739  				return &v.unknownFields
   740  			default:
   741  				return nil
   742  			}
   743  		}
   744  		edgelq_logging_proto_v1_bucket_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   745  			switch v := v.(*BucketChange_Current); i {
   746  			case 0:
   747  				return &v.state
   748  			case 1:
   749  				return &v.sizeCache
   750  			case 2:
   751  				return &v.unknownFields
   752  			default:
   753  				return nil
   754  			}
   755  		}
   756  		edgelq_logging_proto_v1_bucket_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   757  			switch v := v.(*BucketChange_Removed); i {
   758  			case 0:
   759  				return &v.state
   760  			case 1:
   761  				return &v.sizeCache
   762  			case 2:
   763  				return &v.unknownFields
   764  			default:
   765  				return nil
   766  			}
   767  		}
   768  	}
   769  
   770  	edgelq_logging_proto_v1_bucket_change_proto_msgTypes[0].OneofWrappers = []interface{}{
   771  		(*BucketChange_Added_)(nil),
   772  		(*BucketChange_Modified_)(nil),
   773  		(*BucketChange_Current_)(nil),
   774  		(*BucketChange_Removed_)(nil),
   775  	}
   776  	type x struct{}
   777  	out := protoimpl.TypeBuilder{
   778  		File: protoimpl.DescBuilder{
   779  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   780  			RawDescriptor: edgelq_logging_proto_v1_bucket_change_proto_rawDesc,
   781  			NumEnums:      0,
   782  			NumMessages:   5,
   783  			NumExtensions: 0,
   784  			NumServices:   0,
   785  		},
   786  		GoTypes:           edgelq_logging_proto_v1_bucket_change_proto_goTypes,
   787  		DependencyIndexes: edgelq_logging_proto_v1_bucket_change_proto_depIdxs,
   788  		MessageInfos:      edgelq_logging_proto_v1_bucket_change_proto_msgTypes,
   789  	}.Build()
   790  	edgelq_logging_proto_v1_bucket_change_proto = out.File
   791  	edgelq_logging_proto_v1_bucket_change_proto_rawDesc = nil
   792  	edgelq_logging_proto_v1_bucket_change_proto_goTypes = nil
   793  	edgelq_logging_proto_v1_bucket_change_proto_depIdxs = nil
   794  }