1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/api/log.proto 3 4package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import label "google.golang.org/genproto/googleapis/api/label" 10 11// Reference imports to suppress errors if they are not otherwise used. 12var _ = proto.Marshal 13var _ = fmt.Errorf 14var _ = math.Inf 15 16// This is a compile-time assertion to ensure that this generated file 17// is compatible with the proto package it is being compiled against. 18// A compilation error at this line likely means your copy of the 19// proto package needs to be updated. 20const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 21 22// A description of a log type. Example in YAML format: 23// 24// - name: library.googleapis.com/activity_history 25// description: The history of borrowing and returning library items. 26// display_name: Activity 27// labels: 28// - key: /customer_id 29// description: Identifier of a library customer 30type LogDescriptor struct { 31 // The name of the log. It must be less than 512 characters long and can 32 // include the following characters: upper- and lower-case alphanumeric 33 // characters [A-Za-z0-9], and punctuation characters including 34 // slash, underscore, hyphen, period [/_-.]. 35 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 36 // The set of labels that are available to describe a specific log entry. 37 // Runtime requests that contain labels not specified here are 38 // considered invalid. 39 Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` 40 // A human-readable description of this log. This information appears in 41 // the documentation and can contain details. 42 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 43 // The human-readable name for this log. This information appears on 44 // the user interface and should be concise. 45 DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 46 XXX_NoUnkeyedLiteral struct{} `json:"-"` 47 XXX_unrecognized []byte `json:"-"` 48 XXX_sizecache int32 `json:"-"` 49} 50 51func (m *LogDescriptor) Reset() { *m = LogDescriptor{} } 52func (m *LogDescriptor) String() string { return proto.CompactTextString(m) } 53func (*LogDescriptor) ProtoMessage() {} 54func (*LogDescriptor) Descriptor() ([]byte, []int) { 55 return fileDescriptor_log_de92a25ed5c88332, []int{0} 56} 57func (m *LogDescriptor) XXX_Unmarshal(b []byte) error { 58 return xxx_messageInfo_LogDescriptor.Unmarshal(m, b) 59} 60func (m *LogDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 61 return xxx_messageInfo_LogDescriptor.Marshal(b, m, deterministic) 62} 63func (dst *LogDescriptor) XXX_Merge(src proto.Message) { 64 xxx_messageInfo_LogDescriptor.Merge(dst, src) 65} 66func (m *LogDescriptor) XXX_Size() int { 67 return xxx_messageInfo_LogDescriptor.Size(m) 68} 69func (m *LogDescriptor) XXX_DiscardUnknown() { 70 xxx_messageInfo_LogDescriptor.DiscardUnknown(m) 71} 72 73var xxx_messageInfo_LogDescriptor proto.InternalMessageInfo 74 75func (m *LogDescriptor) GetName() string { 76 if m != nil { 77 return m.Name 78 } 79 return "" 80} 81 82func (m *LogDescriptor) GetLabels() []*label.LabelDescriptor { 83 if m != nil { 84 return m.Labels 85 } 86 return nil 87} 88 89func (m *LogDescriptor) GetDescription() string { 90 if m != nil { 91 return m.Description 92 } 93 return "" 94} 95 96func (m *LogDescriptor) GetDisplayName() string { 97 if m != nil { 98 return m.DisplayName 99 } 100 return "" 101} 102 103func init() { 104 proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor") 105} 106 107func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_log_de92a25ed5c88332) } 108 109var fileDescriptor_log_de92a25ed5c88332 = []byte{ 110 // 238 bytes of a gzipped FileDescriptorProto 111 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0xc3, 0x40, 112 0x10, 0x86, 0x49, 0x1b, 0x8a, 0x6e, 0xd5, 0xc3, 0x22, 0x12, 0xf4, 0x12, 0x3d, 0xf5, 0xb4, 0x01, 113 0x7b, 0xf4, 0x64, 0x51, 0x44, 0x08, 0x12, 0x7a, 0xf4, 0x22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