func (m *ServiceSpec_Replicated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    i := len(dAtA)
    if m.Replicated != nil {
        {
            size, err := m.Replicated.MarshalToSizedBuffer(dAtA[:i])