...

Source file src/google.golang.org/genproto/googleapis/cloud/metastore/logging/v1/log_streams.pb.go

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

     1  // Copyright 2020 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.12.2
    19  // source: google/cloud/metastore/logging/v1/log_streams.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 generated from Hive Metastore
    39  // API requests.
    40  type RequestsLogEntry struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// A free-text string describing the request.
    46  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    47  }
    48  
    49  func (x *RequestsLogEntry) Reset() {
    50  	*x = RequestsLogEntry{}
    51  	if protoimpl.UnsafeEnabled {
    52  		mi := &file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[0]
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		ms.StoreMessageInfo(mi)
    55  	}
    56  }
    57  
    58  func (x *RequestsLogEntry) String() string {
    59  	return protoimpl.X.MessageStringOf(x)
    60  }
    61  
    62  func (*RequestsLogEntry) ProtoMessage() {}
    63  
    64  func (x *RequestsLogEntry) ProtoReflect() protoreflect.Message {
    65  	mi := &file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[0]
    66  	if protoimpl.UnsafeEnabled && x != nil {
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		if ms.LoadMessageInfo() == nil {
    69  			ms.StoreMessageInfo(mi)
    70  		}
    71  		return ms
    72  	}
    73  	return mi.MessageOf(x)
    74  }
    75  
    76  // Deprecated: Use RequestsLogEntry.ProtoReflect.Descriptor instead.
    77  func (*RequestsLogEntry) Descriptor() ([]byte, []int) {
    78  	return file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  func (x *RequestsLogEntry) GetMessage() string {
    82  	if x != nil {
    83  		return x.Message
    84  	}
    85  	return ""
    86  }
    87  
    88  // Stackdriver structured-payload for events generated from Hive Metastore
    89  // system activity.
    90  type SystemActivityLogEntry struct {
    91  	state         protoimpl.MessageState
    92  	sizeCache     protoimpl.SizeCache
    93  	unknownFields protoimpl.UnknownFields
    94  
    95  	// A free-text string describing the system activity.
    96  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    97  }
    98  
    99  func (x *SystemActivityLogEntry) Reset() {
   100  	*x = SystemActivityLogEntry{}
   101  	if protoimpl.UnsafeEnabled {
   102  		mi := &file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[1]
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		ms.StoreMessageInfo(mi)
   105  	}
   106  }
   107  
   108  func (x *SystemActivityLogEntry) String() string {
   109  	return protoimpl.X.MessageStringOf(x)
   110  }
   111  
   112  func (*SystemActivityLogEntry) ProtoMessage() {}
   113  
   114  func (x *SystemActivityLogEntry) ProtoReflect() protoreflect.Message {
   115  	mi := &file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[1]
   116  	if protoimpl.UnsafeEnabled && x != nil {
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		if ms.LoadMessageInfo() == nil {
   119  			ms.StoreMessageInfo(mi)
   120  		}
   121  		return ms
   122  	}
   123  	return mi.MessageOf(x)
   124  }
   125  
   126  // Deprecated: Use SystemActivityLogEntry.ProtoReflect.Descriptor instead.
   127  func (*SystemActivityLogEntry) Descriptor() ([]byte, []int) {
   128  	return file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescGZIP(), []int{1}
   129  }
   130  
   131  func (x *SystemActivityLogEntry) GetMessage() string {
   132  	if x != nil {
   133  		return x.Message
   134  	}
   135  	return ""
   136  }
   137  
   138  var File_google_cloud_metastore_logging_v1_log_streams_proto protoreflect.FileDescriptor
   139  
   140  var file_google_cloud_metastore_logging_v1_log_streams_proto_rawDesc = []byte{
   141  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d,
   142  	0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
   143  	0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x2e,
   144  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   145  	0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x6c, 0x6f,
   146  	0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x22, 0x2c, 0x0a, 0x10, 0x52, 0x65, 0x71, 0x75,
   147  	0x65, 0x73, 0x74, 0x73, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07,
   148  	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
   149  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x32, 0x0a, 0x16, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
   150  	0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79,
   151  	0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   152  	0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x80, 0x01, 0x0a, 0x21, 0x67,
   153  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x65, 0x74, 0x61,
   154  	0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
   155  	0x42, 0x0f, 0x4c, 0x6f, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74,
   156  	0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
   157  	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   158  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   159  	0x2f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   160  	0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70,
   161  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   162  }
   163  
   164  var (
   165  	file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescOnce sync.Once
   166  	file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescData = file_google_cloud_metastore_logging_v1_log_streams_proto_rawDesc
   167  )
   168  
   169  func file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescGZIP() []byte {
   170  	file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescOnce.Do(func() {
   171  		file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescData)
   172  	})
   173  	return file_google_cloud_metastore_logging_v1_log_streams_proto_rawDescData
   174  }
   175  
   176  var file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   177  var file_google_cloud_metastore_logging_v1_log_streams_proto_goTypes = []interface{}{
   178  	(*RequestsLogEntry)(nil),       // 0: google.cloud.metastore.logging.v1.RequestsLogEntry
   179  	(*SystemActivityLogEntry)(nil), // 1: google.cloud.metastore.logging.v1.SystemActivityLogEntry
   180  }
   181  var file_google_cloud_metastore_logging_v1_log_streams_proto_depIdxs = []int32{
   182  	0, // [0:0] is the sub-list for method output_type
   183  	0, // [0:0] is the sub-list for method input_type
   184  	0, // [0:0] is the sub-list for extension type_name
   185  	0, // [0:0] is the sub-list for extension extendee
   186  	0, // [0:0] is the sub-list for field type_name
   187  }
   188  
   189  func init() { file_google_cloud_metastore_logging_v1_log_streams_proto_init() }
   190  func file_google_cloud_metastore_logging_v1_log_streams_proto_init() {
   191  	if File_google_cloud_metastore_logging_v1_log_streams_proto != nil {
   192  		return
   193  	}
   194  	if !protoimpl.UnsafeEnabled {
   195  		file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   196  			switch v := v.(*RequestsLogEntry); i {
   197  			case 0:
   198  				return &v.state
   199  			case 1:
   200  				return &v.sizeCache
   201  			case 2:
   202  				return &v.unknownFields
   203  			default:
   204  				return nil
   205  			}
   206  		}
   207  		file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   208  			switch v := v.(*SystemActivityLogEntry); i {
   209  			case 0:
   210  				return &v.state
   211  			case 1:
   212  				return &v.sizeCache
   213  			case 2:
   214  				return &v.unknownFields
   215  			default:
   216  				return nil
   217  			}
   218  		}
   219  	}
   220  	type x struct{}
   221  	out := protoimpl.TypeBuilder{
   222  		File: protoimpl.DescBuilder{
   223  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   224  			RawDescriptor: file_google_cloud_metastore_logging_v1_log_streams_proto_rawDesc,
   225  			NumEnums:      0,
   226  			NumMessages:   2,
   227  			NumExtensions: 0,
   228  			NumServices:   0,
   229  		},
   230  		GoTypes:           file_google_cloud_metastore_logging_v1_log_streams_proto_goTypes,
   231  		DependencyIndexes: file_google_cloud_metastore_logging_v1_log_streams_proto_depIdxs,
   232  		MessageInfos:      file_google_cloud_metastore_logging_v1_log_streams_proto_msgTypes,
   233  	}.Build()
   234  	File_google_cloud_metastore_logging_v1_log_streams_proto = out.File
   235  	file_google_cloud_metastore_logging_v1_log_streams_proto_rawDesc = nil
   236  	file_google_cloud_metastore_logging_v1_log_streams_proto_goTypes = nil
   237  	file_google_cloud_metastore_logging_v1_log_streams_proto_depIdxs = nil
   238  }
   239  

View as plain text