...

Source file src/google.golang.org/genproto/googleapis/cloud/datastream/logging/v1/datastream_logs.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/datastream/logging/v1

     1  // Copyright 2022 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.26.0
    18  // 	protoc        v3.21.9
    19  // source: google/cloud/datastream/logging/v1/datastream_logs.proto
    20  
    21  package logging
    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  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Stackdriver structured-payload for events related to a stream.
    39  type StreamActivityLogEntry struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// A code representing the event.
    45  	EventCode string `protobuf:"bytes,1,opt,name=event_code,json=eventCode,proto3" json:"event_code,omitempty"`
    46  	// A free-text message describing the event.
    47  	EventMessage string `protobuf:"bytes,2,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"`
    48  }
    49  
    50  func (x *StreamActivityLogEntry) Reset() {
    51  	*x = StreamActivityLogEntry{}
    52  	if protoimpl.UnsafeEnabled {
    53  		mi := &file_google_cloud_datastream_logging_v1_datastream_logs_proto_msgTypes[0]
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		ms.StoreMessageInfo(mi)
    56  	}
    57  }
    58  
    59  func (x *StreamActivityLogEntry) String() string {
    60  	return protoimpl.X.MessageStringOf(x)
    61  }
    62  
    63  func (*StreamActivityLogEntry) ProtoMessage() {}
    64  
    65  func (x *StreamActivityLogEntry) ProtoReflect() protoreflect.Message {
    66  	mi := &file_google_cloud_datastream_logging_v1_datastream_logs_proto_msgTypes[0]
    67  	if protoimpl.UnsafeEnabled && x != nil {
    68  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  		if ms.LoadMessageInfo() == nil {
    70  			ms.StoreMessageInfo(mi)
    71  		}
    72  		return ms
    73  	}
    74  	return mi.MessageOf(x)
    75  }
    76  
    77  // Deprecated: Use StreamActivityLogEntry.ProtoReflect.Descriptor instead.
    78  func (*StreamActivityLogEntry) Descriptor() ([]byte, []int) {
    79  	return file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescGZIP(), []int{0}
    80  }
    81  
    82  func (x *StreamActivityLogEntry) GetEventCode() string {
    83  	if x != nil {
    84  		return x.EventCode
    85  	}
    86  	return ""
    87  }
    88  
    89  func (x *StreamActivityLogEntry) GetEventMessage() string {
    90  	if x != nil {
    91  		return x.EventMessage
    92  	}
    93  	return ""
    94  }
    95  
    96  var File_google_cloud_datastream_logging_v1_datastream_logs_proto protoreflect.FileDescriptor
    97  
    98  var file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDesc = []byte{
    99  	0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
   100  	0x61, 0x74, 0x61, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
   101  	0x67, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f,
   102  	0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67,
   103  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72,
   104  	0x65, 0x61, 0x6d, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x22, 0x5c,
   105  	0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
   106  	0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e,
   107  	0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76,
   108  	0x65, 0x6e, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74,
   109  	0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
   110  	0x65, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0xfd, 0x01, 0x0a,
   111  	0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   112  	0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x6c, 0x6f, 0x67,
   113  	0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72,
   114  	0x65, 0x61, 0x6d, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49,
   115  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   116  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   117  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61,
   118  	0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76,
   119  	0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67,
   120  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72,
   121  	0x65, 0x61, 0x6d, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02,
   122  	0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61,
   123  	0x74, 0x61, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
   124  	0x5c, 0x56, 0x31, 0xea, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
   125  	0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x3a,
   126  	0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
   127  	0x6f, 0x74, 0x6f, 0x33,
   128  }
   129  
   130  var (
   131  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescOnce sync.Once
   132  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescData = file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDesc
   133  )
   134  
   135  func file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescGZIP() []byte {
   136  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescOnce.Do(func() {
   137  		file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescData)
   138  	})
   139  	return file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDescData
   140  }
   141  
   142  var file_google_cloud_datastream_logging_v1_datastream_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   143  var file_google_cloud_datastream_logging_v1_datastream_logs_proto_goTypes = []interface{}{
   144  	(*StreamActivityLogEntry)(nil), // 0: google.cloud.datastream.logging.v1.StreamActivityLogEntry
   145  }
   146  var file_google_cloud_datastream_logging_v1_datastream_logs_proto_depIdxs = []int32{
   147  	0, // [0:0] is the sub-list for method output_type
   148  	0, // [0:0] is the sub-list for method input_type
   149  	0, // [0:0] is the sub-list for extension type_name
   150  	0, // [0:0] is the sub-list for extension extendee
   151  	0, // [0:0] is the sub-list for field type_name
   152  }
   153  
   154  func init() { file_google_cloud_datastream_logging_v1_datastream_logs_proto_init() }
   155  func file_google_cloud_datastream_logging_v1_datastream_logs_proto_init() {
   156  	if File_google_cloud_datastream_logging_v1_datastream_logs_proto != nil {
   157  		return
   158  	}
   159  	if !protoimpl.UnsafeEnabled {
   160  		file_google_cloud_datastream_logging_v1_datastream_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   161  			switch v := v.(*StreamActivityLogEntry); i {
   162  			case 0:
   163  				return &v.state
   164  			case 1:
   165  				return &v.sizeCache
   166  			case 2:
   167  				return &v.unknownFields
   168  			default:
   169  				return nil
   170  			}
   171  		}
   172  	}
   173  	type x struct{}
   174  	out := protoimpl.TypeBuilder{
   175  		File: protoimpl.DescBuilder{
   176  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   177  			RawDescriptor: file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDesc,
   178  			NumEnums:      0,
   179  			NumMessages:   1,
   180  			NumExtensions: 0,
   181  			NumServices:   0,
   182  		},
   183  		GoTypes:           file_google_cloud_datastream_logging_v1_datastream_logs_proto_goTypes,
   184  		DependencyIndexes: file_google_cloud_datastream_logging_v1_datastream_logs_proto_depIdxs,
   185  		MessageInfos:      file_google_cloud_datastream_logging_v1_datastream_logs_proto_msgTypes,
   186  	}.Build()
   187  	File_google_cloud_datastream_logging_v1_datastream_logs_proto = out.File
   188  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_rawDesc = nil
   189  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_goTypes = nil
   190  	file_google_cloud_datastream_logging_v1_datastream_logs_proto_depIdxs = nil
   191  }
   192  

View as plain text