...

Source file src/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go

Documentation: cloud.google.com/go/monitoring/apiv3/v2/monitoringpb

     1  // Copyright 2023 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.33.0
    18  // 	protoc        v4.25.3
    19  // source: google/monitoring/v3/mutation_record.proto
    20  
    21  package monitoringpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Describes a change made to a configuration.
    40  type MutationRecord struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// When the change occurred.
    46  	MutateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=mutate_time,json=mutateTime,proto3" json:"mutate_time,omitempty"`
    47  	// The email address of the user making the change.
    48  	MutatedBy string `protobuf:"bytes,2,opt,name=mutated_by,json=mutatedBy,proto3" json:"mutated_by,omitempty"`
    49  }
    50  
    51  func (x *MutationRecord) Reset() {
    52  	*x = MutationRecord{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_monitoring_v3_mutation_record_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *MutationRecord) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*MutationRecord) ProtoMessage() {}
    65  
    66  func (x *MutationRecord) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_monitoring_v3_mutation_record_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use MutationRecord.ProtoReflect.Descriptor instead.
    79  func (*MutationRecord) Descriptor() ([]byte, []int) {
    80  	return file_google_monitoring_v3_mutation_record_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *MutationRecord) GetMutateTime() *timestamppb.Timestamp {
    84  	if x != nil {
    85  		return x.MutateTime
    86  	}
    87  	return nil
    88  }
    89  
    90  func (x *MutationRecord) GetMutatedBy() string {
    91  	if x != nil {
    92  		return x.MutatedBy
    93  	}
    94  	return ""
    95  }
    96  
    97  var File_google_monitoring_v3_mutation_record_proto protoreflect.FileDescriptor
    98  
    99  var file_google_monitoring_v3_mutation_record_proto_rawDesc = []byte{
   100  	0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   101  	0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
   102  	0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f,
   103  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   104  	0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   105  	0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
   106  	0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
   107  	0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x5f,
   108  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   109  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   110  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x54, 0x69,
   111  	0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79,
   112  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x64, 0x42,
   113  	0x79, 0x42, 0xce, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   114  	0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x13,
   115  	0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x72,
   116  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
   117  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
   118  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x76, 0x32, 0x2f, 0x6d,
   119  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x6d, 0x6f, 0x6e, 0x69,
   120  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   121  	0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   122  	0x6e, 0x67, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
   123  	0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c,
   124  	0x56, 0x33, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
   125  	0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a,
   126  	0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   127  }
   128  
   129  var (
   130  	file_google_monitoring_v3_mutation_record_proto_rawDescOnce sync.Once
   131  	file_google_monitoring_v3_mutation_record_proto_rawDescData = file_google_monitoring_v3_mutation_record_proto_rawDesc
   132  )
   133  
   134  func file_google_monitoring_v3_mutation_record_proto_rawDescGZIP() []byte {
   135  	file_google_monitoring_v3_mutation_record_proto_rawDescOnce.Do(func() {
   136  		file_google_monitoring_v3_mutation_record_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_mutation_record_proto_rawDescData)
   137  	})
   138  	return file_google_monitoring_v3_mutation_record_proto_rawDescData
   139  }
   140  
   141  var file_google_monitoring_v3_mutation_record_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   142  var file_google_monitoring_v3_mutation_record_proto_goTypes = []interface{}{
   143  	(*MutationRecord)(nil),        // 0: google.monitoring.v3.MutationRecord
   144  	(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
   145  }
   146  var file_google_monitoring_v3_mutation_record_proto_depIdxs = []int32{
   147  	1, // 0: google.monitoring.v3.MutationRecord.mutate_time:type_name -> google.protobuf.Timestamp
   148  	1, // [1:1] is the sub-list for method output_type
   149  	1, // [1:1] is the sub-list for method input_type
   150  	1, // [1:1] is the sub-list for extension type_name
   151  	1, // [1:1] is the sub-list for extension extendee
   152  	0, // [0:1] is the sub-list for field type_name
   153  }
   154  
   155  func init() { file_google_monitoring_v3_mutation_record_proto_init() }
   156  func file_google_monitoring_v3_mutation_record_proto_init() {
   157  	if File_google_monitoring_v3_mutation_record_proto != nil {
   158  		return
   159  	}
   160  	if !protoimpl.UnsafeEnabled {
   161  		file_google_monitoring_v3_mutation_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   162  			switch v := v.(*MutationRecord); i {
   163  			case 0:
   164  				return &v.state
   165  			case 1:
   166  				return &v.sizeCache
   167  			case 2:
   168  				return &v.unknownFields
   169  			default:
   170  				return nil
   171  			}
   172  		}
   173  	}
   174  	type x struct{}
   175  	out := protoimpl.TypeBuilder{
   176  		File: protoimpl.DescBuilder{
   177  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   178  			RawDescriptor: file_google_monitoring_v3_mutation_record_proto_rawDesc,
   179  			NumEnums:      0,
   180  			NumMessages:   1,
   181  			NumExtensions: 0,
   182  			NumServices:   0,
   183  		},
   184  		GoTypes:           file_google_monitoring_v3_mutation_record_proto_goTypes,
   185  		DependencyIndexes: file_google_monitoring_v3_mutation_record_proto_depIdxs,
   186  		MessageInfos:      file_google_monitoring_v3_mutation_record_proto_msgTypes,
   187  	}.Build()
   188  	File_google_monitoring_v3_mutation_record_proto = out.File
   189  	file_google_monitoring_v3_mutation_record_proto_rawDesc = nil
   190  	file_google_monitoring_v3_mutation_record_proto_goTypes = nil
   191  	file_google_monitoring_v3_mutation_record_proto_depIdxs = nil
   192  }
   193  

View as plain text