| 12406 | } |
| 12407 | |
| 12408 | func (m *UpdateGraphQLSchemaRequest) Size() (n int) { |
| 12409 | if m == nil { |
| 12410 | return 0 |
| 12411 | } |
| 12412 | var l int |
| 12413 | _ = l |
| 12414 | if m.StartTs != 0 { |
| 12415 | n += 1 + sovPb(uint64(m.StartTs)) |
| 12416 | } |
| 12417 | l = len(m.GraphqlSchema) |
| 12418 | if l > 0 { |
| 12419 | n += 1 + l + sovPb(uint64(l)) |
| 12420 | } |
| 12421 | if len(m.DgraphPreds) > 0 { |
| 12422 | for _, e := range m.DgraphPreds { |
| 12423 | l = e.Size() |
| 12424 | n += 1 + l + sovPb(uint64(l)) |
| 12425 | } |
| 12426 | } |
| 12427 | if len(m.DgraphTypes) > 0 { |
| 12428 | for _, e := range m.DgraphTypes { |
| 12429 | l = e.Size() |
| 12430 | n += 1 + l + sovPb(uint64(l)) |
| 12431 | } |
| 12432 | } |
| 12433 | return n |
| 12434 | } |
| 12435 | |
| 12436 | func (m *UpdateGraphQLSchemaResponse) Size() (n int) { |
| 12437 | if m == nil { |