...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go

Documentation: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb

     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/dashboard/v1/layouts.proto
    20  
    21  package dashboardpb
    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  // A basic layout divides the available space into vertical columns of equal
    39  // width and arranges a list of widgets using a row-first strategy.
    40  type GridLayout struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// The number of columns into which the view's width is divided. If omitted
    46  	// or set to zero, a system default will be used while rendering.
    47  	Columns int64 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
    48  	// The informational elements that are arranged into the columns row-first.
    49  	Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
    50  }
    51  
    52  func (x *GridLayout) Reset() {
    53  	*x = GridLayout{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *GridLayout) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*GridLayout) ProtoMessage() {}
    66  
    67  func (x *GridLayout) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use GridLayout.ProtoReflect.Descriptor instead.
    80  func (*GridLayout) Descriptor() ([]byte, []int) {
    81  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *GridLayout) GetColumns() int64 {
    85  	if x != nil {
    86  		return x.Columns
    87  	}
    88  	return 0
    89  }
    90  
    91  func (x *GridLayout) GetWidgets() []*Widget {
    92  	if x != nil {
    93  		return x.Widgets
    94  	}
    95  	return nil
    96  }
    97  
    98  // A mosaic layout divides the available space into a grid of blocks, and
    99  // overlays the grid with tiles. Unlike `GridLayout`, tiles may span multiple
   100  // grid blocks and can be placed at arbitrary locations in the grid.
   101  type MosaicLayout struct {
   102  	state         protoimpl.MessageState
   103  	sizeCache     protoimpl.SizeCache
   104  	unknownFields protoimpl.UnknownFields
   105  
   106  	// The number of columns in the mosaic grid. The number of columns must be
   107  	// between 1 and 12, inclusive.
   108  	Columns int32 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
   109  	// The tiles to display.
   110  	Tiles []*MosaicLayout_Tile `protobuf:"bytes,3,rep,name=tiles,proto3" json:"tiles,omitempty"`
   111  }
   112  
   113  func (x *MosaicLayout) Reset() {
   114  	*x = MosaicLayout{}
   115  	if protoimpl.UnsafeEnabled {
   116  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[1]
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		ms.StoreMessageInfo(mi)
   119  	}
   120  }
   121  
   122  func (x *MosaicLayout) String() string {
   123  	return protoimpl.X.MessageStringOf(x)
   124  }
   125  
   126  func (*MosaicLayout) ProtoMessage() {}
   127  
   128  func (x *MosaicLayout) ProtoReflect() protoreflect.Message {
   129  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[1]
   130  	if protoimpl.UnsafeEnabled && x != nil {
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		if ms.LoadMessageInfo() == nil {
   133  			ms.StoreMessageInfo(mi)
   134  		}
   135  		return ms
   136  	}
   137  	return mi.MessageOf(x)
   138  }
   139  
   140  // Deprecated: Use MosaicLayout.ProtoReflect.Descriptor instead.
   141  func (*MosaicLayout) Descriptor() ([]byte, []int) {
   142  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{1}
   143  }
   144  
   145  func (x *MosaicLayout) GetColumns() int32 {
   146  	if x != nil {
   147  		return x.Columns
   148  	}
   149  	return 0
   150  }
   151  
   152  func (x *MosaicLayout) GetTiles() []*MosaicLayout_Tile {
   153  	if x != nil {
   154  		return x.Tiles
   155  	}
   156  	return nil
   157  }
   158  
   159  // A simplified layout that divides the available space into rows
   160  // and arranges a set of widgets horizontally in each row.
   161  type RowLayout struct {
   162  	state         protoimpl.MessageState
   163  	sizeCache     protoimpl.SizeCache
   164  	unknownFields protoimpl.UnknownFields
   165  
   166  	// The rows of content to display.
   167  	Rows []*RowLayout_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
   168  }
   169  
   170  func (x *RowLayout) Reset() {
   171  	*x = RowLayout{}
   172  	if protoimpl.UnsafeEnabled {
   173  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[2]
   174  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   175  		ms.StoreMessageInfo(mi)
   176  	}
   177  }
   178  
   179  func (x *RowLayout) String() string {
   180  	return protoimpl.X.MessageStringOf(x)
   181  }
   182  
   183  func (*RowLayout) ProtoMessage() {}
   184  
   185  func (x *RowLayout) ProtoReflect() protoreflect.Message {
   186  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[2]
   187  	if protoimpl.UnsafeEnabled && x != nil {
   188  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   189  		if ms.LoadMessageInfo() == nil {
   190  			ms.StoreMessageInfo(mi)
   191  		}
   192  		return ms
   193  	}
   194  	return mi.MessageOf(x)
   195  }
   196  
   197  // Deprecated: Use RowLayout.ProtoReflect.Descriptor instead.
   198  func (*RowLayout) Descriptor() ([]byte, []int) {
   199  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{2}
   200  }
   201  
   202  func (x *RowLayout) GetRows() []*RowLayout_Row {
   203  	if x != nil {
   204  		return x.Rows
   205  	}
   206  	return nil
   207  }
   208  
   209  // A simplified layout that divides the available space into vertical columns
   210  // and arranges a set of widgets vertically in each column.
   211  type ColumnLayout struct {
   212  	state         protoimpl.MessageState
   213  	sizeCache     protoimpl.SizeCache
   214  	unknownFields protoimpl.UnknownFields
   215  
   216  	// The columns of content to display.
   217  	Columns []*ColumnLayout_Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
   218  }
   219  
   220  func (x *ColumnLayout) Reset() {
   221  	*x = ColumnLayout{}
   222  	if protoimpl.UnsafeEnabled {
   223  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[3]
   224  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   225  		ms.StoreMessageInfo(mi)
   226  	}
   227  }
   228  
   229  func (x *ColumnLayout) String() string {
   230  	return protoimpl.X.MessageStringOf(x)
   231  }
   232  
   233  func (*ColumnLayout) ProtoMessage() {}
   234  
   235  func (x *ColumnLayout) ProtoReflect() protoreflect.Message {
   236  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[3]
   237  	if protoimpl.UnsafeEnabled && x != nil {
   238  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   239  		if ms.LoadMessageInfo() == nil {
   240  			ms.StoreMessageInfo(mi)
   241  		}
   242  		return ms
   243  	}
   244  	return mi.MessageOf(x)
   245  }
   246  
   247  // Deprecated: Use ColumnLayout.ProtoReflect.Descriptor instead.
   248  func (*ColumnLayout) Descriptor() ([]byte, []int) {
   249  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{3}
   250  }
   251  
   252  func (x *ColumnLayout) GetColumns() []*ColumnLayout_Column {
   253  	if x != nil {
   254  		return x.Columns
   255  	}
   256  	return nil
   257  }
   258  
   259  // A single tile in the mosaic. The placement and size of the tile are
   260  // configurable.
   261  type MosaicLayout_Tile struct {
   262  	state         protoimpl.MessageState
   263  	sizeCache     protoimpl.SizeCache
   264  	unknownFields protoimpl.UnknownFields
   265  
   266  	// The zero-indexed position of the tile in grid blocks relative to the
   267  	// left edge of the grid. Tiles must be contained within the specified
   268  	// number of columns. `x_pos` cannot be negative.
   269  	XPos int32 `protobuf:"varint,1,opt,name=x_pos,json=xPos,proto3" json:"x_pos,omitempty"`
   270  	// The zero-indexed position of the tile in grid blocks relative to the
   271  	// top edge of the grid. `y_pos` cannot be negative.
   272  	YPos int32 `protobuf:"varint,2,opt,name=y_pos,json=yPos,proto3" json:"y_pos,omitempty"`
   273  	// The width of the tile, measured in grid blocks. Tiles must have a
   274  	// minimum width of 1.
   275  	Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
   276  	// The height of the tile, measured in grid blocks. Tiles must have a
   277  	// minimum height of 1.
   278  	Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
   279  	// The informational widget contained in the tile. For example an `XyChart`.
   280  	Widget *Widget `protobuf:"bytes,5,opt,name=widget,proto3" json:"widget,omitempty"`
   281  }
   282  
   283  func (x *MosaicLayout_Tile) Reset() {
   284  	*x = MosaicLayout_Tile{}
   285  	if protoimpl.UnsafeEnabled {
   286  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[4]
   287  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   288  		ms.StoreMessageInfo(mi)
   289  	}
   290  }
   291  
   292  func (x *MosaicLayout_Tile) String() string {
   293  	return protoimpl.X.MessageStringOf(x)
   294  }
   295  
   296  func (*MosaicLayout_Tile) ProtoMessage() {}
   297  
   298  func (x *MosaicLayout_Tile) ProtoReflect() protoreflect.Message {
   299  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[4]
   300  	if protoimpl.UnsafeEnabled && x != nil {
   301  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   302  		if ms.LoadMessageInfo() == nil {
   303  			ms.StoreMessageInfo(mi)
   304  		}
   305  		return ms
   306  	}
   307  	return mi.MessageOf(x)
   308  }
   309  
   310  // Deprecated: Use MosaicLayout_Tile.ProtoReflect.Descriptor instead.
   311  func (*MosaicLayout_Tile) Descriptor() ([]byte, []int) {
   312  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{1, 0}
   313  }
   314  
   315  func (x *MosaicLayout_Tile) GetXPos() int32 {
   316  	if x != nil {
   317  		return x.XPos
   318  	}
   319  	return 0
   320  }
   321  
   322  func (x *MosaicLayout_Tile) GetYPos() int32 {
   323  	if x != nil {
   324  		return x.YPos
   325  	}
   326  	return 0
   327  }
   328  
   329  func (x *MosaicLayout_Tile) GetWidth() int32 {
   330  	if x != nil {
   331  		return x.Width
   332  	}
   333  	return 0
   334  }
   335  
   336  func (x *MosaicLayout_Tile) GetHeight() int32 {
   337  	if x != nil {
   338  		return x.Height
   339  	}
   340  	return 0
   341  }
   342  
   343  func (x *MosaicLayout_Tile) GetWidget() *Widget {
   344  	if x != nil {
   345  		return x.Widget
   346  	}
   347  	return nil
   348  }
   349  
   350  // Defines the layout properties and content for a row.
   351  type RowLayout_Row struct {
   352  	state         protoimpl.MessageState
   353  	sizeCache     protoimpl.SizeCache
   354  	unknownFields protoimpl.UnknownFields
   355  
   356  	// The relative weight of this row. The row weight is used to adjust the
   357  	// height of rows on the screen (relative to peers). Greater the weight,
   358  	// greater the height of the row on the screen. If omitted, a value
   359  	// of 1 is used while rendering.
   360  	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
   361  	// The display widgets arranged horizontally in this row.
   362  	Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
   363  }
   364  
   365  func (x *RowLayout_Row) Reset() {
   366  	*x = RowLayout_Row{}
   367  	if protoimpl.UnsafeEnabled {
   368  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[5]
   369  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   370  		ms.StoreMessageInfo(mi)
   371  	}
   372  }
   373  
   374  func (x *RowLayout_Row) String() string {
   375  	return protoimpl.X.MessageStringOf(x)
   376  }
   377  
   378  func (*RowLayout_Row) ProtoMessage() {}
   379  
   380  func (x *RowLayout_Row) ProtoReflect() protoreflect.Message {
   381  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[5]
   382  	if protoimpl.UnsafeEnabled && x != nil {
   383  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   384  		if ms.LoadMessageInfo() == nil {
   385  			ms.StoreMessageInfo(mi)
   386  		}
   387  		return ms
   388  	}
   389  	return mi.MessageOf(x)
   390  }
   391  
   392  // Deprecated: Use RowLayout_Row.ProtoReflect.Descriptor instead.
   393  func (*RowLayout_Row) Descriptor() ([]byte, []int) {
   394  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{2, 0}
   395  }
   396  
   397  func (x *RowLayout_Row) GetWeight() int64 {
   398  	if x != nil {
   399  		return x.Weight
   400  	}
   401  	return 0
   402  }
   403  
   404  func (x *RowLayout_Row) GetWidgets() []*Widget {
   405  	if x != nil {
   406  		return x.Widgets
   407  	}
   408  	return nil
   409  }
   410  
   411  // Defines the layout properties and content for a column.
   412  type ColumnLayout_Column struct {
   413  	state         protoimpl.MessageState
   414  	sizeCache     protoimpl.SizeCache
   415  	unknownFields protoimpl.UnknownFields
   416  
   417  	// The relative weight of this column. The column weight is used to adjust
   418  	// the width of columns on the screen (relative to peers).
   419  	// Greater the weight, greater the width of the column on the screen.
   420  	// If omitted, a value of 1 is used while rendering.
   421  	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
   422  	// The display widgets arranged vertically in this column.
   423  	Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
   424  }
   425  
   426  func (x *ColumnLayout_Column) Reset() {
   427  	*x = ColumnLayout_Column{}
   428  	if protoimpl.UnsafeEnabled {
   429  		mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[6]
   430  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   431  		ms.StoreMessageInfo(mi)
   432  	}
   433  }
   434  
   435  func (x *ColumnLayout_Column) String() string {
   436  	return protoimpl.X.MessageStringOf(x)
   437  }
   438  
   439  func (*ColumnLayout_Column) ProtoMessage() {}
   440  
   441  func (x *ColumnLayout_Column) ProtoReflect() protoreflect.Message {
   442  	mi := &file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[6]
   443  	if protoimpl.UnsafeEnabled && x != nil {
   444  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   445  		if ms.LoadMessageInfo() == nil {
   446  			ms.StoreMessageInfo(mi)
   447  		}
   448  		return ms
   449  	}
   450  	return mi.MessageOf(x)
   451  }
   452  
   453  // Deprecated: Use ColumnLayout_Column.ProtoReflect.Descriptor instead.
   454  func (*ColumnLayout_Column) Descriptor() ([]byte, []int) {
   455  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP(), []int{3, 0}
   456  }
   457  
   458  func (x *ColumnLayout_Column) GetWeight() int64 {
   459  	if x != nil {
   460  		return x.Weight
   461  	}
   462  	return 0
   463  }
   464  
   465  func (x *ColumnLayout_Column) GetWidgets() []*Widget {
   466  	if x != nil {
   467  		return x.Widgets
   468  	}
   469  	return nil
   470  }
   471  
   472  var File_google_monitoring_dashboard_v1_layouts_proto protoreflect.FileDescriptor
   473  
   474  var file_google_monitoring_dashboard_v1_layouts_proto_rawDesc = []byte{
   475  	0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   476  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
   477  	0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
   478  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   479  	0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x2b,
   480  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   481  	0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x77,
   482  	0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0a, 0x47,
   483  	0x72, 0x69, 0x64, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c,
   484  	0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75,
   485  	0x6d, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02,
   486  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   487  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61,
   488  	0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69,
   489  	0x64, 0x67, 0x65, 0x74, 0x73, 0x22, 0x92, 0x02, 0x0a, 0x0c, 0x4d, 0x6f, 0x73, 0x61, 0x69, 0x63,
   490  	0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
   491  	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
   492  	0x12, 0x47, 0x0a, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
   493  	0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   494  	0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31,
   495  	0x2e, 0x4d, 0x6f, 0x73, 0x61, 0x69, 0x63, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x54, 0x69,
   496  	0x6c, 0x65, 0x52, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x9e, 0x01, 0x0a, 0x04, 0x54, 0x69,
   497  	0x6c, 0x65, 0x12, 0x13, 0x0a, 0x05, 0x78, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
   498  	0x05, 0x52, 0x04, 0x78, 0x50, 0x6f, 0x73, 0x12, 0x13, 0x0a, 0x05, 0x79, 0x5f, 0x70, 0x6f, 0x73,
   499  	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x50, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05,
   500  	0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64,
   501  	0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01,
   502  	0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x77, 0x69,
   503  	0x64, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
   504  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64,
   505  	0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, 0x67,
   506  	0x65, 0x74, 0x52, 0x06, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x09, 0x52,
   507  	0x6f, 0x77, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73,
   508  	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   509  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62,
   510  	0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x4c, 0x61, 0x79, 0x6f, 0x75,
   511  	0x74, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x1a, 0x5f, 0x0a, 0x03, 0x52,
   512  	0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01,
   513  	0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x77, 0x69,
   514  	0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f,
   515  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   516  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64,
   517  	0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x22, 0xc1, 0x01, 0x0a,
   518  	0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x4d, 0x0a,
   519  	0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33,
   520  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   521  	0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e,
   522  	0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x43, 0x6f, 0x6c,
   523  	0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x1a, 0x62, 0x0a, 0x06,
   524  	0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
   525  	0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x40,
   526  	0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
   527  	0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   528  	0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31,
   529  	0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73,
   530  	0x42, 0xf5, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   531  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62,
   532  	0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x73,
   533  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
   534  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e,
   535  	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
   536  	0x64, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
   537  	0x64, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa,
   538  	0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d,
   539  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f,
   540  	0x61, 0x72, 0x64, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
   541  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
   542  	0x5c, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28,
   543  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d,
   544  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x44, 0x61, 0x73, 0x68, 0x62,
   545  	0x6f, 0x61, 0x72, 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   546  }
   547  
   548  var (
   549  	file_google_monitoring_dashboard_v1_layouts_proto_rawDescOnce sync.Once
   550  	file_google_monitoring_dashboard_v1_layouts_proto_rawDescData = file_google_monitoring_dashboard_v1_layouts_proto_rawDesc
   551  )
   552  
   553  func file_google_monitoring_dashboard_v1_layouts_proto_rawDescGZIP() []byte {
   554  	file_google_monitoring_dashboard_v1_layouts_proto_rawDescOnce.Do(func() {
   555  		file_google_monitoring_dashboard_v1_layouts_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_layouts_proto_rawDescData)
   556  	})
   557  	return file_google_monitoring_dashboard_v1_layouts_proto_rawDescData
   558  }
   559  
   560  var file_google_monitoring_dashboard_v1_layouts_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   561  var file_google_monitoring_dashboard_v1_layouts_proto_goTypes = []interface{}{
   562  	(*GridLayout)(nil),          // 0: google.monitoring.dashboard.v1.GridLayout
   563  	(*MosaicLayout)(nil),        // 1: google.monitoring.dashboard.v1.MosaicLayout
   564  	(*RowLayout)(nil),           // 2: google.monitoring.dashboard.v1.RowLayout
   565  	(*ColumnLayout)(nil),        // 3: google.monitoring.dashboard.v1.ColumnLayout
   566  	(*MosaicLayout_Tile)(nil),   // 4: google.monitoring.dashboard.v1.MosaicLayout.Tile
   567  	(*RowLayout_Row)(nil),       // 5: google.monitoring.dashboard.v1.RowLayout.Row
   568  	(*ColumnLayout_Column)(nil), // 6: google.monitoring.dashboard.v1.ColumnLayout.Column
   569  	(*Widget)(nil),              // 7: google.monitoring.dashboard.v1.Widget
   570  }
   571  var file_google_monitoring_dashboard_v1_layouts_proto_depIdxs = []int32{
   572  	7, // 0: google.monitoring.dashboard.v1.GridLayout.widgets:type_name -> google.monitoring.dashboard.v1.Widget
   573  	4, // 1: google.monitoring.dashboard.v1.MosaicLayout.tiles:type_name -> google.monitoring.dashboard.v1.MosaicLayout.Tile
   574  	5, // 2: google.monitoring.dashboard.v1.RowLayout.rows:type_name -> google.monitoring.dashboard.v1.RowLayout.Row
   575  	6, // 3: google.monitoring.dashboard.v1.ColumnLayout.columns:type_name -> google.monitoring.dashboard.v1.ColumnLayout.Column
   576  	7, // 4: google.monitoring.dashboard.v1.MosaicLayout.Tile.widget:type_name -> google.monitoring.dashboard.v1.Widget
   577  	7, // 5: google.monitoring.dashboard.v1.RowLayout.Row.widgets:type_name -> google.monitoring.dashboard.v1.Widget
   578  	7, // 6: google.monitoring.dashboard.v1.ColumnLayout.Column.widgets:type_name -> google.monitoring.dashboard.v1.Widget
   579  	7, // [7:7] is the sub-list for method output_type
   580  	7, // [7:7] is the sub-list for method input_type
   581  	7, // [7:7] is the sub-list for extension type_name
   582  	7, // [7:7] is the sub-list for extension extendee
   583  	0, // [0:7] is the sub-list for field type_name
   584  }
   585  
   586  func init() { file_google_monitoring_dashboard_v1_layouts_proto_init() }
   587  func file_google_monitoring_dashboard_v1_layouts_proto_init() {
   588  	if File_google_monitoring_dashboard_v1_layouts_proto != nil {
   589  		return
   590  	}
   591  	file_google_monitoring_dashboard_v1_widget_proto_init()
   592  	if !protoimpl.UnsafeEnabled {
   593  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   594  			switch v := v.(*GridLayout); i {
   595  			case 0:
   596  				return &v.state
   597  			case 1:
   598  				return &v.sizeCache
   599  			case 2:
   600  				return &v.unknownFields
   601  			default:
   602  				return nil
   603  			}
   604  		}
   605  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   606  			switch v := v.(*MosaicLayout); i {
   607  			case 0:
   608  				return &v.state
   609  			case 1:
   610  				return &v.sizeCache
   611  			case 2:
   612  				return &v.unknownFields
   613  			default:
   614  				return nil
   615  			}
   616  		}
   617  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   618  			switch v := v.(*RowLayout); i {
   619  			case 0:
   620  				return &v.state
   621  			case 1:
   622  				return &v.sizeCache
   623  			case 2:
   624  				return &v.unknownFields
   625  			default:
   626  				return nil
   627  			}
   628  		}
   629  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   630  			switch v := v.(*ColumnLayout); i {
   631  			case 0:
   632  				return &v.state
   633  			case 1:
   634  				return &v.sizeCache
   635  			case 2:
   636  				return &v.unknownFields
   637  			default:
   638  				return nil
   639  			}
   640  		}
   641  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   642  			switch v := v.(*MosaicLayout_Tile); i {
   643  			case 0:
   644  				return &v.state
   645  			case 1:
   646  				return &v.sizeCache
   647  			case 2:
   648  				return &v.unknownFields
   649  			default:
   650  				return nil
   651  			}
   652  		}
   653  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   654  			switch v := v.(*RowLayout_Row); i {
   655  			case 0:
   656  				return &v.state
   657  			case 1:
   658  				return &v.sizeCache
   659  			case 2:
   660  				return &v.unknownFields
   661  			default:
   662  				return nil
   663  			}
   664  		}
   665  		file_google_monitoring_dashboard_v1_layouts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   666  			switch v := v.(*ColumnLayout_Column); i {
   667  			case 0:
   668  				return &v.state
   669  			case 1:
   670  				return &v.sizeCache
   671  			case 2:
   672  				return &v.unknownFields
   673  			default:
   674  				return nil
   675  			}
   676  		}
   677  	}
   678  	type x struct{}
   679  	out := protoimpl.TypeBuilder{
   680  		File: protoimpl.DescBuilder{
   681  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   682  			RawDescriptor: file_google_monitoring_dashboard_v1_layouts_proto_rawDesc,
   683  			NumEnums:      0,
   684  			NumMessages:   7,
   685  			NumExtensions: 0,
   686  			NumServices:   0,
   687  		},
   688  		GoTypes:           file_google_monitoring_dashboard_v1_layouts_proto_goTypes,
   689  		DependencyIndexes: file_google_monitoring_dashboard_v1_layouts_proto_depIdxs,
   690  		MessageInfos:      file_google_monitoring_dashboard_v1_layouts_proto_msgTypes,
   691  	}.Build()
   692  	File_google_monitoring_dashboard_v1_layouts_proto = out.File
   693  	file_google_monitoring_dashboard_v1_layouts_proto_rawDesc = nil
   694  	file_google_monitoring_dashboard_v1_layouts_proto_goTypes = nil
   695  	file_google_monitoring_dashboard_v1_layouts_proto_depIdxs = nil
   696  }
   697  

View as plain text